Info.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949
  1. <template>
  2. <div>
  3. <common @asynCallBack="asynCallBack"></common>
  4. <header class="mui-bar mui-bar-nav">
  5. <h1 class="mui-title">能源中心</h1>
  6. <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
  7. </header>
  8. <div class="mui-content">
  9. <div class="returnTop">
  10. <div class="returnTop-down">
  11. <div class="returnTop-down-item" @click="selectMeter">
  12. <span>{{meterListObj.name}}</span>
  13. <i class="mui-icon mui-icon-arrowdown"></i>
  14. </div>
  15. <div class="returnTop-down-item" @click="selectData">
  16. <span>{{queryDate==nowDate?'今日':queryDate}}</span>
  17. <i class="mui-icon mui-icon-arrowdown"></i>
  18. </div>
  19. </div>
  20. <div id="returnTop-chart" class="returnTop-chart" style="width:100%;height: 230px;">
  21. </div>
  22. <div class="returnTop-bot">
  23. <div class="returnTop-bot-item">
  24. <p>峰值功率({{energyCenterMapObj.peakTime}})</p>
  25. <span>{{energyCenterMapObj.peakKw&&energyCenterMapObj.peakKw.toFixed(0)}}</span>
  26. </div>
  27. <div class="returnTop-bot-item">
  28. <p>平均功率</p>
  29. <span>{{energyCenterMapObj.averageKw&&energyCenterMapObj.averageKw.toFixed(0)}}</span>
  30. </div>
  31. <div class="returnTop-bot-item">
  32. <p>低谷功率({{energyCenterMapObj.troughTime}})</p>
  33. <span>{{energyCenterMapObj.troughKw&&energyCenterMapObj.troughKw.toFixed(0)}}</span>
  34. </div>
  35. </div>
  36. </div>
  37. <dl class="returnChart">
  38. <dt><span>用电量统计(kW·h)</span></dt>
  39. <dd>
  40. <div class="returnUnit">
  41. <div class="returnUnit-item">百万</div>
  42. <div class="returnUnit-item">拾万</div>
  43. <div class="returnUnit-item">万</div>
  44. <div class="returnUnit-item">千</div>
  45. <div class="returnUnit-item">百</div>
  46. <div class="returnUnit-item">拾</div>
  47. <div class="returnUnit-item">1</div>
  48. <div class="returnUnit-item colorRed">0.1</div>
  49. <span style="min-width: 14px;">&nbsp;</span>
  50. </div>
  51. <div class="returnData">
  52. <div class="returnData-item" v-text="showTop[0]"></div>
  53. <div class="returnData-item" v-text="showTop[1]"></div>
  54. <div class="returnData-item" v-text="showTop[2]"></div>
  55. <div class="returnData-item" v-text="showTop[3]"></div>
  56. <div class="returnData-item" v-text="showTop[4]"></div>
  57. <div class="returnData-item" v-text="showTop[5]"></div>
  58. <div class="returnData-item" v-text="showTop[6]"></div>
  59. <div class="returnData-item bgRed" v-text="showTop[7]"></div>
  60. <span>度</span>
  61. </div>
  62. <div class="returnRadio">
  63. <div class="mui-input-row mui-radio mui-left">
  64. <label>总用电量</label>
  65. <input name="radio1" value="0" v-model="selectType" @click="ck(0)" type="radio">
  66. </div>
  67. <div class="mui-input-row mui-radio mui-left">
  68. <label>当月用电量</label>
  69. <input name="radio1" value="1" v-model="selectType" @click="ck(1)" type="radio">
  70. </div>
  71. <div class="mui-input-row mui-radio mui-left">
  72. <label>上月用电量</label>
  73. <input name="radio1" value="2" v-model="selectType" @click="ck(2)" type="radio">
  74. </div>
  75. <div class="mui-input-row mui-radio mui-left">
  76. <label>当年用电量</label>
  77. <input name="radio1" value="3" v-model="selectType" @click="ck(3)" type="radio">
  78. </div>
  79. <div class="mui-input-row mui-radio mui-left">
  80. <label>当日用电量</label>
  81. <input name="radio1" value="4" v-model="selectType" @click="ck(4)" type="radio">
  82. </div>
  83. <div class="mui-input-row mui-radio mui-left">
  84. <label>查询其他</label>
  85. <input name="radio1" value="9" v-model="selectType" @click="ck(9)" type="radio">
  86. </div>
  87. </div>
  88. </dd>
  89. </dl>
  90. <dl class="returnChart">
  91. <dt><span>能源监测</span></dt>
  92. <dd>
  93. <div class="returnChart-icon">
  94. <div class="returnChart-icon-item" @click="gotoInfo('Info2','P')" >
  95. <img src="~$project/assets/img/icon-1.png" alt="">
  96. <span>功率</span>
  97. </div>
  98. <div class="returnChart-icon-item" @click="gotoInfo('Info2','A')" >
  99. <img src="~$project/assets/img/icon-2.png" alt="">
  100. <span>电流</span>
  101. </div>
  102. <div class="returnChart-icon-item" @click="gotoInfo('Info2','V')" >
  103. <img src="~$project/assets/img/icon-3.png" alt="">
  104. <span>电压</span>
  105. </div>
  106. <div class="returnChart-icon-item">
  107. <img src="~$project/assets/img/icon-no.png" alt="">
  108. <span>规划中</span>
  109. </div>
  110. </div>
  111. </dd>
  112. </dl>
  113. <dl class="returnChart">
  114. <dt><span>数据分析</span></dt>
  115. <dd>
  116. <div class="returnChart-icon">
  117. <div class="returnChart-icon-item" @click="gotoInfo('Info5')">
  118. <img src="~$project/assets/img/icon-4.png" alt="">
  119. <span>同比分析</span>
  120. </div>
  121. <div class="returnChart-icon-item" @click="gotoInfo('Info6')" >
  122. <img src="~$project/assets/img/icon-5.png" alt="">
  123. <span>环比分析</span>
  124. </div>
  125. <!-- <div class="returnChart-icon-item" @click="gotoInfo('Info7')" >
  126. <img src="~$project/assets/img/icon-6.png" alt="">
  127. <span>异常波动</span>
  128. </div> -->
  129. <div class="returnChart-icon-item">
  130. <img src="~$project/assets/img/icon-no.png" alt="">
  131. <span>规划中</span>
  132. </div>
  133. </div>
  134. </dd>
  135. </dl>
  136. </div>
  137. <loading :visible="isLoading"></loading>
  138. </div>
  139. </template>
  140. <script>
  141. require('$project/assets/js/mui.picker.min.js');
  142. import * as API from '@/apis/Other/energy'
  143. import Common from '$project/components/Common.vue'
  144. import Loading from '$project/components/Loading.vue'
  145. import {
  146. mapGetters,
  147. mapMutations
  148. } from 'vuex'
  149. import * as echarts from 'echarts'
  150. import 'echarts/lib/chart/line'
  151. import {
  152. currentTimeStamp,
  153. parseUnixTime,
  154. beforeTimeStamp
  155. } from '$project/utils'
  156. export default {
  157. name: 'MasterHealthArchives',
  158. components: {
  159. Common,
  160. Loading,
  161. },
  162. data() {
  163. return {
  164. isLoading: true,
  165. showTop: [0, 0, 0, 0, 0, 0, 0, 0],
  166. nowDate: "",
  167. timeList: [],
  168. queryDate: "",
  169. queryDate2: "",
  170. selectType: "0",
  171. energyCenterElectricityObj: {},
  172. energyCenterMapObj: {},
  173. isback: false,
  174. showlist1: [],
  175. showlist2: [],
  176. showlist3: [],
  177. meterList: [],
  178. meterListObj: {}
  179. }
  180. },
  181. mounted() {
  182. },
  183. created() {
  184. if (this.$route.query.isback) {
  185. this.isback = true;
  186. }
  187. mui.toast('下滑查看更多',{duration:4*1000})
  188. },
  189. methods: {
  190. gotoInfo(path,type){
  191. //跳转首页
  192. this.$router.push({
  193. name: 'OtherEnergy'+path,
  194. query: {
  195. meterNo: this.meterListObj.meterNo,
  196. type:type
  197. }
  198. })
  199. },
  200. selectMeter(){
  201. var _this = this;
  202. var picker = new mui.PopPicker();
  203. picker.setData(_this.meterList);
  204. //picker.pickers[0].setSelectedValue(this.attendanceType);
  205. picker.show(function(selectItems) {
  206. _this.meterListObj = _this.meterList[selectItems[0].value];
  207. //_this.approvalPersonName = selectItems[0].text;
  208. _this.init();
  209. })
  210. },
  211. openPopover() {
  212. mui('#popover').popover('toggle');
  213. mui(".mui-scroll-wrapper").scroll()
  214. this.queryDate2 = this.queryDate;
  215. },
  216. submitBtn() {
  217. this.queryDate = this.queryDate2;
  218. this.getEnergyCenterMap();
  219. this.getEnergyCenterElectricity();
  220. mui('#popover').popover('toggle');
  221. mui(".mui-scroll-wrapper").scroll()
  222. },
  223. initNew() {
  224. this.nowDate = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
  225. this.queryDate=parseUnixTime(beforeTimeStamp(0), '{y}-{m}-{d}');
  226. this.queryDate2=parseUnixTime(beforeTimeStamp(0), '{y}-{m}-{d}');
  227. this.isLoading = true;
  228. API.meterList({
  229. }).then(response => {
  230. this.isLoading = false;
  231. this.meterList = response.meterList;
  232. console.log(response)
  233. if (this.meterList.length) {
  234. this.meterListObj = this.meterList[0]
  235. for(var i in this.meterList ){
  236. var obj=this.meterList[i];
  237. obj.value=i;
  238. obj.text=obj.name;
  239. }
  240. this.nowDate = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
  241. this.init();
  242. } else {
  243. mui.toast("未查询到电表")
  244. }
  245. }).catch(error => {
  246. this.isLoading = false;
  247. mui.toast(error);
  248. })
  249. },
  250. init(bl) {
  251. this.getEnergyCenterMap();
  252. this.getEnergyCenterElectricity();
  253. },
  254. initOld(bl) {
  255. this.nowDate = parseUnixTime(currentTimeStamp(), '{y}-{m}-{d}');
  256. this.queryDate = parseUnixTime(beforeTimeStamp(0), '{y}-{m}-{d}');
  257. this.queryDate2 = parseUnixTime(beforeTimeStamp(0), '{y}-{m}-{d}');
  258. this.showlist1 = ['总功率', 'A相功率', 'B相功率', 'C相功率'];
  259. this.showlist2 = ['A相电流', 'B相电流', 'C相电流'];
  260. this.showlist3 = ['A相电压', 'B相电压', 'C相电压'];
  261. if (bl) {
  262. mui('#popover').popover('toggle');
  263. mui(".mui-scroll-wrapper").scroll()
  264. }
  265. this.getEnergyCenterMap();
  266. this.getEnergyCenterElectricity();
  267. },
  268. //选择日期
  269. selectData() {
  270. var _this = this;
  271. var picker = new mui.DtPicker({
  272. "type": "date",
  273. "beginYear": 2020,
  274. "endYear": 2040,
  275. "endDate": new Date(),
  276. "value": _this.queryDate
  277. });
  278. picker.show(function(rs) {
  279. _this.queryDate = rs.text;
  280. _this.getEnergyCenterMap()
  281. picker.dispose();
  282. });
  283. },
  284. //选择日期
  285. selectData2() {
  286. var _this = this;
  287. var picker = new mui.DtPicker({
  288. "type": "month",
  289. "beginYear": 2020,
  290. "endYear": 2040,
  291. "endDate": new Date(),
  292. "value": _this.queryDate2
  293. });
  294. picker.show(function(rs) {
  295. _this.queryDate2 = rs.text+'-1';
  296. _this.getEnergyCenterElectricity()
  297. picker.dispose();
  298. });
  299. },
  300. ckDate(bl) {
  301. if (bl && this.queryDate == this.nowDate) {
  302. return
  303. }
  304. let dd = new Date(this.queryDate)
  305. if (bl) {
  306. dd.setDate(dd.getDate() + 1)
  307. } else {
  308. dd.setDate(dd.getDate() - 1)
  309. }
  310. let time = dd.getTime()
  311. this.queryDate = parseUnixTime(time, '{y}-{m}-{d}');
  312. this.getEnergyCenterMap()
  313. },
  314. ck(val) {
  315. if(val==9){
  316. this.selectType = val;
  317. this.selectData2()
  318. }else if (val != this.selectType) {
  319. this.selectType = val;
  320. this.getEnergyCenterElectricity()
  321. }
  322. },
  323. //获取详情
  324. getEnergyCenterMap() {
  325. this.isLoading = true;
  326. API.energyCenter({
  327. queryDate: this.queryDate
  328. }).then(response => {
  329. this.isLoading = false;
  330. this.energyCenterMapObj = response;
  331. for (var i in this.energyCenterMapObj) {
  332. var obj = this.energyCenterMapObj[i];
  333. if (i != 'peakTime' && i != 'troughTime') {
  334. if (obj) {
  335. this.energyCenterMapObj[i] = parseInt(obj);
  336. }
  337. }
  338. }
  339. this.setMap();
  340. }).catch(error => {
  341. this.isLoading = false;
  342. mui.toast(error);
  343. })
  344. },
  345. setMap(bl) {
  346. var maxvalue=260;
  347. var myChart = echarts.init(document.getElementById("returnTop-chart"), 'light');
  348. if(this.energyCenterMapObj.ampereMax&&this.energyCenterMapObj.voltageMax){
  349. maxvalue=this.energyCenterMapObj.ampereMax*this.energyCenterMapObj.voltageMax;
  350. }
  351. var option = {
  352. series: [{
  353. radius:'90%',
  354. min: 0,
  355. max: maxvalue,
  356. type: 'gauge',
  357. itemStyle: {
  358. color: '#78f898',
  359. },
  360. progress: {
  361. show: true,
  362. roundCap: true,
  363. width: 18
  364. },
  365. axisLine: {
  366. roundCap: true,
  367. lineStyle: {
  368. width: 18
  369. }
  370. },
  371. axisTick: {
  372. show: false
  373. },
  374. splitLine: {
  375. length: 0,
  376. lineStyle: {
  377. width: 2,
  378. color: '#fff'
  379. }
  380. },
  381. axisLabel: {
  382. distance: 25,
  383. color: '#fff',
  384. fontSize: 0
  385. },
  386. anchor: {
  387. show: false,
  388. showAbove: true,
  389. size: 25,
  390. itemStyle: {
  391. borderWidth: 10
  392. }
  393. },
  394. pointer: {
  395. show: false
  396. },
  397. title: {
  398. offsetCenter: [0, '-40%'],
  399. fontSize: 16,
  400. color: '#e7ebf7',
  401. show: true
  402. },
  403. detail: {
  404. valueAnimation: true,
  405. fontSize: 80,
  406. color: '#fff',
  407. offsetCenter: [0, '20%'],
  408. formatter: function(value) {
  409. return '{value|' + value.toFixed(0) + '}\n{unit|千瓦(kW)}';
  410. },
  411. rich: {
  412. value: {
  413. fontSize: 50,
  414. fontWeight: 'bolder',
  415. color: '#e7ebf7'
  416. },
  417. unit: {
  418. fontSize: 16,
  419. color: '#e7ebf7',
  420. padding: [0, 0, -20, 10]
  421. }
  422. }
  423. },
  424. data: [{
  425. name: '当前负荷',
  426. value: this.energyCenterMapObj.nowKw,
  427. }]
  428. }]
  429. };
  430. myChart.setOption(option);
  431. },
  432. setSz(sz1, sz2, list, energyCenterMapObj, showList) {
  433. for (var j in sz1) {
  434. var k = showList.indexOf(sz1[j]);
  435. if (k == -1) {
  436. continue
  437. }
  438. var ap = {
  439. name: sz1[j],
  440. type: 'line',
  441. symbol: 'none',
  442. sampling: 'lttb',
  443. // stack: 'Total',
  444. data: []
  445. }
  446. list.push(ap)
  447. for (var i in energyCenterMapObj) {
  448. var obj = energyCenterMapObj[i][sz2[j]];
  449. if (obj) {
  450. ap.data.push(obj.toFixed(0));
  451. }
  452. }
  453. }
  454. console.log(list)
  455. },
  456. //获取详情
  457. getEnergyCenterElectricity() {
  458. //this.isLoading = true;
  459. API.electricityStatistics({
  460. queryDate: this.queryDate2,
  461. meterNo: this.meterListObj.meterNo,
  462. type: this.selectType
  463. }).then(response => {
  464. //this.isLoading = false;
  465. this.showTop = [0, 0, 0, 0, 0, 0, 0, 0]
  466. this.energyCenterElectricityObj = response;
  467. var electricity = this.energyCenterElectricityObj.electricity;
  468. if (electricity) {
  469. var sz = electricity.split(".")
  470. var str1 = sz[0];
  471. var str2 = [];
  472. if (sz.length > 1) {
  473. str2 = sz[1];
  474. this.showTop[7] = str2[0];
  475. }
  476. var j = 0;
  477. for (var i in str1) {
  478. if (i != undefined) {
  479. this.showTop[6 - str1.length + j + 1] = str1[i]
  480. }
  481. j++;
  482. }
  483. this.$forceUpdate()
  484. }
  485. //showTop
  486. }).catch(error => {
  487. this.isLoading = false;
  488. mui.toast(error);
  489. })
  490. },
  491. asynCallBack(bl) {
  492. this.isLoading = false;
  493. if (!bl) {
  494. this.initNew()
  495. } else {
  496. mui.toast("请登录后查看");
  497. window.location.href = '../home/#/select';
  498. }
  499. },
  500. echarts(className, color, legenddata, seriesdata) {
  501. var colorName = ""
  502. if (color == '1') {
  503. colorName = "#ECEDF0"
  504. } else {
  505. colorName = "#333"
  506. }
  507. var myChart = echarts.init(document.getElementById(className), 'light');
  508. myChart.clear()
  509. var option = {
  510. tooltip: {
  511. trigger: 'axis',
  512. borderColor: "#F0F0F0",
  513. borderWidth: 1,
  514. backgroundColor: "#ffffff",
  515. textStyle: {
  516. color: "#333"
  517. }
  518. },
  519. legend: {
  520. data: legenddata,
  521. textStyle: {
  522. color: colorName
  523. }
  524. },
  525. grid: {
  526. left: '3%',
  527. right: '4%',
  528. bottom: '15%',
  529. containLabel: true
  530. },
  531. xAxis: {
  532. type: 'category',
  533. boundaryGap: false,
  534. data: this.timeList,
  535. axisLabel: {
  536. textStyle: {
  537. color: colorName
  538. }
  539. },
  540. axisLine: {
  541. show: true,
  542. lineStyle: {
  543. color: colorName
  544. }
  545. },
  546. },
  547. yAxis: {
  548. type: 'value',
  549. axisLabel: {
  550. textStyle: {
  551. color: colorName
  552. }
  553. },
  554. axisLine: {
  555. show: true,
  556. lineStyle: {
  557. color: colorName
  558. }
  559. },
  560. },
  561. dataZoom: [{
  562. type: 'inside',
  563. start: 0,
  564. end: 100
  565. },
  566. {
  567. start: 0,
  568. end: 100
  569. }
  570. ],
  571. series: seriesdata
  572. };
  573. myChart.setOption(option);
  574. }
  575. }
  576. }
  577. </script>
  578. <style scoped>
  579. .mui-bar {
  580. background: #1F55FF;
  581. box-shadow: none;
  582. }
  583. .returnTop-bot {
  584. display: flex;
  585. justify-content: space-between;
  586. padding: 0 20px 20px;
  587. }
  588. .returnTop-bot-item {
  589. color: #fff;
  590. display: flex;
  591. flex-direction: column;
  592. align-items: center;
  593. }
  594. .returnTop-bot-item p {
  595. color: #fff;
  596. }
  597. .returnTop-bot-item span {
  598. color: #fff;
  599. font-size: 24px;
  600. }
  601. .mui-bar a,
  602. .mui-bar h1 {
  603. color: #fff;
  604. }
  605. .returnTop {
  606. background-image: linear-gradient(180deg, #1F55FF, #27ABFF);
  607. }
  608. .returnTop-down {
  609. color: #fff;
  610. display: flex;
  611. justify-content: space-around;
  612. }
  613. .returnChart-icon {
  614. display: flex;
  615. padding: 0 16px;
  616. /* justify-content: space-between; */
  617. }
  618. .returnChart-icon-item {
  619. display: flex;
  620. flex-direction: column;
  621. align-items: center;
  622. margin-left: 5px;
  623. }
  624. .returnChart-icon-item img {
  625. height: 64px;
  626. width: 64px;
  627. margin-bottom: 3px;
  628. }
  629. .selectBtn {
  630. background-color: #f2f5fa;
  631. line-height: 20px;
  632. font-size: 16px;
  633. padding: 5px 5px 5px 15px;
  634. color: #333333;
  635. }
  636. .popover-form {
  637. padding: 20px;
  638. }
  639. .popover-btn {
  640. display: flex;
  641. height: 48px;
  642. }
  643. .popover-btn1 {
  644. width: 100px;
  645. border: 1px solid #eee;
  646. text-align: center;
  647. line-height: 50px;
  648. }
  649. .popover-btn2 {
  650. flex: 1;
  651. background-color: #1677FF;
  652. text-align: center;
  653. line-height: 50px;
  654. color: #fff;
  655. }
  656. .select select {
  657. background-color: #eee;
  658. margin-top: 6px;
  659. }
  660. .mui-popover .title {
  661. margin-top: 12px;
  662. }
  663. .returnCheckbox {
  664. display: flex;
  665. flex-wrap: wrap;
  666. }
  667. .returnCheckbox .mui-input-row {
  668. width: 33%;
  669. }
  670. .mui-checkbox.mui-left input[type=checkbox] {
  671. left: 0;
  672. }
  673. .mui-checkbox.mui-left label {
  674. padding-left: 24px;
  675. }
  676. .mui-checkbox input[type=checkbox]:before {
  677. content: '\e413';
  678. }
  679. .mui-checkbox input[type=checkbox]:checked:before {
  680. content: '\e443';
  681. }
  682. .mui-checkbox input[type=checkbox]:before,
  683. .mui-radio input[type=radio]:before {
  684. font-size: 20px;
  685. }
  686. .mui-checkbox input[type=checkbox],
  687. .mui-radio input[type=radio] {
  688. top: 5px;
  689. }
  690. .mui-popover {
  691. position: fixed;
  692. background-color: #fff;
  693. z-index: 999;
  694. left: 0 !important;
  695. right: 0 !important;
  696. top: 44px !important;
  697. border-top: 1px solid #eee;
  698. border-radius: 0;
  699. width: 100%;
  700. box-shadow: none;
  701. }
  702. .mui-backdrop {
  703. top: 44px;
  704. }
  705. .barRight {
  706. float: right;
  707. display: flex;
  708. align-items: center;
  709. height: 44px;
  710. }
  711. .barRight a {
  712. margin-left: 3px;
  713. }
  714. .barRight i {
  715. font-size: 16px;
  716. }
  717. .returnScreen {
  718. margin-top: 14px;
  719. background-color: #fff;
  720. display: flex;
  721. justify-content: space-between;
  722. padding: 12px;
  723. }
  724. .returnScreen i {
  725. color: #D4D6D9;
  726. }
  727. .returnScreen .active {
  728. color: #1677FF;
  729. }
  730. .returnTime {
  731. display: flex;
  732. align-items: center;
  733. }
  734. .returnTime p {
  735. font-size: 18px;
  736. margin-right: 6px;
  737. }
  738. .returnChart {
  739. /* //padding: 0 16px; */
  740. background-color: #fff;
  741. }
  742. .returnChart dt {
  743. padding: 16px 16px;
  744. }
  745. .returnChart dt span {
  746. position: relative;
  747. padding-left: 15px;
  748. font-size: 18px;
  749. }
  750. .returnChart dt span:before {
  751. content: '';
  752. position: absolute;
  753. width: 4px;
  754. height: 14px;
  755. background-color: #1677FF;
  756. border-radius: 2px;
  757. left: 0;
  758. top: 2px;
  759. }
  760. .returnChart dd {
  761. padding-bottom: 16px;
  762. margin: 0;
  763. }
  764. .returnHead {
  765. padding: 20px;
  766. background-color: #fff;
  767. }
  768. .returnUnit {
  769. display: flex;
  770. align-items: center;
  771. padding: 0 20px;
  772. }
  773. .returnData {
  774. display: flex;
  775. align-items: center;
  776. padding: 0 20px;
  777. }
  778. .returnUnit .returnUnit-item {
  779. width: 36px;
  780. text-align: center;
  781. line-height: 48px;
  782. margin-right: 1px;
  783. }
  784. .returnData .returnData-item {
  785. height: 48px;
  786. width: 36px;
  787. background-color: #101010;
  788. text-align: center;
  789. line-height: 48px;
  790. color: #fff;
  791. font-size: 36px;
  792. margin-right: 1px;
  793. }
  794. .returnData span {
  795. margin-left: 5px;
  796. }
  797. .colorRed {
  798. color: #900005;
  799. }
  800. .bgRed {
  801. background-color: #900005 !important;
  802. }
  803. .returnRadio {
  804. display: flex;
  805. flex-wrap: wrap;
  806. margin-top: 12px;
  807. padding: 0 20px;
  808. }
  809. .returnRadio .mui-input-row {
  810. width: 33%;
  811. }
  812. .mui-radio.mui-left input[type=radio] {
  813. left: 0;
  814. }
  815. .mui-radio.mui-left label {
  816. padding-left: 24px;
  817. padding-top: 5px;
  818. padding-bottom: 5px;
  819. }
  820. .returnChartBlue {
  821. background-image: linear-gradient(0deg, #034373, #007BD3);
  822. margin-top: 0;
  823. }
  824. .returnChartBlue dt span {
  825. color: #fff;
  826. }
  827. .returnChartBlue dt span:before {
  828. content: '';
  829. position: absolute;
  830. width: 4px;
  831. height: 14px;
  832. background-color: #fff;
  833. border-radius: 2px;
  834. left: 0;
  835. top: 2px;
  836. }
  837. </style>
  838. <style src="$project/assets/css/mui.picker.min.css"></style>