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 } },