From 619d7128f210c23f04e11edad8446757ca9d1d0e Mon Sep 17 00:00:00 2001 From: bruce <1272542526@qq.com> Date: Thu, 25 Jan 2024 23:08:47 +0800 Subject: [PATCH] update --- manifest.json | 2 +- pages/news_details/index.vue | 5 +++++ pages/user/index.vue | 22 ++++++++++++++++------ 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index b65871d..8686bf8 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "CRMEB", - "appid" : "__UNI__75433AA", + "appid" : "__UNI__3DEF511", "description" : "", "versionName" : "1.0.4", "versionCode" : 127, diff --git a/pages/news_details/index.vue b/pages/news_details/index.vue index 7518ebf..b244b44 100644 --- a/pages/news_details/index.vue +++ b/pages/news_details/index.vue @@ -79,6 +79,7 @@ isAuto: false, //没有授权的不会自动授权 isShowAuth: false, //是否隐藏授权 realInfo:{}, + shareUserId:0 }; }, computed:{ @@ -89,6 +90,10 @@ */ onLoad: function(options) { this.getCheck(); + console.log(options.hasOwnProperty('shareUserId')) + if (options.hasOwnProperty('shareUserId')) { + this.shareUserId = options.shareUserId; + } if (options.hasOwnProperty('id')) { this.id = options.id; } else { diff --git a/pages/user/index.vue b/pages/user/index.vue index c7bef79..4c6ab71 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -67,20 +67,30 @@ {{brandInfo.brokerage_price || 0}} 增值积分 - + - {{brandInfo.all_value || 0}} - 总贡献值 + {{userInfo.point_price || 0}} + 增积分 + {{brandInfo.hp_value || 0}} 生命值 + + {{userInfo.asset_price || 0}} + 个人资产 + + + + {{brandInfo.all_value || 0}} + 总贡献值 +