electronicMonitoring.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951
  1. <template>
  2. <view>
  3. <view class="background">
  4. <!-- 设备选择器 -->
  5. <!-- <u-picker title="设备选择" v-model="equipmentShow"
  6. mode="multiSelector" :default-selector='[0, 1]' :range="multiSelector">
  7. </u-picker> -->
  8. <u-select v-model="equipmentShow" mode="mutil-column-auto" :list="equipmentList" @confirm="confirm">
  9. </u-select>
  10. <!-- 日期选择器 -->
  11. <u-picker-select title="日期选择" v-model="tabsFrom.show2" :defaultTime="tabsFrom.show2Index" :endYear="endYear"
  12. mode="time" :params="params" @confirm="selector2confirm" @reset="selector2reset"></u-picker-select>
  13. <!-- <u-navbar :background="background" back-icon-color="#fff" title="联通公司" title-color="#fff">
  14. <view class="u-nav-slot" slot="right" @click="tabsFrom.show2=true,params.day=true">
  15. <image class="img" src="@/assets/img/riLine-calendar-todo-line 1.svg" mode=""></image>
  16. </view>
  17. </u-navbar> -->
  18. <view class="navbar-c">
  19. <view class="back" @click="backDataMonitoringList">
  20. <u-icon name="arrow-left" color="#fff" size="36"></u-icon>
  21. </view>
  22. <view class="title" @click="equipmentShow=true">
  23. 荆鹏软件园01<u-icon name="arrow-down" color="#fff" size="24"></u-icon>
  24. </view>
  25. <view class="right" @click="tabsFrom.show2=true">
  26. <image class="img" src="@/assets/img/riLine-calendar-todo-line 1.svg" mode=""></image>
  27. </view>
  28. </view>
  29. <!-- 日期 -->
  30. <view class="date-box">
  31. <view class="item item-today">
  32. <view class="date">
  33. 26
  34. </view>
  35. <view class="week ">
  36. 今天
  37. </view>
  38. <view class="dot">
  39. </view>
  40. </view>
  41. <view class="item">
  42. <view class="date">
  43. 27
  44. </view>
  45. <view class="week">
  46. 周六
  47. </view>
  48. </view>
  49. <view class="item">
  50. <view class="date">
  51. 28
  52. </view>
  53. <view class="week">
  54. 周日
  55. </view>
  56. </view>
  57. <view class="item">
  58. <view class="date">
  59. 29
  60. </view>
  61. <view class="week">
  62. 周一
  63. </view>
  64. </view>
  65. <view class="item">
  66. <view class="date">
  67. 30
  68. </view>
  69. <view class="week">
  70. 周二
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <!-- 用电量 -->
  76. <view class="electricity-consumption">
  77. <view class="title">
  78. 用电量统计 (度)
  79. </view>
  80. <view class="degree">
  81. <view class="item">
  82. <view class="item-text">
  83. 百万
  84. </view>
  85. <view class="item-number">
  86. 0
  87. </view>
  88. </view>
  89. <view class="item">
  90. <view class="item-text">
  91. 拾万
  92. </view>
  93. <view class="item-number">
  94. 0
  95. </view>
  96. </view>
  97. <view class="item">
  98. <view class="item-text">
  99. </view>
  100. <view class="item-number">
  101. 0
  102. </view>
  103. </view>
  104. <view class="item">
  105. <view class="item-text">
  106. </view>
  107. <view class="item-number">
  108. 0
  109. </view>
  110. </view>
  111. <view class="item">
  112. <view class="item-text">
  113. </view>
  114. <view class="item-number">
  115. 0
  116. </view>
  117. </view>
  118. <view class="item">
  119. <view class="item-text">
  120. </view>
  121. <view class="item-number">
  122. 7
  123. </view>
  124. </view>
  125. <view class="item">
  126. <view class="item-text">
  127. 1
  128. </view>
  129. <view class="item-number">
  130. 7
  131. </view>
  132. </view>
  133. <view class="item">
  134. <view class="item-text">
  135. 0.1
  136. </view>
  137. <view class="item-number decimal">
  138. 7
  139. </view>
  140. </view>
  141. </view>
  142. <view class="radio">
  143. <u-radio-group v-model="value" @change="radioGroupChange">
  144. <u-radio @change="radioChange" v-for="(item, index) in list" :key="index" :name="item.id"
  145. :disabled="item.disabled">
  146. {{item.name}}
  147. </u-radio>
  148. </u-radio-group>
  149. </view>
  150. </view>
  151. <!-- 各时段用电量 -->
  152. <view class="electricity-chart">
  153. <view class="title">
  154. <view class="icon">
  155. </view>
  156. <view class="text">
  157. 各时段用电量 (度)
  158. </view>
  159. </view>
  160. <view class="chart">
  161. <!-- <image class="img" src="@/assets/img/chart@1x.png" mode=""></image> -->
  162. <view id="barEcharts" style="min-height:440rpx;">
  163. </view>
  164. </view>
  165. </view>
  166. <!-- 异常波动 -->
  167. <view class="abnormal">
  168. <view class="headline">
  169. <view class="title">
  170. <view class="icon">
  171. </view>
  172. <view class="text">
  173. 异常告警
  174. </view>
  175. </view>
  176. <view class="more">
  177. 查看全部
  178. <u-icon name="arrow-right" size="24" color="#d4d4d4"></u-icon>
  179. </view>
  180. </view>
  181. <view class="details">
  182. <view class="item">
  183. <view class="name">
  184. 温度异常告警
  185. </view>
  186. <view class="time">
  187. 2024-01-25 15:00:00
  188. </view>
  189. </view>
  190. <view class="item">
  191. <view class="name">
  192. 三厢功率因数异常告警
  193. </view>
  194. <view class="time">
  195. 2024-01-05 20:00:00
  196. </view>
  197. </view>
  198. </view>
  199. </view>
  200. <!-- 能源监测 -->
  201. <view class="energy-inspection">
  202. <view class="title">
  203. <view class="icon">
  204. </view>
  205. <view class="text">
  206. 能源监测
  207. </view>
  208. </view>
  209. <view class="grid">
  210. <u-grid :col="3" :border="false">
  211. <u-grid-item>
  212. <view class="icon icon1">
  213. <image class="img" src="@/assets/img/Image@1.png" mode=""></image>
  214. </view>
  215. <view class="grid-text">三相电流</view>
  216. </u-grid-item>
  217. <u-grid-item>
  218. <view class="icon icon2">
  219. <image class="img" src="@/assets/img/Image@2.png" mode=""></image>
  220. </view>
  221. <view class="grid-text">三相电压</view>
  222. </u-grid-item>
  223. <u-grid-item>
  224. <view class="icon icon3">
  225. <image class="img" src="@/assets/img/Image@3.png" mode=""></image>
  226. </view>
  227. <view class="grid-text">三相温度</view>
  228. </u-grid-item>
  229. <u-grid-item>
  230. <view class="icon icon4">
  231. <image class="img" src="@/assets/img/Image@4.png" mode=""></image>
  232. </view>
  233. <view class="grid-text">三相有功功率</view>
  234. </u-grid-item>
  235. <u-grid-item>
  236. <view class="icon icon5">
  237. <image class="img" src="@/assets/img/Image@5.png" mode=""></image>
  238. </view>
  239. <view class="grid-text">三相功率因数</view>
  240. </u-grid-item>
  241. <u-grid-item>
  242. <view class="icon icon6">
  243. <image class="img" src="@/assets/img/Image@5.png" mode=""></image>
  244. </view>
  245. <view class="grid-text">平均功率因数</view>
  246. </u-grid-item>
  247. </u-grid>
  248. </view>
  249. </view>
  250. <!-- 数据分析 -->
  251. <view class="data-analysis">
  252. <view class="title">
  253. <view class="icon">
  254. </view>
  255. <view class="text">
  256. 数据分析
  257. </view>
  258. </view>
  259. <view class="grid">
  260. <u-grid :col="3" :border="false">
  261. <u-grid-item>
  262. <view class="icon icon7">
  263. <image class="img" src="@/assets/img/Image@7.png" mode=""></image>
  264. </view>
  265. <view class="grid-text">同比分析</view>
  266. </u-grid-item>
  267. <u-grid-item>
  268. <view class="icon icon8">
  269. <image class="img" src="@/assets/img/Image@8.png" mode=""></image>
  270. </view>
  271. <view class="grid-text">环比分析</view>
  272. </u-grid-item>
  273. <u-grid-item>
  274. <view class="icon icon9">
  275. <image class="img" src="@/assets/img/Image@9.svg" mode=""></image>
  276. </view>
  277. <view class="grid-text">用电统计</view>
  278. </u-grid-item>
  279. </u-grid>
  280. </view>
  281. </view>
  282. <!-- 创建工单 -->
  283. <view class="create-order">
  284. <view class="img-box">
  285. <image class="img" src="@/assets/img/riFill-file-add-fill.svg" mode=""></image>
  286. </view>
  287. <view class="text">
  288. 创建工单
  289. </view>
  290. </view>
  291. </view>
  292. </template>
  293. <script>
  294. import * as echarts from 'echarts';
  295. export default {
  296. data() {
  297. return {
  298. myBarChart: null,
  299. endYear: '',
  300. equipmentShow: false,
  301. multiSelector: [
  302. ['荆鹏集团', '玉桥公园', '全季酒店'],
  303. ['荆鹏软件园01', '青少年宫02', '御河社区03', '荆州院子04']
  304. ],
  305. equipmentList: [{
  306. value: 1,
  307. label: '荆鹏集团',
  308. children: [{
  309. value: 2,
  310. label: '荆鹏集团01',
  311. },
  312. {
  313. value: 3,
  314. label: '荆鹏集团02',
  315. },
  316. {
  317. value: 4,
  318. label: '荆鹏集团03',
  319. }
  320. ]
  321. },
  322. {
  323. value: 5,
  324. label: '荆州院子',
  325. children: [{
  326. value: 6,
  327. label: '荆州院子01',
  328. },
  329. {
  330. value: 7,
  331. label: '荆州院子02',
  332. },
  333. {
  334. value: 8,
  335. label: '荆州院子03',
  336. }
  337. ]
  338. }
  339. ],
  340. params: {
  341. year: true,
  342. month: true,
  343. day: true,
  344. hour: false,
  345. minute: false,
  346. second: false
  347. },
  348. tabsFrom: {
  349. show1: false,
  350. show1Index: 0,
  351. show2Index: '',
  352. show2: false,
  353. show1Text: "全部类型",
  354. show2Text: "全部时间",
  355. selector1: [{
  356. label: '全部类型',
  357. value: '',
  358. },
  359. {
  360. label: '线上充值',
  361. value: '1',
  362. },
  363. {
  364. label: '线下充值',
  365. value: '2',
  366. },
  367. ]
  368. },
  369. background: {
  370. backgroundColor: '#1677FF',
  371. },
  372. list: [{
  373. id: 0,
  374. name: '本月用电量',
  375. disabled: false
  376. },
  377. {
  378. id: 1,
  379. name: '上月用电量',
  380. disabled: false
  381. },
  382. {
  383. id: 2,
  384. name: '本年用电量',
  385. disabled: false
  386. }, {
  387. id: 3,
  388. name: '上年用电量',
  389. disabled: false
  390. }, {
  391. id: 4,
  392. name: '总用电量',
  393. disabled: false
  394. }, {
  395. id: 5,
  396. name: '指定月份',
  397. disabled: false
  398. }
  399. ],
  400. value: '本月用电量',
  401. };
  402. },
  403. onLoad() {
  404. this.endYear = new Date().getFullYear()
  405. },
  406. onReady() {
  407. this.getBarCharts();
  408. },
  409. methods: {
  410. getBarCharts() {
  411. if (!this.myBarChart) {
  412. this.myBarChart = echarts.init(document.getElementById('barEcharts'));
  413. }
  414. var option = {
  415. tooltip: {
  416. trigger: 'axis',
  417. axisPointer: {
  418. type: 'shadow'
  419. }
  420. },
  421. legend: {
  422. show: false
  423. },
  424. grid: {
  425. left: '3%',
  426. right: '4%',
  427. bottom: '3%',
  428. containLabel: true
  429. },
  430. xAxis: [{
  431. type: 'category',
  432. data: ['0-2点', '3-4点', '5-6点', '7-8点', '9-10点', '11-12点', '13-14点', '15-16点',
  433. '17-18点', '19-20点', '21-22点', '23-24点'
  434. ],
  435. axisLabel: {
  436. interval: 0,
  437. rotate: 45
  438. },
  439. }],
  440. yAxis: [{
  441. type: 'value'
  442. }],
  443. series: [{
  444. name: '用电量',
  445. type: 'bar',
  446. data: [2, 8, 7, 10, 40, 48, 56, 61, 59, 36, 8, 4],
  447. label: {
  448. show: true,
  449. position: 'top',
  450. color: '#5C7BD9'
  451. },
  452. }]
  453. };
  454. this.myBarChart.setOption(option);
  455. },
  456. selector2confirm(e) {
  457. this.tabsFrom.show2Text = e.year + "年" + e.month + "月"
  458. this.tabsFrom.show2Index = e.year + "-" + e.month
  459. if (e.day) {
  460. this.tabsFrom.show2Text += e.day + "日"
  461. this.tabsFrom.show2Index += '-' + e.day
  462. }
  463. },
  464. selector2reset(e) {
  465. console.log(e)
  466. this.tabsFrom.show2Text = '全部时间'
  467. this.tabsFrom.show2Index = '';
  468. },
  469. // 选中某个单选框时,由radio时触发
  470. radioChange(e) {
  471. //console.log(e);
  472. },
  473. // 选中任一radio时,由radio-group触发
  474. radioGroupChange(e) {
  475. console.log(e);
  476. if (e == 5) {
  477. this.tabsFrom.show2 = true
  478. this.params.day = false
  479. }
  480. },
  481. backDataMonitoringList() {
  482. uni.navigateBack()
  483. },
  484. }
  485. };
  486. </script>
  487. <style lang="scss" scoped>
  488. page {
  489. padding-bottom: 184rpx;
  490. }
  491. .navbar-c {
  492. background-color: rgba(22, 119, 255, 1);
  493. .back {
  494. z-index: 999;
  495. width: 200rpx;
  496. }
  497. .title {
  498. color: #fff;
  499. display: flex;
  500. align-items: center;
  501. justify-content: center;
  502. }
  503. .right {
  504. .img {
  505. width: 48rpx;
  506. height: 48rpx;
  507. }
  508. }
  509. }
  510. /deep/.uicon-nav-back {
  511. color: #fff !important;
  512. }
  513. .background {
  514. background-color: rgba(22, 119, 255, 1);
  515. padding-bottom: 100rpx;
  516. /deep/.u-border-bottom:after {
  517. border: none;
  518. }
  519. .u-nav-slot {
  520. margin-right: 32rpx;
  521. .img {
  522. width: 48rpx;
  523. height: 48rpx;
  524. vertical-align: middle;
  525. }
  526. }
  527. }
  528. .background::after {
  529. content: '';
  530. position: absolute;
  531. width: 160%;
  532. height: 80px;
  533. background-color: rgba(22, 119, 255, 1);
  534. left: -30%;
  535. border-radius: 0 0 50% 50%;
  536. }
  537. // // 日期
  538. .date-box {
  539. display: flex;
  540. align-items: center;
  541. justify-content: space-between;
  542. margin: 24rpx 32rpx;
  543. .item {
  544. border-radius: 8px;
  545. background-color: rgba(255, 255, 255, 0.1);
  546. border: 1px solid rgba(255, 255, 255, 0.15);
  547. width: 120rpx;
  548. height: 120rpx;
  549. color: #fff;
  550. text-align: center;
  551. display: flex;
  552. flex-direction: column;
  553. justify-content: center;
  554. .date {
  555. font-size: 40rpx;
  556. }
  557. }
  558. .item-today {
  559. background-color: rgba(255, 255, 255, 1);
  560. position: relative;
  561. .date {
  562. color: rgba(22, 119, 255, 1);
  563. }
  564. .week {
  565. color: rgba(16, 16, 16, 1);
  566. }
  567. .dot {
  568. width: 10rpx;
  569. height: 10rpx;
  570. background-color: rgba(255, 150, 0, 1);
  571. border-radius: 999px;
  572. position: absolute;
  573. bottom: -5rpx;
  574. left: 50%;
  575. transform: translateX(-50%);
  576. }
  577. }
  578. }
  579. // 用电量
  580. .electricity-consumption {
  581. background-color: #fff;
  582. padding: 40rpx 32rpx 0rpx;
  583. border-radius: 8px;
  584. margin: -88rpx 32rpx 0;
  585. position: relative;
  586. .title {
  587. color: rgba(16, 16, 16, 1);
  588. font-size: 36rpx;
  589. }
  590. .degree {
  591. display: flex;
  592. margin-top: 32rpx;
  593. .item {
  594. margin-right: 6rpx;
  595. text-align: center;
  596. .item-text {
  597. color: rgba(16, 16, 16, 1);
  598. }
  599. .item-number {
  600. margin-top: 24rpx;
  601. width: 72rpx;
  602. height: 96rpx;
  603. background-color: rgba(16, 16, 16, 1);
  604. color: #fff;
  605. font-size: 72rpx;
  606. }
  607. .decimal {
  608. background-color: #900005;
  609. }
  610. }
  611. }
  612. // .tab {
  613. // width: 240rpx;
  614. // height: 0;
  615. // border-width: 0px 48rpx 72rpx 0px;
  616. // border-radius: 8px 8px 0 0;
  617. // border-style: none solid solid none;
  618. // border-color: transparent transparent #fff;
  619. // position: absolute;
  620. // top: -72rpx;
  621. // left: 0rpx;
  622. // right: 0rpx;
  623. // color: #101010;
  624. // color: rgba(16, 16, 16, 1);
  625. // text-align: center;
  626. // line-height: 72rpx;
  627. // z-index: 999;
  628. // text-indent: 16rpx;
  629. // }
  630. // .tab2 {
  631. // width: 240rpx;
  632. // height: 0;
  633. // border-width: 0px 48rpx 72rpx 0px;
  634. // border-radius: 8px 8px 0 0;
  635. // border-style: none solid solid none;
  636. // border-color: transparent transparent #D4DBE4;
  637. // position: absolute;
  638. // top: -72rpx;
  639. // left: 210rpx;
  640. // right: 0rpx;
  641. // color: #777777;
  642. // text-align: center;
  643. // line-height: 72rpx;
  644. // text-indent: 16rpx;
  645. // }
  646. .radio {
  647. margin-top: 24rpx;
  648. /deep/.u-radio__label {
  649. font-size: 24rpx
  650. }
  651. /deep/.u-radio {
  652. margin-bottom: 16px;
  653. width: 200rpx !important;
  654. }
  655. }
  656. }
  657. //各时段用电量
  658. .electricity-chart {
  659. margin: 24rpx 32rpx;
  660. padding: 40rpx 0rpx;
  661. background-color: #fff;
  662. border-radius: 8px;
  663. .title {
  664. display: flex;
  665. align-items: center;
  666. padding: 0 32rpx;
  667. margin-bottom: 40rpx;
  668. font-weight: bold;
  669. .icon {
  670. width: 36rpx;
  671. height: 36rpx;
  672. background-color: rgba(22, 119, 255, 1);
  673. border: 6px solid rgba(182, 212, 255, 1);
  674. border-radius: 100px;
  675. }
  676. .text {
  677. color: rgba(51, 51, 51, 1);
  678. font-size: 36rpx;
  679. margin-left: 16rpx;
  680. }
  681. }
  682. .chart {
  683. width: 100%;
  684. height: 440rpx;
  685. .img {
  686. width: 100%;
  687. height: 440rpx;
  688. }
  689. }
  690. }
  691. // 异常
  692. .abnormal {
  693. margin: 24rpx 32rpx;
  694. padding: 40rpx 32rpx;
  695. background-color: #fff;
  696. border-radius: 8px;
  697. .headline {
  698. display: flex;
  699. align-items: center;
  700. justify-content: space-between;
  701. }
  702. .title {
  703. display: flex;
  704. align-items: center;
  705. font-weight: bold;
  706. .icon {
  707. width: 36rpx;
  708. height: 36rpx;
  709. background-color: rgba(22, 119, 255, 1);
  710. border: 6px solid rgba(182, 212, 255, 1);
  711. border-radius: 100px;
  712. }
  713. .text {
  714. color: rgba(51, 51, 51, 1);
  715. font-size: 36rpx;
  716. margin-left: 16rpx;
  717. }
  718. }
  719. .more {
  720. color: #838383;
  721. font-size: 24rpx
  722. }
  723. .details {
  724. margin-top: 40rpx;
  725. .item {
  726. display: flex;
  727. align-items: center;
  728. justify-content: space-between;
  729. margin-top: 32rpx;
  730. .name {
  731. color: rgba(51, 51, 51, 1);
  732. }
  733. .time {
  734. color: rgba(119, 119, 119, 1);
  735. font-size: 24rpx;
  736. }
  737. }
  738. }
  739. }
  740. // 能源监测
  741. .energy-inspection,
  742. .data-analysis {
  743. margin: 24rpx 32rpx;
  744. padding: 40rpx 32rpx;
  745. background-color: #fff;
  746. border-radius: 8px;
  747. .title {
  748. display: flex;
  749. align-items: center;
  750. font-weight: bold;
  751. .icon {
  752. width: 36rpx;
  753. height: 36rpx;
  754. background-color: rgba(22, 119, 255, 1);
  755. border: 6px solid rgba(182, 212, 255, 1);
  756. border-radius: 100px;
  757. }
  758. .text {
  759. color: rgba(51, 51, 51, 1);
  760. font-size: 36rpx;
  761. margin-left: 16rpx;
  762. }
  763. }
  764. .grid {
  765. .icon {
  766. width: 128rpx;
  767. height: 128rpx;
  768. border-radius: 12px;
  769. background-color: rgba(35, 186, 178, 1);
  770. display: flex;
  771. align-items: center;
  772. justify-content: center;
  773. margin-bottom: 16rpx;
  774. .img {
  775. width: 80rpx;
  776. height: 80rpx;
  777. }
  778. }
  779. .icon2 {
  780. background-color: rgba(42, 186, 72, 1);
  781. }
  782. .icon3 {
  783. background-color: rgba(78, 96, 246, 1);
  784. }
  785. .icon4 {
  786. background-color: rgba(22, 119, 255, 1);
  787. }
  788. .icon5 {
  789. background-color: rgba(35, 186, 178, 1);
  790. }
  791. .icon6 {
  792. background-color: rgba(42, 186, 72, 1);
  793. }
  794. .icon7 {
  795. background-color: rgba(22, 119, 255, 1);
  796. }
  797. .icon8 {
  798. background-color: rgba(35, 186, 178, 1);
  799. }
  800. .icon9 {
  801. background-color: rgba(42, 186, 72, 1);
  802. }
  803. .grid-text {
  804. color: #333333;
  805. }
  806. }
  807. }
  808. // 创建工单
  809. .create-order {
  810. width: 120rpx;
  811. height: 120rpx;
  812. border-radius: 20px;
  813. background: linear-gradient(180deg, rgba(121, 172, 255, 1) 0%, rgba(57, 132, 255, 1) 100%);
  814. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  815. text-align: center;
  816. display: flex;
  817. flex-direction: column;
  818. justify-content: center;
  819. align-items: center;
  820. position: fixed;
  821. right: 32rpx;
  822. bottom: 64rpx;
  823. .img {
  824. width: 56rpx;
  825. height: 56rpx;
  826. }
  827. .text {
  828. color: rgba(255, 255, 255, 1);
  829. font-size: 22rpx;
  830. }
  831. }
  832. </style>