分销新增上级用户、阶梯返佣提示

master
gongfuxiang 2021-12-07 23:19:16 +08:00
parent a5df283758
commit 2f2e6241f7
4 changed files with 50 additions and 15 deletions

View File

@ -44,7 +44,7 @@
application_title: "ShopXO",
application_describe: "ShopXO开源商城、MIT协议、可商用、可二次开发、满足99%电商运营需求",
//
version: "v2.2.2",
version: "v2.2.3",
//
currency_symbol: "¥",
//

View File

@ -11,10 +11,13 @@
.search-drag {
width: 35px;
height: 35px;
line-height: 44px;
line-height: 48px;
background: hsla(0, 0%, 0%, 0.01);
margin-top: calc(100vh - 260rpx);
margin-left: calc(50% - 17px);
box-shadow: 0px 3rpx 16rpx rgba(0, 0, 0, 0.2);
padding: 5px;
padding: 5px;
/* #ifdef H5 */
line-height: 26px;
/* #endif */
}

View File

@ -2,7 +2,7 @@
*
*/
.head-box {
background-color: #ff6a80;
background-color: #e91e63;
}
.head-item {
width: 260rpx;
@ -26,6 +26,21 @@
.head-base .head-base-submit {
right: 20rpx;
bottom: 20rpx;
}
/**
*
*/
.superior .superior-title {
padding: 22rpx 20rpx;
background-color: #9c27b0;
}
.superior .superior-content {
width: calc(100% - 200rpx);
}
.superior .superior-content image {
width: 40rpx !important;
height: 40rpx !important;
}
/*

View File

@ -22,8 +22,17 @@
</block>
</view>
</view>
</view>
</view>
<!-- 上级用户 -->
<view v-if="(superior || null) != null" class="superior bg-white border-radius-main margin-horizontal-main margin-bottom-main oh">
<view class="superior-title cr-white fw-b va-m fl">上级用户</view>
<view class="superior-content fl padding-main single-text">
<image :src="superior.avatar" mode="aspectFit" class="circle va-m"></image>
<text class="cr-gray va-m margin-left-sm">{{superior.user_name_view}}</text>
</view>
</view>
<!-- 会员中心通知 -->
<view v-if="(user_level || null) != null && (data_base.user_center_notice || null) != null && data_base.user_center_notice.length > 0" class="padding-horizontal-main padding-bottom-main">
<view class="notice-content">
@ -41,13 +50,19 @@
</navigator>
</view>
</block>
</view>
<!-- 不符合分销条件描述 -->
<view v-if="(data_base.non_conformity_desc || null) != null && data_base.non_conformity_desc.length > 0" class="padding-horizontal-main padding-bottom-main">
<view class="notice-content-blue">
<view v-for="(item, index) in data_base.non_conformity_desc" :key="index" class="item">{{item}}</view>
</view>
</view>
<!-- 不符合分销条件描述 -->
<view v-if="(user_level || null) == null && (data_base.non_conformity_desc || null) != null && data_base.non_conformity_desc.length > 0" class="padding-horizontal-main padding-bottom-main">
<view class="notice-content-blue">
<view v-for="(item, index) in data_base.non_conformity_desc" :key="index" class="item">{{item}}</view>
</view>
</view>
<!-- 阶梯返佣提示 -->
<view v-if="(profit_ladder || null) != null" class="padding-horizontal-main padding-bottom-main">
<text class="cr-blue">{{profit_ladder.msg}}</text>
<navigator url="/pages/plugins/distribution/poster/poster" hover-class="none" class="bg-green cr-white dis-inline-block round padding-top-xs padding-bottom-xs padding-horizontal-main">去推广</navigator>
</view>
</view>
<view v-else>
@ -69,7 +84,8 @@
data_base: null,
user_level: null,
extraction: null,
superior: null,
superior: null,
profit_ladder: null,
nav_list: [],
avatar: app.globalData.data.default_user_head_src,
nickname: "用户名"
@ -145,7 +161,8 @@
data_base: data.base || null,
user_level: data.user_level || null,
extraction: data.extraction || null,
superior: data.superior || null,
superior: data.superior || null,
profit_ladder: data.profit_ladder || null,
nav_list: data.nav_list || [],
data_list_loding_msg: '',
data_list_loding_status: 0,