ucharts.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. <template>
  2. <view>
  3. <view class="status_bar"></view>
  4. <view class="" style="position: relative;top: 40px;">
  5. <view style="position: fixed;z-index: 100;width: 100%;color: #FFFFFF;">
  6. <uni-nav-bar @clickLeft="clickLeft" left-icon="back" left-text="返回" title="历史数据"></uni-nav-bar>
  7. </view>
  8. <view class="selecttimes" @click="pickshow = !pickshow">
  9. <view class="timesbox">
  10. <image
  11. :src="'http://www.hnyfwlw.com:8006/bigdata_app/image/prevention/1acfe2751c01d3786cdc49b83d7e505.png'"
  12. mode=""></image>
  13. <p>{{timetab(oldtime)}}</p>
  14. <p class="or">~</p>
  15. <p>{{timetab(newtime)}}</p>
  16. <u-icon name="rili" custom-prefix="custom-icon" class="icon"></u-icon>
  17. </view>
  18. <u-calendar v-model="pickshow" mode="range" @change="tiemchange"></u-calendar>
  19. </view>
  20. <view class="shuju_one" v-show="!pickshow&&!picktwoshow">
  21. <view class="shuju_one_title">
  22. <view :class="titleidnex==index?'title_text_color':'tltle_text'" v-for="(item,index) in titletext"
  23. :key="index" @click="changeindex(index)">
  24. {{item}}
  25. </view>
  26. </view>
  27. <view class="canvastishi" v-if="!canvastishiTF && !dataloadingtf">
  28. 暂无数据
  29. </view>
  30. <view class="canvastishi" v-if="dataloadingtf">
  31. <p class="dataloading">加载中</p>
  32. </view>
  33. <canvas v-if="canvastishiTF" canvas-id="canvasColumnA" id="canvasColumnA" class="charts"
  34. @touchstart="touchLineA($event)" @touchmove="moveLineA($event)" @touchend="touchEndLineA($event)"
  35. disable-scroll=true
  36. :style="{'width':cWidth*pixelRatio+'px','height':cHeight*pixelRatio+'px', 'transform': 'scale('+(1/pixelRatio)+')','margin-left':-cWidth*(pixelRatio-1)/2+'px','margin-top':-cHeight*(pixelRatio-1)/2+'px'}"></canvas>
  37. </view>
  38. <view class="shuju_two" v-show="!pickshow&&!picktwoshow">
  39. <view class="canvastishi" v-if="!canvastishiTF && !dataloadingtf">
  40. 暂无数据
  41. </view>
  42. <view class="canvastishi" v-if="dataloadingtf">
  43. <p class="dataloading">加载中</p>
  44. </view>
  45. <canvas v-if="canvastishiTF" canvas-id="canvasColumnB" id="canvasColumnB" class="charts"
  46. @touchstart="touchLineBb($event)" @touchmove="moveLineBb($event)" @touchend="touchEndLineBb($event)"
  47. disable-scroll=true
  48. :style="{'width':cWidth*pixelRatio+'px','height':cHeight*pixelRatio+'px', 'transform': 'scale('+(1/pixelRatio)+')','margin-left':-cWidth*(pixelRatio-1)/2+'px','margin-top':-cHeight*(pixelRatio-1)/2+'px'}"></canvas>
  49. </view>
  50. <view class="refresh" @click="refresh">
  51. 刷 新
  52. </view>
  53. <view class="condition">
  54. <scroll-view scroll-top="0" scroll-x="true" class="scroll-X">
  55. <table class="table">
  56. <tr class="tr">
  57. <th class="th" v-for="(item,index) in thdata" :key="'a'+index">{{item}}</th>
  58. </tr>
  59. <tr class="tr" v-for="(items,indexs) in eqlistdata" :key="'b'+indexs" v-if="forbidden">
  60. <td class="td">{{items.d_h_t.addtime|timeFormat()}}</td>
  61. <td class="td">{{items.d_h_t.ds==0?"关机":"开机"}}</td>
  62. <td class="td">{{items.d_h_t.ws==0?"待机":(items.d_h_t.ws==1?"工作":"充电")}}</td>
  63. <td class="td">{{items.d_h_t.rps==0?"正常":"保护"}}</td>
  64. <td class="td">{{items.d_h_t.tps==0?"正常":"保护"}}</td>
  65. <td class="td">{{items.d_h_t.dps==0?"正常":"保护"}}</td>
  66. <td class="td">{{items.d_h_t.tt}}</td>
  67. <td class="td">{{items.d_h_t.ct}}</td>
  68. <td class="td">{{items.d_h_t.at==""?"--":items.d_h_t.at}}</td>
  69. <td class="td">{{items.d_h_t.ah==""?"--":items.d_h_t.ah}}</td>
  70. <td class="td">{{items.d_h_t.cv}}</td>
  71. <td class="td">{{items.d_h_t.bv}}</td>
  72. </tr>
  73. <tr class="tr" v-if="!forbidden">
  74. <td class="td" v-for="item in 12">暂无数据</td>
  75. </tr>
  76. </table>
  77. </scroll-view>
  78. <view class="pagenumber">
  79. <button @click="prev">上一页</button>
  80. <view class="pagenumber_page">
  81. 第{{page}}页
  82. </view>
  83. <view class="pagenumber_page">
  84. 共 {{pagesum}} 页
  85. </view>
  86. <button @click="next" :disabled="!forbidden">下一页</button>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. </template>
  92. <style lang="scss">
  93. </style>
  94. <script>
  95. import uCharts from '../../components/js_sdk/u-charts/u-charts/u-charts.js';
  96. var canvaColumnA = null;
  97. var canvaColumnB = null;
  98. var presenttime = null
  99. // var oldpresenttime = presenttime - 24*60*60*1000
  100. export default {
  101. data() {
  102. return {
  103. thdata: ["上报时间", "设备开关", "工作状态", "雨控状态", "温控状态", "倾倒状态", "定时(h)", "电击次数", "温度(℃)", "湿度(%)", "充电电压(v)",
  104. "电池电压(v)",
  105. ],
  106. eqlistdata: [],
  107. cWidth: '400',
  108. cHeight: '400',
  109. pixelRatio: 1,
  110. titletext: ["24小时", "近一个月", "近半年", "近一年"],
  111. titleidnex: 0,
  112. oldtime: '',
  113. newtime: '',
  114. page: 1,
  115. forbidden: false, //暂无数据
  116. params: {
  117. year: true,
  118. month: true,
  119. day: true,
  120. hour: true,
  121. minute: true,
  122. second: false
  123. },
  124. pickshow: false,
  125. picktwoshow: false,
  126. tishiTF: false,
  127. times: {
  128. d_id: null,
  129. start_time: null,
  130. end_time: null,
  131. device_id: null
  132. },
  133. canvastishiTF: false, //暂无数据提示
  134. dataloadingtf: true, //加载中提示
  135. pagesum: 1
  136. }
  137. },
  138. // 页面加载执行的函数
  139. onLoad(option) {
  140. this.times.d_id = option.d_id
  141. this.times.imei = option.imei
  142. this.cWidth = uni.upx2px(650);
  143. this.cHeight = uni.upx2px(500);
  144. },
  145. onShow() {
  146. presenttime = +new Date();
  147. this.oldtime = parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000)
  148. this.newtime = parseInt(presenttime / 1000)
  149. setTimeout(() => {
  150. this.getServerData(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) /
  151. 1000))
  152. this.historydata(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) /
  153. 1000))
  154. }, 1000)
  155. },
  156. methods: { //
  157. //forecast.worm_lamp.device_polyline_data
  158. // 获取数据,发请求
  159. async getServerData(newtime, oldtimes) { //设备折线图
  160. this.dataloadingtf = true
  161. const res = await this.$myRequest({
  162. url: '/api/api_gateway?method=forecast.worm_lamp.device_polyline_data',
  163. data: {
  164. device_type_id: 2,
  165. d_id: this.times.d_id,
  166. end_time: newtime,
  167. start_time: oldtimes
  168. }
  169. })
  170. this.dataloadingtf = false
  171. if (res.length == 0) {
  172. this.canvastishiTF = false
  173. } else {
  174. this.canvastishiTF = true
  175. var xtitle = []
  176. var arr = []
  177. var arr1 = []
  178. var arr2 = []
  179. var arr3 = []
  180. var arr4 = []
  181. var arr5 = []
  182. for (var i = 0; i < res.length; i++) {
  183. var times = new Date(res[i].addtime * 1000)
  184. xtitle.unshift(times.getMonth() + 1 + "/" + times.getDate() + "-" + times.getHours() + ":" +
  185. times.getMinutes())
  186. arr1.unshift(res[i].temperature)
  187. arr2.unshift(res[i].humidity)
  188. arr3.unshift(Number(res[i].others.bv))
  189. arr4.unshift(Number(res[i].others.cv))
  190. arr5.unshift(res[i].others.ct)
  191. }
  192. arr.unshift(arr1, arr2, arr3, arr4)
  193. var obj = [{
  194. name: '温度',
  195. data: arr[0],
  196. color: '#F97000'
  197. }, {
  198. name: '湿度',
  199. data: arr[1],
  200. color: '#00E29D'
  201. }, {
  202. name: '电池电压',
  203. data: arr[2],
  204. color: '#FF3F3F'
  205. }, {
  206. name: '充电电压',
  207. data: arr[3],
  208. color: '#6CBBFF'
  209. }]
  210. var obj2 = [{
  211. name: '击虫次数',
  212. data: arr5,
  213. color: '#00E29D'
  214. }]
  215. this.showColumn("canvasColumnA", xtitle, obj)
  216. this.showColumnb("canvasColumnB", xtitle, obj2)
  217. }
  218. },
  219. changeindex(index) { //选择日期
  220. this.titleidnex = index
  221. var now = new Date();
  222. if (index == 0) {
  223. this.newtime = parseInt(+new Date(now) / 1000)
  224. this.oldtime = parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000)
  225. this.getServerData(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000))
  226. this.historydata(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000))
  227. } else if (index == 1) {
  228. this.newtime = parseInt(+new Date(now) / 1000)
  229. var oldtime = now.setMonth(now.getMonth() - 1) / 1000
  230. this.oldtime = parseInt(oldtime)
  231. this.getServerData(parseInt(presenttime / 1000), parseInt(oldtime))
  232. this.historydata(parseInt(presenttime / 1000), parseInt(oldtime))
  233. } else if (index == 2) {
  234. this.newtime = parseInt(+new Date(now) / 1000)
  235. var oldtime = now.setMonth(now.getMonth() - 6) / 1000
  236. this.oldtime = parseInt(oldtime)
  237. this.getServerData(parseInt(presenttime / 1000), parseInt(oldtime))
  238. this.historydata(parseInt(presenttime / 1000), parseInt(oldtime))
  239. } else if (index == 3) {
  240. this.newtime = parseInt(+new Date(now) / 1000)
  241. var oldtime = now.setFullYear(now.getFullYear() - 1) / 1000
  242. this.oldtime = parseInt(oldtime)
  243. this.getServerData(parseInt(presenttime / 1000), parseInt(oldtime))
  244. this.historydata(parseInt(presenttime / 1000), parseInt(oldtime))
  245. }
  246. if (this.newtime < this.oldtime) {
  247. this.tishiTF = true
  248. } else {
  249. this.tishiTF = false
  250. }
  251. },
  252. async historydata(newtime, oldtimes) { //设备表格数据
  253. const res = await this.$myRequest({
  254. url: '/api/api_gateway?method=forecast.worm_lamp.device_history_data',
  255. data: {
  256. device_type_id: 2,
  257. device_id: this.times.imei,
  258. page: this.page,
  259. page_size: 10,
  260. start_time: oldtimes,
  261. end_time: newtime
  262. }
  263. })
  264. console.log(res.data)
  265. this.pagesum = Math.ceil(res.counts / 10) || 1
  266. this.eqlistdata = res.data
  267. if (res.data.length == 0) {
  268. this.forbidden = false
  269. } else {
  270. this.forbidden = true
  271. }
  272. },
  273. prev() { //上一页
  274. if (this.page != 1) {
  275. this.page--
  276. this.historydata(this.newtime, this.oldtime)
  277. }
  278. },
  279. next() { //下一页
  280. if (this.page < this.pagesum) {
  281. this.page++
  282. this.historydata(this.newtime, this.oldtime)
  283. }
  284. },
  285. tiemchange(e) {
  286. console.log(e)
  287. this.oldtime = +new Date(e.startDate) / 1000
  288. this.newtime = +new Date(e.endDate) / 1000 + 16 * 60 * 60
  289. this.getServerData(this.newtime, this.oldtime)
  290. this.historydata(this.newtime, this.oldtime)
  291. },
  292. timetab(e) {
  293. e = new Date(e * 1000)
  294. var year = e.getFullYear()
  295. var month = e.getMonth() + 1 < 10 ? "0" + (e.getMonth() + 1) : e.getMonth() + 1
  296. var day = e.getDate() < 10 ? "0" + e.getDate() : e.getDate()
  297. var time = year + "/" + month + "/" + day
  298. return time
  299. },
  300. pickone(e) {
  301. this.oldtime = +new Date(e.year, e.month - 1, e.day, e.hour, e.minute) / 1000
  302. if (this.newtime < this.oldtime) {
  303. this.tishiTF = true
  304. } else {
  305. this.tishiTF = false
  306. }
  307. },
  308. picktwo(e) {
  309. this.newtime = +new Date(e.year, e.month - 1, e.day, e.hour, e.minute) / 1000
  310. if (this.newtime < this.oldtime) {
  311. this.tishiTF = true
  312. } else {
  313. this.tishiTF = false
  314. }
  315. },
  316. serter() {
  317. if (this.tishiTF == false) {
  318. this.getServerData(parseInt(presenttime / 1000), parseInt(this.oldtime))
  319. this.historydata(this.newtime, this.oldtime)
  320. uni.showToast({
  321. title: '搜索成功',
  322. duration: 2000
  323. });
  324. }
  325. },
  326. clickLeft() {
  327. uni.navigateBack({
  328. delta: 1
  329. })
  330. },
  331. showColumn(id, xtitle, xinfo) {
  332. var _self = this
  333. canvaColumnA = new uCharts({
  334. canvasId: id,
  335. type: 'line',
  336. legend: {
  337. position: "top"
  338. },
  339. fontSize: 11,
  340. background: '#FFFFFF',
  341. pixelRatio: 1,
  342. animation: true,
  343. dataLabel: false,
  344. categories: xtitle,
  345. series: xinfo,
  346. enableScroll: true, //开启图表拖拽功能
  347. xAxis: {
  348. disableGrid: true,
  349. type: 'grid',
  350. gridType: 'dash',
  351. itemCount: 4, //x轴单屏显示数据的数量,默认为5个
  352. scrollShow: true, //新增是否显示滚动条,默认false
  353. // scrollAlign: 'left', //滚动条初始位置
  354. scrollBackgroundColor: '#F7F7FF', //默认为 #EFEBEF
  355. scrollColor: '#DEE7F7', //默认为 #A6A6A6
  356. },
  357. yAxis: {},
  358. width: _self.cWidth * 1,
  359. height: _self.cHeight * 1,
  360. extra: {
  361. line: {
  362. type: 'curve'
  363. }
  364. }
  365. });
  366. },
  367. showColumnb(id, xtitle, xinfo) {
  368. var _self = this
  369. canvaColumnB = new uCharts({
  370. canvasId: id,
  371. type: 'line',
  372. legend: {
  373. position: "top"
  374. },
  375. fontSize: 11,
  376. background: '#FFFFFF',
  377. pixelRatio: 1,
  378. animation: true,
  379. dataLabel: false,
  380. categories: xtitle,
  381. series: xinfo,
  382. enableScroll: true, //开启图表拖拽功能
  383. xAxis: {
  384. disableGrid: true,
  385. type: 'grid',
  386. gridType: 'dash',
  387. itemCount: 4, //x轴单屏显示数据的数量,默认为5个
  388. scrollShow: true, //新增是否显示滚动条,默认false
  389. // scrollAlign: 'left', //滚动条初始位置
  390. scrollBackgroundColor: '#F7F7FF', //默认为 #EFEBEF
  391. scrollColor: '#DEE7F7', //默认为 #A6A6A6
  392. },
  393. yAxis: {},
  394. width: _self.cWidth * 1,
  395. height: _self.cHeight * 1,
  396. extra: {
  397. line: {
  398. type: 'curve'
  399. }
  400. }
  401. });
  402. },
  403. touchLineA(e) {
  404. console.log(e)
  405. canvaColumnA.scrollStart(e);
  406. },
  407. moveLineA(e) {
  408. canvaColumnA.scroll(e);
  409. },
  410. touchEndLineA(e) {
  411. canvaColumnA.scrollEnd(e);
  412. //下面是toolTip事件,如果滚动后不需要显示,可不填写
  413. canvaColumnA.showToolTip(e, {
  414. format: function(item, category) {
  415. return category + ' ' + item.name + ':' + Number(item.data).toFixed(3)
  416. }
  417. });
  418. },
  419. touchLineBb(e) {
  420. console.log(e)
  421. canvaColumnB.scrollStart(e);
  422. },
  423. moveLineBb(e) {
  424. canvaColumnB.scroll(e);
  425. },
  426. touchEndLineBb(e) {
  427. canvaColumnB.scrollEnd(e);
  428. //下面是toolTip事件,如果滚动后不需要显示,可不填写
  429. canvaColumnB.showToolTip(e, {
  430. format: function(item, category) {
  431. return category + ' ' + item.name + ':' + item.data
  432. }
  433. });
  434. },
  435. async newdata() {
  436. const res = await this.$myRequest({
  437. url: '/api/api_gateway?method=forecast.send_control.get_device_config',
  438. data: {
  439. device_type_id: 2,
  440. d_id: this.times.d_id,
  441. control_type: "data"
  442. }
  443. })
  444. if (res) {
  445. uni.showToast({
  446. title: '刷新成功',
  447. duration: 2000,
  448. icon: "none"
  449. });
  450. uni.navigateBack({
  451. delta: 1
  452. })
  453. } else {
  454. uni.showToast({
  455. title: '刷新失败',
  456. duration: 2000,
  457. icon: "none"
  458. });
  459. }
  460. },
  461. refresh() { //获取当前时间的数据
  462. this.newdata()
  463. },
  464. }
  465. }
  466. </script>
  467. <style lang="scss">
  468. /*样式的width和height一定要与定义的cWidth和cHeight相对应*/
  469. .shuju_one,
  470. .shuju_two {
  471. position: absolute;
  472. top: 190rpx;
  473. width: 90%;
  474. left: 5%;
  475. box-shadow: 0 0 10rpx #bcb9ca;
  476. padding-top: 20rpx;
  477. height: 550rpx;
  478. .canvastishi {
  479. font-size: 32rpx;
  480. position: absolute;
  481. top: 50%;
  482. left: 50%;
  483. margin-left: -64rpx;
  484. margin-top: -21rpx;
  485. .dataloading:after {
  486. overflow: hidden;
  487. display: inline-block;
  488. vertical-align: bottom;
  489. animation: ellipsis 2s infinite;
  490. content: "\2026";
  491. }
  492. @keyframes ellipsis {
  493. from {
  494. width: 2px;
  495. }
  496. to {
  497. width: 15px;
  498. }
  499. }
  500. }
  501. .shuju_one_title {
  502. width: 70%;
  503. margin: 0 auto;
  504. display: flex;
  505. .tltle_text {
  506. width: 25%;
  507. border: 2rpx solid #B2B2B2;
  508. color: #B2B2B2;
  509. text-align: center;
  510. font-size: 24rpx;
  511. height: 50rpx;
  512. line-height: 50rpx;
  513. }
  514. .title_text_color {
  515. width: 25%;
  516. border: 2rpx solid #28AE4F;
  517. color: #28AE4F;
  518. text-align: center;
  519. font-size: 24rpx;
  520. height: 50rpx;
  521. line-height: 50rpx;
  522. }
  523. }
  524. .qiun-columns {
  525. .qiun-charts {
  526. width: 650upx;
  527. height: 400upx;
  528. background-color: #FFFFFF;
  529. }
  530. .charts {
  531. width: 650upx;
  532. height: 400upx;
  533. background-color: #FFFFFF;
  534. }
  535. }
  536. }
  537. .shuju_two {
  538. top: 790rpx;
  539. }
  540. .selecttimes {
  541. position: absolute;
  542. top: 54px;
  543. width: 90%;
  544. box-shadow: 0 0 10rpx #bcb9ca;
  545. left: 5%;
  546. padding: 10rpx 20rpx;
  547. box-sizing: border-box;
  548. .timesbox {
  549. display: flex;
  550. justify-content: space-around;
  551. image {
  552. width: 30rpx;
  553. height: 30rpx;
  554. margin-top: 6rpx;
  555. }
  556. .icon {
  557. color: #949494;
  558. text-align: right;
  559. margin-left: 30rpx;
  560. }
  561. }
  562. }
  563. .refresh {
  564. position: absolute;
  565. top: 1380rpx;
  566. left: 5%;
  567. width: 160rpx;
  568. height: 50rpx;
  569. background-color: #28AE4F;
  570. color: #FFFFFF;
  571. line-height: 50rpx;
  572. text-align: center;
  573. }
  574. .condition {
  575. position: absolute;
  576. top: 1450rpx;
  577. display: flex;
  578. flex-wrap: wrap;
  579. width: 90%;
  580. left: 5%;
  581. box-shadow: 0 0 10rpx #bcb9ca;
  582. margin-bottom: 30rpx;
  583. .scroll-X {
  584. width: 95%;
  585. margin: 20rpx auto;
  586. .table {
  587. width: 1056px;
  588. }
  589. .tr {
  590. display: flex;
  591. overflow: hidden;
  592. .th,
  593. .td {
  594. display: inline-block;
  595. padding: 5rpx;
  596. width: 140rpx;
  597. text-align: center;
  598. height: 52rpx;
  599. line-height: 52rpx;
  600. // border: 2rpx solid #F1F1F1;
  601. }
  602. .th:first-child,
  603. .td:first-child {
  604. width: 300rpx;
  605. }
  606. .th:nth-last-child(1),
  607. .th:nth-last-child(2),
  608. .td:nth-last-child(1),
  609. .td:nth-last-child(2) {
  610. width: 200rpx;
  611. }
  612. }
  613. .tr:nth-child(2n-1) {
  614. background-color: #f5fff8;
  615. }
  616. .tr:first-child {
  617. background-color: #57c878;
  618. color: #fff;
  619. }
  620. }
  621. .pagenumber {
  622. display: flex;
  623. margin: 20rpx auto;
  624. button {
  625. width: 150rpx;
  626. height: 50rpx;
  627. line-height: 50rpx;
  628. font-size: 26rpx;
  629. text-align: center;
  630. background-color: #17BB89;
  631. color: #FFFFFF;
  632. }
  633. .pagenumber_page {
  634. width: 150rpx;
  635. height: 50rpx;
  636. line-height: 50rpx;
  637. font-size: 26rpx;
  638. text-align: center;
  639. }
  640. }
  641. }
  642. /deep/.u-calendar__action {
  643. display: flex;
  644. justify-content: space-around;
  645. .u-calendar__action__text {
  646. line-height: 25px;
  647. }
  648. }
  649. </style>