Showing
3 changed files
with
4 additions
and
4 deletions
| @@ -50,7 +50,7 @@ Component({ | @@ -50,7 +50,7 @@ Component({ | ||
| 50 | */ | 50 | */ |
| 51 | methods: { | 51 | methods: { |
| 52 | init(){ | 52 | init(){ |
| 53 | - if(this.data.detail && this.data.detail.rdate){ | 53 | + if(this.data.detail && this.data.detail.ddate){ |
| 54 | let masterMan=(this.data.detail.rname||''); | 54 | let masterMan=(this.data.detail.rname||''); |
| 55 | if(this.data.detail.phone){ | 55 | if(this.data.detail.phone){ |
| 56 | masterMan+=' ('+ | 56 | masterMan+=' ('+ |
| @@ -78,7 +78,7 @@ Component({ | @@ -78,7 +78,7 @@ Component({ | ||
| 78 | } | 78 | } |
| 79 | if(this.data.hasShowStatus){ | 79 | if(this.data.hasShowStatus){ |
| 80 | let ns=new Date()/1000 | 80 | let ns=new Date()/1000 |
| 81 | - obj.showStatusStr=ns>this.data.detail.rdate?'已结束':'已预定'; | 81 | + obj.showStatusStr=ns>this.data.detail.ddate?'已结束':'已预定'; |
| 82 | } | 82 | } |
| 83 | this.setData(obj) | 83 | this.setData(obj) |
| 84 | } | 84 | } |
| @@ -61,7 +61,7 @@ Page({ | @@ -61,7 +61,7 @@ Page({ | ||
| 61 | return this.shareSetting(); | 61 | return this.shareSetting(); |
| 62 | }, | 62 | }, |
| 63 | formatDatail(detail){ | 63 | formatDatail(detail){ |
| 64 | - detail.rdateStr=util.unixtoTime(detail.rdate,'MM月DD日 WW HH:II'); | 64 | + detail.rdateStr=util.unixtoTime(detail.ddate,'MM月DD日 WW HH:II'); |
| 65 | detail.tableFirst=detail.tables[0].name; | 65 | detail.tableFirst=detail.tables[0].name; |
| 66 | if(detail.tables.length>1){ | 66 | if(detail.tables.length>1){ |
| 67 | detail.tableSubInfo='等'+(detail.tables.length)+'个' | 67 | detail.tableSubInfo='等'+(detail.tables.length)+'个' |
| @@ -67,7 +67,7 @@ Page({ | @@ -67,7 +67,7 @@ Page({ | ||
| 67 | if(list.length>0){ | 67 | if(list.length>0){ |
| 68 | let openid=getApp().openid; | 68 | let openid=getApp().openid; |
| 69 | list.forEach(row=>{ | 69 | list.forEach(row=>{ |
| 70 | - row.rdateStr=util.unixtoTime(row.rdate,'MM月DD日 WW HH:II'); | 70 | + row.rdateStr=util.unixtoTime(row.ddate,'MM月DD日 WW HH:II'); |
| 71 | row.navigator=row.openid==openid?'detail_owner':'detail_customer'; | 71 | row.navigator=row.openid==openid?'detail_owner':'detail_customer'; |
| 72 | let d=util.unixtoTime(row.rdate,'MM月DD日 DAY 星期WW'); | 72 | let d=util.unixtoTime(row.rdate,'MM月DD日 DAY 星期WW'); |
| 73 | typeof dlist[d]=='undefined'?dlist[d]=[]:''; | 73 | typeof dlist[d]=='undefined'?dlist[d]=[]:''; |
-
Please register or login to post a comment