Browse Source

1111

master
wangjiahai 2 years ago
parent
commit
6c5233621f
  1. 11
      pages/card/card_detail.vue

11
pages/card/card_detail.vue

@ -55,7 +55,8 @@
<view style="flex: 1;"></view> <view style="flex: 1;"></view>
<view v-if="data.showRecord" class="btn" style="flex-shrink: 0;color: #191919;"> <view v-if="data.showRecord" class="btn" style="flex-shrink: 0;color: #191919;">
预约记录</view> 预约记录</view>
<view v-if="data.showBtn" class="btn" style="flex-shrink: 0;color: royalblue;">预约提货 <view v-if="data.showBtn" class="btn" style="flex-shrink: 0;color: royalblue;"
@click.stop="booking(page.sid)">预约提货
</view> </view>
</view> </view>
</view> </view>
@ -85,6 +86,9 @@
this.page.sid = options.sid this.page.sid = options.sid
this.request() this.request()
uni.$on("order2", (e) => { uni.$on("order2", (e) => {
this.$nextTick(() => {
this.$refs.pageView.setLoadState(0)
})
this.request(); this.request();
}) })
}, },
@ -104,6 +108,11 @@
_this.$refs.pageView.setLoadState(1) _this.$refs.pageView.setLoadState(1)
}) })
}) })
},
booking(sid) {
uni.navigateTo({
url: '/pages/card/card_booking?sid=' + sid
})
} }
} }
} }

Loading…
Cancel
Save