Commit 862b6a9be4aa7196281ccfa9ac6a9cdf02d5b4a8

Authored by wangfan
1 parent 9bcb5dbe

Merge remote-tracking branch 'remotes/origin/timespace'

# Conflicts:
#	pages/book/b_addnew.js
#	project.config.json
Showing 1 changed file with 8 additions and 2 deletions
... ... @@ -47,12 +47,18 @@ Page({
{ month: 'current', day: new Date().getDate(), color: 'white', background: '#AAD4F5' },
{ month: 'current', day: new Date().getDate(), color: 'white', background: '#AAD4F5' }
],
timePickerArray:[
['6:00','6:30','7:00'],
['10:00','10:30','11:00'],
[],
],
timePickerIndex:[0,0,0],
},
tablesAll:[],
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
onLoad: async function (options) {
this.setDateStr();
this.sellerid=util.cache('sellerid');
let timePickerArray= await comm.getDayTimeSpace();
... ... @@ -249,7 +255,7 @@ Page({
})
App.Reserve.Detail({rid:_id,openid:''},true)
wx.navigateTo({
url:'b_detail?id='+res.data.id,
url:'b_detail?id='+_id,
});
}else{
util.toast(res.msg,'none')
... ...