shish il y a 11 mois
Parent
commit
bef36dce8d
2 fichiers modifiés avec 16 ajouts et 7 suppressions
  1. 5 4
      ghsApp/src/admin/home/workbench.vue
  2. 11 3
      hdApp/src/admin/home/workbench.vue

+ 5 - 4
ghsApp/src/admin/home/workbench.vue

@@ -294,10 +294,11 @@ export default {
 		};
 	},
 	onShareAppMessage(res) {
-		if (res.target.id === "shareStore") {
-			return { title: "商城分享", desc: "", imgUrl: "", path: `/admin/billing/customerPlace?shopId=${this.loginInfo.shopId}` }
-		} else if (res.target.id === "sharePay") {
-			return { title: "分享收款", desc: "", imgUrl: "", path: "pagesShare/pay" }
+		return {
+			title: "销花宝",
+			desc: "",
+			imageUrl: "",
+			path: "admin/home/workbench",
 		}
 	},
 	computed: {

+ 11 - 3
hdApp/src/admin/home/workbench.vue

@@ -536,6 +536,14 @@ export default {
       this.showShopName()
 
   },
+	onShareAppMessage(res) {
+		return {
+			title: "花掌柜",
+			desc: "",
+			imageUrl: "",
+			path: "admin/home/workbench",
+		}
+	},
   methods: {
     getMallData(){
       getWeixinId().then(res => {
@@ -884,17 +892,17 @@ export default {
       //花束商城
       if(this.urlNo == 1){
         currentShortUrl = this.shortUrlList['goodsUrl']
-        text = "点击下面链接,打开【花束商城】挑选\n\n"+currentShortUrl
+        text = "点击下面链接,打开商城\n\n"+currentShortUrl
       }
       //图集
       if(this.urlNo == 2){
         currentShortUrl = this.shortUrlList['imgUrl']
-        text = "点击下面链接,打开图集】挑选\n\n"+currentShortUrl
+        text = "点击下面链接,打开图集\n\n"+currentShortUrl
       }
       //绿植花材商城
       if(this.urlNo == 3){
         currentShortUrl = this.shortUrlList['itemUrl']
-        text = "点击下面链接,打开【绿植花材商城】挑选\n\n"+currentShortUrl
+        text = "点击下面链接,打开商城\n\n"+currentShortUrl
       }
       uni.setClipboardData({
         data: text,