personnel_orientation.vue 19 KB

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