AI销管
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

dayReport.vue 22 KiB

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