Showing
5 changed files
with
8 additions
and
5 deletions
| @@ -40,6 +40,9 @@ Component({ | @@ -40,6 +40,9 @@ Component({ | ||
| 40 | userinfo(e){ | 40 | userinfo(e){ |
| 41 | console.log('userinfo-share',e); | 41 | console.log('userinfo-share',e); |
| 42 | this.triggerEvent("userinfo",e.detail); | 42 | this.triggerEvent("userinfo",e.detail); |
| 43 | + this.setData({ | ||
| 44 | + hasShare:true | ||
| 45 | + }) | ||
| 43 | }, | 46 | }, |
| 44 | share(e){ | 47 | share(e){ |
| 45 | console.log('userinfo-share',e); | 48 | console.log('userinfo-share',e); |
| @@ -153,7 +153,7 @@ Page({ | @@ -153,7 +153,7 @@ Page({ | ||
| 153 | nickname=util.cache('userInfo').nickName; | 153 | nickname=util.cache('userInfo').nickName; |
| 154 | }catch(e){} | 154 | }catch(e){} |
| 155 | return { | 155 | return { |
| 156 | - title: nickname+'给你发了一个邀请,点击查看', | 156 | + title: (nickname||'')+'给你发了一个邀请,点击查看', |
| 157 | path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, | 157 | path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, |
| 158 | imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, | 158 | imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, |
| 159 | } | 159 | } |
| @@ -109,7 +109,7 @@ Page({ | @@ -109,7 +109,7 @@ Page({ | ||
| 109 | nickname=util.cache('userInfo').nickName; | 109 | nickname=util.cache('userInfo').nickName; |
| 110 | }catch(e){} | 110 | }catch(e){} |
| 111 | return { | 111 | return { |
| 112 | - title: nickname+'给你发了一个邀请,点击查看', | 112 | + title: (nickname||'')+'给你发了一个邀请,点击查看', |
| 113 | path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, | 113 | path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, |
| 114 | imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, | 114 | imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, |
| 115 | } | 115 | } |
| @@ -117,7 +117,7 @@ Page({ | @@ -117,7 +117,7 @@ Page({ | ||
| 117 | nickname=util.cache('userInfo').nickName; | 117 | nickname=util.cache('userInfo').nickName; |
| 118 | }catch(e){} | 118 | }catch(e){} |
| 119 | return { | 119 | return { |
| 120 | - title: nickname+'给你发了一个邀请,点击查看', | 120 | + title: (nickname||'')+'给你发了一个邀请,点击查看', |
| 121 | path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, | 121 | path: '/pages/customer/index?id='+this.id+'&fromid='+getApp().openid+'&invite_name='+nickname, |
| 122 | imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, | 122 | imageUrl:util.cgi('App.Reserve.MakePic&rid=')+this.id, |
| 123 | } | 123 | } |
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | "list": [] | 30 | "list": [] |
| 31 | }, | 31 | }, |
| 32 | "miniprogram": { | 32 | "miniprogram": { |
| 33 | - "current": 15, | 33 | + "current": 6, |
| 34 | "list": [ | 34 | "list": [ |
| 35 | { | 35 | { |
| 36 | "id": 0, | 36 | "id": 0, |
| @@ -73,7 +73,7 @@ | @@ -73,7 +73,7 @@ | ||
| 73 | "id": 6, | 73 | "id": 6, |
| 74 | "name": "pages/customer/index", | 74 | "name": "pages/customer/index", |
| 75 | "pathName": "pages/customer/index", | 75 | "pathName": "pages/customer/index", |
| 76 | - "query": "id=21", | 76 | + "query": "id=84", |
| 77 | "scene": "1044", | 77 | "scene": "1044", |
| 78 | "shareInfo": { | 78 | "shareInfo": { |
| 79 | "groupName": "测试模拟群1", | 79 | "groupName": "测试模拟群1", |
-
Please register or login to post a comment