|
|
@@ -7,12 +7,12 @@
|
|
|
<view class="name"> {{ userInfo.name || "" }}</view>
|
|
|
<view class="mark"> 普通代理 </view>
|
|
|
</view>
|
|
|
- <button class="user-wrap-right" @tap="toProcedure">
|
|
|
- <img :src="`${constant.imgUrl}/retail/interest/invite-store.png`" alt mode="widthFix" />
|
|
|
- </button>
|
|
|
<navigator class="user-wrap-right" :url="`/pagesClient/official/index?shopAdminId=${loginInfo.shopAdminId}`">
|
|
|
- <img :src="`${constant.imgUrl}/ghs/me/yqghs.png`" alt mode="widthFix" />
|
|
|
+ <img :src="`${constant.imgUrl}/retail/interest/invite-store.png`" alt mode="widthFix" />
|
|
|
</navigator>
|
|
|
+ <button class="user-wrap-right" @tap="inviteGhs">
|
|
|
+ <img :src="`${constant.imgUrl}/ghs/me/yqghs.png`" alt mode="widthFix" />
|
|
|
+ </button>
|
|
|
</view>
|
|
|
<view class="info-list">
|
|
|
<view class="info-item">
|
|
|
@@ -142,13 +142,13 @@ export default {
|
|
|
mounted(){
|
|
|
},
|
|
|
methods: {
|
|
|
- toProcedure(){
|
|
|
+ inviteGhs(){
|
|
|
getWeixinId().then(res => {
|
|
|
uni.navigateToMiniProgram({
|
|
|
- appId: res.data.hd.miniAppId,
|
|
|
- path: 'admin/official/index',
|
|
|
+ appId: res.data.ghs.miniAppId,
|
|
|
+ path: 'pagesClient/official/index',
|
|
|
//develop 开发板 trial 体验版 release 正式版
|
|
|
- envVersion: 'develop',
|
|
|
+ envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
|
extraData: {
|
|
|
'shopAdminId': this.loginInfo.shopAdminId
|
|
|
},
|