| | |
| | | :key="item.value" |
| | | class="filter-tab" |
| | | :class="{ active: activeTab === item.value }" |
| | | @tap="activeTab = item.value" |
| | | @click="changeTab(item) " |
| | | > |
| | | {{ item.label }} |
| | | </view> |
| | |
| | | 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 }) |