diff --git a/lang/en.json b/lang/en.json index d7191e3d..077c2492 100644 --- a/lang/en.json +++ b/lang/en.json @@ -43,7 +43,8 @@ "sending": "Sending", "scan_name": "Scan it", "not_have_name": "not have", - "note": "Remarks" + "note": "Remarks", + "recommend_code_name": "Recommend code" }, "pages": { "goods-category": "Product classification", diff --git a/lang/zh.json b/lang/zh.json index 4e92c859..e731d1c3 100644 --- a/lang/zh.json +++ b/lang/zh.json @@ -43,7 +43,8 @@ "not_more_list_data_tips": "无更多列表数据", "scan_name": "扫一扫", "not_have_name": "没有", - "note": "备注" + "note": "备注", + "recommend_code_name": "推荐码" }, "pages": { "goods-category": "商品分类", diff --git a/manifest.json b/manifest.json index a726ad7c..048af6a9 100644 --- a/manifest.json +++ b/manifest.json @@ -186,19 +186,18 @@ } }, "__usePrivacyCheck__" : true, - "plugins" : { - // 腾讯地图路线规划插件(需要到小程序后台设置->第三方设置->插件管理里面添加【腾讯位置服务路线规划】插件,教程 https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx50b5593e81dd937a) - // "routePlan" : { - // "version" : "1.0.19", - // "provider" : "wx50b5593e81dd937a" - // }, - // 直播(需要到小程序后台设置->第三方设置->插件管理里面添加【小程序直播组件】插件,教程 https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx2b03c6e691cd7370) - // "live-player-plugin" : { - // "version" : "1.3.5", - // "provider" : "wx2b03c6e691cd7370" - // } - } + "plugins" : {} }, + // 腾讯地图路线规划插件(需要到小程序后台设置->第三方设置->插件管理里面添加【腾讯位置服务路线规划】插件,教程 https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx50b5593e81dd937a) + // "routePlan" : { + // "version" : "1.0.19", + // "provider" : "wx50b5593e81dd937a" + // }, + // 直播(需要到小程序后台设置->第三方设置->插件管理里面添加【小程序直播组件】插件,教程 https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx2b03c6e691cd7370) + // "live-player-plugin" : { + // "version" : "1.3.5", + // "provider" : "wx2b03c6e691cd7370" + // } "mp-alipay" : { "usingComponents" : true, "appid" : "2021001173639600" diff --git a/pages/plugins/distribution/user/user.css b/pages/plugins/distribution/user/user.css index d414eb96..3d9dba33 100644 --- a/pages/plugins/distribution/user/user.css +++ b/pages/plugins/distribution/user/user.css @@ -6,6 +6,10 @@ height: 116rpx; } +.head-bottom { + height: 48rpx; +} + .head-item .level-item { padding: 0 20rpx; height: 48rpx; @@ -20,7 +24,7 @@ .head-base { right: 0; - top: 50%; + top: 74%; transform: translateY(-50%); } @@ -110,7 +114,7 @@ * 修改用户上级 */ .user-search .custom-info { - height: 58rpx; + height: 100rpx; } .user-search .custom-info .custom-avatar { width: 50rpx; diff --git a/pages/plugins/distribution/user/user.vue b/pages/plugins/distribution/user/user.vue index 48bc4738..096a511b 100644 --- a/pages/plugins/distribution/user/user.vue +++ b/pages/plugins/distribution/user/user.vue @@ -15,20 +15,33 @@ - {{ nickname }} - - - {{ user_level.name }} + + {{ nickname }} + + + {{$t('common.recommend_code_name')}} + {{user_referrer}} + + + + + + + + + + {{ user_level.name }} + + + + + + - - - - - @@ -231,7 +244,8 @@ {{modify_superior_user_data.error_msg}} - {{$t('user.user.iynkpl')}} + {{$t('user.user.iynkpl')}} + {{superior.can_modify_number_msg}} @@ -272,7 +286,8 @@ data_list_loding_msg: '', currency_symbol: currency_symbol, avatar: app.globalData.data.default_user_head_src, - nickname: this.$t('login.login.6yfr9g'), + nickname: this.$t('login.login.6yfr9g'), + user_referrer: null, data_base: null, user_level: null, extraction: null, @@ -369,7 +384,8 @@ data_base: data.base || null, user_level: data.user_level || null, extraction: data.extraction || null, - superior: data.superior || null, + superior: data.superior || null, + user_referrer: data.user_referrer || null, profit_ladder: data.profit_ladder || null, nav_list: data.nav_list || [], time_data: time_data, @@ -649,7 +665,12 @@ // url事件 url_event(e) { app.globalData.url_event(e); - }, + }, + + // 文本事件 + text_event(e) { + app.globalData.text_event_handle(e); + } }, };