From fdadeb3cb136e6fde098a5824654c2c1ad08f2ae Mon Sep 17 00:00:00 2001 From: zpc Date: Mon, 21 Apr 2025 15:24:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 1 + pages/user/tui-guang.vue | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 7f263a4..cf6c50f 100644 --- a/main.js +++ b/main.js @@ -14,6 +14,7 @@ Vue.component('uni-popup', uniPopup) // 全局变量配置 Vue.prototype.siteBaseUrl = EnvConfig.apiBaseUrl Vue.prototype.$baseUrl = EnvConfig.baseUrl +Vue.prototype.$imageBaseUrl = EnvConfig.imageUrl; Vue.prototype.$z_img2 = EnvConfig.imageUrl + '/zcq/' Vue.prototype.$img = url => EnvConfig.imageBaseUrl + url Vue.prototype.$img1 = url => EnvConfig.iconBaseUrl + url diff --git a/pages/user/tui-guang.vue b/pages/user/tui-guang.vue index 9cd099f..9264cc0 100644 --- a/pages/user/tui-guang.vue +++ b/pages/user/tui-guang.vue @@ -115,10 +115,12 @@ } }, onShareAppMessage() { - let that = this + let that = this; + console.log(); + return { - // imageUrl: this.getHaiBao(), - title: "友达赏,正版潮玩手办一番赏", + imageUrl: this.$imageBaseUrl+"/icon/share.jpg", + title: "友达内测上线,来就送!", path: '/pages/shouye/index?pid=' + uni.getStorageSync('userinfo').ID } },