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" >
  23. 荆鹏软件园01<u-icon name="arrow-down" color="#fff" size="24" @click="equipmentShow=true"></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. padding-top: 88rpx;
  517. /deep/.u-border-bottom:after {
  518. border: none;
  519. }
  520. .u-nav-slot {
  521. margin-right: 32rpx;
  522. .img {
  523. width: 48rpx;
  524. height: 48rpx;
  525. vertical-align: middle;
  526. }
  527. }
  528. }
  529. .background::after {
  530. content: '';
  531. position: absolute;
  532. width: 160%;
  533. height: 80px;
  534. background-color: rgba(22, 119, 255, 1);
  535. left: -30%;
  536. border-radius: 0 0 50% 50%;
  537. }
  538. // // 日期
  539. .date-box {
  540. display: flex;
  541. align-items: center;
  542. justify-content: space-between;
  543. margin: 24rpx 32rpx;
  544. .item {
  545. border-radius: 8px;
  546. background-color: rgba(255, 255, 255, 0.1);
  547. border: 1px solid rgba(255, 255, 255, 0.15);
  548. width: 120rpx;
  549. height: 120rpx;
  550. color: #fff;
  551. text-align: center;
  552. display: flex;
  553. flex-direction: column;
  554. justify-content: center;
  555. .date {
  556. font-size: 40rpx;
  557. }
  558. }
  559. .item-today {
  560. background-color: rgba(255, 255, 255, 1);
  561. position: relative;
  562. .date {
  563. color: rgba(22, 119, 255, 1);
  564. }
  565. .week {
  566. color: rgba(16, 16, 16, 1);
  567. }
  568. .dot {
  569. width: 10rpx;
  570. height: 10rpx;
  571. background-color: rgba(255, 150, 0, 1);
  572. border-radius: 999px;
  573. position: absolute;
  574. bottom: -5rpx;
  575. left: 50%;
  576. transform: translateX(-50%);
  577. }
  578. }
  579. }
  580. // 用电量
  581. .electricity-consumption {
  582. background-color: #fff;
  583. padding: 40rpx 32rpx 0rpx;
  584. border-radius: 8px;
  585. margin: -88rpx 32rpx 0;
  586. position: relative;
  587. .title {
  588. color: rgba(16, 16, 16, 1);
  589. font-size: 36rpx;
  590. }
  591. .degree {
  592. display: flex;
  593. margin-top: 32rpx;
  594. .item {
  595. margin-right: 6rpx;
  596. text-align: center;
  597. .item-text {
  598. color: rgba(16, 16, 16, 1);
  599. }
  600. .item-number {
  601. margin-top: 24rpx;
  602. width: 72rpx;
  603. height: 96rpx;
  604. background-color: rgba(16, 16, 16, 1);
  605. color: #fff;
  606. font-size: 72rpx;
  607. }
  608. .decimal {
  609. background-color: #900005;
  610. }
  611. }
  612. }
  613. // .tab {
  614. // width: 240rpx;
  615. // height: 0;
  616. // border-width: 0px 48rpx 72rpx 0px;
  617. // border-radius: 8px 8px 0 0;
  618. // border-style: none solid solid none;
  619. // border-color: transparent transparent #fff;
  620. // position: absolute;
  621. // top: -72rpx;
  622. // left: 0rpx;
  623. // right: 0rpx;
  624. // color: #101010;
  625. // color: rgba(16, 16, 16, 1);
  626. // text-align: center;
  627. // line-height: 72rpx;
  628. // z-index: 999;
  629. // text-indent: 16rpx;
  630. // }
  631. // .tab2 {
  632. // width: 240rpx;
  633. // height: 0;
  634. // border-width: 0px 48rpx 72rpx 0px;
  635. // border-radius: 8px 8px 0 0;
  636. // border-style: none solid solid none;
  637. // border-color: transparent transparent #D4DBE4;
  638. // position: absolute;
  639. // top: -72rpx;
  640. // left: 210rpx;
  641. // right: 0rpx;
  642. // color: #777777;
  643. // text-align: center;
  644. // line-height: 72rpx;
  645. // text-indent: 16rpx;
  646. // }
  647. .radio {
  648. margin-top: 24rpx;
  649. /deep/.u-radio__label {
  650. font-size: 24rpx
  651. }
  652. /deep/.u-radio {
  653. margin-bottom: 16px;
  654. width: 200rpx !important;
  655. }
  656. }
  657. }
  658. //各时段用电量
  659. .electricity-chart {
  660. margin: 24rpx 32rpx;
  661. padding: 40rpx 0rpx;
  662. background-color: #fff;
  663. border-radius: 8px;
  664. .title {
  665. display: flex;
  666. align-items: center;
  667. padding: 0 32rpx;
  668. margin-bottom: 40rpx;
  669. font-weight: bold;
  670. .icon {
  671. width: 36rpx;
  672. height: 36rpx;
  673. background-color: rgba(22, 119, 255, 1);
  674. border: 6px solid rgba(182, 212, 255, 1);
  675. border-radius: 100px;
  676. }
  677. .text {
  678. color: rgba(51, 51, 51, 1);
  679. font-size: 36rpx;
  680. margin-left: 16rpx;
  681. }
  682. }
  683. .chart {
  684. width: 100%;
  685. height: 440rpx;
  686. .img {
  687. width: 100%;
  688. height: 440rpx;
  689. }
  690. }
  691. }
  692. // 异常
  693. .abnormal {
  694. margin: 24rpx 32rpx;
  695. padding: 40rpx 32rpx;
  696. background-color: #fff;
  697. border-radius: 8px;
  698. .headline {
  699. display: flex;
  700. align-items: center;
  701. justify-content: space-between;
  702. }
  703. .title {
  704. display: flex;
  705. align-items: center;
  706. font-weight: bold;
  707. .icon {
  708. width: 36rpx;
  709. height: 36rpx;
  710. background-color: rgba(22, 119, 255, 1);
  711. border: 6px solid rgba(182, 212, 255, 1);
  712. border-radius: 100px;
  713. }
  714. .text {
  715. color: rgba(51, 51, 51, 1);
  716. font-size: 36rpx;
  717. margin-left: 16rpx;
  718. }
  719. }
  720. .more {
  721. color: #838383;
  722. font-size: 24rpx
  723. }
  724. .details {
  725. margin-top: 40rpx;
  726. .item {
  727. display: flex;
  728. align-items: center;
  729. justify-content: space-between;
  730. margin-top: 32rpx;
  731. .name {
  732. color: rgba(51, 51, 51, 1);
  733. }
  734. .time {
  735. color: rgba(119, 119, 119, 1);
  736. font-size: 24rpx;
  737. }
  738. }
  739. }
  740. }
  741. // 能源监测
  742. .energy-inspection,
  743. .data-analysis {
  744. margin: 24rpx 32rpx;
  745. padding: 40rpx 32rpx;
  746. background-color: #fff;
  747. border-radius: 8px;
  748. .title {
  749. display: flex;
  750. align-items: center;
  751. font-weight: bold;
  752. .icon {
  753. width: 36rpx;
  754. height: 36rpx;
  755. background-color: rgba(22, 119, 255, 1);
  756. border: 6px solid rgba(182, 212, 255, 1);
  757. border-radius: 100px;
  758. }
  759. .text {
  760. color: rgba(51, 51, 51, 1);
  761. font-size: 36rpx;
  762. margin-left: 16rpx;
  763. }
  764. }
  765. .grid {
  766. .icon {
  767. width: 128rpx;
  768. height: 128rpx;
  769. border-radius: 12px;
  770. background-color: rgba(35, 186, 178, 1);
  771. display: flex;
  772. align-items: center;
  773. justify-content: center;
  774. margin-bottom: 16rpx;
  775. .img {
  776. width: 80rpx;
  777. height: 80rpx;
  778. }
  779. }
  780. .icon2 {
  781. background-color: rgba(42, 186, 72, 1);
  782. }
  783. .icon3 {
  784. background-color: rgba(78, 96, 246, 1);
  785. }
  786. .icon4 {
  787. background-color: rgba(22, 119, 255, 1);
  788. }
  789. .icon5 {
  790. background-color: rgba(35, 186, 178, 1);
  791. }
  792. .icon6 {
  793. background-color: rgba(42, 186, 72, 1);
  794. }
  795. .icon7 {
  796. background-color: rgba(22, 119, 255, 1);
  797. }
  798. .icon8 {
  799. background-color: rgba(35, 186, 178, 1);
  800. }
  801. .icon9 {
  802. background-color: rgba(42, 186, 72, 1);
  803. }
  804. .grid-text {
  805. color: #333333;
  806. }
  807. }
  808. }
  809. // 创建工单
  810. .create-order {
  811. width: 120rpx;
  812. height: 120rpx;
  813. border-radius: 20px;
  814. background: linear-gradient(180deg, rgba(121, 172, 255, 1) 0%, rgba(57, 132, 255, 1) 100%);
  815. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  816. text-align: center;
  817. display: flex;
  818. flex-direction: column;
  819. justify-content: center;
  820. align-items: center;
  821. position: fixed;
  822. right: 32rpx;
  823. bottom: 64rpx;
  824. .img {
  825. width: 56rpx;
  826. height: 56rpx;
  827. }
  828. .text {
  829. color: rgba(255, 255, 255, 1);
  830. font-size: 22rpx;
  831. }
  832. }
  833. </style>