分销新增推荐码,上级修改次数提示
parent
1480f93b3e
commit
2539f44295
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@
|
|||
"not_more_list_data_tips": "无更多列表数据",
|
||||
"scan_name": "扫一扫",
|
||||
"not_have_name": "没有",
|
||||
"note": "备注"
|
||||
"note": "备注",
|
||||
"recommend_code_name": "推荐码"
|
||||
},
|
||||
"pages": {
|
||||
"goods-category": "商品分类",
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -15,20 +15,33 @@
|
|||
<image class="wh-auto circle" @tap="preview_event" @error="user_avatar_error" :src="avatar" mode="widthFix"></image>
|
||||
</view>
|
||||
<view class="head-item padding-left-main flex-1 flex-width">
|
||||
<view class="cr-white text-size fw-b">{{ nickname }}</view>
|
||||
<view v-if="(user_level || null) != null" class="single-text level-item round dis-inline-block margin-top-sm">
|
||||
<image v-if="(user_level.images_url || null) != null" class="level-icon margin-right-sm pr top-sm" :src="user_level.images_url" mode="widthFix"></image>
|
||||
<text v-if="(user_level.name || null) != null" class="cr-white text-size-xs">{{ user_level.name }}</text>
|
||||
<view class="cr-white">
|
||||
<view class="dis-inline-block text-size fw-b" @tap="user_referrer">{{ nickname }}</view>
|
||||
<view v-if="(user_referrer || null) != null" class="dis-inline-block margin-left-lg br-b-f9 padding-bottom-xss text-size-xs" data-event="copy" :data-value="user_referrer" @tap="text_event">
|
||||
<view class="dis-inline-block">
|
||||
<text>{{$t('common.recommend_code_name')}}</text>
|
||||
<text class="fw-b margin-left-sm">{{user_referrer}}</text>
|
||||
</view>
|
||||
<view class="dis-inline-block margin-left-xs">
|
||||
<iconfont name="icon-copy" size="22rpx" color="#fff"></iconfont>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="margin-top oh head-bottom">
|
||||
<view v-if="(user_level || null) != null" class="single-text level-item round dis-inline-block">
|
||||
<image v-if="(user_level.images_url || null) != null" class="level-icon margin-right-sm pr top-sm" :src="user_level.images_url" mode="widthFix"></image>
|
||||
<text v-if="(user_level.name || null) != null" class="cr-white text-size-xs">{{ user_level.name }}</text>
|
||||
</view>
|
||||
<view class="head-base pa">
|
||||
<block v-if="(data_base || null) != null && (data_base.is_enable_self_extraction || 0) == 1">
|
||||
<button data-value="/pages/plugins/distribution/extraction/extraction" @tap="url_event" class="text-size-xs cr-white" size="mini" type="default" hover-class="none">
|
||||
{{ (extraction || null) == null ? $t('user.user.2344s8') : '' }}{{$t('user.user.b5cnj1')}}<iconfont name="icon-arrow-right" size="18rpx" color="#fff" propClass="pa"></iconfont>
|
||||
</button>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="head-base pa">
|
||||
<block v-if="(data_base || null) != null && (data_base.is_enable_self_extraction || 0) == 1">
|
||||
<button data-value="/pages/plugins/distribution/extraction/extraction" @tap="url_event" class="text-size-xs cr-white" size="mini" type="default" hover-class="none">
|
||||
{{ (extraction || null) == null ? $t('user.user.2344s8') : '' }}{{$t('user.user.b5cnj1')}}<iconfont name="icon-arrow-right" size="18rpx" color="#fff" propClass="pa"></iconfont>
|
||||
</button>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -231,7 +244,8 @@
|
|||
</block>
|
||||
<view v-else class="cr-red">{{modify_superior_user_data.error_msg}}</view>
|
||||
</block>
|
||||
<view v-else class="cr-grey">{{$t('user.user.iynkpl')}}</view>
|
||||
<view v-else class="cr-grey">{{$t('user.user.iynkpl')}}</view>
|
||||
<view v-if="(superior || null) != null && (superior.can_modify_number_msg || null) != null" class="cr-yellow margin-top">{{superior.can_modify_number_msg}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue