Commit 9ffb0d8a3a7606550d665feb5fa2d863e9fb1fd9

Authored by vking
1 parent a92ed781

filter 人均

... ... @@ -82,9 +82,19 @@ Component({
obj.consumeStr=filterParams.consumeStr||''
}
this.setData(obj)
setTimeout(()=>{
this.selectComponent('#consume').changeVal(this.min,this.max);
},0)
if(filterParams){
setTimeout(()=>{
this.selectComponent('#consume').changeVal(this.min,this.max);
},0)
}else{
setTimeout(()=>{
this.selectComponent('#consume').changeVal(0,300);
this.setData({
active:'',
consumeStr:'',
})
},0)
}
},
submit(){
this.triggerEvent('event',{
... ...
... ... @@ -37,7 +37,7 @@ Page({
hasSubscribeFail:options.hasSubscribeFail,
}
if(options.firstShowMsg){//从提交预订页进入
obj.reserveSubmitInfo='预定提交成功,等待餐厅确认'
obj.reserveSubmitInfo='预订提交成功,等待餐厅确认'
}
this.setData(obj)
PubSub.on('detailPub',(res)=>{
... ...