Commit f8eecbdb by zhangzhen

细节优化

parent 68f9bf13
...@@ -336,10 +336,6 @@ ...@@ -336,10 +336,6 @@
</uni-popup> </uni-popup>
<LoginPop ref="loginPop" @success='onLoading' /> <LoginPop ref="loginPop" @success='onLoading' />
<uni-popup ref="popupConfirm" type="dialog">
<uni-popup-dialog type="warn" mode="base" :content="content" :duration="2000" :before-close="true"
@close="close" @confirm="confirm"></uni-popup-dialog>
</uni-popup>
<uni-popup ref="popupMessage" type="dialog"> <uni-popup ref="popupMessage" type="dialog">
<uni-popup-dialog type="warn" mode="base" title="提示" :showClose="false" content="当前条件下无可预约的时段,请手动选择合适的空闲时段" :duration="2000" :before-close="true" @close="onCancleTip" @confirm="onCancleTip"></uni-popup-dialog> <uni-popup-dialog type="warn" mode="base" title="提示" :showClose="false" content="当前条件下无可预约的时段,请手动选择合适的空闲时段" :duration="2000" :before-close="true" @close="onCancleTip" @confirm="onCancleTip"></uni-popup-dialog>
...@@ -1299,20 +1295,7 @@ ...@@ -1299,20 +1295,7 @@
this.orderWeekDes = moment(this.formatAllData.formatAllData).days(); this.orderWeekDes = moment(this.formatAllData.formatAllData).days();
this.$refs.confirmPop.open(); this.$refs.confirmPop.open();
}, },
close() {
this.$refs.popupConfirm.close()
},
confirm() {
this.close()
// if (!this.useDateStatus) {
// uni.showToast({
// icon: "none",
// title: "所选时段已被其他订单占用"
// })
// return
// }
this.$refs.confirmPop.open();
},
onOrder() { onOrder() {
wx.requestSubscribeMessage({ wx.requestSubscribeMessage({
tmplIds: [ tmplIds: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment