|
...
|
...
|
@@ -20,11 +20,16 @@ Page({ |
|
|
|
sort:'',
|
|
|
|
form:{
|
|
|
|
time:-1,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
timePickerArray:[
|
|
|
|
[],
|
|
|
|
[],
|
|
|
|
[],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
sellerid:0,
|
|
|
|
indexOpt:null,
|
|
|
|
onLoad:function(opt){
|
|
|
|
onLoad:async function(opt){
|
|
|
|
let d=new Date()/1000;
|
|
|
|
let dateStr=util.unixtoTime(d,'MM-DD DAY');
|
|
|
|
var radio=750/util.getsystem().windowWidth;
|
|
...
|
...
|
@@ -38,10 +43,12 @@ Page({ |
|
|
|
this.sellerid=util.cache('sellerid');
|
|
|
|
}
|
|
|
|
//this.sellerid=opt.seller_id ? opt.seller_id : util.cache('sellerid');
|
|
|
|
let timePickerArray= await bookOrder.getDayTimeSpace();
|
|
|
|
this.setData({
|
|
|
|
sellerid:this.sellerid,
|
|
|
|
listHeight:contentHeight-Math.ceil(210/radio),
|
|
|
|
dateStr:dateStr,
|
|
|
|
timePickerArray: timePickerArray,
|
|
|
|
})
|
|
|
|
//util.setBarTitle('预定本');
|
|
|
|
this.indexOpt=opt;
|
...
|
...
|
|