Pre Merge pull request !94 from heyho/master
|
|
@ -1,165 +1,133 @@
|
||||||
<!-- 页面 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="promoter-list">
|
|
||||||
<view
|
<view class="header-box" :style="[
|
||||||
class="promoterHeader bg-color"
|
{
|
||||||
style="backgroundcolor: #e93323 !important; height: 218rpx; color: #fff"
|
marginTop: '-' + Number(statusBarHeight + 88) + 'rpx',
|
||||||
>
|
paddingTop: Number(statusBarHeight + 108) + 'rpx',
|
||||||
<view class="headerCon acea-row row-between" style="padding: 28px 29px 0 29px">
|
},
|
||||||
<view>
|
]">
|
||||||
<view class="name" style="color: #fff">推广人数</view>
|
<!-- 推广数据总览 -->
|
||||||
<view>
|
<view class="team-data-box ss-flex ss-col-center ss-row-between" style="width: 100%">
|
||||||
<text class="num" style="color: #fff">
|
<view class="data-card" style="width: 100%">
|
||||||
{{
|
<view class="total-item" style="width: 100%">
|
||||||
state.summary.firstBrokerageUserCount + state.summary.secondBrokerageUserCount ||
|
<view class="item-title" style="text-align: center">推广人数</view>
|
||||||
0
|
<view class="total-num" style="text-align: center">
|
||||||
}}
|
{{state.summary.firstBrokerageUserCount + state.summary.secondBrokerageUserCount ||0}}
|
||||||
</text>
|
</view>
|
||||||
人
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="iconfont icon-tuandui" />
|
|
||||||
</view>
|
<view style="height:30rpx"></view>
|
||||||
</view>
|
</view>
|
||||||
<view style="padding: 0 30rpx">
|
|
||||||
<view class="nav acea-row row-around l1">
|
|
||||||
<view :class="state.level == 1 ? 'item on' : 'item'" @click="setType(1)">
|
<view class="promoter-list">
|
||||||
一级({{ state.summary.firstBrokerageUserCount || 0 }})
|
<view style="padding: 0 20rpx">
|
||||||
</view>
|
<view class="nav acea-row row-around l1" style="position: relative;z-index:99">
|
||||||
<view :class="state.level == 2 ? 'item on' : 'item'" @click="setType(2)">
|
<view :class="state.level == 1 ? 'item on' : 'item'" @click="setType(1)">
|
||||||
二级({{ state.summary.secondBrokerageUserCount || 0 }})
|
一级({{ state.summary.firstBrokerageUserCount || 0 }})
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<view :class="state.level == 2 ? 'item on' : 'item'" @click="setType(2)">
|
||||||
<view
|
二级({{ state.summary.secondBrokerageUserCount || 0 }})
|
||||||
class="search acea-row row-between-wrapper"
|
</view>
|
||||||
style="display: flex; height: 100rpx; align-items: center"
|
</view>
|
||||||
>
|
<view class="search acea-row row-between-wrapper"
|
||||||
<view class="input">
|
style="display: flex; height: 100rpx; align-items: center">
|
||||||
<input
|
<view class="input">
|
||||||
placeholder="点击搜索会员名称"
|
<input placeholder="点击搜索会员名称" v-model="state.nickname" confirm-type="search" name="search"
|
||||||
v-model="state.nickname"
|
@confirm="submitForm" />
|
||||||
confirm-type="search"
|
</view>
|
||||||
name="search"
|
<image src="/static/images/search.png" mode="" style="width: 60rpx; height: 64rpx"
|
||||||
@confirm="submitForm"
|
@click="submitForm" />
|
||||||
/>
|
</view>
|
||||||
</view>
|
<view class="list">
|
||||||
<image
|
<view class="sortNav acea-row row-middle" style="display: flex; align-items: center">
|
||||||
src="/static/images/search.png"
|
<view class="sortItem" @click="setSort('userCount', 'asc')" v-if="sort === 'userCountDESC'">
|
||||||
mode=""
|
团队排序
|
||||||
style="width: 60rpx; height: 64rpx"
|
<!-- TODO 芋艿:看看怎么从项目里拿出去 -->
|
||||||
@click="submitForm"
|
<image src="/static/images/sort1.png" />
|
||||||
/>
|
</view>
|
||||||
</view>
|
<view class="sortItem" @click="setSort('userCount', 'desc')"
|
||||||
<view class="list">
|
v-else-if="sort === 'userCountASC'">
|
||||||
<view class="sortNav acea-row row-middle" style="display: flex; align-items: center">
|
团队排序
|
||||||
<view
|
<image src="/static/images/sort3.png" />
|
||||||
class="sortItem"
|
</view>
|
||||||
@click="setSort('userCount', 'asc')"
|
<view class="sortItem" @click="setSort('userCount', 'desc')" v-else>
|
||||||
v-if="sort === 'userCountDESC'"
|
团队排序
|
||||||
>
|
<image src="/static/images/sort2.png" />
|
||||||
团队排序
|
</view>
|
||||||
<!-- TODO 芋艿:看看怎么从项目里拿出去 -->
|
<view class="sortItem" @click="setSort('price', 'asc')" v-if="sort === 'priceDESC'">
|
||||||
<image src="/static/images/sort1.png" />
|
金额排序
|
||||||
</view>
|
<image src="/static/images/sort1.png" />
|
||||||
<view
|
</view>
|
||||||
class="sortItem"
|
<view class="sortItem" @click="setSort('price', 'desc')" v-else-if="sort === 'priceASC'">
|
||||||
@click="setSort('userCount', 'desc')"
|
金额排序
|
||||||
v-else-if="sort === 'userCountASC'"
|
<image src="/static/images/sort3.png" />
|
||||||
>
|
</view>
|
||||||
团队排序
|
<view class="sortItem" @click="setSort('price', 'desc')" v-else>
|
||||||
<image src="/static/images/sort3.png" />
|
金额排序
|
||||||
</view>
|
<image src="/static/images/sort2.png" />
|
||||||
<view class="sortItem" @click="setSort('userCount', 'desc')" v-else>
|
</view>
|
||||||
团队排序
|
<view class="sortItem" @click="setSort('orderCount', 'asc')" v-if="sort === 'orderCountDESC'">
|
||||||
<image src="/static/images/sort2.png" />
|
订单排序
|
||||||
</view>
|
<image src="/static/images/sort1.png" />
|
||||||
<view class="sortItem" @click="setSort('price', 'asc')" v-if="sort === 'priceDESC'">
|
</view>
|
||||||
金额排序
|
<view class="sortItem" @click="setSort('orderCount', 'desc')"
|
||||||
<image src="/static/images/sort1.png" />
|
v-else-if="sort === 'orderCountASC'">
|
||||||
</view>
|
订单排序
|
||||||
<view
|
<image src="/static/images/sort3.png" />
|
||||||
class="sortItem"
|
</view>
|
||||||
@click="setSort('price', 'desc')"
|
<view class="sortItem" @click="setSort('orderCount', 'desc')" v-else>
|
||||||
v-else-if="sort === 'priceASC'"
|
订单排序
|
||||||
>
|
<image src="/static/images/sort2.png" />
|
||||||
金额排序
|
</view>
|
||||||
<image src="/static/images/sort3.png" />
|
</view>
|
||||||
</view>
|
<block v-for="(item, index) in state.pagination.list" :key="index">
|
||||||
<view class="sortItem" @click="setSort('price', 'desc')" v-else>
|
<view class="item acea-row row-between-wrapper" style="display: flex">
|
||||||
金额排序
|
<view class="picTxt acea-row row-between-wrapper"
|
||||||
<image src="/static/images/sort2.png" />
|
style="display: flex; align-items: center">
|
||||||
</view>
|
<view class="pictrue">
|
||||||
<view
|
<image :src="item.avatar" />
|
||||||
class="sortItem"
|
</view>
|
||||||
@click="setSort('orderCount', 'asc')"
|
<view class="text">
|
||||||
v-if="sort === 'orderCountDESC'"
|
<view class="name line1">{{ item.nickname }}</view>
|
||||||
>
|
<view>
|
||||||
订单排序
|
加入时间:
|
||||||
<image src="/static/images/sort1.png" />
|
{{ sheep.$helper.timeFormat(item.brokerageTime, 'yyyy-mm-dd hh:MM:ss') }}
|
||||||
</view>
|
</view>
|
||||||
<view
|
</view>
|
||||||
class="sortItem"
|
</view>
|
||||||
@click="setSort('orderCount', 'desc')"
|
<view class="right" style="
|
||||||
v-else-if="sort === 'orderCountASC'"
|
|
||||||
>
|
|
||||||
订单排序
|
|
||||||
<image src="/static/images/sort3.png" />
|
|
||||||
</view>
|
|
||||||
<view class="sortItem" @click="setSort('orderCount', 'desc')" v-else>
|
|
||||||
订单排序
|
|
||||||
<image src="/static/images/sort2.png" />
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<block v-for="(item, index) in state.pagination.list" :key="index">
|
|
||||||
<view class="item acea-row row-between-wrapper" style="display: flex">
|
|
||||||
<view
|
|
||||||
class="picTxt acea-row row-between-wrapper"
|
|
||||||
style="display: flex; align-items: center"
|
|
||||||
>
|
|
||||||
<view class="pictrue">
|
|
||||||
<image :src="item.avatar" />
|
|
||||||
</view>
|
|
||||||
<view class="text">
|
|
||||||
<view class="name line1">{{ item.nickname }}</view>
|
|
||||||
<view>
|
|
||||||
加入时间:
|
|
||||||
{{ sheep.$helper.timeFormat(item.brokerageTime, 'yyyy-mm-dd hh:MM:ss') }}
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
class="right"
|
|
||||||
style="
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
"
|
">
|
||||||
>
|
<view>
|
||||||
<view>
|
<text class="num font-color">{{ item.brokerageUserCount || 0 }} </text>人
|
||||||
<text class="num font-color">{{ item.brokerageUserCount || 0 }} </text>人
|
</view>
|
||||||
</view>
|
<view>
|
||||||
<view>
|
<text class="num">{{ item.orderCount || 0 }}</text>单
|
||||||
<text class="num">{{ item.orderCount || 0 }}</text
|
</view>
|
||||||
>单</view
|
<view>
|
||||||
>
|
<text class="num">{{ item.brokeragePrice || 0 }}</text>元
|
||||||
<view>
|
</view>
|
||||||
<text class="num">{{ item.brokeragePrice || 0 }}</text
|
</view>
|
||||||
>元
|
</view>
|
||||||
</view>
|
</block>
|
||||||
</view>
|
<block v-if="state.pagination.list.length === 0">
|
||||||
</view>
|
<view style="margin-top: 30rpx;"></view>
|
||||||
</block>
|
<view style="text-align: center">暂无推广人数</view>
|
||||||
<block v-if="state.pagination.list.length === 0">
|
</block>
|
||||||
<view style="text-align: center">暂无推广人数</view>
|
</view>
|
||||||
</block>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<!-- <home></home> -->
|
||||||
</view>
|
|
||||||
<!-- <home></home> -->
|
|
||||||
|
|
||||||
<!-- <view class="header-box" :style="[
|
<!-- <view class="header-box" :style="[
|
||||||
{
|
{
|
||||||
marginTop: '-' + Number(statusBarHeight + 88) + 'rpx',
|
marginTop: '-' + Number(statusBarHeight + 88) + 'rpx',
|
||||||
paddingTop: Number(statusBarHeight + 108) + 'rpx',
|
paddingTop: Number(statusBarHeight + 108) + 'rpx',
|
||||||
|
|
@ -228,354 +196,368 @@
|
||||||
</view>
|
</view>
|
||||||
<s-empty v-if="state.pagination.total === 0" icon="/static/data-empty.png" text="暂无团队信息">
|
<s-empty v-if="state.pagination.total === 0" icon="/static/data-empty.png" text="暂无团队信息">
|
||||||
</s-empty> -->
|
</s-empty> -->
|
||||||
</s-layout>
|
</s-layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import sheep from '@/sheep';
|
import sheep from '@/sheep';
|
||||||
import { onLoad, onReachBottom } from '@dcloudio/uni-app';
|
import {
|
||||||
import { computed, reactive, ref } from 'vue';
|
onLoad,
|
||||||
import _ from 'lodash-es';
|
onReachBottom
|
||||||
import { onPageScroll } from '@dcloudio/uni-app';
|
} from '@dcloudio/uni-app';
|
||||||
import BrokerageApi from '@/sheep/api/trade/brokerage';
|
import {
|
||||||
|
computed,
|
||||||
|
reactive,
|
||||||
|
ref
|
||||||
|
} from 'vue';
|
||||||
|
import _ from 'lodash-es';
|
||||||
|
import {
|
||||||
|
onPageScroll
|
||||||
|
} from '@dcloudio/uni-app';
|
||||||
|
import BrokerageApi from '@/sheep/api/trade/brokerage';
|
||||||
|
|
||||||
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
|
const statusBarHeight = sheep.$platform.device.statusBarHeight * 2;
|
||||||
// const agentInfo = computed(() => sheep.$store('user').agentInfo);
|
// const agentInfo = computed(() => sheep.$store('user').agentInfo);
|
||||||
const userInfo = computed(() => sheep.$store('user').userInfo);
|
const userInfo = computed(() => sheep.$store('user').userInfo);
|
||||||
const headerBg = sheep.$url.css('/static/img/shop/user/withdraw_bg.png');
|
const headerBg = sheep.$url.css('/static/img/shop/user/withdraw_bg.png');
|
||||||
|
|
||||||
onPageScroll((e) => {
|
onPageScroll((e) => {
|
||||||
state.scrollTop = e.scrollTop <= 100;
|
state.scrollTop = e.scrollTop <= 100;
|
||||||
});
|
});
|
||||||
|
|
||||||
let sort = ref();
|
let sort = ref();
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
summary: {},
|
summary: {},
|
||||||
pagination: {
|
pagination: {
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 8,
|
pageSize: 8,
|
||||||
list: [],
|
list: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
},
|
},
|
||||||
loadStatus: '',
|
loadStatus: '',
|
||||||
// ↓ 新 ui 逻辑
|
// ↓ 新 ui 逻辑
|
||||||
level: 1,
|
level: 1,
|
||||||
nickname: ref(''),
|
nickname: ref(''),
|
||||||
sortKey: '',
|
sortKey: '',
|
||||||
isAsc: '',
|
isAsc: '',
|
||||||
});
|
});
|
||||||
|
|
||||||
function filterUserNum(num) {
|
function filterUserNum(num) {
|
||||||
if (_.isNil(num)) {
|
if (_.isNil(num)) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
return `下级团队${num}人`;
|
return `下级团队${num}人`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function submitForm() {
|
function submitForm() {
|
||||||
state.pagination.list = [];
|
state.pagination.list = [];
|
||||||
getTeamList();
|
getTeamList();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getTeamList() {
|
async function getTeamList() {
|
||||||
state.loadStatus = 'loading';
|
state.loadStatus = 'loading';
|
||||||
let { code, data } = await BrokerageApi.getBrokerageUserChildSummaryPage({
|
let {
|
||||||
pageNo: state.pagination.pageNo,
|
code,
|
||||||
pageSize: state.pagination.pageSize,
|
data
|
||||||
level: state.level,
|
} = await BrokerageApi.getBrokerageUserChildSummaryPage({
|
||||||
'sortingField.order': state.isAsc,
|
pageNo: state.pagination.pageNo,
|
||||||
'sortingField.field': state.sortKey,
|
pageSize: state.pagination.pageSize,
|
||||||
nickname: state.nickname,
|
level: state.level,
|
||||||
});
|
'sortingField.order': state.isAsc,
|
||||||
if (code !== 0) {
|
'sortingField.field': state.sortKey,
|
||||||
return;
|
nickname: state.nickname,
|
||||||
}
|
});
|
||||||
state.pagination.list = _.concat(state.pagination.list, data.list);
|
if (code !== 0) {
|
||||||
state.pagination.total = data.total;
|
return;
|
||||||
state.loadStatus = state.pagination.list.length < state.pagination.total ? 'more' : 'noMore';
|
}
|
||||||
}
|
state.pagination.list = _.concat(state.pagination.list, data.list);
|
||||||
|
state.pagination.total = data.total;
|
||||||
|
state.loadStatus = state.pagination.list.length < state.pagination.total ? 'more' : 'noMore';
|
||||||
|
}
|
||||||
|
|
||||||
function setType(e) {
|
function setType(e) {
|
||||||
state.pagination.list = [];
|
state.pagination.list = [];
|
||||||
state.level = e + '';
|
state.level = e + '';
|
||||||
getTeamList();
|
getTeamList();
|
||||||
}
|
}
|
||||||
|
|
||||||
function setSort(sortKey, isAsc) {
|
function setSort(sortKey, isAsc) {
|
||||||
state.pagination.list = [];
|
state.pagination.list = [];
|
||||||
sort = sortKey + isAsc.toUpperCase();
|
sort = sortKey + isAsc.toUpperCase();
|
||||||
state.isAsc = isAsc;
|
state.isAsc = isAsc;
|
||||||
state.sortKey = sortKey;
|
state.sortKey = sortKey;
|
||||||
getTeamList();
|
getTeamList();
|
||||||
}
|
}
|
||||||
|
|
||||||
onLoad(async () => {
|
onLoad(async () => {
|
||||||
await getTeamList();
|
await getTeamList();
|
||||||
// 概要数据
|
// 概要数据
|
||||||
let { data } = await BrokerageApi.getBrokerageUserSummary();
|
let {
|
||||||
state.summary = data;
|
data
|
||||||
});
|
} = await BrokerageApi.getBrokerageUserSummary();
|
||||||
|
state.summary = data;
|
||||||
|
});
|
||||||
|
|
||||||
// 加载更多
|
// 加载更多
|
||||||
function loadMore() {
|
function loadMore() {
|
||||||
if (state.loadStatus === 'noMore') {
|
if (state.loadStatus === 'noMore') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
state.pagination.pageNo++;
|
state.pagination.pageNo++;
|
||||||
getTeamList();
|
getTeamList();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 上拉加载更多
|
// 上拉加载更多
|
||||||
onReachBottom(() => {
|
onReachBottom(() => {
|
||||||
loadMore();
|
loadMore();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.l1 {
|
.l1 {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
height: 86rpx;
|
height: 86rpx;
|
||||||
line-height: 86rpx;
|
line-height: 86rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #282828;
|
color: #282828;
|
||||||
border-bottom: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
||||||
border-top-left-radius: 14rpx;
|
border-top-left-radius: 14rpx;
|
||||||
border-top-right-radius: 14rpx;
|
border-top-right-radius: 14rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-box {
|
.header-box {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0 20rpx 20rpx 20rpx;
|
padding: 0 20rpx 20rpx 20rpx;
|
||||||
width: 750rpx;
|
width: 750rpx;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: v-bind(headerBg) no-repeat,
|
background: v-bind(headerBg) no-repeat,
|
||||||
linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
|
linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
|
||||||
background-size: 750rpx 100%;
|
background-size: 750rpx 100%;
|
||||||
|
|
||||||
// 团队信息总览
|
// 团队信息总览
|
||||||
.team-data-box {
|
.team-data-box {
|
||||||
.data-card {
|
.data-card {
|
||||||
width: 305rpx;
|
width: 305rpx;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
padding: 20rpx;
|
padding: 20rpx;
|
||||||
|
|
||||||
.item-title {
|
.item-title {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
line-height: 30rpx;
|
line-height: 30rpx;
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.total-item {
|
.total-item {
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.total-num {
|
.total-num {
|
||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-family: OPPOSANS;
|
font-family: OPPOSANS;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-num {
|
.category-num {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-family: OPPOSANS;
|
font-family: OPPOSANS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-box {
|
.list-box {
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-custom-right {
|
.chat-custom-right {
|
||||||
.time-text {
|
.time-text {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-box {
|
.tag-box {
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
border-radius: 21rpx;
|
border-radius: 21rpx;
|
||||||
line-height: 30rpx;
|
line-height: 30rpx;
|
||||||
padding: 5rpx 10rpx;
|
padding: 5rpx 10rpx;
|
||||||
width: 140rpx;
|
width: 140rpx;
|
||||||
|
|
||||||
.tag-img {
|
.tag-img {
|
||||||
width: 34rpx;
|
width: 34rpx;
|
||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
margin-right: 6rpx;
|
margin-right: 6rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-title {
|
.tag-title {
|
||||||
font-size: 18rpx;
|
font-size: 18rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: rgba(255, 255, 255, 1);
|
color: rgba(255, 255, 255, 1);
|
||||||
line-height: 20rpx;
|
line-height: 20rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 推荐人
|
// 推荐人
|
||||||
.referrer-box {
|
.referrer-box {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding: 20rpx;
|
padding: 20rpx;
|
||||||
|
|
||||||
.referrer-avatar {
|
.referrer-avatar {
|
||||||
width: 34rpx;
|
width: 34rpx;
|
||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .nav {
|
.promoter-list .nav {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
height: 86rpx;
|
height: 86rpx;
|
||||||
line-height: 86rpx;
|
line-height: 86rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #282828;
|
color: #282828;
|
||||||
border-bottom: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
||||||
border-top-left-radius: 14rpx;
|
border-top-left-radius: 14rpx;
|
||||||
border-top-right-radius: 14rpx;
|
border-top-right-radius: 14rpx;
|
||||||
margin-top: -30rpx;
|
margin-top: -30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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: red;
|
||||||
// $theme-color
|
// $theme-color
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .search {
|
.promoter-list .search {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
padding: 0 24rpx;
|
padding: 0 24rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom-left-radius: 14rpx;
|
border-bottom-left-radius: 14rpx;
|
||||||
border-bottom-right-radius: 14rpx;
|
border-bottom-right-radius: 14rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .search .input {
|
.promoter-list .search .input {
|
||||||
width: 592rpx;
|
width: 592rpx;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .search .input input {
|
.promoter-list .search .input input {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
width: 610rpx;
|
width: 610rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .search .input .placeholder {
|
.promoter-list .search .input .placeholder {
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .search .input .iconfont {
|
.promoter-list .search .input .iconfont {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 28rpx;
|
right: 28rpx;
|
||||||
color: #999;
|
color: #999;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .search .iconfont {
|
.promoter-list .search .iconfont {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #515151;
|
color: #515151;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list {
|
.promoter-list .list {
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .sortNav {
|
.promoter-list .list .sortNav {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
height: 76rpx;
|
height: 76rpx;
|
||||||
border-bottom: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
||||||
color: #333;
|
color: #333;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
border-top-left-radius: 14rpx;
|
border-top-left-radius: 14rpx;
|
||||||
border-top-right-radius: 14rpx;
|
border-top-right-radius: 14rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .sortNav .sortItem {
|
.promoter-list .list .sortNav .sortItem {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .sortNav .sortItem image {
|
.promoter-list .list .sortNav .sortItem image {
|
||||||
width: 24rpx;
|
width: 24rpx;
|
||||||
height: 24rpx;
|
height: 24rpx;
|
||||||
margin-left: 6rpx;
|
margin-left: 6rpx;
|
||||||
vertical-align: -3rpx;
|
vertical-align: -3rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .item {
|
.promoter-list .list .item {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-bottom: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
||||||
height: 152rpx;
|
height: 152rpx;
|
||||||
padding: 0 24rpx;
|
padding: 0 24rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .item .picTxt .pictrue {
|
.promoter-list .list .item .picTxt .pictrue {
|
||||||
width: 106rpx;
|
width: 106rpx;
|
||||||
height: 106rpx;
|
height: 106rpx;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .item .picTxt .pictrue image {
|
.promoter-list .list .item .picTxt .pictrue image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 3rpx solid #fff;
|
border: 3rpx solid #fff;
|
||||||
box-shadow: 0 0 10rpx #aaa;
|
box-shadow: 0 0 10rpx #aaa;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .item .picTxt .text {
|
.promoter-list .list .item .picTxt .text {
|
||||||
// width: 304rpx;
|
// width: 304rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #666;
|
color: #666;
|
||||||
margin-left: 14rpx;
|
margin-left: 14rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .item .picTxt .text .name {
|
.promoter-list .list .item .picTxt .text .name {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
margin-bottom: 13rpx;
|
margin-bottom: 13rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .item .right {
|
.promoter-list .list .item .right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoter-list .list .item .right .num {
|
.promoter-list .list .item .right .num {
|
||||||
margin-right: 7rpx;
|
margin-right: 7rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 633 B |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1010 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 945 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
|
@ -0,0 +1 @@
|
||||||
|
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1662015751652" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1383" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M1021.44 514.048c0-56.832-10.24-111.616-28.672-162.304-2.56-7.168-5.632-14.336-8.192-21.504-17.92-42.496-41.984-81.408-70.656-116.224-9.728-11.776-19.968-23.04-30.208-33.28-31.744-31.744-68.608-59.392-108.544-81.408-6.656-3.584-13.312-7.168-20.48-10.24-13.824-6.656-27.648-12.8-42.496-17.92-28.672-10.752-58.88-18.432-90.112-23.04-15.36-2.56-31.232-4.096-47.616-4.608-8.192-0.512-15.872-0.512-24.064-0.512-97.792 0-188.416 29.696-263.68 80.384-25.088 16.896-48.64 36.352-69.632 57.344-15.872 15.872-30.72 33.28-44.544 51.2-22.528 30.208-41.472 63.488-56.832 98.304-3.072 7.168-5.632 14.336-8.192 21.504-18.432 50.688-28.672 104.96-28.672 162.304 0 5.12 0 10.24 0.512 15.36 8.192 253.44 215.552 456.192 471.04 456.192s462.848-202.752 471.04-456.192v-15.36z" fill="#FB6F31" p-id="1384"></path><path d="M139.16672 847.54944a471.51104 471.51104 0 0 0 513.8944 102.21568 471.59808 471.59808 0 0 0 255.2064-255.2064 471.6288 471.6288 0 0 0-0.01024-360.91904 471.53664 471.53664 0 0 0-255.21152-255.20128A471.552 471.552 0 0 0 139.16672 847.54944z" fill="#FBB03B" p-id="1385"></path><path d="M210.4832 776.22784a370.64704 370.64704 0 0 0 262.12352 108.5696 370.64704 370.64704 0 0 0 262.11328-108.57984 370.71872 370.71872 0 0 0 108.56448-262.1184 370.72384 370.72384 0 0 0-108.57472-262.11328A370.688 370.688 0 0 0 210.48832 776.22784z" fill="#FBEFA0" p-id="1386"></path><path d="M472.576 42.496C212.48 42.496 1.024 253.44 1.024 514.048c0 5.12 0 10.24 0.512 15.36h942.08c0-5.12 0.512-10.24 0.512-15.36 0-260.096-210.944-471.552-471.552-471.552z" fill="#FBC93B" p-id="1387"></path><path d="M236.19072 750.52544a334.40256 334.40256 0 0 0 364.35968 72.46848 334.40256 334.40256 0 0 0 180.9408-180.94592 334.3872 334.3872 0 0 0-0.01024-255.89248 334.32576 334.32576 0 0 0-617.77408 0.01024 334.336 334.336 0 0 0 72.48384 364.35968z" fill="#E25931" p-id="1388"></path><path d="M184.832 514.048c0 88.53504 32.7936 173.44512 91.17184 236.05248C334.3872 812.70272 413.568 847.872 496.128 847.872c82.56 0 161.73568-35.16928 220.11904-97.77152 58.37824-62.60736 91.17696-147.51744 91.17696-236.05248 0-43.83744-8.05376-87.2448-23.70048-127.744-15.6416-40.50432-38.56896-77.30688-67.47648-108.30336C657.86368 215.3984 578.688 180.224 496.128 180.224c-82.56512 0-161.7408 35.1744-220.12416 97.77664C217.6256 340.60288 184.832 425.51296 184.832 514.048z" fill="#FB6F31" p-id="1389"></path><path d="M184.832 514.048c0 88.53504 32.7936 173.44512 91.17184 236.05248C334.3872 812.70272 413.568 847.872 496.128 847.872c82.56 0 161.73568-35.16928 220.11904-97.77152 58.37824-62.60736 91.17696-147.51744 91.17696-236.05248 0-43.83744-8.05376-87.2448-23.70048-127.744-15.6416-40.50432-38.56896-77.30688-67.47648-108.30336C657.86368 215.3984 578.688 180.224 496.128 180.224c-82.56512 0-161.7408 35.1744-220.12416 97.77664C217.6256 340.60288 184.832 425.51296 184.832 514.048z" fill="#FB6F31" p-id="1390"></path><path d="M723.456 292.864l-449.024 449.024c56.32 59.904 134.144 99.84 221.184 105.472 174.08-11.776 311.296-156.672 311.296-333.824 0-84.48-31.232-161.792-83.456-220.672z" fill="#FB8E31" p-id="1391"></path><path d="M495.616 328.192l63.488 128 141.312 20.992-92.16 89.088 20.992 156.672-135.68-68.096-124.416 62.976 24.064-140.8-102.4-99.84 141.312-20.992 63.488-128z" fill="#FB6F31" p-id="1392"></path><path d="M482.304 306.176l62.976 128 141.824 20.48-102.4 99.84 24.064 141.312-126.464-66.56-126.976 66.56 24.576-141.312-102.4-99.84 141.312-20.48 63.488-128z" fill="#FBC93B" p-id="1393"></path></svg>
|
||||||
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 710 B |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 726 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 870 B |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 989 B |
|
After Width: | Height: | Size: 846 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
|
@ -0,0 +1,2 @@
|
||||||
|
export default "/static/img/shop/tabbar/category2.png"
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhdGVnb3J5Mi5wbmc/aW1wb3J0Il0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IFwiL3N0YXRpYy9pbWcvc2hvcC90YWJiYXIvY2F0ZWdvcnkyLnBuZ1wiIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsR0FBRyJ9
|
||||||
|
After Width: | Height: | Size: 795 B |
|
After Width: | Height: | Size: 607 B |
|
After Width: | Height: | Size: 781 B |
|
After Width: | Height: | Size: 774 B |
|
After Width: | Height: | Size: 672 B |
|
After Width: | Height: | Size: 759 B |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 518 B |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 816 B |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 36 KiB |