securityHidden.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888
  1. <!-- 数据看板-安全隐患 -->
  2. <template>
  3. <view class="hazardSources">
  4. <view class="small-title">
  5. <view class="small-title-l">安全检查校级巡查计划标题标题标题标题标题</view>
  6. <img class="small-title-r" src="@/pages/images/dataBoard/icon_06.png">
  7. </view>
  8. <view class="chart">
  9. <view class="chart-t">
  10. <view class="chart-t-li" :class="chartIndex==index?'color-A':'color-B'" @click="chartClick(index)"
  11. v-for="(item,index) in chartTitle">{{item}}</view>
  12. </view>
  13. <view class="chart-b" v-if="chartIndex==0">
  14. <qiun-data-charts type="column" :opts="opts" :echartsH5="true" :chartData="chartData" />
  15. </view>
  16. <view class="chart-b2" v-if="chartIndex==0">
  17. <view class="chart-b2-li">
  18. <view class="chart-b2-li-t">
  19. <text>1</text>
  20. <text>农学院</text>
  21. </view>
  22. <view class="chart-b2-li-b">132</view>
  23. </view>
  24. <view class="chart-b2-li">
  25. <view class="chart-b2-li-t">
  26. <text>1</text>
  27. <text>理学院</text>
  28. </view>
  29. <view class="chart-b2-li-b">132</view>
  30. </view>
  31. <view class="chart-b2-li">
  32. <view class="chart-b2-li-t">
  33. <text>1</text>
  34. <text>生命科学</text>
  35. </view>
  36. <view class="chart-b2-li-b">132</view>
  37. </view>
  38. </view>
  39. <view class="chart-b-tow" v-if="chartIndex==1 || chartIndex==2">
  40. <qiun-data-charts type="radar" :opts="optsTow" :echartsH5="true" :chartData="chartDataTow" />
  41. </view>
  42. </view>
  43. <scroll-view scroll-x @scrolltolower="scrollGet" v-if="chartIndex!=0">
  44. <view class="tabTitle_tow">
  45. <view class="tabTitle_tow_li" @tap="tabClickTow(item,index)" :key="index"
  46. v-for="(item,index) in tabTextTow">
  47. <view :class="{on:curTabTow==index}" class="tabTitle_tow_text">{{item}}</view>
  48. <view :class="{on:curTabTow==index}" class="tabTitle_tow_across"></view>
  49. </view>
  50. </view>
  51. </scroll-view>
  52. <!--安全隐患排行 -->
  53. <view class="table" v-if="chartIndex==0">
  54. <view class="table-border">
  55. <view class="table-th">
  56. <view class="table-th-li">
  57. <view>排行</view>
  58. <view>学院单位</view>
  59. <view>总隐患</view>
  60. <view>已整改</view>
  61. <view>未整改</view>
  62. <view>暂无法整改</view>
  63. </view>
  64. </view>
  65. <view class="table-tb">
  66. <view class="table-tb-li" v-for="(item,index) in dataList" :key="index">
  67. <view>
  68. <text
  69. :class="index==0?'sortOne':(index==1?'sortTow':(index==2?'sortThree':'sortFive'))">{{index+1}}</text>
  70. </view>
  71. <view>{{item.data1}}</view>
  72. <view>{{item.data2}}</view>
  73. <view>{{item.data2}}</view>
  74. <view>{{item.data2}}</view>
  75. <view>{{item.data2}}</view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. <!-- 一级指标排行 -->
  81. <view class="table-tow" v-if="chartIndex!=0 && curTabTow==0">
  82. <view class="table-border">
  83. <view class="table-th">
  84. <view class="table-th-li">
  85. <view>序号</view>
  86. <view>一级指标</view>
  87. <view>隐患数</view>
  88. <view>占比</view>
  89. </view>
  90. </view>
  91. <view class="table-tb">
  92. <view class="table-tb-li" v-for="(item,index) in dataList" :key="index">
  93. <view>
  94. <text
  95. :class="index==0?'sortOne':(index==1?'sortTow':(index==2?'sortThree':'sortFive'))">{{index+1}}</text>
  96. </view>
  97. <view>{{item.data1}}</view>
  98. <view>{{item.data2}}</view>
  99. <view>{{item.data2}}</view>
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. <!--学院单位 -->
  105. <view class="table-three" v-if="chartIndex!=0 && curTabTow==1">
  106. <view class="table-border">
  107. <view class="table-th">
  108. <view class="table-th-li">
  109. <view>排行</view>
  110. <view>学院单位</view>
  111. <view>总隐患</view>
  112. <view>实验场所</view>
  113. <view>安全设施</view>
  114. <view>化学安全</view>
  115. <view>基础安全</view>
  116. <view>生物安全</view>
  117. <view>特种与冷热设备</view>
  118. </view>
  119. </view>
  120. <view class="table-tb">
  121. <view class="table-tb-li" v-for="(item,index) in dataList" :key="index">
  122. <view>
  123. <text
  124. :class="index==0?'sortOne':(index==1?'sortTow':(index==2?'sortThree':'sortFive'))">{{index+1}}</text>
  125. </view>
  126. <view>{{item.data1}}</view>
  127. <view>{{item.data2}}</view>
  128. <view>{{item.data2}}</view>
  129. <view>{{item.data2}}</view>
  130. <view>{{item.data2}}</view>
  131. <view>{{item.data2}}</view>
  132. <view>{{item.data2}}</view>
  133. <view>{{item.data2}}</view>
  134. </view>
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. </template>
  140. <script>
  141. import {
  142. config
  143. } from '@/api/request/config.js'
  144. import {
  145. } from '@/pages_basics/api/index.js'
  146. export default {
  147. name: "hazardSources",
  148. components: {
  149. },
  150. data() {
  151. return {
  152. chartType: 3,
  153. chartTitle: ['安全隐患排行', '一级指标排行', '暂无法整改'],
  154. chartIndex: 0,
  155. opts: {
  156. color: ["#149F12", "#FF0000", "#FF9D25", ],
  157. padding: [15, 15, 4, 5],
  158. enableScroll: false,
  159. legend: {
  160. position: 'top',
  161. fontColor: '#fff',
  162. },
  163. xAxis: {
  164. disableGrid: true,
  165. disabled: true,
  166. axisLine: false,
  167. },
  168. yAxis: {
  169. disableGrid: true,
  170. data: [{
  171. disabled: true,
  172. }]
  173. },
  174. extra: {
  175. column: {
  176. type: "group",
  177. width: 14,
  178. linearType: "opacity",
  179. linearOpacity: 0.6,
  180. }
  181. }
  182. },
  183. optsTow: {
  184. color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4",
  185. "#ea7ccc"
  186. ],
  187. padding: [5, 5, 5, 5],
  188. dataLabel: false,
  189. enableScroll: false,
  190. legend: {
  191. show: false,
  192. },
  193. extra: {
  194. radar: {
  195. gridType: "radar",
  196. gridColor: "#CCCCCC",
  197. gridCount: 3,
  198. opacity: 0.2,
  199. max: 200,
  200. labelShow: true,
  201. border: true,
  202. labelColor:'#fff',
  203. }
  204. }
  205. },
  206. chartData: {},
  207. chartDataTow: {},
  208. // 查询参数
  209. queryParams: {
  210. page: 1,
  211. pageSize: 10,
  212. },
  213. dataList: [{
  214. data1: '植物保护',
  215. data2: '499',
  216. data3: '47',
  217. data4: '220',
  218. data5: '137',
  219. },
  220. {
  221. data1: '资源环境',
  222. data2: '199',
  223. data3: '7',
  224. data4: '120',
  225. data5: '37',
  226. },
  227. {
  228. data1: '生命科学',
  229. data2: '299',
  230. data3: '71',
  231. data4: '10',
  232. data5: '37',
  233. },
  234. {
  235. data1: '资源环境',
  236. data2: '199',
  237. data3: '7',
  238. data4: '120',
  239. data5: '37',
  240. },
  241. {
  242. data1: '生命科学',
  243. data2: '299',
  244. data3: '71',
  245. data4: '10',
  246. data5: '37',
  247. },
  248. ],
  249. total: 0,
  250. tabTextTow: ['一级指标', '学院单位'],
  251. curTabTow: 0,
  252. }
  253. },
  254. created() {
  255. },
  256. beforeMount() {
  257. },
  258. mounted() {
  259. this.getServerData();
  260. },
  261. methods: {
  262. scrollGet() {
  263. },
  264. chartClick(index) {
  265. this.chartIndex = index;
  266. this.getServerDataTow();
  267. },
  268. //顶部tab点击
  269. tabClickTow(item, index) {
  270. this.curTabTow = index;
  271. },
  272. getServerData() {
  273. //模拟从服务器获取数据时的延时
  274. setTimeout(() => {
  275. //模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
  276. let res = {
  277. categories: ["化学与药品学院", "化学与药品学院", "化学与药品学院"],
  278. series: [{
  279. name: "已整改",
  280. textColor: '#fff',
  281. data: [35, 36, 31, ]
  282. },
  283. {
  284. name: "未整改",
  285. textColor: '#fff',
  286. data: [18, 27, 21, ]
  287. },
  288. {
  289. name: "暂无法整改",
  290. textColor: '#fff',
  291. data: [8, 7, 2, ]
  292. }
  293. ]
  294. };
  295. this.chartData = JSON.parse(JSON.stringify(res));
  296. }, 500);
  297. },
  298. getServerDataTow() {
  299. //模拟从服务器获取数据时的延时
  300. setTimeout(() => {
  301. //模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
  302. let res = {
  303. categories: ["植物保护", "生命科学", "维度3", "维度4", "维度5"],
  304. series: [{
  305. name: "成交量1",
  306. data: [90, 110, 165, 195, 187]
  307. },
  308. {
  309. name: "成交量2",
  310. data: [190, 210, 105, 35, 27]
  311. }
  312. ]
  313. };
  314. this.chartDataTow = JSON.parse(JSON.stringify(res));
  315. }, 500);
  316. },
  317. },
  318. }
  319. </script>
  320. <style lang="stylus" scoped>
  321. .hazardSources {
  322. height: 100%;
  323. width: 100%;
  324. background: #363744;
  325. .small-title {
  326. width: 750rpx;
  327. height: 80rpx;
  328. background: #3E414F;
  329. display: flex;
  330. justify-content: space-between;
  331. align-items: center;
  332. padding: 0 20rpx 0 30rpx;
  333. box-sizing: border-box;
  334. margin-top: 2rpx;
  335. .small-title-l {
  336. flex: 1;
  337. font-weight: 400;
  338. font-size: 30rpx;
  339. color: #FFFFFF;
  340. line-height: 42rpx;
  341. overflow: hidden;
  342. text-overflow: ellipsis;
  343. white-space: nowrap;
  344. }
  345. .small-title-r {
  346. width: 14rpx;
  347. height: 8rpx;
  348. }
  349. }
  350. .chart {
  351. width: 690rpx;
  352. height: 520rpx;
  353. background: #3E414F;
  354. border-radius: 20rpx 20rpx 20rpx 20rpx;
  355. margin: 20rpx 30rpx 0;
  356. overflow: hidden;
  357. .chart-t {
  358. width: 570rpx;
  359. height: 50rpx;
  360. display: flex;
  361. justify-content: flex-start;
  362. border: 1rpx solid #52545F;
  363. border-radius: 10rpx;
  364. margin: 30rpx 0 0 72rpx;
  365. .chart-t-li {
  366. width: 190rpx;
  367. font-weight: 400;
  368. font-size: 28rpx;
  369. line-height: 50rpx;
  370. text-align: center;
  371. background: none;
  372. }
  373. .chart-t-li:nth-of-type(1) {
  374. border-right: 1rpx solid #52545F;
  375. }
  376. .chart-t-li:nth-of-type(2) {
  377. border-right: 1rpx solid #52545F;
  378. }
  379. .color-A {
  380. color: #FFFFFF;
  381. background: #52545F;
  382. }
  383. .color-B {
  384. color: #999999;
  385. background: none;
  386. }
  387. }
  388. .chart-b {
  389. width: 630rpx;
  390. height: 334rpx;
  391. margin-left: 30rpx;
  392. }
  393. .chart-b2 {
  394. width: 630rpx;
  395. margin: 0 30rpx;
  396. height: 106rx;
  397. display: flex;
  398. justify-content: flex-start;
  399. align-items: center;
  400. .chart-b2-li {
  401. flex: 1;
  402. .chart-b2-li-t {
  403. margin-top: 10rpx;
  404. text-align: center;
  405. >text:nth-of-type(1) {
  406. display: inline-block;
  407. width: 24rpx;
  408. height: 24rpx;
  409. background: #FF0000;
  410. border-radius: 6rpx 6rpx 6rpx 6rpx;
  411. margin-right: 10rpx;
  412. font-weight: 400;
  413. font-size: 22rpx;
  414. color: #FFFFFF;
  415. line-height: 24rpx;
  416. text-align: center;
  417. }
  418. >text:nth-of-type(2) {
  419. font-weight: 400;
  420. font-size: 24rpx;
  421. color: #FFFFFF;
  422. line-height: 34rpx;
  423. }
  424. }
  425. .chart-b2-li-b {
  426. margin-top: 10rpx;
  427. font-weight: 400;
  428. font-size: 24rpx;
  429. color: #FFFFFF;
  430. line-height: 34rpx;
  431. text-align: center;
  432. }
  433. }
  434. }
  435. .chart-b-tow {
  436. width: 630rpx;
  437. height: 440rpx;
  438. margin-left: 30rpx;
  439. }
  440. }
  441. .tabTitle_tow {
  442. width: 750rpx;
  443. height: 80rpx;
  444. white-space: nowrap;
  445. display: inline-flex;
  446. background: #3E414F;
  447. margin-top: 20rpx;
  448. padding-left: 35rpx;
  449. .tabTitle_tow_li {
  450. position: relative;
  451. width: 152rpx;
  452. height: 80rpx;
  453. text-align center;
  454. padding-top: 18rpx;
  455. box-sizing: border-box;
  456. .tabTitle_tow_text {
  457. display: inline-block;
  458. font-size: 32rpx;
  459. font-family: PingFang SC;
  460. font-weight: 500;
  461. color: #FFFFFF;
  462. line-height: 46rpx;
  463. position: relative;
  464. &.on {
  465. color: #0183FA;
  466. }
  467. }
  468. .tabTitle_tow_across {
  469. width: 50rpx;
  470. height: 4rpx;
  471. background: #0183FA;
  472. border-radius: 2rpx;
  473. margin-left: 33%;
  474. margin-top: 16rpx;
  475. display none;
  476. &.on {
  477. display block;
  478. }
  479. }
  480. }
  481. }
  482. .table {
  483. width: 720rpx;
  484. margin: 20rpx 0 0 30rpx;
  485. .table-border {
  486. width: auto;
  487. overflow: auto;
  488. .table-th {
  489. width: 860rpx;
  490. padding: 0 30rpx;
  491. box-sizing: border-box;
  492. background: rgba(162, 162, 162, 0.2);
  493. border-radius: 20rpx 20rpx 0rpx 0rpx;
  494. .table-th-li {
  495. height: 80rpx;
  496. display: flex;
  497. justify-content: flex-start;
  498. >view {
  499. font-weight: 400;
  500. font-size: 30rpx;
  501. color: #FFFFFF;
  502. line-height: 80rpx;
  503. text-align: center;
  504. margin-right: 38rpx;
  505. width: 120rpx;
  506. overflow: hidden;
  507. text-overflow: ellipsis;
  508. white-space: nowrap;
  509. }
  510. >view:nth-of-type(1) {
  511. width: 116rpx;
  512. text-align: left;
  513. margin-right: 0;
  514. }
  515. >view:nth-of-type(2) {
  516. width: 168rpx;
  517. }
  518. >view:last-child {
  519. margin-right: 0;
  520. width: 228rpx;
  521. }
  522. }
  523. }
  524. .table-tb {
  525. width: 860rpx;
  526. background: #3E414F;
  527. padding: 0 30rpx;
  528. box-sizing: border-box;
  529. .table-tb-li {
  530. height: 80rpx;
  531. border-bottom: 1rpx dashed rgba(216, 216, 216, 0.2);
  532. display: flex;
  533. justify-content: flex-start;
  534. >view {
  535. font-weight: 400;
  536. font-size: 28rpx;
  537. color: #FFFFFF;
  538. line-height: 80rpx;
  539. text-align: center;
  540. margin-right: 38rpx;
  541. width: 120rpx;
  542. overflow: hidden;
  543. text-overflow: ellipsis;
  544. white-space: nowrap;
  545. }
  546. >view:nth-of-type(1) {
  547. width: 116rpx;
  548. text-align: left;
  549. margin-right: 0;
  550. }
  551. >view:nth-of-type(2) {
  552. width: 168rpx;
  553. }
  554. >view:last-child {
  555. margin-right: 0;
  556. width: 228rpx;
  557. }
  558. }
  559. }
  560. }
  561. }
  562. .sortOne {
  563. display: inline-block;
  564. width: 40rpx;
  565. height: 40rpx;
  566. padding: 4rpx;
  567. box-sizing: border-box;
  568. background: rgba(255, 0, 0, 0.2);
  569. font-weight: 400;
  570. font-size: 28rpx;
  571. color: #FF0000;
  572. line-height: 40rpx;
  573. text-align: center;
  574. border-radius: 20rpx;
  575. }
  576. .sortTow {
  577. display: inline-block;
  578. width: 40rpx;
  579. height: 40rpx;
  580. padding: 4rpx;
  581. box-sizing: border-box;
  582. background: rgba(255, 153, 0, 0.2);
  583. font-weight: 400;
  584. font-size: 28rpx;
  585. color: #FF9900;
  586. line-height: 40rpx;
  587. text-align: center;
  588. border-radius: 20rpx;
  589. }
  590. .sortThree {
  591. display: inline-block;
  592. width: 40rpx;
  593. height: 40rpx;
  594. padding: 4rpx;
  595. box-sizing: border-box;
  596. background: rgba(255, 242, 0, 0.2);
  597. font-weight: 400;
  598. font-size: 28rpx;
  599. color: #FFF200;
  600. line-height: 40rpx;
  601. text-align: center;
  602. border-radius: 20rpx;
  603. }
  604. .sortFive {
  605. display: inline-block;
  606. width: 40rpx;
  607. height: 40rpx;
  608. padding: 4rpx;
  609. box-sizing: border-box;
  610. background: rgba(1, 131, 250, 0.2);
  611. font-weight: 400;
  612. font-size: 28rpx;
  613. color: #0183FA;
  614. line-height: 40rpx;
  615. text-align: center;
  616. border-radius: 20rpx;
  617. }
  618. .table-tow {
  619. width: 690rpx;
  620. margin: 20rpx 0 0 30rpx;
  621. .table-border {
  622. width: auto;
  623. overflow: auto;
  624. .table-th {
  625. width: 690rpx;
  626. padding: 0 30rpx;
  627. box-sizing: border-box;
  628. background: rgba(162, 162, 162, 0.2);
  629. border-radius: 20rpx 20rpx 0rpx 0rpx;
  630. .table-th-li {
  631. height: 80rpx;
  632. display: flex;
  633. justify-content: flex-start;
  634. >view {
  635. font-weight: 400;
  636. font-size: 30rpx;
  637. color: #FFFFFF;
  638. line-height: 80rpx;
  639. text-align: center;
  640. margin-right: 38rpx;
  641. width: 120rpx;
  642. overflow: hidden;
  643. text-overflow: ellipsis;
  644. white-space: nowrap;
  645. }
  646. >view:nth-of-type(1) {
  647. width: 64rpx;
  648. text-align: left;
  649. margin-right: 0;
  650. }
  651. >view:nth-of-type(2) {
  652. width: 270rpx;
  653. }
  654. >view:last-child {
  655. margin-right: 0;
  656. }
  657. }
  658. }
  659. .table-tb {
  660. width: 690rpx;
  661. background: #3E414F;
  662. padding: 0 30rpx;
  663. box-sizing: border-box;
  664. .table-tb-li {
  665. height: 80rpx;
  666. border-bottom: 1rpx dashed rgba(216, 216, 216, 0.2);
  667. display: flex;
  668. justify-content: flex-start;
  669. >view {
  670. font-weight: 400;
  671. font-size: 28rpx;
  672. color: #FFFFFF;
  673. line-height: 80rpx;
  674. text-align: center;
  675. margin-right: 38rpx;
  676. width: 120rpx;
  677. overflow: hidden;
  678. text-overflow: ellipsis;
  679. white-space: nowrap;
  680. }
  681. >view:nth-of-type(1) {
  682. width: 64rpx;
  683. text-align: left;
  684. margin-right: 0;
  685. }
  686. >view:nth-of-type(2) {
  687. width: 270rpx;
  688. }
  689. >view:last-child {
  690. margin-right: 0;
  691. }
  692. }
  693. }
  694. }
  695. }
  696. .table-three {
  697. width: 720rpx;
  698. margin: 20rpx 0 0 30rpx;
  699. .table-border {
  700. width: auto;
  701. overflow: auto;
  702. .table-th {
  703. width: 1510rpx;
  704. padding: 0 30rpx;
  705. box-sizing: border-box;
  706. background: rgba(162, 162, 162, 0.2);
  707. border-radius: 20rpx 20rpx 0rpx 0rpx;
  708. .table-th-li {
  709. height: 80rpx;
  710. display: flex;
  711. justify-content: flex-start;
  712. >view {
  713. font-weight: 400;
  714. font-size: 30rpx;
  715. color: #FFFFFF;
  716. line-height: 80rpx;
  717. text-align: center;
  718. margin-right: 38rpx;
  719. width: 120rpx;
  720. overflow: hidden;
  721. text-overflow: ellipsis;
  722. white-space: nowrap;
  723. }
  724. >view:nth-of-type(1) {
  725. width: 116rpx;
  726. text-align: left;
  727. margin-right: 0;
  728. }
  729. >view:nth-of-type(2) {
  730. width: 168rpx;
  731. }
  732. >view:last-child {
  733. margin-right: 0;
  734. width: 228rpx;
  735. }
  736. }
  737. }
  738. .table-tb {
  739. width: 1510rpx;
  740. background: #3E414F;
  741. padding: 0 30rpx;
  742. box-sizing: border-box;
  743. .table-tb-li {
  744. height: 80rpx;
  745. border-bottom: 1rpx dashed rgba(216, 216, 216, 0.2);
  746. display: flex;
  747. justify-content: flex-start;
  748. >view {
  749. font-weight: 400;
  750. font-size: 28rpx;
  751. color: #FFFFFF;
  752. line-height: 80rpx;
  753. text-align: center;
  754. margin-right: 38rpx;
  755. width: 120rpx;
  756. overflow: hidden;
  757. text-overflow: ellipsis;
  758. white-space: nowrap;
  759. }
  760. >view:nth-of-type(1) {
  761. width: 116rpx;
  762. text-align: left;
  763. margin-right: 0;
  764. }
  765. >view:nth-of-type(2) {
  766. width: 168rpx;
  767. }
  768. >view:last-child {
  769. margin-right: 0;
  770. width: 228rpx;
  771. }
  772. }
  773. }
  774. }
  775. }
  776. }
  777. </style>