securityHidden.vue 20 KB

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