Commit 7e1fc74a91a31e9728efb0a263f1ee2c210f1f1e

Authored by liuxuqinfhp1220
2 parents be205149 10edd02a

Merge branch 'master' of http://123.56.79.57/xt/xcx-book

# By vking
# Via vking
* 'master' of http://123.56.79.57/xt/xcx-book:
  fix worktime
  fix worktime
  fix bgcolor

Conflicts:
	pages/reserve/submit.js
1 /* pages/reserve/detail.wxss */ 1 /* pages/reserve/detail.wxss */
2 .pages{ 2 .pages{
3 - width: 90%; 3 + width: 100%;
4 margin: 0 auto; 4 margin: 0 auto;
5 font-size: 30rpx; 5 font-size: 30rpx;
6 color:#353535; 6 color:#353535;
7 padding-bottom: 100rpx; 7 padding-bottom: 100rpx;
  8 + background-color: #fefefe;
  9 + box-sizing: border-box;
  10 + padding: 0 5% 100rpx;
8 } 11 }
9 .seller-banner{ 12 .seller-banner{
10 width: 100%; 13 width: 100%;
@@ -172,6 +172,10 @@ Page({ @@ -172,6 +172,10 @@ Page({
172 },()=>{ 172 },()=>{
173 this.hasSubmit=true; 173 this.hasSubmit=true;
174 }) 174 })
  175 + }).catch(()=>{
  176 + this.hasSubmit=true//出错后可再次提交
  177 + return util.toast('提交失败,请重试','none');
  178 + })
175 }, 179 },
176 getRdate(){ 180 getRdate(){
177 let daily=this.data.seller.daily; 181 let daily=this.data.seller.daily;
@@ -204,6 +208,9 @@ Page({ @@ -204,6 +208,9 @@ Page({
204 stime=util.timetouUnix(today+' '+this.data.seller.rec_stime+':00') 208 stime=util.timetouUnix(today+' '+this.data.seller.rec_stime+':00')
205 etime=util.timetouUnix(today+' '+this.data.seller.rec_etime+':00') 209 etime=util.timetouUnix(today+' '+this.data.seller.rec_etime+':00')
206 if(etime<=stime){ 210 if(etime<=stime){
  211 + if(time<=etime){
  212 + return true
  213 + }
207 etime+=86400 214 etime+=86400
208 } 215 }
209 if(time>=stime && time<=etime){ 216 if(time>=stime && time<=etime){