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.

dayReport.vue 21 KiB

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