Commit 5ca901cfd72bfc290da2d73f66d7cb66071c5764

Authored by wangfan
1 parent 56cec9d7

seller

... ... @@ -18,7 +18,7 @@
"navigationBarTextStyle": "light"
},
"networkTimeout": {
"request": 3000,
"request": 5000,
"downloadFile": 10000
},
"debug": true
... ...
... ... @@ -5,6 +5,7 @@ Page({
util.setBarTitle('预定详情');
console.log(opt)
opt.name=opt.name.length>3 ? opt.name.slice(0,3)+'...' : opt.name
opt.rdateStr=util.unixtoTime(opt.rdate,"MM月DD日 HH:II")
this.setData({
sellerid:util.cache('sellerid'),
phoneNumber:opt.phone,
... ...
... ... @@ -17,7 +17,7 @@
<view class="order-info">
<view class="flex-lr order-detail">
<view class="gray-deep-font font30r">用餐时间</view>
<view class="black-font font34r">{{bookInfo.order_date}}{{bookInfo.order_time}}</view>
<view class="black-font font34r">{{bookInfo.rdateStr}}</view>
</view>
<view class="flex-lr order-detail">
<view class="gray-deep-font font30r">用餐人数</view>
... ...
... ... @@ -81,20 +81,10 @@ Page({
util.postSuccessFun=function(json,uri_code){
switch (uri_code) {
case uri.CGI_USER_SETRESERVEINFO__CODE:
wx.hideLoading()
if(json.ret==200){
wx.showToast({
title:'添加成功',
duration:2000,
success:function(){
setTimeout(function () {
// wx.navigateBack({
// delta: 2
// })
wx.reLaunch({
url:util.http_build_query(json.data,'b_detail')
})
},2500)
}
wx.reLaunch({
url:util.http_build_query(json.data,'b_detail')
})
}
break;
... ... @@ -213,6 +203,10 @@ Page({
}
},
formsubmit:function(){
wx.showLoading({
title:'正在预定',
mask:true
});
console.log(this.data.time)
var formData={
sid:this.data.sellerid,
... ...