123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736 |
- <!-- 数据组件页面 -->
- <template>
- <view class="column flex-1 hb">
- <view class="topdata">
- <view class="topdata-box">
- <view>数据汇总</view>
- <view class="x-bc">
- <view class="topdata-item">
- <view class="topdata-item-num"><text>{{companyUserUserCount}}</text>人</view>
- <view>会员总数</view>
- </view>
- <view class="topdata-item">
- <view class="topdata-item-num"><text>{{companyUserCount}}</text>人</view>
- <view>今日新增会员</view>
- </view>
- </view>
- </view>
- <view>
- <u-collapse ref="puyaodameinvRef" :value="['0']" :border='false' @change='changelable'>
- <u-collapse-item name="0" :border='false'>
- <view slot="title">
- <text class="bold fs32">标签统计</text>
- <text class="fs24 base-color-9 ml12">左滑查看更多</text>
- </view>
- <text slot="value" class="statistics-slot-title">{{collapseLable?'展开':'收回'}}</text>
- <view slot="right-icon">
- <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
- </view>
- <view class="">
- <view class=" mb20 morelable">
- <view class="base-bg-f5 p20 radius20 boxlable mr40"
- v-for="(item,index) in lablelistnum" :key="index" style="display: inline-block;">
- <view class="base-color-3 ">{{item.tag}}</view>
- <view class="base-color mt8">
- <text class="fs40 bold">{{item.count}}</text>
- 人
- </view>
- </view>
- </view>
- </view>
- </u-collapse-item>
- </u-collapse>
- </view>
- <view class="searchbox">
- <view class="searchbox-bar x-ac">
- <view :class="queryParam.type == index ? 'searchbox-item searchbox-active':'searchbox-item'"
- v-for="(item,index) in typeOption" :key="index" @click="handleType(index)">{{item.label}}</view>
- </view>
- <view class="x-ac ss" v-show="queryParam.type == 3">
- <view class="calendar-day x-c" @click="showCalendar = true"><u-icon name="calendar" color="#999"
- size="20"></u-icon>{{startTime}}</view>
- <view class="calendar-day x-c" @click="showCalendar = true"><u-icon name="calendar" color="#999"
- size="20"></u-icon>{{endTime}}</view>
- </view>
- </view>
- </view>
- <u-calendar :show="showCalendar" :mode="mode" @confirm="confirmCalendar" style="flex: 0;"
- @close="closeCalendar"></u-calendar>
- <view class="statistics pb120" :style="{height: contentH}">
- <u-collapse :border='false' :value='collapseValue' @change="changeCollapse">
- <u-collapse-item name="course">
- <text slot="title" class="statistics-title">课程统计</text>
- <text slot="value"
- class="statistics-slot-title">{{collapseValue.includes('course')?'收回':'展开'}}</text>
- <view slot="right-icon">
- <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
- </view>
- <view class="collapse-content x-ac">
- <view class="collapse-content-item">
- <view class="collapse-content-title">观看人数</view>
- <view class="collapse-content-num"><text>{{courseCount.count || 0}}</text>人</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(courseCount.count,courseCount.yesterdayCount)}}</view>
- <view v-show="queryParam.type == 0">昨天{{courseCount.yesterdayCount || 0}}</view>
- </view>
- <view class="collapse-content-item">
- <view class="collapse-content-title">完播人数</view>
- <view class="collapse-content-num"><text>{{courseCount.completeCount || 0}}</text>人</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(courseCount.completeCount,courseCount.yesterdayCountCompleteCount)}}
- </view>
- <view v-show="queryParam.type == 0">昨天{{courseCount.yesterdayCountCompleteCount || 0}}
- </view>
- </view>
- <view class="collapse-content-item">
- <view class="collapse-content-title">完播率</view>
- <view class="collapse-content-num"><text>{{courseCount.rate || 0}}</text>%</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(courseCount.rate,courseCount.yesterdayRate)}}</view>
- <view v-show="queryParam.type == 0">昨天{{courseCount.yesterdayRate || 0}}</view>
- </view>
- </view>
- </u-collapse-item>
- <u-collapse-item name="questions">
- <text slot="title" class="statistics-title">答题统计</text>
- <text slot="value"
- class="statistics-slot-title">{{collapseValue.includes('questions')?'收回':'展开'}}</text>
- <view slot="right-icon">
- <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
- </view>
- <view class="collapse-content x-ac">
- <view class="collapse-content-item">
- <view class="collapse-content-title">答题人数</view>
- <view class="collapse-content-num"><text>{{quesCount.count || 0}}</text>人</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(quesCount.count,quesCount.yesterdayCount)}}</view>
- <view v-show="queryParam.type == 0">昨天{{quesCount.yesterdayCount || 0}}</view>
- </view>
- <view class="collapse-content-item">
- <view class="collapse-content-title">正确人数</view>
- <view class="collapse-content-num"><text>{{quesCount.completeCount || 0}}</text>人</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(quesCount.completeCount,quesCount.yesterdayCountCompleteCount)}}</view>
- <view v-show="queryParam.type == 0">昨天{{quesCount.yesterdayCountCompleteCount || 0}}</view>
- </view>
- <view class="collapse-content-item">
- <view class="collapse-content-title">正确率</view>
- <view class="collapse-content-num"><text>{{quesCount.rate || 0}}</text>%</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(quesCount.rate,quesCount.yesterdayRate)}}</view>
- <view v-show="queryParam.type == 0">昨天{{quesCount.yesterdayRate || 0}}</view>
- </view>
- </view>
- </u-collapse-item>
- <u-collapse-item name="redenvelope">
- <text slot="title" class="statistics-title">红包统计</text>
- <text slot="value"
- class="statistics-slot-title">{{collapseValue.includes('redenvelope')?'收回':'展开'}}</text>
- <view slot="right-icon">
- <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
- </view>
- <view>
- <view class="collapse-content x-ac">
- <view class="collapse-content-item">
- <view class="collapse-content-title">答题红包数</view>
- <view class="collapse-content-num"><text>{{redPacketCount.count || 0}}</text>个</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(redPacketCount.count,redPacketCount.yesterdayCount)}}</view>
- <view v-show="queryParam.type == 0">昨天{{redPacketCount.yesterdayCount || 0}}</view>
- </view>
- <view class="collapse-content-item">
- <view class="collapse-content-title">答题红包金额</view>
- <view class="collapse-content-num"><text>{{redPacketCount.amount || '0.00'}}</text>元
- </view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(redPacketCount.amount,redPacketCount.yesterdayAmount,1)}}</view>
- <view v-show="queryParam.type == 0">昨天{{redPacketCount.yesterdayAmount || '0.00'}}
- </view>
- </view>
- </view>
- <view class="collapse-content x-ac" style="padding: 8px 0;">
- <view class="collapse-content-item">
- <view class="collapse-content-title">新会员奖励数</view>
- <view class="collapse-content-num"><text>{{redPacketCount.newCount || 0}}</text>个</view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(redPacketCount.newCount,redPacketCount.yesterdayNewCount)}}</view>
- <view v-show="queryParam.type == 0">昨天{{redPacketCount.yesterdayNewCount || 0}}</view>
- </view>
- <view class="collapse-content-item">
- <view class="collapse-content-title">新会员奖励金额</view>
- <view class="collapse-content-num">
- <text>{{redPacketCount.totalAmount || '0.00'}}</text>元
- </view>
- <view style="color: #1677ff;" v-show="queryParam.type == 0">
- 较昨天持平{{compare(redPacketCount.totalAmount,redPacketCount.yesterdayTotalAmount,1)}}
- </view>
- <view v-show="queryParam.type == 0">昨天{{redPacketCount.yesterdayTotalAmount || '0.00'}}
- </view>
- </view>
- </view>
- </view>
- </u-collapse-item>
- <u-collapse-item name="funnel" v-if="user.userType==0">
- <text slot="title" class="statistics-title">转化漏斗图</text>
- <text slot="value"
- class="statistics-slot-title">{{collapseValue.includes('funnel')?'收回':'展开'}}</text>
- <view slot="right-icon">
- <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
- </view>
- <view >
- <funnelChart :getratelist="getrateimg" />
- </view>
- </u-collapse-item>
- <u-collapse-item name="rank" v-if="user.userType==0">
- <text slot="title" class="statistics-title">排行榜</text>
- <text slot="value"
- class="statistics-slot-title">{{collapseValue.includes('rank')?'收回':'展开'}}</text>
- <view slot="right-icon">
- <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
- </view>
- <view class="flex-1">
- <view class="mt40">
- <view class="justify-between align-center">
- <view class="base-color-3 bold fs32">群管排行榜</view>
- <view class="justify-start" @click="ordergroup(1)"
- v-if="orderGroup=='asc'">
- <u-icon name="list-dot" size="20"></u-icon>
- <view>按正序(前20名)</view>
- </view>
- <view class="justify-start" @click="ordergroup(0)" v-else>
- <u-icon name="list-dot" size="20"></u-icon>
- <view>按倒序(后20名)</view>
- </view>
- </view>
- <view class="centerV">
- <u-tabs :list="list1" @click="clickTab" lineColor='#1773ff' lineWidth='40'
- activeStyle="font-weight:bold"></u-tabs>
- </view>
- <view class="justify-start align-center mtb28"
- v-for="(item,index) in rankListA"
- :key="index">
- <u-avatar :src="item.avatar" size="40"></u-avatar>
- <view class="flex-1 ml20">
- <view class="justify-between mb16">
- <view class="base-color-3">{{item.name}}</view>
- <view>{{item.rate}}%</view>
- </view>
- <u-line-progress :percentage="30" activeColor='#1773ff'/>
- </view>
- </view>
- <view v-if="rankListA.length==0" class="center mtb32">暂无数据</view>
- </view>
- <view class="mt60 column flex-1">
- <view class="justify-between align-center">
- <view class="base-color-3 bold fs32">课程排行榜</view>
- <view class="justify-start" @click="ordergroupB(1)"
- v-if="orderGroupB=='asc'">
- <u-icon name="list-dot" size="20"></u-icon>
- <view>按正序(前20名)</view>
- </view>
- <view class="justify-start" @click="ordergroupB(0)" v-else>
- <u-icon name="list-dot" size="20"></u-icon>
- <view>按倒序(后20名)</view>
- </view>
- </view>
- <view class="centerV">
- <u-tabs :list="list1" @click="clickTabB" lineColor='#1773ff' lineWidth='40'
- activeStyle="font-weight:bold"></u-tabs>
- </view>
- <view class="justify-start align-center"
- v-for="(item,index) in rankListB"
- :key="index">
- <view class="flex-1 ml20">
- <view class="justify-between mb16">
- <view class="base-color-3">{{item.name}}</view>
- <view>{{item.rate}}%</view>
- </view>
- <u-line-progress :percentage="30" activeColor='#ed0922'/>
- </view>
- </view>
- <view v-if="rankListB.length==0" class="center mtb32">暂无数据</view>
- </view>
- </view>
- </u-collapse-item>
- </u-collapse>
- </view>
- </view>
- </template>
- <script>
- import code from "../../../uni_modules/uview-ui/libs/config/props/code"
- import funnelChart from "../components/chart.vue"
- import {
- getCompanyUserAndUserCount,
- getCourseCount,
- getQuesCount,
- getRecPacketCount,
- getlableNum,
- getcourseRate,
- getGroupRanklist,
- getCourseRanklist
- } from "@/api/courseManage.js"
- export default {
- components: {
- funnelChart,
- },
- data() {
- return {
- list1: [{
- name: '按完播率',
- }, {
- name: '按正确率'
- }],
- orderGroup:'asc',
- orderGroupB:'asc',
- showCalendar: false,
- mode: 'range',
- typeOption: [{
- label: '今日',
- value: 0
- }, {
- label: '昨日',
- value: 1
- }, {
- label: '本月',
- value: 2
- }, {
- label: '自定义',
- value: 3
- }],
- queryParam: {
- type: 0
- },
- contentH: 0,
- collapseValue: ['course', 'questions', 'redenvelope', 'funnel','rank'],
- user: {},
- todayday: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
- startTime: '',
- endTime: '',
- companyUserCount: 0,
- companyUserUserCount: 0,
- courseCount: {},
- quesCount: {},
- redPacketCount: {},
- collapseLable: false,
- lablelistnum: [],
- getrateimg: {},
- rankListA:[],
- rankListB:[],
- activeA:0,
- activeB:0
- }
- },
- computed: {
- compare() {
- return (today, yesterday, type) => {
- const num = Number(yesterday || 0) - Number(today || 0)
- return type == 1 ? num.toFixed(2) : 0
- }
- }
- },
- mounted() {
- this.getHeight()
- this.user = uni.getStorageSync("companyUserInfo") ? JSON.parse(uni.getStorageSync("companyUserInfo")) : {}
- // this.getUserCount()
- // this.resetDate()
- this.getlableData()
- this.getrateList()
- this.getrankCourse()
- this.getrankgroup()
- },
- methods: {
- clickTab(item) {
- this.activeA=item.index+1
- this.getrankgroup()
- console.log(this.activeA)
- },
- clickTabB(item) {
- this.activeB=item.index+1
- this.getrankCourse()
- console.log(this.activeA)
- },
- ordergroup(item){
- if(item==0){
- this.orderGroup='asc'
- this.getrankgroup()
- }else{
- this.orderGroup='desc'
- this.getrankgroup()
- }
- },
- ordergroupB(item){
- if(item==0){
- this.orderGroupB='asc'
- this.getrankCourse()
- }else{
- this.orderGroupB='desc'
- this.getrankCourse()
- }
- },
- getrankCourse(){
- //获取课程排行
- this.startTime = this.todayday
- this.endTime = this.todayday
- this.resetDate()
- const params = {
- companyId: this.user.companyId,
- endTime: this.endTime+' 23:59:59',
- startTime: this.startTime+' 00:00:00',
- order:this.orderGroupB,
- type: this.activeB, // 0:经销商/1:群管
- }
- getCourseRanklist(params).then(res=>{
- if (res.code == 200) {
- this.rankListB = res.data
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- getrankgroup(){
- //获取群管排行
- this.startTime = this.todayday
- this.endTime = this.todayday
- this.resetDate()
- const params = {
- companyId: this.user.companyId,
- endTime: this.endTime+' 23:59:59',
- startTime: this.startTime+' 00:00:00',
- order:this.orderGroup,
- type: this.activeA, // 0:经销商/1:群管
- }
- getGroupRanklist(params).then(res=>{
- if (res.code == 200) {
- console.log(res)
- this.rankListA = res.data
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- getrateList() {
- //获取漏斗图
- this.startTime = this.todayday
- this.endTime = this.todayday
- this.resetDate()
- const params = {
- companyId: this.user.companyId,
- companyUserId: this.user.userId,
- endTime: this.endTime+' 23:59:59',
- startTime: this.startTime+' 00:00:00',
- courseId: this.courseid,
- videoId: this.courseids,
- type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
- }
- getcourseRate(params).then(res => {
- if (res.code == 200) {
- this.getrateimg = res
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg
- })
- }
- })
- },
- getlableData() {
- const params = {
- type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
- }
- getlableNum(params).then(res => {
- if (res.code == 200) {
- this.lablelistnum = res.data
- this.$nextTick(() => {
- this.$refs.puyaodameinvRef.init()
- })
- console.log(res)
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg,
- });
- }
- })
- },
- changelable(e) {
- if (e[0].status = 'open') {
- this.collapseLable = true
- }
- },
- getHeight() {
- const windowHeight = uni.getSystemInfoSync().windowHeight
- const query = uni.createSelectorQuery().in(this);
- query
- .select(".topdata")
- .boundingClientRect((data) => {
- this.contentH = `calc(${windowHeight}px - ${data.height}px - 56px)`
- })
- .exec();
- },
- resetDate() {
- if (this.queryParam.type == 0) {
- this.startTime = this.todayday
- this.endTime = this.todayday
- } else if (this.queryParam.type == 1) {
- let yesterday = new Date();
- yesterday.setDate(yesterday.getDate() - 1);
- this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd')
- this.endTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd')
- } else if (this.queryParam.type == 2) {
- let today = new Date();
- let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth() + 1, 0);
- this.startTime = uni.$u.timeFormat(this.todayday, 'yyyy-mm') + '-01'
- this.endTime = uni.$u.timeFormat(lastDayOfMonth, 'yyyy-mm-dd')
- } else if (this.queryParam.type == 3) {
- this.startTime = this.todayday
- this.endTime = this.todayday
- }
- this.getCount()
- },
- handleType(type) {
- if (this.queryParam.type == type) {
- return
- }
- this.queryParam.type = type
- if (this.queryParam.type == 3) {
- this.getHeight()
- }
- this.resetDate()
- this.getrateList()
- this.getrankCourse()
- this.getrankgroup()
- },
- changeCollapse(e) {
- this.collapseValue = e.filter(item => item.status == 'open').map(it => it.name)
- },
- closeCalendar() {
- this.showCalendar = false
- },
- confirmCalendar(e) {
- this.startTime = e[0]
- this.endTime = e[e.length - 1]
- this.showCalendar = false
- this.getCount()
- },
- getUserCount() {
- const day = uni.$u.timeFormat(new Date(), 'yyyy-mm-dd')
- const param = {
- companyId: this.user.companyId,
- companyUserId: this.user.userId,
- courseId: '',
- endTime: day + ' 23:59:59',
- startTime: day + ' 00:00:00',
- type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
- }
- getCompanyUserAndUserCount(param).then(res => {
- if (res.code == 200) {
- this.companyUserCount = res.data.companyUserCount || 0
- this.companyUserUserCount = res.data.companyUserUserCount || 0
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg,
- });
- }
- })
- },
- getCount() {
- const param = {
- companyId: this.user.companyId,
- companyUserId: this.user.userId,
- courseId: '',
- endTime: this.endTime + ' 23:59:59',
- startTime: this.startTime + ' 00:00:00',
- type: this.user.userType == '00' ? 0 : 1, // 0:经销商/1:群管
- }
- this.getCourseCount(param)
- this.getQuesCount(param)
- this.getRecPacketCount(param)
- },
- getCourseCount(param) {
- getCourseCount(param).then(res => {
- if (res.code == 200) {
- this.courseCount = res.data
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg,
- });
- }
- })
- },
- getQuesCount(param) {
- getQuesCount(param).then(res => {
- if (res.code == 200) {
- this.quesCount = res.data
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg,
- });
- }
- })
- },
- getRecPacketCount(param) {
- getRecPacketCount(param).then(res => {
- if (res.code == 200) {
- this.redPacketCount = res.data
- } else {
- uni.showToast({
- icon: 'none',
- title: res.msg,
- });
- }
- })
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .boxlable {
- width: 47%;
- }
- .morelable {
- width: 100%;
- overflow-x: auto;
- /* 添加横向滚动条 */
- white-space: nowrap;
- }
- .container {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #222222;
- }
- .calendar-day {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 12px;
- color: #999;
- flex: 1;
- margin: 10px 10px 0 10px;
- background-color: #f5f5f5;
- border-radius: 4px;
- }
- .topdata {
- padding-top: 25px;
- background: linear-gradient(to right, rgba(225, 238, 255, 1), rgba(223, 224, 254, 1));
- &-box {
- padding: 12px;
- margin: 0 12px 0 12px;
- background-color: rgba(255, 255, 255, 0.5);
- border-radius: 8px 8px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #222222;
- }
- &-item {
- width: 50%;
- text-align: center;
- padding: 8px;
- box-sizing: border-box;
- &-num {
- color: #1677ff;
- text {
- font-family: DIN, DIN;
- font-weight: bold;
- font-size: 25px;
- }
- }
- }
- .searchbox {
- background-color: #fff;
- border-radius: 8rpx 8rpx 0 0;
- padding: 15px;
- &-item {
- height: 23px;
- line-height: 23px;
- width: 65px;
- background: #f5f5f5;
- text-align: center;
- border-radius: 5px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 12px;
- color: #888;
- }
- &-active {
- color: #fff !important;
- background-color: #1677ff !important;
- }
- }
- }
- .statistics {
- background-color: #fff;
- overflow-y: auto;
- box-sizing: border-box;
- &-title {
- font-family: PingFang SC, PingFang SC;
- font-weight: bold;
- font-size: 16px;
- color: #222222;
- }
- &-slot-title {
- font-size: 12px;
- color: #1677ff;
- }
- .collapse-content {
- margin: 0 -8px -8rpx 0;
- &-item {
- flex: 1;
- padding: 12px;
- box-sizing: border-box;
- border-radius: 10px;
- background: #f5f5f5;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 10px;
- color: #222222;
- margin: 0 8px 8rpx 0;
- }
- &-title {
- font-size: 14px;
- margin-bottom: 10px;
- }
- &-num {
- color: #1677ff;
- font-size: 10px;
- text {
- font-family: DIN, DIN;
- font-weight: bold;
- font-size: 25px;
- }
- }
- }
- }
- </style>
|