securityHidden.vue 20 KB

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