Commit 7b46f4239cbb81dab6ce80b5eae265642e0fb93a

Authored by wangfan
1 parent a83b2f89

manager-invitation

@@ -154,13 +154,17 @@ Page({ @@ -154,13 +154,17 @@ Page({
154 } 154 }
155 }, 155 },
156 swiperChange(e){ 156 swiperChange(e){
  157 + let current=e.detail.current
157 this.setData({ 158 this.setData({
158 - current:e.detail.current, 159 + current:current,
  160 + [`seller.date`]:util.unixtoTime(new Date()/1000,this.data.tpls[current].timeStr)
159 }) 161 })
160 }, 162 },
161 switchTabs(e){ 163 switchTabs(e){
  164 + let current=util.attr(e,'current')
162 this.setData({ 165 this.setData({
163 - current:util.attr(e,'current'), 166 + current:current,
  167 + [`seller.date`]:util.unixtoTime(new Date()/1000,this.data.tpls[current].timeStr)
164 }) 168 })
165 }, 169 },
166 goEditor(){ 170 goEditor(){
@@ -361,7 +361,7 @@ @@ -361,7 +361,7 @@
361 "id": 43, 361 "id": 43,
362 "name": "pages/manager-invitation/review", 362 "name": "pages/manager-invitation/review",
363 "pathName": "pages/manager-invitation/review", 363 "pathName": "pages/manager-invitation/review",
364 - "query": "rid=5&tplid=2", 364 + "query": "",
365 "scene": null 365 "scene": null
366 }, 366 },
367 { 367 {