details.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. <template>
  2. <view class="fm-page">
  3. <!-- <view class="status_bar"></view> -->
  4. <uni-nav-bar left-icon="back" background-color='rgba(0,0,0,0)' title="闸门" @clickLeft="clickLeft">
  5. <!-- <view class="self-title">标题栏</view>
  6. <template v-slot:left><view class="self-back"><uni-icons type="arrowleft" size="24"></uni-icons></view></template>
  7. -->
  8. </uni-nav-bar>
  9. <view class="fm-content">
  10. <view class="info">
  11. <view class="device-id" @click="copy(equipInfo)">
  12. <image class="logo"
  13. :src="`${$imageURL}/bigdata_pc/equipdistribute/${equipInfo.type}.png`" mode="">
  14. </image>
  15. {{equipInfo.imei||equipInfo.device_id || equipInfo.id}}
  16. <image :src="$imageURL+'/bigdata_app/image/environment/fuzhi.png'" mode=""
  17. class="tishi">
  18. </image>
  19. <view
  20. :class="['float-right','yficonfont',equipInfo.status==1?'on icon-zaixian':'off icon-lixian']">
  21. {{equipInfo.status==1?'在线':'离线'}}
  22. </view>
  23. </view>
  24. <view class="info-list">
  25. <span class="float-left">设备名称:</span> <span class="float-right">{{equipInfo.device_name || equipInfo.name}}</span>
  26. </view>
  27. <view class="info-list">
  28. <span class="float-left">上报时间:</span> <span
  29. class="float-right">{{equipInfo.addtime||equipInfo.uptime | timeFormat}}</span>
  30. </view>
  31. <view class="info-list">
  32. <span class="float-left">设备地址:</span> <span
  33. class="float-right">{{equipInfo.address?equipInfo.address:"--"}}</span>
  34. </view>
  35. <u-calendar v-model="calendar_show" mode="date" :max-date="date" @change="timeChange($event)" range-color="#999"
  36. btn-type="success"
  37. active-bg-color="#0BBC58"
  38. range-bg-color="rgba(11,188,88,0.13)">
  39. </u-calendar>
  40. <u-toast ref="toast" />
  41. </view>
  42. <view class="title"></view>
  43. <view class="newState">
  44. <view class="top">
  45. <view class="left">
  46. <image class="img"
  47. :src="$imageURL+'/bigdata_app/image/irrigate/fm.png'"
  48. ></image>
  49. <view>
  50. <p> <span class="num">{{deviceData.nowHeight}}</span> mm</p>
  51. <p>{{deviceData.deviceStatus}}</p>
  52. </view>
  53. </view>
  54. <view class="btn" style="width:170rpx">
  55. <u-button text="设置开度" size="mini" @click="kdShow = true">设置开度</u-button>
  56. </view>
  57. <view class="right btn">
  58. <u-button text="刷新" size="mini" @click="zfControl('refresh')">刷新</u-button>
  59. </view>
  60. </view>
  61. <view class="up-down">
  62. <view class="bottom">
  63. <view class="opt">
  64. <image
  65. :src="$imageURL+'/bigdata_app/image/irrigate/fm-up.png'"
  66. ></image>
  67. <!-- <p class="num">到位</p>
  68. <p>顶到位</p> -->
  69. </view>
  70. <view class="btn">
  71. <u-button text="上升" size="mini" @click="zfControl('up')">上升</u-button>
  72. </view>
  73. </view>
  74. <view class="bottom">
  75. <view class="opt">
  76. <image :src="$imageURL+'/bigdata_app/image/irrigate/fm-down.png'"
  77. ></image>
  78. <!-- <p class="num">未到位</p>
  79. <p>底到位</p> -->
  80. </view>
  81. <view class="btn">
  82. <u-button class="active" text="下降" size="mini" @click="zfControl('down')">下降</u-button>
  83. </view>
  84. </view>
  85. </view>
  86. <view class="btn">
  87. <button text="停止" @click="zfControl('stop')">停止</button>
  88. </view>
  89. </view>
  90. <!-- 操作记录 -->
  91. <view class="consoleList">
  92. <view class="title">操作记录</view>
  93. <view class="histimeBox">
  94. <u-icon name="calendar" color="#C1C1C1" size="24"></u-icon>
  95. <view class="time" @click="consoleshow = true">
  96. {{consoleTime.startDate ? consoleTime.startDate : '开始'}}
  97. </view>
  98. <view class="">至</view>
  99. <view class="time" @click="consoleshow = true">{{consoleTime.endDate ? consoleTime.endDate : '结束'}}
  100. </view>
  101. <u-icon name="close-circle" color="#C1C1C1" size="28" @click="clearContime"
  102. v-if="consoleTime.startDate"></u-icon>
  103. </view>
  104. <u-calendar @maxDate="maxDate" v-model="consoleshow" mode="range" @change="changeConsoleDate" range-color="#999"
  105. btn-type="success"
  106. active-bg-color="#0BBC58"
  107. range-bg-color="rgba(11,188,88,0.13)"></u-calendar>
  108. <view class="tableList tableTitle">
  109. <view>时间</view>
  110. <view>操作内容</view>
  111. <view>操作结果</view>
  112. <view>操作人</view>
  113. </view>
  114. <view class="tableList" v-for="(item, index) in tableData" :key="item.addtime + index">
  115. <view>{{item.addtime}}</view>
  116. <view :class="item.status=='成功' ? 'success' : 'error'">{{item.order}}</view>
  117. <view>{{item.status}}</view>
  118. <view>{{item.user}}</view>
  119. </view>
  120. <u-loadmore style="margin-top: 16rpx;" :status="status" />
  121. </view>
  122. <u-popup v-model="kdShow" mode="center" width="600rpx">
  123. <view style="padding: 40rpx;">
  124. <slider style="margin-top: 20rpx;" :value="kdValue" show-value="true" :min="0" :max="1000"
  125. block-color="#57C878" activeColor="#57C878" step="1" />
  126. <view class="btn-box">
  127. <u-button @click="kdSubmit" size="mini" type="success">确定</u-button>
  128. </view>
  129. </view>
  130. </u-popup>
  131. </view>
  132. </view>
  133. </template>
  134. <script>
  135. import {
  136. QueryPermission,
  137. getPermissionById,
  138. getUserPermission
  139. } from "@/util/QueryPermission.js"
  140. export default {
  141. data() {
  142. return {
  143. maxDate: '2050-12-31',
  144. city: "",
  145. type: null, //设备类型
  146. device_status: null,
  147. equipInfo: {},
  148. cbd: [
  149. ],
  150. newState: {}, //设备最新状态
  151. setTimeShow: false,
  152. calendar_show: false,
  153. culErr: '',
  154. decoy: '',
  155. newtishitf: false, //暂无数据提示
  156. dataloadingtf: true, //加载中提示
  157. date: "", //日历最大可选日期
  158. operateType: '',
  159. status: '', //是否加载更多
  160. page: 1,
  161. tableData: [],
  162. deviceData: {},
  163. consoleshow: false,
  164. consoleTime: {},
  165. kdValue: 0,
  166. kdShow: false
  167. }
  168. },
  169. computed: {
  170. },
  171. filters: {
  172. equipType(type) {
  173. switch (type) {
  174. case 3:
  175. return "虫情测报灯";
  176. case 7:
  177. return "孢子仪";
  178. case 4:
  179. return "性诱测报"
  180. }
  181. },
  182. formatValue(val, a1, a2) {
  183. if (a2 == 4 && a1 == "电池状态") {
  184. switch (Number(val)) {
  185. case 0:
  186. return '正常';
  187. break;
  188. case 1:
  189. return '欠压';
  190. break;
  191. case 2:
  192. return '过压';
  193. break;
  194. }
  195. } else {
  196. return val ? val : '无'
  197. }
  198. }
  199. },
  200. onReachBottom() {
  201. if (this.status == 'loadmore') {
  202. this.page++;
  203. this.getEquipcontroldata()
  204. }
  205. },
  206. onLoad(option) {
  207. this.equipInfo = JSON.parse(option.info)
  208. console.log(this.equipInfo,'equipInfoequipInfo')
  209. this.getEquipcontroldata()
  210. this.getDeviceList()
  211. // this.getDeviceStatus()
  212. // this.type = Number(this.equipInfo.type) || Number(this.equipInfo.equip_type) || Number(this.equipInfo
  213. // .device_type_id)
  214. // this.equipInfo.type = this.type
  215. // this.getState()
  216. // // this.selectaddress(Number(this.equipInfo.lat), Number(this.equipInfo.lng))
  217. // var times = new Date()
  218. // this.date = times.getFullYear() + 1 + "-" + Number(times.getMonth() + 1) + "-" + times.getDate()
  219. },
  220. methods: {
  221. clickLeft() {
  222. uni.navigateBack({
  223. delta: 1
  224. })
  225. },
  226. kdSubmit() {
  227. this.kdShow = false
  228. this.zfControl('value')
  229. },
  230. // 指令下发
  231. zfControl(cmd) {
  232. this.$myRequest({
  233. method: 'POST',
  234. url: '/api/api_gateway?method=hran.view.hran_order',
  235. data: {
  236. d_id: this.equipInfo.d_id,
  237. order: cmd,
  238. controlValue: this.kdValue
  239. }
  240. }).then((res) => {
  241. console.log('指令', res)
  242. if (res == true) {
  243. uni.showToast({
  244. title: '指令下发成功!',
  245. duration: 2000,
  246. });
  247. setTimeout(() => {
  248. this.tableData = [];
  249. this.page = 1;
  250. this.getEquipcontroldata()
  251. }, 2000)
  252. } else {
  253. uni.showToast({
  254. title: '指令下发失败!',
  255. duration: 2000,
  256. });
  257. }
  258. })
  259. },
  260. changeConsoleDate(e) {
  261. console.log(e)
  262. this.consoleTime = e;
  263. this.tableData = [];
  264. this.page = 1;
  265. this.getEquipcontroldata();
  266. },
  267. clearContime() {
  268. this.consoleTime = {};
  269. this.tableData = [];
  270. this.page = 1;
  271. this.getEquipcontroldata();
  272. },
  273. //操作记录
  274. async getEquipcontroldata() {
  275. uni.showLoading({
  276. title: '加载中'
  277. });
  278. const {
  279. consoleTime
  280. } = this;
  281. let begin = consoleTime.startDate ? new Date(consoleTime.startDate+ ' 00:00:00').getTime() / 1000 : '';
  282. let end = consoleTime.endDate ? new Date(consoleTime.endDate+ ' 23:59:59').getTime() / 1000 : '';
  283. //操作记录
  284. let res = await this.$myRequest({
  285. method: "POST",
  286. url: "/api/api_gateway?method=hran.view.hran_order_list",
  287. data: {
  288. d_id: this.equipInfo.d_id,
  289. page: this.page,
  290. page_size: 15,
  291. start: begin,
  292. end: end
  293. },
  294. })
  295. console.log(res)
  296. uni.hideLoading();
  297. // this.tableData = [];
  298. const record = res.data;
  299. this.tableData = [...this.tableData, ...record];
  300. this.total = res.total;
  301. if (this.page * 15 > this.total) {
  302. this.status = 'nomore'
  303. } else {
  304. this.status = 'loadmore'
  305. }
  306. // console.log(this.tableData);
  307. },
  308. // 获取设备数据
  309. getDeviceList() {
  310. this.devicetf = true
  311. const {
  312. consoleTime
  313. } = this;
  314. let begin = consoleTime.startDate ? new Date(consoleTime.startDate+ ' 00:00:00').getTime() / 1000 : '';
  315. let end = consoleTime.endDate ? new Date(consoleTime.endDate+ ' 23:59:59').getTime() / 1000 : '';
  316. try {
  317. this.$myRequest({
  318. method: 'POST',
  319. url: '/api/api_gateway?method=hran.view.hran_data',
  320. data: {
  321. d_id: this.equipInfo.d_id,
  322. start: begin,
  323. end: end,
  324. page: 1,
  325. page_size: 1
  326. }
  327. }).then((res) => {
  328. this.devicetf = false
  329. console.log('设备数据', res)
  330. if (res.data.length > 0) {
  331. const {
  332. data,
  333. title
  334. } = res
  335. // console.log(data, title, total)
  336. this.deviceData = data[0]
  337. // this.deviceTitle = title
  338. } else {
  339. this.deviceData = {}
  340. }
  341. })
  342. } catch (error) {
  343. console.log('+++++', error)
  344. }
  345. },
  346. async getDeviceStatus() {
  347. const res = await this.$myRequest({
  348. url: '/api/api_gateway?method=new_gateway.device_info.devices_list',
  349. data: {
  350. device_type_id: this.equipInfo.type,
  351. id: this.equipInfo.imei || this.equipInfo.device_id || this.equipInfo.id,
  352. page: 1,
  353. size: 999
  354. }
  355. })
  356. let newRes = res.device[0]
  357. this.equipInfo = {
  358. ...this.equipInfo,
  359. ...newRes
  360. }
  361. console.log('响应', this.equipInfo)
  362. },
  363. async getState() {
  364. this.dataloadingtf = true
  365. const res = await this.$myRequest({
  366. url: '/api/api_gateway?method=new_gateway.device_info.device_status',
  367. data: {
  368. device_type_id: this.equipInfo.type,
  369. id: this.equipInfo.d_id
  370. }
  371. })
  372. this.newState = res
  373. this.dataloadingtf = false
  374. console.log('res', res)
  375. },
  376. partClick(path) {
  377. console.log(path)
  378. var device_id = this.equipInfo.device_id || this.equipInfo.imei || this.equipInfo.id;
  379. uni.navigateTo({
  380. url: path + '?d_id=' + this.equipInfo.d_id + "&device_id=" + device_id + "&device_type=" + this
  381. .type
  382. });
  383. },
  384. operate(type) {
  385. this.calendar_show = true
  386. this.operateType = type
  387. },
  388. timeChange(e, filed) {
  389. // // 根据type_id,执行相应的操作
  390. // let typeId = this.equipInfo.type
  391. // let postData = {}
  392. // if(typeId===32){
  393. // // 添加诱芯
  394. // }else if(typeId === 33){
  395. // // 添加诱芯,更换色板
  396. // this.sbSubmit(e.result)
  397. // }else if(typeId === 34){
  398. // // 添加诱芯,更换卷带
  399. // this.jdSubmit(e.result)
  400. // }
  401. this.yxSubmit(e.result)
  402. },
  403. async yxSubmit(time) {
  404. let {
  405. title,
  406. url,
  407. field
  408. } = this.operateOptions[this.operateType]
  409. if (!time) {
  410. this.$refs.toast.show({
  411. title: '请填写' + title + '到期时间!',
  412. type: 'warning',
  413. })
  414. return false
  415. }
  416. let postData = {
  417. device_type_id: this.equipInfo.type,
  418. id: this.equipInfo.device_id
  419. }
  420. postData[field] = +new Date(time) / 1000
  421. const res = await this.$myRequest({
  422. url: url,
  423. data: postData
  424. })
  425. if (res) {
  426. this.$refs.toast.show({
  427. title: title + '时间设置成功!',
  428. type: 'success',
  429. })
  430. this.getDeviceStatus()
  431. }
  432. },
  433. // 色板
  434. async sbSubmit(time) {
  435. if (!time) {
  436. this.$refs.toast.show({
  437. title: '请填写色板到期时间!',
  438. type: 'warning',
  439. })
  440. return false
  441. }
  442. const res = await this.$myRequest({
  443. url: '/api/api_gateway?method=new_gateway.device_info.sban',
  444. data: {
  445. device_type_id: this.equipInfo.type,
  446. id: this.equipInfo.device_id,
  447. sban_expire_time: +new Date(time) / 1000
  448. }
  449. })
  450. if (res) {
  451. this.$refs.toast.show({
  452. title: '设置成功!',
  453. type: 'success',
  454. })
  455. this.getDeviceStatus()
  456. }
  457. },
  458. async jdSubmit(time) {
  459. if (!time) {
  460. this.$refs.toast.show({
  461. title: '请填写卷带到期时间!',
  462. type: 'warning',
  463. })
  464. return false
  465. }
  466. const res = await this.$myRequest({
  467. url: '/api/api_gateway?method=new_gateway.device_info.syone_jd',
  468. data: {
  469. device_type_id: this.equipInfo.type,
  470. id: this.equipInfo.device_id,
  471. jd_expire_time: +new Date(time) / 1000
  472. }
  473. })
  474. if (res) {
  475. this.$refs.toast.show({
  476. title: '设置成功!',
  477. type: 'success',
  478. })
  479. this.getDeviceStatus()
  480. }
  481. },
  482. selectaddress(lat, lng) { //获取分布位置
  483. uni.request({
  484. type: "GET",
  485. url: "https://restapi.amap.com/v3/geocode/regeo?output=JSON&location=" + lng + "," + lat +
  486. "&key=27273b81090f78759e4057f94474516f&radius=1000&extensions=all",
  487. dataType: "json",
  488. complete: res => {
  489. console.log(res)
  490. this.city = res.data.regeocode.formatted_address
  491. }
  492. });
  493. },
  494. copy(item) {
  495. console.log(item)
  496. uni.setClipboardData({
  497. data: item.imei || item.device_id || item.id,
  498. success: function() {
  499. console.log('success');
  500. }
  501. });
  502. }
  503. },
  504. }
  505. </script>
  506. <style lang='scss'>
  507. page {
  508. height: 100%;
  509. .fm-page {
  510. width: 100%;
  511. min-height: 100%;
  512. background: linear-gradient(180deg, #f5f6fa00 0%, #F5F6FA 23.64%, #F5F6FA 100%), linear-gradient(102deg, #BFEADD 6.77%, #B8F1E7 40.15%, #B9EEF5 84.02%);
  513. padding-top: 44rpx;
  514. }
  515. .fm-content {
  516. padding: 0rpx 32rpx;
  517. box-sizing: border-box;
  518. }
  519. .title {
  520. color: #999999;
  521. margin: 32rpx 0;
  522. }
  523. .logo {
  524. width: 36rpx;
  525. height: 36rpx;
  526. margin-right: 12rpx;
  527. position: relative;
  528. top: 8rpx;
  529. }
  530. .device-id {
  531. height: 60rpx;
  532. line-height: 60rpx;
  533. margin-bottom: 18rpx;
  534. color: #5C5C5C;
  535. .float-right {
  536. float: right;
  537. width: 88px;
  538. height: 30px;
  539. text-align: center;
  540. position: absolute;
  541. top: 0;
  542. right: 0;
  543. border-top-right-radius: 24rpx;
  544. }
  545. }
  546. .on {
  547. background-image: url('/static/images/cb/online.png');
  548. color: #fff;
  549. }
  550. .off {
  551. background-image: url('/static/images/cb/outline.png');
  552. color: #999999;
  553. }
  554. .info {
  555. position: relative;
  556. padding: 8rpx 32rpx 32rpx 32rpx;
  557. line-height: 50rpx;
  558. font-size: 26rpx;
  559. border-radius: 24rpx;
  560. background-color: #fff;
  561. box-sizing: border-box;
  562. width: 100%;
  563. .info-list {
  564. overflow: hidden;
  565. font-size: 12px;
  566. .float-right {
  567. float: right;
  568. color: #666;
  569. .arrow {
  570. margin-left: 10rpx;
  571. }
  572. }
  573. .float-left {
  574. float: left;
  575. color: #999;
  576. }
  577. }
  578. .tishi {
  579. width: 28rpx;
  580. height: 28rpx;
  581. margin: 0rpx 0 0 12rpx;
  582. position: relative;
  583. top: 6rpx;
  584. }
  585. }
  586. .tit {
  587. font-weight: 800;
  588. height: 50rpx;
  589. font-size: 30rpx;
  590. margin-bottom: 20rpx;
  591. display: flex;
  592. justify-content: space-between;
  593. .span {
  594. color: #6e6c76;
  595. font-size: 24rpx;
  596. display: flex;
  597. justify-content: space-between;
  598. /* margin-top: 12rpx; */
  599. }
  600. }
  601. .newState {
  602. padding: 32rpx;
  603. border-radius: 16rpx;
  604. background: #FFF;
  605. .top {
  606. height: 112rpx;
  607. display: flex;
  608. justify-content: space-between;
  609. align-items: center;
  610. .left {
  611. width: 40%;
  612. display: flex;
  613. align-items: center;
  614. }
  615. .right {
  616. width: 160rpx;
  617. }
  618. .img {
  619. float: left;
  620. width: 110rpx;
  621. height: 110rpx;
  622. margin-right: 32rpx;
  623. }
  624. p:nth-child(2) {
  625. color: #687A74;
  626. }
  627. .num {
  628. font-size: 40rpx;
  629. font-weight: 700;
  630. color: #042118;
  631. }
  632. }
  633. .up-down {
  634. height: 222rpx;
  635. margin: 32rpx 0;
  636. display: flex;
  637. gap: 18rpx;
  638. justify-content: space-between;
  639. }
  640. .bottom {
  641. box-sizing: border-box;
  642. height: 100%;
  643. display: flex;
  644. padding: 32rpx 0;
  645. flex-direction: column;
  646. justify-content: center;
  647. align-items: center;
  648. gap: 30rpx;
  649. flex: 1 0 0;
  650. border-radius: 16rpx;
  651. background: linear-gradient(180deg, #14a4781a 0%, #14a47800 100%), #FFF;
  652. .opt {
  653. width: 70rpx;
  654. height: 70rpx;
  655. font-size: 24rpx;
  656. color: #687A74;
  657. image {
  658. width: 64rpx;
  659. height: 64rpx;
  660. float: left;
  661. margin-right: 16rpx;
  662. }
  663. .num {
  664. color: #042118;
  665. font-weight: 700;
  666. font-size: 28rpx;
  667. }
  668. }
  669. }
  670. .btn {
  671. button {
  672. font-size: 28rpx;
  673. width: 100%;
  674. background: #EEF0F8;
  675. height: 63rpx;
  676. line-height: 63rpx;
  677. border: none;
  678. outline: none;
  679. border-radius: 16rpx;
  680. &:after {
  681. border: none;
  682. }
  683. &.active {
  684. color: #fff;
  685. background: #14A478;
  686. }
  687. }
  688. }
  689. }
  690. }
  691. /deep/.u-calendar__action {
  692. display: flex;
  693. justify-content: space-around;
  694. .u-calendar__action__text {
  695. line-height: 25px;
  696. }
  697. }
  698. .red {
  699. color: rgb(235, 103, 101);
  700. }
  701. .consoleList {
  702. padding: 32rpx;
  703. background: #fff;
  704. border-radius: 16rpx;
  705. margin-top: 32rpx;
  706. min-height: calc(100vh - 1020rpx);
  707. .title {
  708. margin: 0;
  709. margin-bottom: 16rpx;
  710. color: #042118;
  711. font-weight: 600;
  712. }
  713. .histimeBox {
  714. margin: 32rpx 0;
  715. }
  716. .tableList {
  717. font-size: 28rpx;
  718. height: 93rpx;
  719. color: #042118;
  720. display: flex;
  721. justify-content: space-between;
  722. align-items: center;
  723. border-bottom: 2rpx solid var(--neutral-color-border-base, #DCE6E3);
  724. view {
  725. text-align: center;
  726. }
  727. .success {
  728. color: #14A478;
  729. }
  730. .error {
  731. color: #FF5951;
  732. }
  733. view:nth-child(1) {
  734. width: 160rpx;
  735. text-align: left;
  736. }
  737. view:nth-child(2) {
  738. width: 170rpx;
  739. }
  740. view:nth-child(3) {
  741. width: 120rpx;
  742. }
  743. }
  744. .tableTitle {
  745. /* background: #E8F3F0; */
  746. color: #042118;
  747. font-weight: 500;
  748. height: 78rpx;
  749. }
  750. }
  751. .histimeBox {
  752. display: flex;
  753. align-items: center;
  754. justify-content: space-between;
  755. height: 56rpx;
  756. padding: 6rpx 24rpx;
  757. box-sizing: border-box;
  758. border-radius: 8rpx;
  759. margin-top: 54rpx;
  760. border: 2rpx solid var(--neutral-color-border-light, #e4edea);
  761. .u-icon {
  762. z-index: 10;
  763. }
  764. .time {
  765. width: 280rpx;
  766. color: #c1c1c1;
  767. }
  768. view {
  769. color: #333333;
  770. text-align: center;
  771. }
  772. }
  773. .btn-box {
  774. text-align: center;
  775. }
  776. </style>