Commit dc49086e48a38c0770d695a447ae3c2218eceb32

Authored by liuxuqinfhp1220
1 parent c6f4a0c7

no message

... ... @@ -62,9 +62,9 @@ Page({
saved() {
console.log(this.user.name)
if(!this.user.name){
return util.toast('请填写预定人','none')
}
if(!this.user.name){
return util.toast('请填写预定人','none')
}
if(!this.user.phone){
return util.toast('请填写正确的手机号','none')
}
... ... @@ -96,7 +96,7 @@ Page({
return util.val(e);
}
}
val = util.val(e);
val = util.val(e);
}
this.user[key] = val;
if (key == 'sex' || key == 'is_default') {
... ... @@ -105,6 +105,11 @@ Page({
})
}
},
changeborder(){
this.setData({
keyborder:false
})
},
getphone(e){
console.log('getphone',e);
if(e.detail.ret!=200){
... ...
... ... @@ -34,6 +34,7 @@
<view class="Medium flex-ll">
<view class="item-label">手机</view>
<input class="phone input" placeholder="请填写联系方式"
cursor-spacing="180"
bindinput="changeInput"
data-key="phone"
type="number"
... ... @@ -41,7 +42,7 @@
placeholder-class="input-pl" maxlength="11"/>
</view>
<view class="flex-rr">
<!-- 一键获取 -->
<!-- 一键获取 -->
<phone bindgetphone="getphone">
<view class="smooth white-font get-phone flex-vc" style="font-size:28rpx;">一键获取</view>
</phone>
... ...
... ... @@ -102,7 +102,6 @@ Page({
//已经完成预订的情况---清除日期、时段、选中包间
if(wx.getStorageSync('order')){
this.setData({
reserveSection:null,
seletroomlist:[]
})
wx.removeStorageSync('order')
... ...