securityHidden.vue 18 KB

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