AI销管
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

requireminingAnalysis.vue 18 KiB

1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
1 год назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. <template>
  2. <view class="box">
  3. <!-- 选择器 -->
  4. <view class="boxtittab">
  5. <view class="tabbox" @click="timeshow=true" style="color:#409eff">
  6. {{ time }}
  7. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  8. </view>
  9. <view class="tabbox" @click="deptshow=true" :style="dept=='部门'?'color:#666':'color:#409eff'">
  10. {{ dept}}
  11. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  12. </view>
  13. <view class="tabbox" @click="guwenshow=true" :style="guwen=='顾问'?'color:#666':'color:#409eff'">
  14. {{ guwen}}
  15. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  16. </view>
  17. </view>
  18. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  19. <view class="boxzonglan" style="min-height: 400rpx;">
  20. <view class="zonglantitle">简报 <text @click="showDesc=true">统计说明</text></view>
  21. <view class="zonglanbox">
  22. <view class="grid" style="height: auto;" v-for="(item,index) in numlist" :key="index">
  23. <view class="audonum">{{item.name}}</view>
  24. <view class="num">{{item.firstnum||0}}</view>
  25. <view class="bottom">
  26. <view class="leftnum">对比:{{item.endnum||0}}</view>
  27. <view class="rightnum" :class="item.duibinum>0?'red':'green'">{{item.duibinum||0}}
  28. <image v-if="item.duibinum>0" src="https://static.quhouse.com/c4145f84cc3c49769ee2ec11465c085b.png" mode="" />
  29. <image v-else src="https://static.quhouse.com/c5dbf780e09a4da0b0bab2d7fa58accd.png" mode="" />
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <!-- 统计说明 -->
  36. <view class="black-bg" v-if="showDesc">
  37. <view class="tongjiDesc">
  38. <view class="tongji-title">统计说明</view>
  39. <view class="text">
  40. <view><text class="bold">平均挖掘执行率:</text>筛选时间内,有效接待中已标记顾问的挖掘执行率的平均值;</view>
  41. <view><text class="bold">未标记:</text>筛选时间内,有效接待中未标记顾问的接待数;</view>
  42. <view><text class="bold">有效接待:</text>筛选时间内,标记为有效的接待数,不包含待接单;</view>
  43. <view><text class="bold">未挖掘数:</text>筛选时间内,挖掘平均执行率为0的接待数;</view>
  44. </view>
  45. </view>
  46. <view class="close" @click="showDesc=false">X</view>
  47. </view>
  48. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  49. <view class="single">
  50. <view class="title">
  51. <view class="title1">平均挖掘执行率趋势</view>
  52. </view>
  53. <view class="uchaserbox">
  54. <qiun-data-charts
  55. type="line"
  56. :chartData="lineOptsect"
  57. :opts="lineOpts"
  58. background="none"
  59. :ontouch="true"
  60. canvasId="wangxiaohuaerlingilingwuyiba2"
  61. :canvas2d="true" />
  62. </view>
  63. </view>
  64. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  65. <view class="single">
  66. <view class="title">
  67. <view class="title1">需求挖掘分布</view>
  68. </view>
  69. <view class="uchaserbox">
  70. <qiun-data-charts
  71. type="ring"
  72. :chartData="ringChartData"
  73. :canvas2d="true"
  74. canvasId="ChartBoxIdwangxiaohuaerlingilingwuyiba1"
  75. :opts='opts'
  76. background="none" />
  77. </view>
  78. </view>
  79. <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
  80. <view class="single">
  81. <view class="title">
  82. <view class="title1">需求挖掘排名</view>
  83. </view>
  84. <view class="tabdada">
  85. <view class="tabth">
  86. <view>排名</view>
  87. <view>需求类型/挖掘执行接待数</view>
  88. <view>执行率</view>
  89. <view>操作</view>
  90. </view>
  91. <view v-if="total==0" style="color: #999999;width: 100%;height: 500rpx;line-height: 500rpx;text-align: center;" >暂无数据</view>
  92. <view class="tabtd" v-for="(item,i) in rankList" :key="i">
  93. <view>
  94. <image v-if="i==0" class="ranking" src="../../../static/images/ranking1.png" mode=""></image>
  95. <image v-else-if="i==1" class="ranking" src="../../../static/images/ranking2.png" mode=""></image>
  96. <image v-else-if="i==2" class="ranking" src="../../../static/images/ranking3.png" mode=""></image>
  97. <view class="ranking1" v-else>{{i+1}}</view>
  98. </view>
  99. <view class="u-line-1">{{item.name}}({{item.selected}})</view>
  100. <view>{{max100(item.fraction)}}%</view>
  101. <view @click="Toview(item,i)">查看</view>
  102. </view>
  103. </view>
  104. </view>
  105. <u-popup v-model="timeshow" mode="bottom">
  106. <view class="timeview" :style="{ color: activeTotal == 2 ? '#2B6EFF' : '#333333' }"
  107. @click="tabtimetap(2, '近7天')">
  108. 近7天</view>
  109. <view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }"
  110. @click="tabtimetap(5, '近15天')">
  111. 近15天</view>
  112. <view class="timeview" :style="{ color: activeTotal == 6 ? '#2B6EFF' : '#333333' }"
  113. @click="tabtimetap(6, '近30天')">
  114. 近30天</view>
  115. <view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }"
  116. @click="tabtimetap(4,'自定义')">
  117. 自定义</view>
  118. </u-popup>
  119. <u-calendar v-model="calendarShow" mode="range" @change="calendarTimeChange"></u-calendar>
  120. <u-select v-model="guwenshow" :list="staffList" @confirm="guwenCallback"
  121. :default-value='selindex'></u-select>
  122. <u-select v-model="deptshow" :list="teamList" @confirm="deptCallback"
  123. :default-value='selindex'></u-select>
  124. <!-- 加载组件 -->
  125. <!-- <loading v-model="LOADING"></loading> -->
  126. </view>
  127. </template>
  128. <script>
  129. // var config = require("../../../config");
  130. // import loading from "@/components/loading/index.vue"
  131. export default {
  132. components: {
  133. // loading
  134. },
  135. data() {
  136. return {
  137. LOADING: true,
  138. selindex: '',
  139. guwenshow: false,
  140. timeshow: false,
  141. selectshow: false,
  142. deptshow: false,
  143. deptVal: '',
  144. huashuVal: '',
  145. guwenVal: '',
  146. // 筛选文字展示
  147. time: '近7天',
  148. dept: '部门',
  149. guwen: '顾问',
  150. showDesc: false,
  151. rankList: [],//排名列表
  152. ringChartData: {
  153. },
  154. // ring图 分布图
  155. opts: {
  156. rotate: false,
  157. rotateLock: false,
  158. color: ['#F8A12B','#07B79D','#E7483C','#2671E1'],
  159. padding: [5,5,5,5],
  160. dataLabel: true,
  161. legend: {
  162. show: true,
  163. position: "right",
  164. lineHeight: 25
  165. },
  166. title: {
  167. name: "",
  168. fontSize: 15,
  169. color: "#666666"
  170. },
  171. subtitle: {
  172. name: "",
  173. fontSize: 25,
  174. color: "#7cb5ec"
  175. },
  176. extra: {
  177. ring: {
  178. ringWidth: 60,
  179. activeOpacity: 0.5,
  180. activeRadius: 10,
  181. offsetAngle: 0,
  182. labelWidth: 15,
  183. border: false,
  184. borderWidth: 3,
  185. borderColor: "#FFFFFF"
  186. }
  187. }
  188. },
  189. activeTotal: 2,
  190. houseId: '',
  191. // hushuList: [],// 业务话术
  192. staffList: [],// 员工列表
  193. teamList: [],// 团队列表
  194. team: {
  195. value: '',
  196. label: ''
  197. },
  198. startDate: '',
  199. endDate: '',
  200. calendarShow: false,
  201. numlist: [{
  202. name: '平均挖掘执行率',
  203. firstnum: '',
  204. endnum: '',
  205. duibinum: '',
  206. setName: 'wordFraction'
  207. }, {
  208. name: '未挖掘需求',
  209. firstnum: '',
  210. endnum: '',
  211. duibinum: '',
  212. setName: 'noFinishWord'
  213. },
  214. {
  215. name: '有效接待',
  216. firstnum: '',
  217. endnum: '',
  218. duibinum: '',
  219. setName: 'activeCustomer'
  220. },
  221. {
  222. name: '未标记',
  223. firstnum: '',
  224. endnum: '',
  225. duibinum: '',
  226. setName: 'markAdvisor'
  227. },
  228. ],
  229. lineOptsect: {
  230. "categories": [],
  231. "series": [{
  232. "name": "起始时间",
  233. "data": []
  234. },{
  235. "name": "对比时间",
  236. "data": []
  237. }]
  238. },
  239. lineOpts: {
  240. // xAxis: {
  241. // rotateLabel: true
  242. // },
  243. yAxis: {
  244. data: [{
  245. max: 100,
  246. min: 0,
  247. }]
  248. }
  249. }
  250. };
  251. },
  252. onShow() {
  253. // 获取项目id
  254. this.houseId = uni.getStorageSync('buildingID').id;
  255. // 获取员工
  256. // this.getStaffList()
  257. // // 获取团队
  258. // this.getSectionList()
  259. // this.getdata()
  260. },
  261. onReady: function(){
  262. // 获取项目id
  263. this.houseId = uni.getStorageSync('buildingID').id;
  264. // 获取员工
  265. // this.getStaffList()
  266. // // 获取团队
  267. // this.getSectionList()
  268. // this.getdata()
  269. },
  270. methods: {
  271. max100(num) {
  272. if(num>100){
  273. return 100
  274. } else if(!num){
  275. return 0;
  276. }else{
  277. return num;
  278. }
  279. },
  280. getdata(){
  281. // 挖掘分析-简报
  282. this.wordMiningAnalyze()
  283. //挖掘排行
  284. this.getwordMiningRank()
  285. // 挖掘趋势图
  286. this.getwordMiningAnalyzePercentage()
  287. // 挖掘分布图
  288. this.getRingData()
  289. },
  290. // 挖掘排行
  291. getwordMiningRank(){
  292. let dateType = 0;
  293. if (this.activeTotal == 4) {// 选择全部和自定义
  294. dateType = null;
  295. }else {
  296. dateType = this.activeTotal;
  297. this.startDate = ''
  298. this.endDate = ''
  299. }
  300. this.$u.post('/cusLvStatistics/wordMiningRank', {
  301. "houseId": this.houseId,
  302. "deptId": this.deptVal,
  303. "createUser": this.guwenVal,
  304. "dateType":dateType,
  305. "firstStartDate":this.startDate,
  306. "firstEndDate":this.endDate
  307. })
  308. .then(res => {
  309. // console.log(res)
  310. if(res.length){
  311. this.rankList = res.map(item=>{
  312. return {
  313. name: item.name,
  314. id: item.id,
  315. fraction: item.fraction,
  316. selected: item.selected,
  317. keywordsId: item.keywordsId
  318. }
  319. })
  320. }else{
  321. this.rankList = []
  322. }
  323. })
  324. },
  325. // 挖掘分布图
  326. getRingData(){
  327. let dateType = 0;
  328. if (this.activeTotal == 4) {// 选择自定义
  329. dateType = null;
  330. }else {
  331. dateType = this.activeTotal;
  332. this.startDate = ''
  333. this.endDate = ''
  334. }
  335. this.$u.post('/cusLvStatistics/wordMiningAnalyzeFenbu', {
  336. "houseId": this.houseId,
  337. "deptId": this.deptVal,
  338. "createUser": this.guwenVal,
  339. "dateType":dateType,
  340. "firstStartDate":this.startDate,
  341. "firstEndDate":this.endDate
  342. })
  343. .then(res => {
  344. // console.log(res)
  345. this.ringChartData = { series: [
  346. {
  347. data: [
  348. {"name":"30%及以下","value":res.a},
  349. {"name":"31%~50%","value":res.b},
  350. {"name":"51%~70%","value":res.c},
  351. {"name":"71%及以上","value":res.d},
  352. ]
  353. }
  354. ]}
  355. })
  356. },
  357. //跳转到接待记录
  358. Toview(item,i){
  359. uni.navigateTo({
  360. url: '/pages/center/records/index?refresh=refresh&activeTotal='+this.activeTotal+'&staTime='+ this.startDate + '&endTime='+this.endDate+'&validInvalid=0'+'&keywordsId='+item.keywordsId+'&source=wajue'
  361. });
  362. },
  363. // 挖掘分析-简报
  364. wordMiningAnalyze() {
  365. let dateType = 0;
  366. if (this.activeTotal == 4) {// 选择全部和自定义
  367. dateType = null;
  368. }else {
  369. dateType = this.activeTotal;
  370. this.startDate = ''
  371. this.endDate = ''
  372. }
  373. let params = {
  374. "houseId": this.houseId,
  375. "deptId": this.deptVal,
  376. "createUser": this.guwenVal,
  377. "dateType":dateType,
  378. "firstStartDate":this.startDate,
  379. "firstEndDate":this.endDate
  380. }
  381. this.$u.post("/cusLvStatistics/wordMiningAnalyze",params).then(res => {
  382. // console.log(res.contrast)
  383. res.contrast.wordFraction = (res.contrast.wordFraction||0) + '%'
  384. res.first.wordFraction = this.max100(res.first.wordFraction) + '%'
  385. res.end.wordFraction = this.max100(res.end.wordFraction) + '%'
  386. this.numlist.forEach(item => {
  387. item.duibinum = res.contrast[item.setName]
  388. item.endnum = res.end[item.setName]
  389. item.firstnum = res.first[item.setName]
  390. })
  391. })
  392. },
  393. // 获取员工列表
  394. getStaffList() {
  395. this.$u.post('/cusLvStatistics/selectAllAccountIdByHouseId', {
  396. houseId: this.houseId
  397. })
  398. .then(res => {
  399. // console.log(res)
  400. if(res.length){
  401. this.staffList = res.map(item => {
  402. return {
  403. label: item.name,
  404. value: item.accountId
  405. }
  406. })
  407. this.staffList.unshift({
  408. label: '全部',
  409. value: ''
  410. })
  411. }
  412. })
  413. },
  414. // 挖掘率趋势图
  415. getwordMiningAnalyzePercentage() {
  416. let categories1 = []
  417. let categories2 = []
  418. let categories3 = []
  419. let dateType = 0;
  420. if (this.activeTotal == 4) {// 选择全部和自定义
  421. dateType = null;
  422. }else {
  423. dateType = this.activeTotal;
  424. this.startDate = ''
  425. this.endDate = ''
  426. }
  427. this.$u.post('/cusLvStatistics/wordMiningAnalyzePercentage', {
  428. "houseId": this.houseId,
  429. "deptId": this.deptVal,
  430. "createUser": this.guwenVal,
  431. "dateType":dateType,
  432. "firstStartDate":this.startDate,
  433. "firstEndDate":this.endDate
  434. })
  435. .then(res => {
  436. if(res.first&&res.first.length){
  437. categories1 = res.first.map(item=> item.statDate.substring(5,10))
  438. this.lineOptsect.series[0].data=res.first.map(item=> item.wordFraction)
  439. }else{
  440. categories1= []
  441. this.lineOptsect.series[0].data = []
  442. }
  443. if(res.end&&res.end.length){
  444. this.lineOptsect.series[1].data=res.end.map(item=> item.wordFraction)
  445. categories2 = res.end.map(item => item.statDate.substring(5,10))
  446. }else{
  447. categories2 = []
  448. this.lineOptsect.series[1].data = []
  449. }
  450. for(let i=0;i<categories1.length;i++){
  451. categories3.push(categories1[i]+'/'+categories2[i])
  452. }
  453. // console.log(categories3)
  454. this.lineOptsect.categories = categories3
  455. })
  456. },
  457. // 获取团队列表
  458. getSectionList() {
  459. this.$u.post('/cusLvStatistics/findAllDeptIdByHouseId', {
  460. houseId: this.houseId
  461. })
  462. .then(res => {
  463. this.teamList = []
  464. if(res.length){
  465. this.teamList = res.map(item=> {
  466. return {
  467. label: item.deptName,
  468. value: item.deptId
  469. }
  470. })
  471. this.teamList.unshift({
  472. label: '全部',
  473. value: ''
  474. })
  475. }
  476. })
  477. },
  478. //时间切换
  479. tabtimetap(index, text) {
  480. this.activeTotal = index;
  481. if (index == 4) {
  482. this.calendarShow = true;
  483. } else {
  484. this.endDate = ''
  485. this.startDate = ''
  486. this.time = text
  487. this.getdata()
  488. }
  489. this.timeshow = false
  490. },
  491. // 顾问选择
  492. guwenCallback(e){
  493. // console.log(e)
  494. this.guwenVal = e[0].value
  495. this.guwen = e[0].label
  496. this.getdata()
  497. },
  498. // 部门选择
  499. deptCallback(e){
  500. // console.log(e)
  501. this.deptVal = e[0].value
  502. this.dept = e[0].label
  503. this.getdata()
  504. },
  505. //自定义时间
  506. calendarTimeChange(e) {
  507. this.endDate = e.endDate
  508. this.startDate = e.startDate
  509. this.time = '自定义'
  510. this.getdata()
  511. }
  512. }
  513. };
  514. </script>
  515. <style lang="scss" scoped>
  516. .box {
  517. width: 100%;
  518. height: 100%;
  519. background: #FAFAFA;
  520. }
  521. //时间切换的样式
  522. .boxtittab {
  523. position: sticky;
  524. top: var(--window-top);
  525. z-index: 999;
  526. width: 100;
  527. height: 92rpx;
  528. background: #FFFFFF;
  529. border: 1px solid #E0E0E0;
  530. display: flex;
  531. align-items: center;
  532. .tabbox {
  533. flex: 1;
  534. height: 100%;
  535. text-align: center;
  536. line-height: 92rpx;
  537. color: #666666;
  538. font-size: 28rpx;
  539. overflow: hidden;
  540. text-overflow: ellipsis;
  541. display: -webkit-box;
  542. /* 将对象作为弹性伸缩盒子模型显示 */
  543. -webkit-line-clamp: 1;
  544. /* 控制最多显示几行 */
  545. -webkit-box-orient: vertical;
  546. /* 设置或检索伸缩盒对象的子元素的排列方式 */
  547. }
  548. }
  549. .timeview {
  550. height: 80rpx;
  551. line-height: 80rpx;
  552. width: 100%;
  553. text-align: center;
  554. border-bottom: 1px solid #F8F8F8;
  555. }
  556. .black-bg{
  557. position: fixed;
  558. background: rgba(0,0,0,0.6);
  559. left: 0;
  560. right: 0;
  561. top: 0;
  562. bottom: 0;
  563. display: flex;
  564. flex-direction: column;
  565. justify-content: center;
  566. align-items: center;
  567. z-index: 9999;
  568. .tongjiDesc{
  569. width: 80%;
  570. background: #FFFFFF;
  571. border-radius: 12rpx;
  572. padding: 30rpx;
  573. }
  574. .close{
  575. background: #fff;
  576. border-radius: 50%;
  577. width: 80rpx;
  578. height: 80rpx;
  579. margin-top: 30rpx;
  580. display: flex;
  581. justify-content: center;
  582. align-items: center;
  583. }
  584. .tongji-title{
  585. text-align: center;
  586. font-size: 30rpx;
  587. margin-bottom: 20rpx;
  588. }
  589. .text view{
  590. margin-bottom: 24rpx;
  591. }
  592. .bold{
  593. font-weight: bold;
  594. }
  595. }
  596. .grid{
  597. border: 1rpx solid #eee;
  598. }
  599. .grid:nth-child(1) {
  600. border-right: none;
  601. border-bottom: none;
  602. }
  603. .grid:nth-child(2) {
  604. border-bottom: none;
  605. }
  606. .grid:nth-child(3) {
  607. border-right: none;
  608. }
  609. .grid .bottom{
  610. display: flex;
  611. align-items: center;
  612. padding-left: 20rpx;
  613. margin: 10rpx 0 20rpx;
  614. .leftnum{
  615. height: 36rpx;
  616. font-size: 26rpx;
  617. font-family: PingFangSC-Regular, PingFang SC;
  618. font-weight: 400;
  619. color: #666666;
  620. line-height: 36rpx;
  621. margin-right: 20rpx;
  622. }
  623. .rightnum{
  624. height: 36rpx;
  625. font-size: 26rpx;
  626. font-family: PingFangSC-Semibold, PingFang SC;
  627. font-weight: 600;
  628. color: #666;
  629. line-height: 36rpx;
  630. display: flex;
  631. align-items: center;
  632. &.red{
  633. color: #E6273A;
  634. }
  635. &.green{
  636. color: #43CD80;
  637. }
  638. image{
  639. width: 18rpx;
  640. height: 14rpx;
  641. margin-left: 6rpx;
  642. }
  643. }
  644. }
  645. .zonglantitle{
  646. display: flex;
  647. justify-content: space-between;
  648. align-items: center;
  649. text{
  650. color: #666666;
  651. }
  652. }
  653. .uchaserbox{
  654. width: 100%;
  655. height: 500rpx;
  656. }
  657. .tabdada {
  658. width: 100%;
  659. height: auto;
  660. padding-bottom: 40rpx;
  661. .tabth {
  662. width: 100%;
  663. height: 28rpx;
  664. display: flex;
  665. font-size: 28rpx;
  666. line-height: 28rpx;
  667. color: #666666;
  668. margin-top: 28rpx;
  669. }
  670. .tabth>view:nth-of-type(1) {
  671. width: 10%;
  672. text-align: center;
  673. }
  674. .tabth>view:nth-of-type(2) {
  675. width: 46%;
  676. text-align: center;
  677. }
  678. .tabth>view:nth-of-type(3) {
  679. width: 22%;
  680. text-align: center;
  681. }
  682. .tabth>view:nth-of-type(4) {
  683. width: 22%;
  684. text-align: center;
  685. }
  686. .tabtd {
  687. width: 100%;
  688. height: 30rpx;
  689. display: flex;
  690. font-size: 26rpx;
  691. line-height: 30rpx;
  692. margin-top: 32rpx;
  693. }
  694. .tabtd>view:nth-of-type(1) {
  695. width: 10%;
  696. text-align: center;
  697. line-height: 30rpx;
  698. }
  699. .tabtd>view:nth-of-type(2) {
  700. width: 46%;
  701. max-width: 400rpx;
  702. text-align: center;
  703. color: #333333;
  704. }
  705. .tabtd>view:nth-of-type(3) {
  706. width: 22%;
  707. text-align: center;
  708. color: #333333;
  709. }
  710. .tabtd>view:nth-of-type(4) {
  711. width: 22%;
  712. text-align: center;
  713. color: #2671E2;
  714. }
  715. .ranking {
  716. width: 34rpx;
  717. height: 34rpx;
  718. }
  719. .ranking1 {
  720. width: 30rpx;
  721. height: 30rpx;
  722. background: #ECF1FF;
  723. color: #424D64;
  724. font-size: 18rpx;
  725. text-align: center;
  726. line-height: 30rpx;
  727. border-radius: 50%;
  728. margin: 0 auto;
  729. }
  730. .tabech {
  731. width: 100%;
  732. height: 600rpx;
  733. }
  734. }
  735. </style>