|
@@ -119,38 +119,22 @@ export default {
|
|
|
uni.stopPullDownRefresh();
|
|
uni.stopPullDownRefresh();
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- onShareAppMessage(res) {
|
|
|
|
|
- return
|
|
|
|
|
- if (res.target.id === "shareGhs") {
|
|
|
|
|
- return {
|
|
|
|
|
- title: "更懂您的花卉宝",
|
|
|
|
|
- desc: "",
|
|
|
|
|
- imgUrl: this.constant.imgUrl + "/retail/official/banner-1.png",
|
|
|
|
|
- path: `/pagesClient/official/index?introMerchantId=${this.userInfo.id}&form=2&style=2&shopAdminId=${this.getLoginInfo.shopAdminId}`
|
|
|
|
|
- };
|
|
|
|
|
- } else if (res.target.id === "sharekh") {
|
|
|
|
|
- return {
|
|
|
|
|
- title: "更懂您的花卉宝",
|
|
|
|
|
- desc: "",
|
|
|
|
|
- imgUrl: this.constant.imgUrl + "/retail/official/banner-1.png",
|
|
|
|
|
- path: `/pagesClient/official/apply?introMerchantId=${this.userInfo.id}&form=2&style=1`
|
|
|
|
|
- };
|
|
|
|
|
- } else {
|
|
|
|
|
- return {};
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
mounted(){
|
|
mounted(){
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
inviteHd(){
|
|
inviteHd(){
|
|
|
|
|
+
|
|
|
|
|
+ //查看分享的路径,不要删除 shish 20210517
|
|
|
|
|
+ console.log('pagesClient/official/index','ghsShopAdminId='+ this.loginInfo.shopAdminId)
|
|
|
|
|
+
|
|
|
getWeixinId().then(res => {
|
|
getWeixinId().then(res => {
|
|
|
uni.navigateToMiniProgram({
|
|
uni.navigateToMiniProgram({
|
|
|
appId: res.data.hd.miniAppId,
|
|
appId: res.data.hd.miniAppId,
|
|
|
- path: 'pagesClient/official/index',
|
|
|
|
|
|
|
+ path: 'pagesClient/official/index?ghsShopAdminId='+this.loginInfo.shopAdminId,
|
|
|
//develop 开发板 trial 体验版 release 正式版
|
|
//develop 开发板 trial 体验版 release 正式版
|
|
|
envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
|
extraData: {
|
|
extraData: {
|
|
|
- 'ghsShopAdminId': this.loginInfo.shopAdminId
|
|
|
|
|
|
|
+ //'ghsShopAdminId': this.loginInfo.shopAdminId
|
|
|
},
|
|
},
|
|
|
success(res) {
|
|
success(res) {
|
|
|
// 打开成功
|
|
// 打开成功
|