|
@@ -0,0 +1,530 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <div class='order'>
|
|
|
|
|
+ <div class="orderTop">
|
|
|
|
|
+ <span>{{info.statusFlag==0?'支付单号:':'订单号:'}}{{info.orderCode}}</span>
|
|
|
|
|
+
|
|
|
|
|
+ <span>{{statusName}}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div @click="goDetail" class="orderInfo" v-for="(item,index) in productList" :key="index">
|
|
|
|
|
+ <img class="image" v-if="item.productInfo.image" :src="item.productInfo.image+'?x-oss-process=image/resize,m_fill,h_120,w_120'" background-size="cover" alt="">
|
|
|
|
|
+ <img class="image" v-else src="/static/images/icon_sirendingzhi.png" background-size="cover" alt="">
|
|
|
|
|
+ <div class="content">
|
|
|
|
|
+ <div class="title">{{item.productInfo.title}}</div>
|
|
|
|
|
+ <div class="sub">{{item.typeFlag==0?"全款支付":"定金支付"}}</div>
|
|
|
|
|
+ <div class="moeny">
|
|
|
|
|
+ <span class="price">{{item.typeFlag==0?item.productInfo.price:item.productInfo.downPayment}}</span>
|
|
|
|
|
+ <span class="num">{{item.quantity}}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="total">
|
|
|
|
|
+ <span>实际支付:</span>
|
|
|
|
|
+ <span class="price">{{info.dealPrice}}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="btnList">
|
|
|
|
|
+ <div class="btn-item" v-for="(item,index) in btnList" :key="index">
|
|
|
|
|
+ <button :class="[item.type]" :open-type='item.openType' @click="clickEvent(item.name)">{{item.name}}</button>
|
|
|
|
|
+ <picker class="picker" v-if="item.name=='立即预约'" mode="date" :start="nowDate" @change="bindDateChange">
|
|
|
|
|
+ <view class="picker">
|
|
|
|
|
+ 当前选择: {{date}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </picker>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</template>
|
|
|
|
|
+<script>
|
|
|
|
|
+import { mapState } from 'vuex';
|
|
|
|
|
+import { OrderStatus } from '../Constants';
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: 'orderItem',
|
|
|
|
|
+ props: {
|
|
|
|
|
+ info: {
|
|
|
|
|
+ type: Object,
|
|
|
|
|
+ default: () => {
|
|
|
|
|
+ return {};
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ index: {
|
|
|
|
|
+ type: Number,
|
|
|
|
|
+ default: 0,
|
|
|
|
|
+ },
|
|
|
|
|
+ orderIndex: {
|
|
|
|
|
+ type: String,
|
|
|
|
|
+ default: '',
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ ...mapState(['userInfo']),
|
|
|
|
|
+ productList() {
|
|
|
|
|
+ if (this.info.productList) {
|
|
|
|
|
+ return this.info.productList;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return [this.info];
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ statusName() {
|
|
|
|
|
+ var name = '';
|
|
|
|
|
+ if (this.info.statusFlag == OrderStatus.NOPAY) {
|
|
|
|
|
+ name = '待支付';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.PAYOVER) {
|
|
|
|
|
+ name = '待预约拍照';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKPHOTO) {
|
|
|
|
|
+ name = '待拍照';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.PHOTOOVER) {
|
|
|
|
|
+ name = '待预约选片';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKSELECT) {
|
|
|
|
|
+ name = '待选片';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.SELECTOVER) {
|
|
|
|
|
+ name = '待预约审片';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKCHECK) {
|
|
|
|
|
+ name = '待审片';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.CHECKOVER) {
|
|
|
|
|
+ name = '待预约取件';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKACCESS) {
|
|
|
|
|
+ name = '待取件';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.ACCESSOVER) {
|
|
|
|
|
+ name = '待评价';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.FINISH) {
|
|
|
|
|
+ name = '已完成';
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.CANCEL) {
|
|
|
|
|
+ name = '取消';
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return name;
|
|
|
|
|
+ },
|
|
|
|
|
+ btnList() {
|
|
|
|
|
+ var list = [];
|
|
|
|
|
+
|
|
|
|
|
+ if (this.info.statusFlag == OrderStatus.NOPAY) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '取消订单',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '立即支付',
|
|
|
|
|
+ type: 'primary',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.PAYOVER) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '联系客服',
|
|
|
|
|
+ openType: 'contact',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '立即预约',
|
|
|
|
|
+ now: '拍照',
|
|
|
|
|
+ type: 'primary',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKPHOTO) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '查看订单',
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.PHOTOOVER) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '联系客服',
|
|
|
|
|
+ openType: 'contact',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '立即预约',
|
|
|
|
|
+ now: '选片',
|
|
|
|
|
+ type: 'primary',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKSELECT) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '查看订单',
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.SELECTOVER) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '联系客服',
|
|
|
|
|
+ openType: 'contact',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '立即预约',
|
|
|
|
|
+ now: '审片',
|
|
|
|
|
+ type: 'primary',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKCHECK) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '查看订单',
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.CHECKOVER) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '联系客服',
|
|
|
|
|
+ openType: 'contact',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '立即预约',
|
|
|
|
|
+ now: '取件',
|
|
|
|
|
+ type: 'primary',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.BOOKACCESS) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '查看订单',
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.ACCESSOVER) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '查看订单',
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '立即评价',
|
|
|
|
|
+ type: 'primary',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.FINISH) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '删除订单',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '查看订单',
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ } else if (this.info.statusFlag == OrderStatus.CANCEL) {
|
|
|
|
|
+ list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '删除订单',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: '查看订单',
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ },
|
|
|
|
|
+ ];
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return list;
|
|
|
|
|
+ },
|
|
|
|
|
+ nowDate() {
|
|
|
|
|
+ const date = new Date();
|
|
|
|
|
+ const year = date.getFullYear();
|
|
|
|
|
+ const month = date.getMonth() + 1;
|
|
|
|
|
+ const day = date.getDate() + 1;
|
|
|
|
|
+
|
|
|
|
|
+ return year + '-' + month + '-' + day;
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {};
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ goDetail() {
|
|
|
|
|
+ wx.navigateTo({
|
|
|
|
|
+ url:
|
|
|
|
|
+ '/pages/orderDetail/orderDetail?orderId=' +
|
|
|
|
|
+ this.info.id +
|
|
|
|
|
+ '&index=' +
|
|
|
|
|
+ (this.orderIndex || this.index),
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ clickEvent(name) {
|
|
|
|
|
+ if (name == '立即支付') {
|
|
|
|
|
+ wx.navigateTo({
|
|
|
|
|
+ url: '/pages/submit/submit?orderId=' + this.info.id,
|
|
|
|
|
+ });
|
|
|
|
|
+ } else if (name == '取消订单') {
|
|
|
|
|
+ var ref = this;
|
|
|
|
|
+ wx.showModal({
|
|
|
|
|
+ title: '提示',
|
|
|
|
|
+ content: '确定要取消该订单吗?',
|
|
|
|
|
+ confirmColor: '#00C5F2',
|
|
|
|
|
+ success(res) {
|
|
|
|
|
+ if (res.confirm) {
|
|
|
|
|
+ ref.$emit('cancelOrder');
|
|
|
|
|
+ } else if (res.cancel) {
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+ } else if (name == '立即评价') {
|
|
|
|
|
+ wx.navigateTo({
|
|
|
|
|
+ url:
|
|
|
|
|
+ '/pages/evaluate/evaluate?orderId=' +
|
|
|
|
|
+ this.info.id +
|
|
|
|
|
+ '&index=' +
|
|
|
|
|
+ (this.orderIndex || this.index),
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ else if(name=='查看订单'){
|
|
|
|
|
+ this.goDetail()
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ bindDateChange(e) {
|
|
|
|
|
+ var ref = this;
|
|
|
|
|
+ wx.showModal({
|
|
|
|
|
+ title: '已选择:' + e.mp.detail.value,
|
|
|
|
|
+ content: ' 确定要预约当前日期吗?',
|
|
|
|
|
+ confirmColor: '#00C5F2',
|
|
|
|
|
+ success(res) {
|
|
|
|
|
+ if (res.confirm) {
|
|
|
|
|
+ var data = {
|
|
|
|
|
+ id: ref.info.id,
|
|
|
|
|
+ };
|
|
|
|
|
+ if (ref.statusName == '待预约拍照') {
|
|
|
|
|
+ data.bookPhotoTime = Date.parse(
|
|
|
|
|
+ new Date(e.mp.detail.value),
|
|
|
|
|
+ );
|
|
|
|
|
+ data.statusFlag = OrderStatus.BOOKPHOTO;
|
|
|
|
|
+ } else if (ref.statusName == '待预约选片') {
|
|
|
|
|
+ data.bookSelectTime = Date.parse(
|
|
|
|
|
+ new Date(e.mp.detail.value),
|
|
|
|
|
+ );
|
|
|
|
|
+ data.statusFlag = OrderStatus.BOOKSELECT;
|
|
|
|
|
+ } else if (ref.statusName == '待预约审片') {
|
|
|
|
|
+ data.bookCheckTime = Date.parse(
|
|
|
|
|
+ new Date(e.mp.detail.value),
|
|
|
|
|
+ );
|
|
|
|
|
+ data.statusFlag = OrderStatus.BOOKCHECK;
|
|
|
|
|
+ } else if (ref.statusName == '待预约取件') {
|
|
|
|
|
+ data.bookAccessTime = Date.parse(
|
|
|
|
|
+ new Date(e.mp.detail.value),
|
|
|
|
|
+ );
|
|
|
|
|
+ data.statusFlag = OrderStatus.BOOKACCESS;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ wx.showLoading({
|
|
|
|
|
+ title: '加载中',
|
|
|
|
|
+ mask: true,
|
|
|
|
|
+ });
|
|
|
|
|
+ ref.$http
|
|
|
|
|
+ .post('/userOrderDetail/update', data)
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ wx.hideLoading();
|
|
|
|
|
+ if (res.success) {
|
|
|
|
|
+ ref.$emit('update', ref.index);
|
|
|
|
|
+ wx.showToast({
|
|
|
|
|
+ title: '预约成功',
|
|
|
|
|
+ icon: 'success',
|
|
|
|
|
+ duration: 1500,
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ wx.showToast({
|
|
|
|
|
+ title: res.error,
|
|
|
|
|
+ icon: 'none',
|
|
|
|
|
+ duration: 1500,
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ } else if (res.cancel) {
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+};
|
|
|
|
|
+</script>
|
|
|
|
|
+<style lang='less' scoped>
|
|
|
|
|
+.order {
|
|
|
|
|
+ background: rgba(255, 255, 255, 1);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ padding: 0 15px;
|
|
|
|
|
+ margin: 15px 15px 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.hr {
|
|
|
|
|
+ height: 1px;
|
|
|
|
|
+ background-color: #f2f4f5;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.orderInfo {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ // border-bottom: 1px solid #f2f4f5;
|
|
|
|
|
+ padding: 15px 0 0;
|
|
|
|
|
+
|
|
|
|
|
+ .image {
|
|
|
|
|
+ width: 80px;
|
|
|
|
|
+ height: 80px;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .content {
|
|
|
|
|
+ flex-grow: 1;
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+
|
|
|
|
|
+ .title {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .sub {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: rgba(170, 172, 173, 1);
|
|
|
|
|
+ line-height: 17px;
|
|
|
|
|
+ margin-top: 5px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .moeny {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ margin-top: 18px;
|
|
|
|
|
+
|
|
|
|
|
+ .price {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .num {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: rgba(170, 172, 173, 1);
|
|
|
|
|
+ line-height: 20px;
|
|
|
|
|
+ &::before {
|
|
|
|
|
+ content: 'x';
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.order-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+
|
|
|
|
|
+ .name {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: rgba(56, 56, 56, 1);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .val {
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
+ flex-grow: 1;
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+
|
|
|
|
|
+ &.notSet {
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .placeholder {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: rgba(170, 172, 173, 1);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.submit {
|
|
|
|
|
+ line-height: 40px;
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: rgba(56, 56, 56, 1);
|
|
|
|
|
+
|
|
|
|
|
+ .price {
|
|
|
|
|
+ color: rgba(255, 59, 48, 1);
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.orderTop {
|
|
|
|
|
+ height: 44px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ border-bottom: 1px solid #f2f4f5;
|
|
|
|
|
+
|
|
|
|
|
+ span {
|
|
|
|
|
+ &:first-child {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: rgba(0, 0, 0, 1);
|
|
|
|
|
+ line-height: 18px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:last-child {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: rgba(0, 197, 242, 1);
|
|
|
|
|
+ line-height: 18px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.total {
|
|
|
|
|
+ height: 50px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ span {
|
|
|
|
|
+ &:first-child {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: rgba(102, 102, 102, 1);
|
|
|
|
|
+ line-height: 17px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:last-child {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: #ff3b30;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.btnList {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
+ height: 58px;
|
|
|
|
|
+ border-top: 1px solid #f2f4f5;
|
|
|
|
|
+
|
|
|
|
|
+ button {
|
|
|
|
|
+ width: 76px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+ border-radius: 18px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ line-height: 28px;
|
|
|
|
|
+ border: 1px solid rgba(170, 172, 173, 1);
|
|
|
|
|
+ color: #aaacad;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ margin: 0 0 0 10px;
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+
|
|
|
|
|
+ &.line {
|
|
|
|
|
+ border: 1px solid rgba(0, 197, 242, 1);
|
|
|
|
|
+ color: #00c5f2;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &.primary {
|
|
|
|
|
+ background: rgba(0, 197, 242, 1);
|
|
|
|
|
+ border: 1px solid rgba(0, 197, 242, 1);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .btn-item {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ .picker {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ opacity: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|