| | |
| | | :key="item.value" |
| | | class="filter-tab" |
| | | :class="{ active: activeTab === item.value }" |
| | | @tap="activeTab = item.value" |
| | | @click="changeTab(item) " |
| | | > |
| | | {{ item.label }} |
| | | </view> |
| | |
| | | <image class="qrcode-image" :src="qrcodeImage" mode="widthFix"></image> |
| | | </view> |
| | | <text class="pickup-code">{{ currentOrder.memberVerifyCode||'' }}</text> |
| | | <text class="pickup-tip" @tap="copyCode">点击复制自提码</text> |
| | | <text class="pickup-tip" @tap="copyCode">点击复制核销码</text> |
| | | </view> |
| | | </view> |
| | | </u-popup> |
| | |
| | | dataList: [] |
| | | } |
| | | }, |
| | | watch: { |
| | | activeTab() { |
| | | this.getFirstPageData() |
| | | } |
| | | }, |
| | | // watch: { |
| | | // activeTab() { |
| | | // this.getFirstPageData() |
| | | // } |
| | | // }, |
| | | onLoad(options) { |
| | | console.log(options ) |
| | | this.activeTab = -1 |
| | |
| | | this.activeTab = Number(orderStatus) |
| | | } |
| | | } |
| | | if(this.ac) |
| | | uni.clearStorageSync("orderStatus") |
| | | this.getFirstPageData() |
| | | }, |
| | |
| | | this.getDataList(); |
| | | }, |
| | | methods: { |
| | | changeTab(item){ |
| | | this.activeTab = item.value |
| | | this.getFirstPageData() |
| | | }, |
| | | payOrderFee(info){ |
| | | var that = this; |
| | | uni.showLoading({ title: '发起支付中...', mask: true }) |
| | |
| | | data: this.currentOrder.memberVerifyCode, |
| | | success: () => { |
| | | uni.showToast({ |
| | | title: '已复制自提码', |
| | | title: '已复制核销码', |
| | | icon: 'none' |
| | | }) |
| | | } |
| | |
| | | color: #8C939F; |
| | | } |
| | | .price-line{ |
| | | padding: 0 30rpx; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | align-items: flex-end; |