personnel_orientation.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  1. <template>
  2. <view>
  3. <!-- 搜索井下人员 -->
  4. <p-personnel-orientation-navbar :mine="mine"></p-personnel-orientation-navbar>
  5. <view class="content">
  6. <view class="tip_box">
  7. <view class="left">
  8. <view class="icon">
  9. <image v-if="status == 1" src="./icon/01.png" mode=""></image>
  10. <image v-if="status == 0" src="./icon/00.png" mode=""></image>
  11. </view>
  12. <view v-if="status == 1" class="text">数据正常</view>
  13. <view v-if="status == 0" class="text">数据异常</view>
  14. </view>
  15. <view class="right">
  16. <view class="text">数据更新时间</view>
  17. <view class="time">{{updated_at}}</view>
  18. </view>
  19. </view>
  20. <!-- 当前井下人员 -->
  21. <p-personnel-orientation-section-1 :mine="mine">
  22. <!-- 圆环图 -->
  23. <canvas style="width: 720upx; height:500upx;" canvas-id="canvasRing" id="canvasRing"
  24. @touchstart="touchRing"></canvas>
  25. </p-personnel-orientation-section-1>
  26. <!-- <view class="overtime_box">
  27. <view class="left">
  28. <view class="icon">
  29. <image src="./icon/overtime.png" mode=""></image>
  30. </view>
  31. <view class="text">井下超时人员统计</view>
  32. </view>
  33. <view class="right">
  34. <view class="text">6</view>
  35. <view class="icon">
  36. <uni-icons type="arrowright" size="14"></uni-icons>
  37. </view>
  38. </view>
  39. </view> -->
  40. <p-personnel-orientation-section-3>
  41. <!-- 职能科室 -->
  42. <!-- <view class="section_title">职能科室</view> -->
  43. <!-- <canvas style="width: 720upx; height:800upx;" canvas-id="canvasRing2" id="canvasRing2" @touchstart="touchRing2"></canvas> -->
  44. <!-- 基层区队 -->
  45. <!-- <view class="section_title">基层区队</view> -->
  46. <!-- <canvas style="width: 720upx; height:800upx;" canvas-id="canvasRing3" id="canvasRing3" @touchstart="touchRing3"></canvas> -->
  47. <!-- 表格 -->
  48. <view class="table">
  49. <uni-table border emptyText="暂无更多数据">
  50. <!-- 表头行 -->
  51. <uni-tr>
  52. <uni-th align="center" width="180">部门名称</uni-th>
  53. <uni-th align="center" width="90">人数</uni-th>
  54. <uni-th align="center" width="80">占比</uni-th>
  55. </uni-tr>
  56. <!-- 表格数据行 -->
  57. <uni-tr v-for="(item,index) in table" :key="index" @row-click="table_detail(item.depart_name)" v-if="item.pepole_num > 0">
  58. <uni-td style="vertical-align: middle;" align="center">
  59. <view>{{item.depart_name}}</view>
  60. </uni-td>
  61. <uni-td style="vertical-align: middle;" align="center">
  62. <view>{{item.pepole_num}}</view>
  63. </uni-td>
  64. <uni-td style="vertical-align: middle;" align="center">
  65. <view>{{((item.pepole_num / people_total)*100).toFixed(2) + ' %'}}</view>
  66. </uni-td>
  67. </uni-tr>
  68. </uni-table>
  69. </view>
  70. </p-personnel-orientation-section-3>
  71. <!-- 各科室下井人数 -->
  72. <p-personnel-orientation-section-4 @changeDepart="changeDepart">
  73. <canvas style="width: 700upx; height:2500upx;" canvas-id="canvasColumn" id="canvasColumn"
  74. class="charts-rotate" @touchstart="touchColumn"></canvas>
  75. </p-personnel-orientation-section-4>
  76. <!-- 下井趋势 -->
  77. <personnel-orientation-population-trend :mine="mine"></personnel-orientation-population-trend>
  78. </view>
  79. </view>
  80. </template>
  81. <script>
  82. import uCharts from '@/components/u-charts/u-charts.js';
  83. var _self;
  84. var canvaRing = null;
  85. var canvaRing2 = null;
  86. var canvaRing3 = null;
  87. // 柱状图
  88. var canvaColumn = null;
  89. export default {
  90. data() {
  91. return {
  92. // 矿编码
  93. mine: "",
  94. cWidth: '',
  95. cHeight: '',
  96. pixelRatio: 1,
  97. serverData: '',
  98. cWidth2: '', //横屏图表
  99. cHeight2: '', //横屏图表
  100. // 今日部门人数统计
  101. departType: "today",
  102. lastTapTimeoutFunc: null,
  103. lastTapDiffTime: 0,
  104. // 数据正常状态与更新时间
  105. status: 1,
  106. updated_at: "",
  107. // 表格
  108. table:[],
  109. people_total:0
  110. }
  111. },
  112. onLoad(option) {
  113. console.log(option.mine)
  114. // 矿编码
  115. this.mine = option.mine
  116. _self = this;
  117. this.cWidth = uni.upx2px(720);
  118. this.cHeight = uni.upx2px(500);
  119. this.cHeight3 = uni.upx2px(750);
  120. this.getServerData();
  121. this.getServerData2();
  122. this.getServerData3();
  123. // 柱状图
  124. this.cWidth2 = uni.upx2px(700);
  125. this.cHeight2 = uni.upx2px(2400);
  126. this.getServerData4();
  127. // 获取数据正常状态
  128. this.$p_api.messageUpdateStatus({
  129. mine: this.mine
  130. }).then((res) => {
  131. // console.log(res.data.data)
  132. this.status = res.data.data.status
  133. this.updated_at = res.data.data.updated_at
  134. })
  135. this.$p_api.personnel_depart_today({
  136. type: 'now',
  137. mine: this.mine
  138. }).then((res) => {
  139. this.table = res.data.data
  140. })
  141. // this.get_product_data_query_power()
  142. },
  143. methods: {
  144. get_product_data_query_power(){
  145. this.$p_api.product_data_query_power({
  146. staff_num: uni.getStorageSync('user').staff_num,
  147. data_module: "rydw"
  148. }).then((res)=>{
  149. if(res.data.content.status){
  150. console.log("可查看")
  151. }else{
  152. uni.showToast({
  153. icon:"none",
  154. title:"没有查看权限!"
  155. })
  156. setTimeout(()=>{
  157. uni.navigateBack()
  158. },1000)
  159. }
  160. })
  161. },
  162. // 改变今日部门人数统计的参数
  163. changeDepart(type) {
  164. // console.log(type)
  165. if (type == 1) {
  166. this.departType = "now"
  167. } else {
  168. this.departType = "today"
  169. }
  170. console.log(this.departType)
  171. this.getServerData4();
  172. },
  173. // 当前人员统计
  174. getServerData() {
  175. this.$p_api.personnel_people_now({
  176. mine: this.mine
  177. }).then((res) => {
  178. // console.log(res)
  179. this.people_total = res.data.data.people_total
  180. let Ring = {
  181. series: [{
  182. name: '',
  183. data: 0
  184. }],
  185. people_total: 0
  186. }
  187. // res.data.data.people_distribute 图例
  188. Ring.people_total = res.data.data.people_total
  189. const series = res.data.data.people_distribute
  190. series.map(function(item, index) {
  191. //新数组的项,用来盛放每一项中的各个参数,每次清空,这样避免改变sevm的值
  192. var sevm = {};
  193. //给每一项中的参数初始化并赋值
  194. sevm['name'] = item.depart_name;
  195. sevm['data'] = item.pepole_num;
  196. //将项放进新的数组
  197. Ring.series[index] = sevm
  198. })
  199. // console.log(Ring)
  200. _self.showRing("canvasRing", Ring);
  201. })
  202. },
  203. // 职能科室人数统计
  204. getServerData2() {
  205. this.$p_api.personnel_office_total({
  206. mine: this.mine
  207. }).then((res) => {
  208. // console.log(res)
  209. let Ring2 = {
  210. series: [{
  211. name: '',
  212. data: 0
  213. }],
  214. people_total: 0
  215. }
  216. Ring2.people_total = res.data.people_total
  217. const series = res.data.data
  218. series.map(function(item, index) {
  219. //新数组的项,用来盛放每一项中的各个参数,每次清空,这样避免改变sevm的值
  220. var sevm = {};
  221. //给每一项中的参数初始化并赋值
  222. sevm['id'] = item.depart_id;
  223. sevm['name'] = item.depart_name;
  224. sevm['data'] = item.pepole_num;
  225. //将项放进新的数组
  226. Ring2.series[index] = sevm
  227. })
  228. // console.log(Ring2)
  229. _self.showRing2("canvasRing2", Ring2);
  230. })
  231. },
  232. // 基层区队人数统计
  233. getServerData3() {
  234. this.$p_api.personnel_basic_total({
  235. mine: this.mine
  236. }).then((res) => {
  237. // console.log(res.data.data)
  238. let Ring3 = {
  239. series: [{
  240. name: '',
  241. data: 0
  242. }],
  243. people_total: 0
  244. }
  245. Ring3.people_total = res.data.people_total
  246. const series = res.data.data
  247. series.map(function(item, index) {
  248. //新数组的项,用来盛放每一项中的各个参数,每次清空,这样避免改变sevm的值
  249. var sevm = {};
  250. //给每一项中的参数初始化并赋值
  251. sevm['name'] = item.depart_name;
  252. sevm['data'] = item.pepole_num;
  253. //将项放进新的数组
  254. Ring3.series[index] = sevm
  255. })
  256. // console.log(Ring3)
  257. _self.showRing3("canvasRing3", Ring3);
  258. })
  259. },
  260. showRing(canvasId, chartData) {
  261. canvaRing = new uCharts({
  262. $this: _self,
  263. canvasId: canvasId,
  264. type: 'ring',
  265. fontSize: 12,
  266. // 图例配置
  267. // legend: true,
  268. legend: {
  269. position: "right",
  270. lineHeight: 30,
  271. },
  272. title: {
  273. name: '总人数',
  274. color: '#666666',
  275. fontSize: 15 * _self.pixelRatio,
  276. offsetY: 0 * _self.pixelRatio,
  277. },
  278. subtitle: {
  279. name: chartData.people_total + '人',
  280. color: '#666666',
  281. fontSize: 15 * _self.pixelRatio,
  282. offsetY: 0 * _self.pixelRatio,
  283. },
  284. extra: {
  285. pie: {
  286. offsetAngle: -45,
  287. ringWidth: 30 * _self.pixelRatio,
  288. labelWidth: 20
  289. }
  290. },
  291. background: '#FFFFFF',
  292. pixelRatio: _self.pixelRatio,
  293. series: chartData.series,
  294. animation: true,
  295. width: _self.cWidth * _self.pixelRatio,
  296. height: _self.cHeight * _self.pixelRatio,
  297. disablePieStroke: true,
  298. // 百分比指示 关
  299. dataLabel: false,
  300. });
  301. },
  302. touchRing(e) {
  303. canvaRing.showToolTip(e, {
  304. // format: function(item) {
  305. // return item.name + ':' + item.data + '人'
  306. // },
  307. format: (item) => {
  308. let _this = this;
  309. let curTime = new Date().getTime();
  310. let lastTime = _this.lastTapDiffTime;
  311. _this.lastTapDiffTime = curTime;
  312. //两次点击间隔小于300ms, 认为是双击
  313. let diff = curTime - lastTime;
  314. if (diff < 300) {
  315. console.log("双击")
  316. uni.navigateTo({
  317. url: "./depart-people/depart-people?title=" + item.name + "&id=" + item.name +
  318. "&mine=" + this.mine
  319. })
  320. //_this.handleVideo('screen',index)自定义事件
  321. clearTimeout(_this.lastTapTimeoutFunc); // 成功触发双击事件时,取消单击事件的执行
  322. } else {
  323. // 单击事件延时300毫秒执行
  324. _this.lastTapTimeoutFunc = setTimeout(function() {
  325. console.log("单击")
  326. //_this.handleVideo('playOrStop',index)自定义事件
  327. }, 300);
  328. }
  329. return item.name + ':' + item.data + '人'
  330. }
  331. });
  332. },
  333. showRing2(canvasId, chartData) {
  334. canvaRing2 = new uCharts({
  335. $this: _self,
  336. canvasId: canvasId,
  337. type: 'ring',
  338. fontSize: 12,
  339. // 图例配置
  340. legend: true,
  341. legend: {
  342. position: "bottom",
  343. lineHeight: 30,
  344. },
  345. title: {
  346. name: '总人数',
  347. color: '#666666',
  348. fontSize: 15 * _self.pixelRatio,
  349. offsetY: 0 * _self.pixelRatio,
  350. },
  351. subtitle: {
  352. name: chartData.people_total + '人',
  353. color: '#666666',
  354. fontSize: 15 * _self.pixelRatio,
  355. offsetY: 0 * _self.pixelRatio,
  356. },
  357. extra: {
  358. pie: {
  359. offsetAngle: -45,
  360. ringWidth: 30 * _self.pixelRatio,
  361. labelWidth: 5
  362. }
  363. },
  364. background: '#FFFFFF',
  365. pixelRatio: _self.pixelRatio,
  366. series: chartData.series,
  367. animation: true,
  368. width: _self.cWidth * _self.pixelRatio,
  369. height: _self.cHeight3 * _self.pixelRatio,
  370. disablePieStroke: true,
  371. // 百分比指示 关
  372. dataLabel: true,
  373. });
  374. },
  375. touchRing2(e) {
  376. canvaRing2.showToolTip(e, {
  377. format: (item) => {
  378. this.go_depart_people(item)
  379. return item.name + ':' + item.data + '人'
  380. }
  381. });
  382. console.log(e)
  383. },
  384. go_depart_people(item) {
  385. let _this = this;
  386. let curTime = new Date().getTime();
  387. let lastTime = _this.lastTapDiffTime;
  388. _this.lastTapDiffTime = curTime;
  389. //两次点击间隔小于300ms, 认为是双击
  390. let diff = curTime - lastTime;
  391. if (diff < 300) {
  392. console.log("双击")
  393. uni.navigateTo({
  394. url: "./depart-people/depart-people?title=" + item.name + "&id=" + item.id +
  395. "&mine=" + this.mine
  396. })
  397. //_this.handleVideo('screen',index)自定义事件
  398. clearTimeout(_this.lastTapTimeoutFunc); // 成功触发双击事件时,取消单击事件的执行
  399. } else {
  400. // 单击事件延时300毫秒执行
  401. _this.lastTapTimeoutFunc = setTimeout(function() {
  402. console.log("单击")
  403. //_this.handleVideo('playOrStop',index)自定义事件
  404. }, 300);
  405. }
  406. },
  407. showRing3(canvasId, chartData) {
  408. canvaRing3 = new uCharts({
  409. $this: _self,
  410. canvasId: canvasId,
  411. type: 'ring',
  412. fontSize: 12,
  413. // 图例配置
  414. legend: true,
  415. legend: {
  416. position: "bottom",
  417. lineHeight: 30,
  418. },
  419. title: {
  420. name: '总人数',
  421. color: '#666666',
  422. fontSize: 15 * _self.pixelRatio,
  423. offsetY: 0 * _self.pixelRatio,
  424. },
  425. subtitle: {
  426. name: chartData.people_total + '人',
  427. color: '#666666',
  428. fontSize: 15 * _self.pixelRatio,
  429. offsetY: 0 * _self.pixelRatio,
  430. },
  431. extra: {
  432. pie: {
  433. offsetAngle: -45,
  434. ringWidth: 30 * _self.pixelRatio,
  435. labelWidth: 15
  436. }
  437. },
  438. background: '#FFFFFF',
  439. pixelRatio: _self.pixelRatio,
  440. series: chartData.series,
  441. animation: true,
  442. width: _self.cWidth * _self.pixelRatio,
  443. height: _self.cHeight3 * _self.pixelRatio,
  444. disablePieStroke: true,
  445. // 百分比指示 关
  446. dataLabel: true,
  447. });
  448. },
  449. touchRing3(e) {
  450. canvaRing3.showToolTip(e, {
  451. format: (item) => {
  452. // console.log(item)
  453. this.go_depart_people_2(item)
  454. return item.name + ':' + item.data + '人'
  455. }
  456. });
  457. },
  458. go_depart_people_2(item) {
  459. let _this = this;
  460. let curTime = new Date().getTime();
  461. let lastTime = _this.lastTapDiffTime;
  462. _this.lastTapDiffTime = curTime;
  463. //两次点击间隔小于300ms, 认为是双击
  464. let diff = curTime - lastTime;
  465. if (diff < 300) {
  466. console.log("双击")
  467. uni.navigateTo({
  468. url: "./depart-people-2/depart-people-2?title=" + item.name + "&mine=" + this.mine
  469. })
  470. //_this.handleVideo('screen',index)自定义事件
  471. clearTimeout(_this.lastTapTimeoutFunc); // 成功触发双击事件时,取消单击事件的执行
  472. } else {
  473. // 单击事件延时300毫秒执行
  474. _this.lastTapTimeoutFunc = setTimeout(function() {
  475. console.log("单击")
  476. //_this.handleVideo('playOrStop',index)自定义事件
  477. }, 300);
  478. }
  479. },
  480. // 今日各部门人数统计
  481. getServerData4() {
  482. // console.log(this.departType)
  483. this.$p_api.personnel_depart_today({
  484. type: this.departType,
  485. mine: this.mine
  486. }).then((res) => {
  487. console.log(res.data.data)
  488. let ColumnColumn = {
  489. "categories": [],
  490. "seriesData": []
  491. }
  492. const categories = res.data.data
  493. categories.map(function(item, index) {
  494. //新数组的项,用来盛放每一项中的各个参数,每次清空,这样避免改变sevm的值
  495. var sevm = {};
  496. //给每一项中的参数初始化并赋值
  497. sevm = item.depart_name;
  498. //将项放进新的数组
  499. ColumnColumn.categories[index] = sevm
  500. })
  501. const seriesData = res.data.data
  502. seriesData.map(function(item, index) {
  503. //新数组的项,用来盛放每一项中的各个参数,每次清空,这样避免改变sevm的值
  504. var sevm = {};
  505. //给每一项中的参数初始化并赋值
  506. sevm = item.pepole_num;
  507. //将项放进新的数组
  508. ColumnColumn.seriesData[index] = sevm
  509. })
  510. // console.log(ColumnColumn)
  511. _self.showColumnColumn("canvasColumn", ColumnColumn);
  512. })
  513. },
  514. showColumnColumn(canvasId, chartData) {
  515. canvaColumn = new uCharts({
  516. $this: _self,
  517. canvasId: canvasId,
  518. type: 'column',
  519. legend: {
  520. show: false,
  521. },
  522. fontSize: 9,
  523. background: '#FFFFFF',
  524. pixelRatio: _self.pixelRatio,
  525. animation: true,
  526. rotate: true,
  527. padding: [20, 15, 4, 15],
  528. // #ifdef MP-ALIPAY || MP-BAIDU
  529. rotateLock: true, //百度及支付宝需要锁定旋转
  530. // #endif
  531. categories: chartData.categories,
  532. series: [{
  533. "name": '',
  534. "data": chartData.seriesData
  535. }],
  536. xAxis: {
  537. disableGrid: true,
  538. rotateLabel: true,
  539. },
  540. yAxis: {
  541. // disabled:true
  542. },
  543. dataLabel: true,
  544. width: _self.cWidth2 * _self.pixelRatio,
  545. height: _self.cHeight2 * _self.pixelRatio,
  546. extra: {
  547. column: {
  548. type: 'group',
  549. // width: _self.cWidth * _self.pixelRatio * 0.45 / chartData.categories.length,
  550. width: _self.cWidth * _self.pixelRatio * 2 / chartData.categories.length,
  551. // seriesGap:12,
  552. meter: {
  553. //这个是外层边框的宽度
  554. border: 4,
  555. //这个是内部填充颜色
  556. fillColor: '#E5FDC3'
  557. }
  558. }
  559. }
  560. });
  561. },
  562. touchColumn(e) {
  563. canvaColumn.showToolTip(e, {
  564. format: (item, category) => {
  565. let _this = this;
  566. let curTime = new Date().getTime();
  567. let lastTime = _this.lastTapDiffTime;
  568. _this.lastTapDiffTime = curTime;
  569. //两次点击间隔小于300ms, 认为是双击
  570. let diff = curTime - lastTime;
  571. if (diff < 300) {
  572. console.log("双击")
  573. uni.navigateTo({
  574. url: "./depart-people-2/depart-people-2?title=" + category +
  575. "&departType=" + this.departType + "&mine=" + this.mine
  576. })
  577. //_this.handleVideo('screen',index)自定义事件
  578. clearTimeout(_this.lastTapTimeoutFunc); // 成功触发双击事件时,取消单击事件的执行
  579. } else {
  580. // 单击事件延时300毫秒执行
  581. _this.lastTapTimeoutFunc = setTimeout(function() {
  582. console.log("单击")
  583. //_this.handleVideo('playOrStop',index)自定义事件
  584. }, 300);
  585. }
  586. return category + ':' + item.data + item.name
  587. }
  588. });
  589. },
  590. table_detail(category){
  591. console.log(category)
  592. uni.navigateTo({
  593. url: "./depart-people-2/depart-people-2?title=" + category +
  594. "&departType=now" + "&mine=" + this.mine
  595. })
  596. }
  597. }
  598. }
  599. </script>
  600. <style lang="scss">
  601. page {
  602. background-color: #f2faf7;
  603. }
  604. .content {
  605. box-sizing: border-box;
  606. padding: 0 15rpx;
  607. background-color: #f2faf7;
  608. .section_title {
  609. text-align: center;
  610. line-height: 96rpx;
  611. font-size: 28rpx;
  612. font-family: PingFangSC-Regular, PingFang SC;
  613. font-weight: 400;
  614. color: #232627;
  615. }
  616. }
  617. .tip_box {
  618. margin-top: 16rpx;
  619. background: #FFFFFF;
  620. box-shadow: 0rpx 3rpx 29rpx 0rpx rgba(59, 74, 116, 0.14);
  621. border-radius: 20rpx;
  622. box-sizing: border-box;
  623. padding: 0 50rpx;
  624. height: 132rpx;
  625. display: flex;
  626. justify-content: space-between;
  627. align-items: center;
  628. .left {
  629. display: flex;
  630. .icon {
  631. margin-right: 20rpx;
  632. image {
  633. width: 52rpx;
  634. height: 47rpx;
  635. }
  636. }
  637. .text {
  638. font-size: 34rpx;
  639. font-weight: 700;
  640. }
  641. }
  642. .right {
  643. .text {
  644. font-size: 26rpx;
  645. color: #999;
  646. margin-bottom: 20rpx;
  647. }
  648. .time {
  649. font-size: 30rpx;
  650. }
  651. }
  652. }
  653. .overtime_box {
  654. margin-top: 16rpx;
  655. background: #FFFFFF;
  656. box-shadow: 0rpx 3rpx 29rpx 0rpx rgba(59, 74, 116, 0.14);
  657. border-radius: 20rpx;
  658. box-sizing: border-box;
  659. padding: 0 50rpx;
  660. height: 110rpx;
  661. display: flex;
  662. justify-content: space-between;
  663. align-items: center;
  664. .left {
  665. display: flex;
  666. .icon {
  667. margin-right: 20rpx;
  668. image {
  669. display: block;
  670. width: 43rpx;
  671. height: 43rpx;
  672. }
  673. }
  674. .text {
  675. font-size: 34rpx;
  676. font-weight: 700;
  677. }
  678. }
  679. .right {
  680. display: flex;
  681. align-items: center;
  682. .text {
  683. font-weight: 700;
  684. color: #FF6A5C;
  685. font-size: 36rpx;
  686. }
  687. .icon {
  688. margin-left: 10rpx;
  689. }
  690. }
  691. }
  692. .table {
  693. .uni-table-th.table--border {
  694. color: #000000;
  695. background-color: #F3F6FA;
  696. }
  697. .uni-table-td.table--border {
  698. color: #666666;
  699. }
  700. position: relative;
  701. width: 720rpx;
  702. }
  703. </style>