|
@@ -7,7 +7,7 @@
|
|
|
<view class="name"> {{ userInfo.name || "" }}</view>
|
|
<view class="name"> {{ userInfo.name || "" }}</view>
|
|
|
<view class="mark"> 普通代理 </view>
|
|
<view class="mark"> 普通代理 </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <navigator class="user-wrap-right" :url="`/pagesClient/official/index?hdShopAdminId=${loginInfo.shopAdminId}`">
|
|
|
|
|
|
|
+ <navigator class="user-wrap-right" :url="`/pagesInvite/inviteHdShop`">
|
|
|
<img :src="`${constant.imgUrl}/retail/interest/invite-store.png`" alt mode="widthFix" />
|
|
<img :src="`${constant.imgUrl}/retail/interest/invite-store.png`" alt mode="widthFix" />
|
|
|
</navigator>
|
|
</navigator>
|
|
|
<button class="user-wrap-right" @tap="inviteGhs">
|
|
<button class="user-wrap-right" @tap="inviteGhs">
|
|
@@ -123,24 +123,26 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
inviteGhs(){
|
|
inviteGhs(){
|
|
|
|
|
+ this.pageTo({
|
|
|
|
|
+ url: '/pagesInvite/inviteGhsShop'
|
|
|
|
|
+ })
|
|
|
|
|
+ //查看分享的路径,不要删除 shish 20210517
|
|
|
|
|
+ // console.log('pagesClient/official/index?hdShopAdminId='+this.loginInfo.shopAdminId)
|
|
|
|
|
|
|
|
- //查看分享的路径,不要删除 shish 20210517
|
|
|
|
|
- console.log('pagesClient/official/index?hdShopAdminId='+this.loginInfo.shopAdminId)
|
|
|
|
|
-
|
|
|
|
|
- getWeixinId().then(res => {
|
|
|
|
|
- uni.navigateToMiniProgram({
|
|
|
|
|
- appId: res.data.ghs.miniAppId,
|
|
|
|
|
- path: 'pagesClient/official/index?hdShopAdminId='+this.loginInfo.shopAdminId,
|
|
|
|
|
- //develop 开发版 trial 体验版 release 正式版
|
|
|
|
|
- envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
|
|
|
- extraData: {
|
|
|
|
|
- //'hdShopAdminId': this.loginInfo.shopAdminId
|
|
|
|
|
- },
|
|
|
|
|
- success(res) {
|
|
|
|
|
- // 打开成功
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // getWeixinId().then(res => {
|
|
|
|
|
+ // uni.navigateToMiniProgram({
|
|
|
|
|
+ // appId: res.data.ghs.miniAppId,
|
|
|
|
|
+ // path: 'pagesClient/official/index?hdShopAdminId='+this.loginInfo.shopAdminId,
|
|
|
|
|
+ // //develop 开发版 trial 体验版 release 正式版
|
|
|
|
|
+ // envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
|
|
|
+ // extraData: {
|
|
|
|
|
+ // //'hdShopAdminId': this.loginInfo.shopAdminId
|
|
|
|
|
+ // },
|
|
|
|
|
+ // success(res) {
|
|
|
|
|
+ // // 打开成功
|
|
|
|
|
+ // }
|
|
|
|
|
+ // })
|
|
|
|
|
+ // })
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
async init() {
|
|
async init() {
|