|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065 |
- <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,
- username: uni.getStorageSync('weapp_session_userInfo_data').username
- })
- },
-
- // 跳转首页
- toHome() {
- uni.navigateTo({
- url: '/pages/index/guide'
- })
- },
- // 获取日报详情
- getMessage() {
- this.$u.get('/zkMessage/findByProjectId', {
- id: this.id,
- houseId: uni.getStorageSync('buildingID').id,
- username: uni.getStorageSync('weapp_session_userInfo_data').username
- }).then(res => {
- console.log(res)
- let data = JSON.parse(res.zkMessage.content)
- 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
- 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: #43CD80;
- font-size: 34rpx;
- }
-
- .up {
- font-size: 34rpx;
- color: #E7483C;
- }
- }
- }
-
- .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>
|