You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1022 lines
26 KiB

  1. <template>
  2. <view class="pages">
  3. <!-- 日报内容部分 -->
  4. <view class="container" ref="lists">
  5. <!-- 头部日报卡 -->
  6. <view class="c-head-card">
  7. <view class="c-title-text">
  8. {{ projectName }}数智工牌日报
  9. </view>
  10. <text class="date">{{ weekObj.createTime | fomatDate }}</text>
  11. <view class="creative-time">
  12. 生成时间:{{ weekObj.createTime || '--' }}
  13. </view>
  14. </view>
  15. <view class="nodata-box" v-if="nodata">
  16. <image class="img" src="/static/images/nodata.png" mode="" />
  17. <view class="text">此项目今日还没有接待量哦~</view>
  18. </view>
  19. <view v-if="!nodata">
  20. <!-- 循环渲染的数据 -->
  21. <view class="dateList">
  22. <view class="arrs">
  23. <view class="arrs-items index1">
  24. <view class="left">
  25. 1
  26. </view>
  27. <view class="right">
  28. <view class="r-title">
  29. <text>接待量:</text>
  30. </view>
  31. <view class="r-box">
  32. <view class="r-box-item">
  33. <text>接待量</text><text class="value">{{ weekObj.receptionCount || 0 }}</text>
  34. </view>
  35. <view class="r-box-item">
  36. <text>有效接待</text><text class="value">{{ weekObj.activeCustomer || 0 }}</text>
  37. </view>
  38. <view class="r-box-item-lang">
  39. <view>有效接待率<text class="value">{{ weekObj.validReceptionRate || 0 }}%</text>
  40. </view>
  41. <view class="contrast">对比昨天<text class="value"
  42. :class="{down: weekObj.validReceptionRatePK < 0, up: weekObj.validReceptionRatePK > 0}">{{ weekObj.validReceptionRatePK > 0 ? '+' : '' }}{{ weekObj.validReceptionRatePK || 0 }}%</text>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="arrs-items index2">
  49. <view class="left">
  50. 2
  51. </view>
  52. <view class="right">
  53. <view class="r-title">
  54. <text v-if="!weekObj.orgCode">平均执行率:</text>
  55. <text v-else>销讲执行率:</text>
  56. </view>
  57. <view class="r-box">
  58. <view class="r-box-item-lang">
  59. <view>
  60. <text v-if="!weekObj.orgCode">平均执行率:</text>
  61. <text v-else>销讲执行率:</text>
  62. <text class="value">{{ weekObj.fraction || 0 }}%</text>
  63. </view>
  64. <view class="contrast">对比昨天<text class="value"
  65. :class="{down: weekObj.fractionPK < 0, up: weekObj.fractionPK > 0}">{{ weekObj.fractionPK > 0 ? '+' : '' }}{{ weekObj.fractionPK || 0 }}%</text>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="arrs-items index3">
  72. <view class="left">
  73. 3
  74. </view>
  75. <view class="right">
  76. <view class="r-title">
  77. <text>平均接待时长:</text>
  78. </view>
  79. <view class="r-box">
  80. <view class="r-box-item-lang">
  81. <view>平均接待时长<text class="value">{{ weekObj.avgDuration || 0 }}min</text></view>
  82. <view class="contrast">对比昨天<text class="value"
  83. :class="{down: weekObj.avgDurationPK < 0, up: weekObj.avgDurationPK > 0}">{{ weekObj.avgDurationPK > 0 ? '+' : '' }}{{ weekObj.avgDurationPK || 0 }}min</text>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="arrs-items index4">
  90. <view class="left">
  91. 4
  92. </view>
  93. <view class="right">
  94. <view class="r-title">
  95. <text v-if="!weekObj.orgCode">销讲维度执行前三:</text>
  96. <text v-else>项目平均执行率排名:</text>
  97. </view>
  98. <template v-if="!weekObj.orgCode">
  99. <view class="ranking">
  100. <block v-for="(rank, rankIndex) in carryOutTop" :key="rankIndex">
  101. <view class="ranking-item">
  102. <view class="serial">
  103. {{ rankIndex+1 }}
  104. </view>
  105. <view class="lside">
  106. {{ rank.title || '--' }}
  107. </view>
  108. <view class="rside">
  109. ({{ rank.value || 0 }}%)
  110. </view>
  111. </view>
  112. </block>
  113. <template v-if="carryOutTop.length == 0">
  114. <view class="empty">
  115. 暂无数据
  116. </view>
  117. </template>
  118. </view>
  119. </template>
  120. <template v-else>
  121. <!-- consultant -->
  122. <view class="ranking">
  123. <block v-for="(rank, rankIndex) in consultant" :key="rankIndex">
  124. <view class="ranking-item">
  125. <view class="serial">
  126. {{ rankIndex+1 }}
  127. </view>
  128. <view class="lside">
  129. {{ rank.title || '--' }}
  130. </view>
  131. <view class="rside">
  132. ({{ rank.value || 0 }}%)
  133. </view>
  134. </view>
  135. </block>
  136. <template v-if="consultant.length == 0">
  137. <view class="empty">
  138. 暂无数据
  139. </view>
  140. </template>
  141. </view>
  142. </template>
  143. </view>
  144. </view>
  145. <view class="arrs-items index5">
  146. <view class="left">
  147. 5
  148. </view>
  149. <view class="right">
  150. <view class="r-title">
  151. <text v-if="!weekObj.orgCode">销讲维度执行弱项前三:</text>
  152. <text v-else>项目平均接访时长排名:</text>
  153. </view>
  154. <template v-if="!weekObj.orgCode">
  155. <view class="ranking">
  156. <block v-for="(rank, rankIndex) in carryOutLast" :key="rankIndex">
  157. <view class="ranking-item">
  158. <view class="serial">
  159. {{ rankIndex+1 }}
  160. </view>
  161. <view class="lside">
  162. {{ rank.title || '--' }}
  163. </view>
  164. <view class="rside">
  165. ({{ rank.value || 0 }}%)
  166. </view>
  167. </view>
  168. </block>
  169. <template v-if="carryOutLast.length == 0">
  170. <view class="empty">
  171. 暂无数据
  172. </view>
  173. </template>
  174. </view>
  175. </template>
  176. <template v-else>
  177. <view class="ranking">
  178. <block v-for="(rank, rankIndex) in recording" :key="rankIndex">
  179. <view class="ranking-item">
  180. <view class="serial">
  181. {{ rankIndex+1 }}
  182. </view>
  183. <view class="lside">
  184. {{ rank.title || '--' }}
  185. </view>
  186. <view class="rside">
  187. ({{ rank.value/60 || 0 }}m)
  188. </view>
  189. </view>
  190. </block>
  191. <template v-if="recording.length == 0">
  192. <view class="empty">
  193. 暂无数据
  194. </view>
  195. </template>
  196. </view>
  197. </template>
  198. </view>
  199. </view>
  200. <view class="arrs-items index6" v-if="!weekObj.orgCode">
  201. <view class="left">
  202. 6
  203. </view>
  204. <view class="right">
  205. <view class="r-title">
  206. <text>置业顾问平均执行率排名:</text>
  207. </view>
  208. <view class="ranking">
  209. <block v-for="(rank, rankIndex) in consultant" :key="rankIndex">
  210. <view class="ranking-item">
  211. <view class="serial">
  212. {{ rankIndex+1 }}
  213. </view>
  214. <view class="lside">
  215. {{ rank.title || '--' }}
  216. </view>
  217. <view class="rside">
  218. ({{ rank.value || 0 }}%)
  219. </view>
  220. </view>
  221. </block>
  222. <template v-if="consultant.length == 0">
  223. <view class="empty">
  224. 暂无数据
  225. </view>
  226. </template>
  227. </view>
  228. </view>
  229. </view>
  230. <view class="arrs-items index7" v-if="!weekObj.orgCode">
  231. <view class="left">
  232. 7
  233. </view>
  234. <view class="right">
  235. <view class="r-title">
  236. <text>置业顾问平均接访时长排名:</text>
  237. </view>
  238. <view class="ranking">
  239. <block v-for="(rank, rankIndex) in recording" :key="rankIndex">
  240. <view class="ranking-item">
  241. <view class="serial">
  242. {{ rankIndex+1 }}
  243. </view>
  244. <view class="lside">
  245. {{ rank.title || '--' }}
  246. </view>
  247. <view class="rside">
  248. ({{ rank.value || 0 }}min)
  249. </view>
  250. </view>
  251. </block>
  252. <template v-if="recording.length == 0">
  253. <view class="empty">
  254. 暂无数据
  255. </view>
  256. </template>
  257. </view>
  258. </view>
  259. </view>
  260. <view class="arrs-items index8">
  261. <view class="left">
  262. <template v-if="!weekObj.orgCode">
  263. 8
  264. </template>
  265. <template v-else>
  266. 6
  267. </template>
  268. </view>
  269. <view class="right">
  270. <view class="r-title">
  271. <text v-if="!weekObj.orgCode">平均执行率最低的顾问:</text>
  272. <text v-else>执行率最低的项目:</text>
  273. </view>
  274. <view class="ranking">
  275. <block v-for="(rank, rankIndex) in lowest" :key="rankIndex">
  276. <view class="ranking-item">
  277. <view class="lside">
  278. {{ rank.title || '--' }}
  279. </view>
  280. <view class="rside value">
  281. {{ rank.value || 0 }}%
  282. </view>
  283. </view>
  284. </block>
  285. <template v-if="lowest.length == 0">
  286. <view class="empty">
  287. 暂无数据
  288. </view>
  289. </template>
  290. </view>
  291. </view>
  292. </view>
  293. <view class="arrs-items index9">
  294. <view class="left">
  295. <template v-if="!weekObj.orgCode">
  296. 9
  297. </template>
  298. <template v-else>
  299. 7
  300. </template>
  301. </view>
  302. <view class="right">
  303. <view class="r-title">
  304. <text>客户画像触达:</text>
  305. <text class="num value">{{ weekObj.reachSum || 0 }}次</text>
  306. </view>
  307. </view>
  308. </view>
  309. <view class="arrs-items index8" v-if="weekObj.orgCode">
  310. <view class="left">
  311. 8
  312. </view>
  313. <view class="right">
  314. <view class="r-title">
  315. <text>画像一级触达接待前三:</text>
  316. </view>
  317. <view class="ranking">
  318. <block v-for="(rank, rankIndex) in weekObj.level1List" :key="rankIndex">
  319. <view class="ranking-item">
  320. <view class="lside">
  321. {{ rank.name || '--' }}
  322. </view>
  323. <view class="rside value">
  324. ({{ rank.total || 0 }})
  325. </view>
  326. </view>
  327. </block>
  328. <template v-if="!weekObj.level1List || weekObj.level1List.length == 0">
  329. <view class="empty">
  330. 暂无数据
  331. </view>
  332. </template>
  333. </view>
  334. </view>
  335. </view>
  336. <view class="arrs-items index8" v-if="weekObj.orgCode">
  337. <view class="left">
  338. 9
  339. </view>
  340. <view class="right">
  341. <view class="r-title">
  342. <text>画像关键词触达接待前三:</text>
  343. </view>
  344. <view class="ranking">
  345. <block v-for="(rank, rankIndex) in weekObj.level2List" :key="rankIndex">
  346. <view class="ranking-item">
  347. <view class="lside">
  348. {{ rank.name || '--' }}
  349. </view>
  350. <view class="rside value">
  351. ({{ rank.total || 0 }})
  352. </view>
  353. </view>
  354. </block>
  355. <template v-if="!weekObj.level2List || weekObj.level2List.length == 0">
  356. <view class="empty">
  357. 暂无数据
  358. </view>
  359. </template>
  360. </view>
  361. </view>
  362. </view>
  363. <view class="arrs-items index10">
  364. <view class="left">
  365. <template v-if="!weekObj.orgCode">
  366. 12
  367. </template>
  368. <template v-else>
  369. 10
  370. </template>
  371. </view>
  372. <view class="right">
  373. <view class="r-title">
  374. <text>未标记接待数:</text>
  375. <text class="num value down"
  376. style="font-weight: 500;font-size: 34rpx;">{{ weekObj.unlabelledReceptionNum || 0 }}</text>
  377. <text class="down value">条</text>
  378. </view>
  379. </view>
  380. </view>
  381. <view class="arrs-items index11">
  382. <view class="left">
  383. <template v-if="!weekObj.orgCode">
  384. 13
  385. </template>
  386. <template v-else>
  387. 11
  388. </template>
  389. </view>
  390. <view class="right">
  391. <view class="r-title">
  392. <text>设备情况:</text>
  393. </view>
  394. <view class="r-box">
  395. <view class="r-box-item-lang">
  396. <view>在线<text class="value">{{ weekObj.equipmentInfo.onlineNum || 0 }}</text>
  397. </view>
  398. <view style="margin-left: 24rpx;">
  399. 离线<text class="value">{{ weekObj.equipmentInfo.offlineNum || 0 }}</text>
  400. </view>
  401. </view>
  402. </view>
  403. </view>
  404. </view>
  405. </view>
  406. </view>
  407. </view>
  408. </view>
  409. <!-- 底部按钮 -->
  410. <view class="nav-footer" v-if="!nodata">
  411. <view class="footer-item" @click="toHome">
  412. 回到管理端
  413. </view>
  414. <view class="footer-item" @click="copy" style="margin-left: 24rpx;">
  415. 复制内容
  416. </view>
  417. <view class="footer-item full" style="margin-left: 24rpx;" @tap="forShare">
  418. <button open-type="share" class="fulls">
  419. 一键转发
  420. </button>
  421. </view>
  422. </view>
  423. </view>
  424. </template>
  425. <script>
  426. export default {
  427. data() {
  428. return {
  429. needList: ['XJTop', 'ZXLTop', 'avgJds'], // 需要转换数组的内容
  430. carryOutTop: [], //
  431. carryOutLast: [], //
  432. consultant: [], // 置业顾问排名
  433. recording: [], // 录音排名
  434. lowest: [], // 执行率最低的顾问
  435. building: uni.getStorageSync('buildingID'),
  436. id: '', // 消息id
  437. projectName: '', // 项目名称
  438. weekObj: {}, // 日报详情
  439. nodata: false //有无数据
  440. }
  441. },
  442. onLoad(option) {
  443. if (option.id) this.id = option.id
  444. this.getMessage()
  445. },
  446. onShareAppMessage() {
  447. return {
  448. title: `${this.projectName}数智工牌日报`,
  449. path: `/pages/reportExcel/dayReport?id=${this.id}`
  450. }
  451. },
  452. methods: {
  453. // 项目拷贝
  454. copys() {
  455. let str = `
  456. ${this.projectName}数智工牌日报
  457. 生成时间:${this.weekObj.createTime || '--'}
  458. 1、接待量:${this.weekObj.receptionCount || 0 }
  459. 有效接待:${this.weekObj.activeCustomer || 0}
  460. 有效接待率:${this.weekObj.validReceptionRate || 0}%
  461. 对比昨天:${ this.weekObj.validReceptionRatePK > 0 ? '+' : '' }${ this.weekObj.validReceptionRatePK || 0 }%
  462. 2、平均执行率:${ this.weekObj.fraction || 0 }%
  463. 销讲执行率:${ this.weekObj.fractionPK > 0 ? '+' : '' }${ this.weekObj.fractionPK || 0 }%
  464. 3、平均接待时长:${ this.weekObj.avgDuration || 0 }min
  465. 对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min`
  466. if (this.consultant.length > 0) {
  467. str += `
  468. 4、项目平均执行率排名:`
  469. this.consultant.map((item, index) => {
  470. str += `
  471. top${index+1}.${item.title || '--'}${item.value||'0'}%`
  472. })
  473. }
  474. if (this.recording.length > 0) {
  475. str += `
  476. 5、项目平均接访时长排名:`
  477. this.recording.map((item, index) => {
  478. str += `
  479. top${index+1}.${item.title || '--'}${item.value/60||'0'}m`
  480. })
  481. }
  482. if (this.lowest.length > 0) {
  483. str += `
  484. 6、执行率最低的项目:`
  485. this.lowest.map((item, index) => {
  486. str += `
  487. ${item.title || '--'}${item.value||'0'}%`
  488. })
  489. }
  490. str += `
  491. 7、客户画像触达:${this.weekObj.reachSum || 0}次`
  492. if (this.weekObj.level1List.length > 0) {
  493. str += `
  494. 8、画像一级触达接待前三
  495. `
  496. this.weekObj.level1List.map((item, index) => {
  497. str += `
  498. top${index+1}.${item.name || '--'}${item.total||'0'}%`
  499. })
  500. }
  501. if (this.weekObj.level1List.length > 0) {
  502. str += `
  503. 9、画像关键词触达接待前三
  504. `
  505. this.weekObj.level1List.map((item, index) => {
  506. str += `
  507. top${index+1}.${item.name || '--'}${item.total||'0'}%`
  508. })
  509. }
  510. str += `
  511. 10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
  512. 11、设备情况:
  513. 在线:${this.weekObj.equipmentInfo.onlineNum || 0}
  514. 离线:${this.weekObj.equipmentInfo.offlineNum || 0}`
  515. uni.setClipboardData({
  516. data: str
  517. })
  518. },
  519. forShare() {
  520. this.$u.get("/zkMessage/shareMessage", {
  521. id: this.id
  522. })
  523. },
  524. // 跳转首页
  525. toHome() {
  526. uni.navigateTo({
  527. url: '/pages/index/guide'
  528. })
  529. },
  530. // 获取日报详情
  531. getMessage() {
  532. this.$u.get('/zkMessage/findByProjectId', {
  533. id: this.id
  534. }).then(res => {
  535. let data = {}
  536. if (res.zkMessage.content) {
  537. data = JSON.parse(res.zkMessage.content)
  538. this.weekObj = {
  539. ...res.zkMessage,
  540. ...data
  541. }
  542. this.nodata = false
  543. } else {
  544. this.nodata = true
  545. this.weekObj = {
  546. ...res.zkMessage
  547. }
  548. }
  549. this.projectName = res.projectName
  550. console.log(this.weekObj)
  551. this.init()
  552. }).catch(e => {
  553. console.log(e)
  554. })
  555. },
  556. copy() {
  557. if (this.weekObj.orgCode) return this.copys()
  558. let str = `
  559. ${this.projectName}数智工牌日报
  560. 生成时间:${this.weekObj.createTime || '--'}
  561. 1、接待量:${this.weekObj.receptionCount || 0 }
  562. 有效接待:${this.weekObj.activeCustomer || 0}
  563. 有效接待率:${this.weekObj.validReceptionRate || 0}%
  564. 对比昨天:${ this.weekObj.validReceptionRatePK > 0 ? '+' : '' }${ this.weekObj.validReceptionRatePK || 0 }%
  565. 2、平均执行率:${ this.weekObj.fraction || 0 }%
  566. 对比昨天:${ this.weekObj.fractionPK > 0 ? '+' : '' }${ this.weekObj.fractionPK || 0 }%
  567. 3、平均接待时长:${ this.weekObj.avgDuration || 0 }min
  568. 对比昨天:${this.weekObj.avgDurationPK > 0 ? '+' : '' }${ this.weekObj.avgDurationPK || 0 }min`
  569. if (this.carryOutTop.length > 0) {
  570. str += `
  571. 4、销讲维度执行前三:`
  572. this.carryOutTop.map((item, index) => {
  573. str += `
  574. top${index+1}.${item.title || '--'}${item.value||'0'}%`
  575. })
  576. }
  577. if (this.carryOutLast.length > 0) {
  578. str += `
  579. 5、销讲维度执行弱项前三:`
  580. this.carryOutLast.map((item, index) => {
  581. str += `
  582. top${index+1}.${item.title || '--'}${item.value||'0'}%`
  583. })
  584. }
  585. if (this.consultant.length > 0) {
  586. str += `
  587. 6、置业顾问平均执行率排名:`
  588. this.consultant.map((item, index) => {
  589. str += `
  590. top${index+1}.${item.title || '--'}${item.value||'0'}%`
  591. })
  592. }
  593. if (this.recording.length > 0) {
  594. str += `
  595. 7、置业顾问平均接访时长排名:`
  596. this.recording.map((item, index) => {
  597. str += `
  598. top${index+1}.${item.title || '--'}${item.value||'0'}min`
  599. })
  600. }
  601. if (this.lowest.length > 0) {
  602. str += `
  603. 8、平均执行率最低的顾问:`
  604. this.lowest.map((item, index) => {
  605. str += `
  606. ${item.title || '--'}${item.value||'0'}%`
  607. })
  608. }
  609. str += `
  610. 9、客户画像触达:${this.weekObj.reachSum || 0}次
  611. 10、未标记接待数:${ this.weekObj.unlabelledReceptionNum || 0 }条
  612. 11、设备情况:
  613. 在线:${this.weekObj.equipmentInfo.onlineNum || 0}
  614. 离线:${this.weekObj.equipmentInfo.offlineNum || 0}`
  615. uni.setClipboardData({
  616. data: str
  617. })
  618. },
  619. // 分割数组排名前三,倒三
  620. getTopThree() {
  621. if (this.weekObj.XJTopList && this.weekObj.XJTopList.length > 0) {
  622. let arr = this.weekObj.XJTopList.slice(0, 3)
  623. arr.forEach(item => {
  624. if (item.value != 100) {
  625. this.carryOutLast.push(item)
  626. }
  627. })
  628. this.carryOutTop = this.weekObj.XJTopList.reverse().slice(0, 3)
  629. console.log(this.weekObj.XJTopList)
  630. }
  631. if (this.weekObj.ZXLTopList && this.weekObj.ZXLTopList.length > 0) {
  632. this.consultant = this.weekObj.ZXLTopList.reverse().slice(0, 3)
  633. if (this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1].value != 100) {
  634. this.lowest.push(this.weekObj.ZXLTopList[this.weekObj.ZXLTopList.length - 1])
  635. }
  636. }
  637. if (this.weekObj.avgJdsList && this.weekObj.avgJdsList.length > 0) {
  638. this.recording = this.weekObj.avgJdsList.reverse().slice(0, 3)
  639. }
  640. },
  641. init() {
  642. // 把对象转成数组并在后续的步骤方便处理
  643. this.needList.forEach(item => {
  644. if (this.weekObj[item] && Object.keys(this.weekObj[item]).length > 0) {
  645. this.weekObj[item + 'List'] = [] // 销讲执行
  646. for (let i in this.weekObj[item]) {
  647. this.weekObj[item + 'List'].push({
  648. title: i,
  649. value: this.weekObj[item][i]
  650. })
  651. }
  652. }
  653. })
  654. this.sortInitArr()
  655. },
  656. // 排序对象转换后的数组
  657. sortInitArr() {
  658. this.needList.forEach(item => {
  659. if (this.weekObj[item + 'List']) {
  660. this.bubbleSort(this.weekObj[item + 'List'])
  661. }
  662. })
  663. this.getTopThree()
  664. },
  665. // 冒泡排序
  666. bubbleSort(arr) {
  667. for (let i = 0; i < arr.length - 1; i += 1) {
  668. //通过 arr.length 次把第一位放到最后,完成排序
  669. //-i是因为最后的位置是会动态改变的,当完成一次后,最后一位会变成倒数第二位
  670. for (let j = 0; j < arr.length - 1 - i; j += 1) {
  671. if (arr[j].value > arr[j + 1].value) {
  672. const temp = arr[j];
  673. arr[j] = arr[j + 1];
  674. arr[j + 1] = temp;
  675. }
  676. }
  677. }
  678. },
  679. },
  680. filters: {
  681. fomatDate(date) {
  682. if (!date) return '--'
  683. let arr = date.split(' ')
  684. let str = arr[0]
  685. let result = str.split('-')
  686. return `${result[1]}-${result[2]}`
  687. }
  688. }
  689. }
  690. </script>
  691. <style lang="scss" scoped>
  692. .pages {
  693. width: 100vw;
  694. min-height: 100vh;
  695. display: flex;
  696. flex-direction: column;
  697. .nav-header {
  698. flex-shrink: 0;
  699. }
  700. .container {
  701. padding: 30rpx 30rpx 0;
  702. flex-grow: 1;
  703. display: flex;
  704. flex-direction: column;
  705. .c-head-card {
  706. padding: 30rpx;
  707. width: 100%;
  708. min-height: 252rpx;
  709. border: 2rpx solid #000000;
  710. border-radius: 12rpx;
  711. box-shadow: 10rpx 10rpx #2671E2;
  712. display: flex;
  713. flex-direction: column;
  714. .c-title-text {
  715. // position: relative;
  716. flex-grow: 1;
  717. font-size: 48rpx;
  718. font-weight: bold;
  719. color: #303030;
  720. }
  721. .date {
  722. // position: absolute;
  723. // right: 0;
  724. // bottom: 6rpx;
  725. font-size: 30rpx;
  726. color: #303030;
  727. }
  728. .creative-time {
  729. margin: 20rpx 0 0 0;
  730. flex-shrink: 0;
  731. }
  732. }
  733. .dateList {
  734. width: 100%;
  735. .arrs {
  736. width: 100%;
  737. .arrs-items {
  738. margin: 40rpx 0 0 0;
  739. display: flex;
  740. min-height: 100rpx;
  741. .left {
  742. flex-shrink: 0;
  743. margin-right: 12rpx;
  744. width: 48rpx;
  745. height: 44rpx;
  746. display: flex;
  747. justify-content: center;
  748. align-items: center;
  749. border-radius: 8rpx;
  750. border: 1rpx solid #999999;
  751. font-size: 32rpx;
  752. }
  753. .right {
  754. flex-grow: 1;
  755. .r-title {
  756. font-size: 32rpx;
  757. height: 44rpx;
  758. display: flex;
  759. align-items: center;
  760. .num {
  761. font-size: 34rpx;
  762. }
  763. }
  764. .r-box {
  765. padding: 21rpx 0 0 0;
  766. display: flex;
  767. flex-wrap: wrap;
  768. .r-box-item {
  769. margin-right: 24rpx;
  770. }
  771. .r-box-item-lang {
  772. margin-top: 19rpx;
  773. width: 100%;
  774. display: flex;
  775. align-items: center;
  776. .contrast {
  777. margin: 0 0 0 24rpx;
  778. display: flex;
  779. align-items: center;
  780. }
  781. .down {
  782. color: #E7483C;
  783. font-size: 34rpx;
  784. }
  785. .up {
  786. font-size: 34rpx;
  787. color: #43CD80;
  788. }
  789. }
  790. }
  791. .ranking {
  792. padding: 21rpx 0 0 0;
  793. display: flex;
  794. flex-direction: column;
  795. .ranking-item {
  796. margin-bottom: 22rpx;
  797. display: flex;
  798. align-items: center;
  799. font-size: 30rpx;
  800. .serial {
  801. flex-shrink: 0;
  802. width: 42rpx;
  803. height: 42rpx;
  804. background: #2671E2;
  805. border-radius: 50%;
  806. display: flex;
  807. justify-content: center;
  808. align-items: center;
  809. color: #fff;
  810. }
  811. .lside {
  812. margin: 0 20rpx;
  813. color: #505050;
  814. }
  815. .rside {
  816. flex-shrink: 0;
  817. font-size: 32rpx;
  818. }
  819. }
  820. }
  821. }
  822. }
  823. }
  824. }
  825. }
  826. .nav-footer {
  827. position: sticky;
  828. bottom: 0;
  829. padding: 32rpx;
  830. width: 100%;
  831. display: flex;
  832. justify-content: center;
  833. background: #fff;
  834. .footer-item {
  835. flex: 1;
  836. height: 88rpx;
  837. display: flex;
  838. justify-content: center;
  839. align-items: center;
  840. color: #2671E2;
  841. border: 2rpx solid #2671E2;
  842. border-radius: 8rpx;
  843. overflow: hidden;
  844. font-size: 32rpx;
  845. &.full {
  846. background: #2671E2;
  847. color: #fff;
  848. .fulls {
  849. box-sizing: border-box;
  850. width: 100%;
  851. height: 100%;
  852. background: transparent;
  853. color: #fff;
  854. font-size: 32rpx;
  855. font-weight: normal;
  856. line-height: 88rpx;
  857. }
  858. }
  859. }
  860. }
  861. .up {
  862. color: #43CD80 !important;
  863. }
  864. .down {
  865. color: #E6273A !important;
  866. }
  867. .empty {
  868. width: 100%;
  869. line-height: 48rpx;
  870. }
  871. .value {
  872. margin-left: 5rpx;
  873. font-size: 30rpx !important;
  874. font-weight: bold !important;
  875. }
  876. .nodata-box {
  877. width: 750rpx;
  878. margin: 20rpx auto 0;
  879. display: flex;
  880. justify-content: center;
  881. align-items: center;
  882. flex-direction: column;
  883. background-color: #fff;
  884. .img {
  885. width: 400rpx;
  886. height: 400rpx;
  887. }
  888. .text {
  889. text-align: center;
  890. font-size: 28rpx;
  891. font-family: PingFangSC-Regular, PingFang SC;
  892. font-weight: 400;
  893. color: #666666;
  894. line-height: 40rpx;
  895. // margin-top: -40rpx;
  896. }
  897. }
  898. }
  899. </style>