Commit 09c2e590 by zhangzhen

细节优化

parent cd69a0a2
......@@ -249,7 +249,7 @@
<text class="text-black text-xl text-bold">温馨提示</text>
</view>
<view class="content">
<text class="text-black text-lg">欢迎来到凑角自助共享棋牌,凑角品牌致力于打造环境舒适、风格独特的棋牌共享空间,门店24小时无人值守,房间使用期间,如有问题请联系门店客服,将一对一为您服务。
<text class="text-black text-lg" >欢迎来到凑角自助共享棋牌,凑角品牌致力于打造环境舒适、风格独特的棋牌共享空间,门店24小时无人值守,房间使用期间,如有问题请联系门店客服,将一对一为您服务。
本空间使用者需遵守治安管理条列,注意个人安全,违者自行承担相应责任及后果:
一、严禁未成年人进入本场所
二、严禁黄、赌、毒
......@@ -1566,7 +1566,7 @@
display: flex;
flex-direction: column;
background-color: #ffffff;
width: 92%;
width: 86%;
margin: 0 auto;
border-radius: 20upx;
box-shadow: 0 8upx 20upx rgba(185, 75, 112, 0.7);
......@@ -1578,7 +1578,8 @@
border-bottom: 1px solid rgba(185, 75, 112, 0.7);
}
.content{
padding: 20upx 30upx;
padding: 36upx 30upx 20upx;
text-indent: 20px;
}
.btn-box{
width: 90%;
......
......@@ -96,7 +96,7 @@
</view>
<view class="flex-between btn-box">
<view v-if="orderInfo.status <= 1" class="part">
<button class="cu-btn block round bg-pink lg" :class="openDoorStatus?'bg-gray':'bg-pink'" @tap="onOpenDoor">进店开门</button>
<button class="cu-btn block round bg-pink lg" :class="openDoorStatus?'bg-gray':'bg-pink'" @tap="onCheckOrderStatus">进店开门</button>
</view>
<view class="part">
<button class="cu-btn block round line-pink lg" open-type="share">分享好友</button>
......@@ -131,6 +131,10 @@
<uni-popup-dialog mode="base" content="请确认是否退单" :duration="2000" :before-close="true" @close="close" @confirm="confirm"></uni-popup-dialog>
</uni-popup>
<uni-popup ref="popupDialog" type="dialog">
<uni-popup-dialog type="warn" mode="base" title="提示" content="订单暂未开始,请确认是否立即开始此订单?" :duration="2000" :before-close="true" @close="onCancleTip" @confirm="onOpenDoor"></uni-popup-dialog>
</uni-popup>
<LoginPop ref="loginPop" @success='onNavToOrder' />
</view>
......@@ -287,7 +291,15 @@
menus: ['shareAppMessage', 'shareTimeline']
})
},
onCheckOrderStatus(){
if(this.orderInfo.status === 0){
this.$refs.popupDialog.open();
}else{
this.onOpenDoor();
}
},
onOpenDoor(){
this.$refs.popupDialog.close();
if(this.orderInfo.status <=1){
if(this.openDoorStatus){
uni.showToast({
......@@ -493,6 +505,9 @@
}
})
},
onCancleTip(){
this.$refs.popupDialog.close();
},
onMessagePush(){
}
......
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