分销中心 => 我的团队 页面样式,布局优化、美化
原版本头部结构错乱,显示有误。 Signed-off-by: heyho <heywsk@qq.com>pull/95/head
parent
81cd02bbee
commit
fd8f9a6857
|
@ -1,8 +1,29 @@
|
||||||
<!-- 页面 TODO 芋艿:该页面的实现代码需要优化,包括 js 和 css,以及相关的样式设计 -->
|
<!-- 页面 TODO 芋艿:该页面的实现代码需要优化,包括 js 和 css,以及相关的样式设计 -->
|
||||||
<template>
|
<template>
|
||||||
<s-layout title="我的团队" :class="state.scrollTop ? 'team-wrap' : ''" navbar="inner">
|
<s-layout title="我的团队" :class="state.scrollTop ? 'team-wrap' : ''" navbar="inner">
|
||||||
|
<view
|
||||||
|
class="header-box"
|
||||||
|
:style="[
|
||||||
|
{
|
||||||
|
marginTop: '-' + Number(statusBarHeight + 88) + 'rpx',
|
||||||
|
paddingTop: Number(statusBarHeight + 108) + 'rpx',
|
||||||
|
},
|
||||||
|
]"
|
||||||
|
>
|
||||||
|
<!-- 推广数据总览 -->
|
||||||
|
<view class="team-data-box ss-flex ss-col-center ss-row-between" style="width: 100%">
|
||||||
|
<view class="data-card" style="width: 100%">
|
||||||
|
<view class="total-item" style="width: 100%">
|
||||||
|
<view class="item-title" style="text-align: center">推广人数</view>
|
||||||
|
<view class="total-num" style="text-align: center">
|
||||||
|
{{ state.summary.firstBrokerageUserCount + state.summary.secondBrokerageUserCount || 0 }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="promoter-list">
|
<view class="promoter-list">
|
||||||
<view
|
<!--<view
|
||||||
class="promoterHeader bg-color"
|
class="promoterHeader bg-color"
|
||||||
style="backgroundcolor: #e93323 !important; height: 218rpx; color: #fff"
|
style="backgroundcolor: #e93323 !important; height: 218rpx; color: #fff"
|
||||||
>
|
>
|
||||||
|
@ -21,9 +42,9 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="iconfont icon-tuandui" />
|
<view class="iconfont icon-tuandui" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>-->
|
||||||
<view style="padding: 0 30rpx">
|
<view style="padding: 0 20rpx">
|
||||||
<view class="nav acea-row row-around l1">
|
<view class="nav acea-row row-around l1" style="margin-top:20rpx;">
|
||||||
<view :class="state.level == 1 ? 'item on' : 'item'" @click="setType(1)">
|
<view :class="state.level == 1 ? 'item on' : 'item'" @click="setType(1)">
|
||||||
一级({{ state.summary.firstBrokerageUserCount || 0 }})
|
一级({{ state.summary.firstBrokerageUserCount || 0 }})
|
||||||
</view>
|
</view>
|
||||||
|
@ -152,7 +173,7 @@
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
<block v-if="state.pagination.list.length === 0">
|
<block v-if="state.pagination.list.length === 0">
|
||||||
<view style="text-align: center">暂无推广人数</view>
|
<view style="text-align: center;margin-top:30rpx;">暂无推广人数</view>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -456,7 +477,7 @@
|
||||||
.promoter-list .nav .item.on {
|
.promoter-list .nav .item.on {
|
||||||
border-bottom: 5rpx solid;
|
border-bottom: 5rpx solid;
|
||||||
// $theme-color
|
// $theme-color
|
||||||
color: red;
|
color: var(--ui-BG-Main);
|
||||||
// $theme-color
|
// $theme-color
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue