|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054 |
- <template>
- <view class="pages">
- <!-- 日报内容部分 -->
- <view class="container" ref="lists">
- <!-- 头部日报卡 -->
- <view class="c-head-card">
- <view class="c-title-text">
- {{ projectName }}数智工牌日报
- </view>
- <text class="date">{{ weekObj.createTime | fomatDate }}</text>
- <view class="creative-time">
- 生成时间:{{ weekObj.createTime || '--' }}
- </view>
- </view>
- <view class="nodata-box" v-if="nodata">
- <image class="img" src="/static/images/nodata.png" mode="" />
- <view class="text">此项目今日还没有接待量哦~</view>
- </view>
- <view v-if="!nodata">
- <!-- 循环渲染的数据 -->
- <view class="dateList">
- <view class="arrs">
- <view class="arrs-items index1">
- <view class="left">
- 1
- </view>
- <view class="right">
- <view class="r-title">
- <text>接待量:</text>
- </view>
- <view class="r-box">
- <view class="r-box-item">
- <text>接待量</text><text class="value">{{ weekObj.receptionCount || 0 }}</text>
- </view>
- <view class="r-box-item">
- <text>有效接待</text><text class="value">{{ weekObj.activeCustomer || 0 }}</text>
- </view>
- <view class="r-box-item-lang">
- <view>有效接待率<text class="value">{{ weekObj.validReceptionRate || 0 }}%</text>
- </view>
- <view class="contrast">对比昨天<text class="value"
- :class="{down: weekObj.validReceptionRatePK < 0, up: weekObj.validReceptionRatePK > 0}">{{ weekObj.validReceptionRatePK > 0 ? '+' : '' }}{{ weekObj.validReceptionRatePK || 0 }}%</text>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index2">
- <view class="left">
- 2
- </view>
- <view class="right">
- <view class="r-title">
- <text v-if="!weekObj.orgCode">平均执行率:</text>
- <text v-else>销讲执行率:</text>
- </view>
- <view class="r-box">
- <view class="r-box-item-lang">
- <view>
- <text v-if="!weekObj.orgCode">平均执行率:</text>
- <text v-else>销讲执行率:</text>
- <text class="value">{{ weekObj.fraction || 0 }}%</text>
- </view>
- <view class="contrast">对比昨天<text class="value"
- :class="{down: weekObj.fractionPK < 0, up: weekObj.fractionPK > 0}">{{ weekObj.fractionPK > 0 ? '+' : '' }}{{ weekObj.fractionPK || 0 }}%</text>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index3">
- <view class="left">
- 3
- </view>
- <view class="right">
- <view class="r-title">
- <text>平均接待时长:</text>
- </view>
- <view class="r-box">
- <view class="r-box-item-lang">
- <view>平均接待时长<text class="value">{{ weekObj.avgDuration || 0 }}min</text></view>
- <view class="contrast">对比昨天<text class="value"
- :class="{down: weekObj.avgDurationPK < 0, up: weekObj.avgDurationPK > 0}">{{ weekObj.avgDurationPK > 0 ? '+' : '' }}{{ weekObj.avgDurationPK || 0 }}min</text>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index4">
- <view class="left">
- 4
- </view>
- <view class="right">
- <view class="r-title">
- <text v-if="!weekObj.orgCode">销讲维度执行前三:</text>
- <text v-else>项目平均执行率排名:</text>
- </view>
- <template v-if="!weekObj.orgCode">
- <view class="ranking">
- <block v-for="(rank, rankIndex) in carryOutTop" :key="rankIndex">
- <view class="ranking-item">
- <view class="serial">
- {{ rankIndex+1 }}
- </view>
- <view class="lside">
- {{ rank.title || '--' }}
- </view>
- <view class="rside">
- ({{ rank.value || 0 }}%)
- </view>
- </view>
- </block>
- <template v-if="carryOutTop.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </template>
- <template v-else>
- <!-- consultant -->
- <view class="ranking">
- <block v-for="(rank, rankIndex) in consultant" :key="rankIndex">
- <view class="ranking-item">
- <view class="serial">
- {{ rankIndex+1 }}
- </view>
- <view class="lside">
- {{ rank.title || '--' }}
- </view>
- <view class="rside">
- ({{ rank.value || 0 }}%)
- </view>
- </view>
- </block>
- <template v-if="consultant.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </template>
- </view>
- </view>
-
- <view class="arrs-items index5">
- <view class="left">
- 5
- </view>
- <view class="right">
- <view class="r-title">
- <text v-if="!weekObj.orgCode">销讲维度执行弱项前三:</text>
- <text v-else>项目平均接访时长排名:</text>
- </view>
- <template v-if="!weekObj.orgCode">
- <view class="ranking">
- <block v-for="(rank, rankIndex) in carryOutLast" :key="rankIndex">
- <view class="ranking-item">
- <view class="serial">
- {{ rankIndex+1 }}
- </view>
- <view class="lside">
- {{ rank.title || '--' }}
- </view>
- <view class="rside">
- ({{ rank.value || 0 }}%)
- </view>
- </view>
- </block>
- <template v-if="carryOutLast.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </template>
- <template v-else>
- <view class="ranking">
- <block v-for="(rank, rankIndex) in recording" :key="rankIndex">
- <view class="ranking-item">
- <view class="serial">
- {{ rankIndex+1 }}
- </view>
- <view class="lside">
- {{ rank.title || '--' }}
- </view>
- <view class="rside">
- ({{ tofixed2(rank.value/60) || 0 }}m)
- </view>
- </view>
- </block>
- <template v-if="recording.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </template>
- </view>
- </view>
-
- <view class="arrs-items index6" v-if="!weekObj.orgCode">
- <view class="left">
- 6
- </view>
- <view class="right">
- <view class="r-title">
- <text>置业顾问平均执行率排名:</text>
- </view>
- <view class="ranking">
- <block v-for="(rank, rankIndex) in consultant" :key="rankIndex">
- <view class="ranking-item">
- <view class="serial">
- {{ rankIndex+1 }}
- </view>
- <view class="lside">
- {{ rank.title || '--' }}
- </view>
- <view class="rside">
- ({{ rank.value || 0 }}%)
- </view>
- </view>
- </block>
- <template v-if="consultant.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index7" v-if="!weekObj.orgCode">
- <view class="left">
- 7
- </view>
- <view class="right">
- <view class="r-title">
- <text>置业顾问平均接访时长排名:</text>
- </view>
- <view class="ranking">
- <block v-for="(rank, rankIndex) in recording" :key="rankIndex">
- <view class="ranking-item">
- <view class="serial">
- {{ rankIndex+1 }}
- </view>
- <view class="lside">
- {{ rank.title || '--' }}
- </view>
- <view class="rside">
- ({{ rank.value || 0 }}min)
- </view>
- </view>
- </block>
-
- <template v-if="recording.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index8">
- <view class="left">
- <template v-if="!weekObj.orgCode">
- 8
- </template>
- <template v-else>
- 6
- </template>
- </view>
- <view class="right">
- <view class="r-title">
- <text v-if="!weekObj.orgCode">平均执行率最低的顾问:</text>
- <text v-else>执行率最低的项目:</text>
- </view>
- <template v-if="!weekObj.orgCode">
- <view class="ranking">
- <block v-for="(rank, rankIndex) in lowest" :key="rankIndex">
- <view class="ranking-item">
- <view class="lside">
- {{ rank.title || '--' }}
- </view>
- <view class="rside value">
- {{ rank.value || 0 }}%
- </view>
- </view>
- </block>
-
- <template v-if="lowest.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </template>
- <template v-else>
- <view class="ranking">
- <block v-for="(rank, rankIndex) in weekObj.minFraction" :key="rankIndex">
- <view class="ranking-item">
- <view class="lside">
- {{ rankIndex || '--' }}
- </view>
- <view class="rside value">
- {{ rank || 0 }}%
- </view>
- </view>
- </block>
-
- <template v-if="!weekObj.minFraction">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </template>
- </view>
- </view>
-
- <view class="arrs-items index9">
- <view class="left">
- <template v-if="!weekObj.orgCode">
- 9
- </template>
- <template v-else>
- 7
- </template>
- </view>
- <view class="right">
- <view class="r-title">
- <text>客户画像触达:</text>
- <text class="num value">{{ weekObj.reachSum || 0 }}次</text>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index8" v-if="weekObj.orgCode">
- <view class="left">
- 8
- </view>
- <view class="right">
- <view class="r-title">
- <text>画像一级触达接待前三:</text>
- </view>
- <view class="ranking">
- <block v-for="(rank, rankIndex) in weekObj.level1List" :key="rankIndex">
- <view class="ranking-item">
- <view class="lside">
- {{ rank.name || '--' }}
- </view>
- <view class="rside value">
- ({{ rank.total || 0 }})
- </view>
- </view>
- </block>
-
- <template v-if="!weekObj.level1List || weekObj.level1List.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index8" v-if="weekObj.orgCode">
- <view class="left">
- 9
- </view>
- <view class="right">
- <view class="r-title">
- <text>画像关键词触达接待前三:</text>
- </view>
- <view class="ranking">
- <block v-for="(rank, rankIndex) in weekObj.level2List" :key="rankIndex">
- <view class="ranking-item">
- <view class="lside">
- {{ rank.name || '--' }}
- </view>
- <view class="rside value">
- ({{ rank.total || 0 }})
- </view>
- </view>
- </block>
-
- <template v-if="!weekObj.level2List || weekObj.level2List.length == 0">
- <view class="empty">
- 暂无数据
- </view>
- </template>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index10">
- <view class="left">
- <template v-if="!weekObj.orgCode">
- 12
- </template>
- <template v-else>
- 10
- </template>
- </view>
- <view class="right">
- <view class="r-title">
- <text>未标记接待数:</text>
- <text class="num value down"
- style="font-weight: 500;font-size: 34rpx;">{{ weekObj.unlabelledReceptionNum || 0 }}</text>
- <text class="down value">条</text>
- </view>
- </view>
- </view>
-
- <view class="arrs-items index11">
- <view class="left">
- <template v-if="!weekObj.orgCode">
- 13
- </template>
- <template v-else>
- 11
- </template>
- </view>
- <view class="right">
- <view class="r-title">
- <text>设备情况:</text>
- </view>
- <view class="r-box">
- <view class="r-box-item-lang">
- <view>在线<text class="value">{{ weekObj.equipmentInfo.onlineNum || 0 }}</text>
- </view>
- <view style="margin-left: 24rpx;">
- 离线<text class="value">{{ weekObj.equipmentInfo.offlineNum || 0 }}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- </view>
- </view>
- </view>
- </view>
- <!-- 底部按钮 -->
- <view class="nav-footer" v-if="!nodata">
- <view class="footer-item" @click="toHome">
- 回到管理端
- </view>
- <view class="footer-item" @click="copy" style="margin-left: 24rpx;">
- 复制内容
- </view>
- <view class="footer-item full" style="margin-left: 24rpx;" @tap="forShare">
- <button open-type="share" class="fulls">
- 一键转发
- </button>
- </view>
- </view>
- </view>
- </template>
-
- <script>
- export default {
- data() {
- return {
- needList: ['XJTop', 'ZXLTop', 'avgJds'], // 需要转换数组的内容
- carryOutTop: [], //
- carryOutLast: [], //
- consultant: [], // 置业顾问排名
- recording: [], // 录音排名
- lowest: [], // 执行率最低的顾问
- building: uni.getStorageSync('buildingID'),
- id: '', // 消息id
- projectName: '', // 项目名称
- weekObj: {}, // 日报详情
- nodata: false //有无数据
- }
- },
-
-
- onLoad(option) {
- if (option.id) this.id = option.id
- this.getMessage()
- },
-
- onShareAppMessage() {
- return {
- title: `${this.projectName}数智工牌日报`,
- path: `/pages/reportExcel/dayReport?id=${this.id}`
- }
- },
-
- methods: {
-
- tofixed2(time) {
- if (time) {
- return time.toFixed(2)
- } else {
- return 0
- }
- },
-
- // 项目拷贝
- copys() {
-
- let str = `
- ${this.projectName}数智工牌日报
-
- 生成时间:${this.weekObj.createTime || '--'}
-
- 1、接待量:${this.weekObj.receptionCount || 0 }
-
- 有效接待:${this.weekObj.activeCustomer || 0}
-
- 有效接待率:${this.weekObj.validReceptionRate || 0}%
- 对比昨天:${ this.weekObj.validReceptionRatePK > 0 ? '+' : '' }${ this.weekObj.validReceptionRatePK || 0 }%
-
- 2、平均执行率:${ this.weekObj.fraction || 0 }%
- 销讲执行率:${ this.weekObj.fractionPK > 0 ? '+' : '' }${ this.weekObj.fractionPK || 0 }%
-
- 3、平均接待时长:${ this.weekObj.avgDuration || 0 }min
- 对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min`
-
- if (this.consultant.length > 0) {
- str += `
-
- 4、项目平均执行率排名:`
- this.consultant.map((item, index) => {
- str += `
- top${index+1}.${item.title || '--'}${item.value||'0'}%`
- })
- }
-
- if (this.recording.length > 0) {
- str += `
-
- 5、项目平均接访时长排名:`
- this.recording.map((item, index) => {
- str += `
- top${index+1}.${item.title || '--'}${this.tofixed2(item.value/60)||'0'}m`
- })
- }
-
- if (this.lowest.length > 0) {
- str += `
-
- 6、执行率最低的项目:`
- for (let i in this.weekObj.minFraction) {
- str += `
- ${i || '--'}${this.weekObj.minFraction[i]||'0'}%`
- }
- }
-
-
- str += `
-
- 7、客户画像触达:${this.weekObj.reachSum || 0}次`
-
- if (this.weekObj.level1List.length > 0) {
- str += `
-
- 8、画像一级触达接待前三
- `
- this.weekObj.level1List.map((item, index) => {
- str += `
- top${index+1}.${item.name || '--'}${item.total||'0'}%`
- })
- }
-
- if (this.weekObj.level1List.length > 0) {
- str += `
-
- 9、画像关键词触达接待前三
- `
- this.weekObj.level1List.map((item, index) => {
- str += `
- top${index+1}.${item.name || '--'}${item.total||'0'}%`
- })
- }
-
-
- str += `
-
- 10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
-
-
- 11、设备情况:
- 在线:${this.weekObj.equipmentInfo.onlineNum || 0}
- 离线:${this.weekObj.equipmentInfo.offlineNum || 0}`
-
-
- uni.setClipboardData({
- data: str
- })
- },
-
- forShare() {
- this.$u.get("/zkMessage/shareMessage", {
- id: this.id,
- houseId: uni.getStorageSync('buildingID').id
- })
- },
- // 跳转首页
- toHome() {
- uni.navigateTo({
- url: '/pages/index/guide'
- })
- },
- // 获取日报详情
- getMessage() {
- this.$u.get('/zkMessage/findByProjectId', {
- id: this.id,
- houseId: uni.getStorageSync('buildingID').id
- }).then(res => {
- let data = {}
- if (res.zkMessage.content) {
- data = JSON.parse(res.zkMessage.content)
- this.weekObj = {
- ...res.zkMessage,
- ...data
- }
- this.nodata = false
- } else {
- this.nodata = true
- this.weekObj = {
- ...res.zkMessage
- }
- }
-
- this.projectName = res.projectName
- console.log(this.weekObj)
- this.init()
- }).catch(e => {
- console.log(e)
- })
- },
-
- copy() {
- if (this.weekObj.orgCode) return this.copys()
-
- let str = `
- ${this.projectName}数智工牌日报
-
- 生成时间:${this.weekObj.createTime || '--'}
-
- 1、接待量:${this.weekObj.receptionCount || 0 }
-
- 有效接待:${this.weekObj.activeCustomer || 0}
-
- 有效接待率:${this.weekObj.validReceptionRate || 0}%
- 对比昨天:${ this.weekObj.validReceptionRatePK > 0 ? '+' : '' }${ this.weekObj.validReceptionRatePK || 0 }%
-
- 2、平均执行率:${ this.weekObj.fraction || 0 }%
- 对比昨天:${ this.weekObj.fractionPK > 0 ? '+' : '' }${ this.weekObj.fractionPK || 0 }%
-
- 3、平均接待时长:${ this.weekObj.avgDuration || 0 }min
- 对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min`
- if (this.carryOutTop.length > 0) {
- str += `
-
- 4、销讲维度执行前三:`
- this.carryOutTop.map((item, index) => {
- str += `
- top${index+1}.${item.title || '--'}${item.value||'0'}%`
- })
- }
-
- if (this.carryOutLast.length > 0) {
- str += `
-
- 5、销讲维度执行弱项前三:`
- this.carryOutLast.map((item, index) => {
- str += `
- top${index+1}.${item.title || '--'}${item.value||'0'}%`
- })
- }
-
- if (this.consultant.length > 0) {
- str += `
-
- 6、置业顾问平均执行率排名:`
- this.consultant.map((item, index) => {
- str += `
- top${index+1}.${item.title || '--'}${item.value||'0'}%`
- })
- }
-
- if (this.recording.length > 0) {
- str += `
-
- 7、置业顾问平均接访时长排名:`
- this.recording.map((item, index) => {
- str += `
- top${index+1}.${item.title || '--'}${item.value||'0'}min`
- })
- }
-
- if (this.lowest.length > 0) {
- str += `
-
- 8、平均执行率最低的顾问:`
- this.lowest.map((item, index) => {
- str += `
- ${item.title || '--'}${item.value||'0'}%`
- })
- }
- str += `
-
- 9、客户画像触达:${this.weekObj.reachSum || 0}次
-
- 10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
-
- 11、设备情况:
- 在线:${this.weekObj.equipmentInfo.onlineNum || 0}
- 离线:${this.weekObj.equipmentInfo.offlineNum || 0}`
-
-
- uni.setClipboardData({
- data: str
- })
- },
-
- // 分割数组排名前三,倒三
- getTopThree() {
- if (this.weekObj.XJTopList && this.weekObj.XJTopList.length > 0) {
- let arr = this.weekObj.XJTopList.slice(0, 3)
- arr.forEach(item => {
- if (item.value != 100) {
- this.carryOutLast.push(item)
- }
- })
- this.carryOutTop = this.weekObj.XJTopList.reverse().slice(0, 3)
- console.log(this.weekObj.XJTopList)
- }
- if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) {
- this.consultant = this.weekObj.ZXLTopList.reverse().slice(0, 3)
- if (this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1].value != 100) {
- this.lowest.push(this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1])
- }
- }
- if (this.weekObj.avgJdsList && this.weekObj.avgJdsList.length > 0) {
- this.recording = this.weekObj.avgJdsList.reverse().slice(0, 3)
- }
- },
-
- init() {
- // 把对象转成数组并在后续的步骤方便处理
- this.needList.forEach(item => {
- if (this.weekObj[item] && Object.keys(this.weekObj[item]).length > 0) {
- this.weekObj[item + 'List'] = [] // 销讲执行
- for (let i in this.weekObj[item]) {
- this.weekObj[item + 'List'].push({
- title: i,
- value: this.weekObj[item][i]
- })
- }
- }
- })
- this.sortInitArr()
- },
-
- // 排序对象转换后的数组
- sortInitArr() {
- this.needList.forEach(item => {
- if (this.weekObj[item + 'List']) {
- this.bubbleSort(this.weekObj[item + 'List'])
- }
- })
- this.getTopThree()
- },
-
- // 冒泡排序
- bubbleSort(arr) {
- for (let i = 0; i < arr.length - 1; i += 1) {
- //通过 arr.length 次把第一位放到最后,完成排序
- //-i是因为最后的位置是会动态改变的,当完成一次后,最后一位会变成倒数第二位
- for (let j = 0; j < arr.length - 1 - i; j += 1) {
- if (arr[j].value > arr[j + 1].value) {
- const temp = arr[j];
- arr[j] = arr[j + 1];
- arr[j + 1] = temp;
- }
- }
- }
- },
- },
- filters: {
- fomatDate(date) {
- if (!date) return '--'
- let arr = date.split(' ')
- let str = arr[0]
- let result = str.split('-')
- return `${result[1]}-${result[2]}`
- }
- }
- }
- </script>
-
- <style lang="scss" scoped>
- .pages {
- width: 100vw;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
-
- .nav-header {
- flex-shrink: 0;
- }
-
- .container {
- padding: 30rpx 30rpx 0;
- flex-grow: 1;
- display: flex;
- flex-direction: column;
-
- .c-head-card {
- padding: 30rpx;
- width: 100%;
- min-height: 252rpx;
- border: 2rpx solid #000000;
- border-radius: 12rpx;
- box-shadow: 10rpx 10rpx #2671E2;
- display: flex;
- flex-direction: column;
-
- .c-title-text {
- // position: relative;
- flex-grow: 1;
- font-size: 48rpx;
- font-weight: bold;
- color: #303030;
- }
-
-
- .date {
- // position: absolute;
- // right: 0;
- // bottom: 6rpx;
- font-size: 30rpx;
- color: #303030;
- }
-
- .creative-time {
- margin: 20rpx 0 0 0;
- flex-shrink: 0;
-
- }
-
- }
-
-
- .dateList {
- width: 100%;
-
- .arrs {
- width: 100%;
-
- .arrs-items {
- margin: 40rpx 0 0 0;
- display: flex;
- min-height: 100rpx;
-
- .left {
- flex-shrink: 0;
- margin-right: 12rpx;
- width: 48rpx;
- height: 44rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 8rpx;
- border: 1rpx solid #999999;
- font-size: 32rpx;
- }
-
- .right {
- flex-grow: 1;
-
- .r-title {
- font-size: 32rpx;
- height: 44rpx;
- display: flex;
- align-items: center;
-
- .num {
- font-size: 34rpx;
-
- }
- }
-
- .r-box {
- padding: 21rpx 0 0 0;
- display: flex;
- flex-wrap: wrap;
-
- .r-box-item {
- margin-right: 24rpx;
- }
-
- .r-box-item-lang {
- margin-top: 19rpx;
- width: 100%;
- display: flex;
- align-items: center;
-
- .contrast {
- margin: 0 0 0 24rpx;
- display: flex;
- align-items: center;
- }
-
- .down {
- color: #E7483C;
- font-size: 34rpx;
- }
-
- .up {
- font-size: 34rpx;
- color: #43CD80;
- }
- }
- }
-
- .ranking {
- padding: 21rpx 0 0 0;
- display: flex;
- flex-direction: column;
-
- .ranking-item {
- margin-bottom: 22rpx;
- display: flex;
- align-items: center;
- font-size: 30rpx;
-
- .serial {
- flex-shrink: 0;
- width: 42rpx;
- height: 42rpx;
- background: #2671E2;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #fff;
- }
-
- .lside {
- margin: 0 20rpx;
- color: #505050;
-
- }
-
- .rside {
- flex-shrink: 0;
- font-size: 32rpx;
- }
- }
- }
-
- }
- }
- }
- }
- }
-
- .nav-footer {
- position: sticky;
- bottom: 0;
- padding: 32rpx;
- width: 100%;
- display: flex;
- justify-content: center;
- background: #fff;
-
- .footer-item {
- flex: 1;
- height: 88rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #2671E2;
- border: 2rpx solid #2671E2;
- border-radius: 8rpx;
- overflow: hidden;
- font-size: 32rpx;
-
- &.full {
- background: #2671E2;
- color: #fff;
-
- .fulls {
- box-sizing: border-box;
- width: 100%;
- height: 100%;
- background: transparent;
- color: #fff;
- font-size: 32rpx;
- font-weight: normal;
- line-height: 88rpx;
- }
- }
- }
-
- }
-
-
- .up {
- color: #43CD80 !important;
- }
-
- .down {
- color: #E6273A !important;
- }
-
- .empty {
- width: 100%;
- line-height: 48rpx;
- }
-
- .value {
- margin-left: 5rpx;
- font-size: 30rpx !important;
- font-weight: bold !important;
- }
-
- .nodata-box {
- width: 750rpx;
- margin: 20rpx auto 0;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- background-color: #fff;
-
- .img {
- width: 400rpx;
- height: 400rpx;
- }
-
- .text {
- text-align: center;
- font-size: 28rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 40rpx;
- // margin-top: -40rpx;
- }
- }
- }
- </style>
|