Commit 5eec5616f90994ce6ad350266a05be04735e7fbb

Authored by vking
1 parent 69b1011d

online

... ... @@ -253,4 +253,16 @@ Page({
activeTab:util.attr(e,'act'),
})
},
reserve:{},
selectpeople(e){
console.log(e);
this.reserve.pnum=e.detail.people;
if(e.detail.action=='click'){
this.reserve.sid=this.options.id
this.reserve.ddate=util.timetouUnix(this.reserve.date+' '+this.reserve.time+':00')
wx.navigateTo({
url:util.http_build_query(this.reserve,'./submit')
})
}
},
})
\ No newline at end of file
... ...
... ... @@ -12,7 +12,7 @@
"getpos":"/components/userinfo/getpos",
"discount":"/components/reserve/discount",
"share":"/components/reserve/share/share",
"people":"/components/reserve/people/people",
"dur":"/components/reserve/dur/dur"
"people":"/components/reserve/people/people",
"dur":"/components/reserve/dur/dur"
}
}
\ No newline at end of file
... ...
... ... @@ -381,6 +381,6 @@
</block>
<block wx:if="{{activeTab=='reserve'}}">
<view class="olreserve">
<people seller="{{seller}}" bindselectpeople="selectpeople"></people>
</view>
</block>
\ No newline at end of file
... ...
... ... @@ -45,7 +45,7 @@
"list": []
},
"miniprogram": {
"current": 55,
"current": 56,
"list": [
{
"id": 0,
... ... @@ -462,6 +462,13 @@
"pathName": "pages/reserve/submit",
"query": "sid=1&ddate=1234567890&pnum=10",
"scene": null
},
{
"id": -1,
"name": "pages/customer/detail_owner",
"pathName": "pages/customer/detail_owner",
"query": "id=18599",
"scene": null
}
]
}
... ...