electronicMonitoring.vue 18 KB

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