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