Browse Source

feat: 接口对接;

fox
fox 1 week ago
parent
commit
08ec4a1d82
2 changed files with 3 additions and 4 deletions
  1. +1
    -1
      components/couponList/couponList.vue
  2. +2
    -3
      pages_order/mine/coupon.vue

+ 1
- 1
components/couponList/couponList.vue View File

@ -18,7 +18,7 @@
</template>
<text class="list-item-count">{{ item.discountAmount }}</text>
<text class="list-item-deadline">{{ `有效期至${item.validTime ? $dayjs(item.validTime).format('YYYY-MM-DD') : '-'}` }}</text>
<text class="list-item-deadline">{{ `有效期至${item.validDate ? $dayjs(item.validDate).format('YYYY-MM-DD') : '-'}` }}</text>
</view>
</view>


+ 2
- 3
pages_order/mine/coupon.vue View File

@ -73,12 +73,11 @@
onTabClick(e) {
const { index } = e
// todo: check
// status: 0-使 1-使
// status- 0-使 1-使 2-
if (index === 0) {
this.status = 'all'
} else {
this.status = index - 1
this.status = index
}
}
}


Loading…
Cancel
Save