分销新增上级用户、阶梯返佣提示
parent
a5df283758
commit
2f2e6241f7
2
App.vue
2
App.vue
|
|
@ -44,7 +44,7 @@
|
|||
application_title: "ShopXO",
|
||||
application_describe: "ShopXO开源商城、MIT协议、可商用、可二次开发、满足99%电商运营需求",
|
||||
// 版本号
|
||||
version: "v2.2.2",
|
||||
version: "v2.2.3",
|
||||
// 货币价格符号
|
||||
currency_symbol: "¥",
|
||||
// 主题类型 主题颜色
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue