deviceData.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829
  1. <template>
  2. <view class="device-data-container">
  3. <!-- 顶部时间戳和图标区域 -->
  4. <view class="device-data-wraper">
  5. <view class="top-bar">
  6. <text class="timestamp">
  7. {{formatDate(deviceInfo.uptime)}}
  8. <u-icon name="reload" color="#0BBC58" style="margin-left: 12rpx"></u-icon>
  9. </text>
  10. <view class="icon-group">
  11. <view class="icon-item refresh-icon" @click="refreshData">
  12. <img class="copy-icon" :src="sim"/>
  13. </view>
  14. <view class="icon-item settings-icon" @click="openSettings">
  15. <img class="copy-icon" :src="setting"/>
  16. </view>
  17. <view class="icon-item info-icon">
  18. <img class="copy-icon" :src="edit"/>
  19. </view>
  20. </view>
  21. </view>
  22. <!-- 主要数据面板 -->
  23. <view class="main-data-panel">
  24. <view class="data-column-left">
  25. <view class="data-item">
  26. <text class="data-value">{{ deviceStatic.vol }}</text>
  27. <text class="data-label">电量</text>
  28. </view>
  29. <view class="data-item">
  30. <text class="data-value">{{ deviceStatic.gs == 1? '落虫' : '排水' }}</text>
  31. <text class="data-label">通道状态</text>
  32. </view>
  33. <view class="data-item">
  34. <text class="data-value">{{ deviceStatic.upds == 1? '打开' : '关闭' }}</text>
  35. <text class="data-label">上仓门</text>
  36. </view>
  37. <view class="data-item">
  38. <text class="data-value">{{ deviceStatic.dver }}</text>
  39. <text class="data-label">设备版本</text>
  40. </view>
  41. </view>
  42. <view class="data-column-left">
  43. <view class="data-item">
  44. <text class="data-value">{{ deviceStatic.tmod == '1' ? '时控' : '光控' }}</text>
  45. <text class="data-label">定时模式</text>
  46. </view>
  47. <view class="data-item">
  48. <text class="data-value">{{ deviceStatic.hs == '1' ? '加热' : '正常' }}</text>
  49. <text class="data-label">加热状态</text>
  50. </view>
  51. <view class="data-item">
  52. <text class="data-value">{{ deviceStatic.dpds == '1' ? '打开' : '关闭' }}</text>
  53. <text class="data-label">下仓门</text>
  54. </view>
  55. <view class="data-item">
  56. <text class="data-value">{{ deviceStatic.tph }}</text>
  57. <text class="data-label">高温限值</text>
  58. </view>
  59. </view>
  60. <view class="data-column-right">
  61. <view class="device-image-container">
  62. <image class="device-image" src="../assets/cbd.png" mode="aspectFit"></image>
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. <!-- 图表区域 -->
  68. <view class="chart-section">
  69. <view class="chart-header">
  70. <view class="chart-tabs">
  71. <view
  72. v-for="(tab, index) in chartTabs"
  73. :key="index"
  74. class="chart-tab-item"
  75. :class="{ active: activeChartTab === index }"
  76. @click="switchChartTab(index)"
  77. >
  78. {{ tab.name }}
  79. </view>
  80. </view>
  81. <!-- <view class="chart-dropdown">
  82. <text class="iconfont dropdown-icon">&#xe606;</text>
  83. </view> -->
  84. </view>
  85. <view class="chart-content">
  86. <view class="chart-canvas-container">
  87. <div id="tempChart" class="chart-canvas"></div>
  88. </view>
  89. </view>
  90. </view>
  91. <!-- 历史数据表格 -->
  92. <view class="history-section">
  93. <view class="history-header">
  94. <text class="history-title">历史数据</text>
  95. </view>
  96. <view class="history-table">
  97. <view class="table-container">
  98. <!-- 固定列 -->
  99. <view class="fixed-column">
  100. <view class="fixed-header">
  101. <text class="header-cell fixed">上报时间</text>
  102. </view>
  103. <view class="fixed-body">
  104. <view
  105. v-for="(item, index) in historyData"
  106. :key="index"
  107. class="fixed-row"
  108. :class="{ even: index % 2 === 0 }"
  109. >
  110. <text class="body-cell fixed">{{ formatTime(item.addtime) }}</text>
  111. </view>
  112. </view>
  113. </view>
  114. <!-- 可滑动列 -->
  115. <view class="scrollable-column">
  116. <view class="scrollable-header">
  117. <text class="header-cell">环境温度(°C)</text>
  118. <text class="header-cell">环境湿度(%)</text>
  119. <text class="header-cell">加热仓温度(°C)</text>
  120. <text class="header-cell">雨控状态</text>
  121. <text class="header-cell">温控状态</text>
  122. <text class="header-cell">光控状态</text>
  123. <text class="header-cell">灯管状态</text>
  124. <text class="header-cell">信号强度</text>
  125. <text class="header-cell">电流(mA)</text>
  126. <text class="header-cell">电压(V)</text>
  127. <text class="header-cell">经度</text>
  128. <text class="header-cell">纬度</text>
  129. </view>
  130. <view class="scrollable-body">
  131. <view
  132. v-for="(item, index) in historyData"
  133. :key="index"
  134. class="scrollable-row"
  135. :class="{ even: index % 2 === 0 }"
  136. >
  137. <text class="body-cell">{{ item.at }}</text>
  138. <text class="body-cell">{{ item.ah }}</text>
  139. <text class="body-cell">{{ item.hrt }}</text>
  140. <text class="body-cell">{{ item.rps }}</text>
  141. <text class="body-cell">{{ item.tps }}</text>
  142. <text class="body-cell">{{ item.lps }}</text>
  143. <text class="body-cell">{{ item.blbs }}</text>
  144. <text class="body-cell">{{ item.csq }}</text>
  145. <text class="body-cell">{{ item.current }}</text>
  146. <text class="body-cell">{{ item.vbat }}</text>
  147. <text class="body-cell">{{ item.lng }}</text>
  148. <text class="body-cell">{{ item.lat }}</text>
  149. </view>
  150. </view>
  151. </view>
  152. </view>
  153. </view>
  154. <view class="pagination">
  155. <text class="pagination-btn prev-btn">上一页</text>
  156. <text class="pagination-info">1/6</text>
  157. <text class="pagination-btn next-btn">下一页</text>
  158. </view>
  159. </view>
  160. </view>
  161. </template>
  162. <script>
  163. import * as echarts from 'echarts';
  164. import setting from '../assets/setting.png';
  165. import edit from '../assets/edit.png';
  166. import sim from '../assets/sim.png';
  167. let chartInstance = null;
  168. export default {
  169. name: 'DeviceData',
  170. props:{
  171. deviceInfo:{
  172. type:Object,
  173. default:()=>({}),
  174. },
  175. deviceStatic:{
  176. type:Object,
  177. default:()=>({}),
  178. },
  179. polylineList:{
  180. type:Array,
  181. default:()=>[],
  182. },
  183. deviceHistoryList:{
  184. type:Array,
  185. default:()=>[],
  186. },
  187. },
  188. data() {
  189. return {
  190. setting,
  191. edit,
  192. sim,
  193. chartTabs: [
  194. { name: '温度', id: 'new_tem' },
  195. { name: '湿度', id: 'new_hum' },
  196. { name: '加热仓温度', id: 'others' },
  197. ],
  198. xData:[],
  199. yData:[],
  200. activeChartTab: 0,
  201. historyData: [],
  202. currentPage: 1,
  203. totalPages: 6
  204. };
  205. },
  206. watch:{
  207. polylineList:{
  208. handler(newVal, oldVal){
  209. if(newVal.length > 0){
  210. this.xData = newVal.map(item => this.formatDate(new Date(item.addtime)));
  211. this.yData = newVal.map(item => Number(item.new_tem) || 0);
  212. this.initChart();
  213. }
  214. },
  215. deep:true,
  216. immediate:true,
  217. },
  218. deviceHistoryList:{
  219. handler(newVal, oldVal){
  220. console.log(newVal,'newValnewVal')
  221. this.historyData = []
  222. if(newVal.length > 0){
  223. newVal.forEach(item=>{
  224. this.historyData.push(item.d_h_t)
  225. })
  226. }
  227. },
  228. deep:true,
  229. immediate:true,
  230. }
  231. },
  232. methods: {
  233. openSettings(){
  234. this.$router.push({
  235. path: '/pages/cbd/deviceControl',
  236. query: {
  237. deviceId: this.deviceId
  238. }
  239. });
  240. },
  241. initChart() {
  242. this.$nextTick(() => {
  243. this.drawChart();
  244. });
  245. },
  246. // 格式化时间
  247. formatDate(dateString) {
  248. const date = new Date(dateString*1000);
  249. const year = date.getFullYear();
  250. const month = String(date.getMonth() + 1).padStart(2, '0');
  251. const day = String(date.getDate()).padStart(2, '0');
  252. return `${year}-${month}-${day}`;
  253. },
  254. formatTime(dateString) {
  255. const date = new Date(dateString*1000);
  256. const year = date.getFullYear();
  257. const month = String(date.getMonth() + 1).padStart(2, '0');
  258. const day = String(date.getDate()).padStart(2, '0');
  259. const hour = String(date.getHours()).padStart(2, '0');
  260. const minute = String(date.getMinutes()).padStart(2, '0');
  261. const second = String(date.getSeconds()).padStart(2, '0');
  262. return `${year}-${month}-${day} ${hour}:${minute}:${second}`;
  263. },
  264. drawChart() {
  265. // 销毁已有的图表实例
  266. if (chartInstance) {
  267. chartInstance.dispose();
  268. }
  269. // 初始化图表
  270. const chartDom = document.getElementById('tempChart');
  271. if (!chartDom) return;
  272. chartInstance = echarts.init(chartDom);
  273. const option = {
  274. backgroundColor: '#FFFFFF',
  275. tooltip: {
  276. trigger: 'axis'
  277. },
  278. legend: {
  279. show: false
  280. },
  281. grid: {
  282. left: '3%',
  283. right: '4%',
  284. bottom: '3%',
  285. top: '8%',
  286. containLabel: true
  287. },
  288. xAxis: {
  289. type: 'category',
  290. boundaryGap: false,
  291. data: this.xData,
  292. axisLine: {
  293. lineStyle: {
  294. color: '#CCCCCC'
  295. }
  296. },
  297. axisLabel: {
  298. fontSize: 10,
  299. color: '#999999'
  300. },
  301. splitLine: {
  302. show: false
  303. }
  304. },
  305. yAxis: {
  306. type: 'value',
  307. splitNumber: 4,
  308. axisLine: {
  309. show: true,
  310. lineStyle: {
  311. color: '#CCCCCC'
  312. }
  313. },
  314. axisLabel: {
  315. fontSize: 10,
  316. color: '#999999'
  317. },
  318. splitLine: {
  319. show: true,
  320. lineStyle: {
  321. color: '#E5E5E5',
  322. type: 'dashed'
  323. }
  324. }
  325. },
  326. series: [
  327. {
  328. name: this.chartTabs[this.activeChartTab].name,
  329. type: 'line',
  330. smooth: true,
  331. data: this.yData,
  332. lineStyle: {
  333. color: '#0BBC58',
  334. width: 2
  335. },
  336. itemStyle: {
  337. color: '#0BBC58',
  338. borderColor: '#0BBC58',
  339. borderWidth: 2
  340. },
  341. symbol: 'circle',
  342. symbolSize: 6,
  343. areaStyle: {
  344. color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
  345. {
  346. offset: 0,
  347. color: 'rgba(11, 188, 88, 0.3)'
  348. },
  349. {
  350. offset: 1,
  351. color: 'rgba(11, 188, 88, 0)'
  352. }
  353. ])
  354. }
  355. }
  356. ]
  357. };
  358. chartInstance.setOption(option);
  359. // 监听窗口大小变化,调整图表大小
  360. window.addEventListener('resize', () => {
  361. chartInstance.resize();
  362. });
  363. },
  364. switchChartTab(index) {
  365. this.activeChartTab = index;
  366. // 根据不同标签切换数据
  367. if (this.chartTabs[index].id === 'new_tem') {
  368. this.yData = this.polylineList.map(item => Number(item.new_tem) || 0);
  369. } else if (this.chartTabs[index].id === 'new_hum') {
  370. this.yData = this.polylineList.map(item => Number(item.new_hum) || 0);
  371. } else if (this.chartTabs[index].id === 'others') {
  372. this.yData = this.polylineList.map(item => Number(item.others) || 0);
  373. }
  374. this.$nextTick(() => {
  375. this.drawChart();
  376. });
  377. }
  378. }
  379. };
  380. </script>
  381. <style lang="scss" scoped>
  382. .device-data-container {
  383. width: 100%;
  384. min-height: 100vh;
  385. }
  386. .device-data-wraper{
  387. padding: 16rpx;
  388. background: #ffffff;
  389. border-radius: 16rpx;
  390. }
  391. /* 顶部时间戳和图标区域 */
  392. .top-bar {
  393. display: flex;
  394. justify-content: space-between;
  395. align-items: center;
  396. padding: 16rpx 0;
  397. .timestamp {
  398. font-size: 28rpx;
  399. font-family: 'Source Han Sans CN VF', sans-serif;
  400. font-weight: 400;
  401. color: #999999;
  402. }
  403. .icon-group {
  404. display: flex;
  405. gap: 24rpx;
  406. .icon-item {
  407. width: 48rpx;
  408. height: 48rpx;
  409. display: flex;
  410. align-items: center;
  411. justify-content: center;
  412. border-radius: 50%;
  413. .iconfont {
  414. font-size: 36rpx;
  415. }
  416. &.refresh-icon .iconfont {
  417. color: #0BBC58;
  418. }
  419. &.settings-icon .iconfont {
  420. color: #999999;
  421. }
  422. &.info-icon .iconfont {
  423. color: #999999;
  424. }
  425. }
  426. }
  427. }
  428. /* 主要数据面板 */
  429. .main-data-panel {
  430. display: flex;
  431. background: #FFFFFF;
  432. border-radius: 16rpx;
  433. margin-bottom: 16rpx;
  434. .data-column-left {
  435. flex: 1;
  436. display: flex;
  437. flex-direction: column;
  438. gap: 24rpx;
  439. .data-item {
  440. display: flex;
  441. flex-direction: column;
  442. gap: 8rpx;
  443. .data-label {
  444. font-size: 24rpx;
  445. font-family: 'Source Han Sans CN VF', sans-serif;
  446. font-weight: 400;
  447. color: #999999;
  448. }
  449. .data-value {
  450. font-size: 24rpx;
  451. font-family: 'Source Han Sans CN VF', sans-serif;
  452. font-weight: 700;
  453. color: #042118;
  454. &.temp-value {
  455. color: #FF6B6B;
  456. }
  457. }
  458. .data-unit {
  459. font-size: 24rpx;
  460. font-family: 'Source Han Sans CN VF', sans-serif;
  461. font-weight: 400;
  462. color: #999999;
  463. }
  464. }
  465. }
  466. .data-column-right {
  467. flex: 1;
  468. display: flex;
  469. flex-direction: column;
  470. align-items: center;
  471. gap: 16rpx;
  472. .device-image-container {
  473. position: relative;
  474. width: 200rpx;
  475. height: 200rpx;
  476. display: flex;
  477. align-items: center;
  478. justify-content: center;
  479. .device-glow {
  480. position: absolute;
  481. width: 180rpx;
  482. height: 180rpx;
  483. background: radial-gradient(circle, rgba(11, 188, 88, 0.3) 0%, rgba(11, 188, 88, 0) 70%);
  484. border-radius: 50%;
  485. }
  486. .device-image {
  487. position: relative;
  488. width: 260rpx;
  489. height: 360rpx;
  490. z-index: 1;
  491. top: 60rpx;
  492. }
  493. }
  494. .device-info {
  495. display: flex;
  496. flex-direction: column;
  497. gap: 12rpx;
  498. width: 100%;
  499. .info-row {
  500. display: flex;
  501. justify-content: space-between;
  502. align-items: center;
  503. .info-label {
  504. font-size: 24rpx;
  505. font-family: 'Source Han Sans CN VF', sans-serif;
  506. font-weight: 400;
  507. color: #999999;
  508. }
  509. .info-value {
  510. font-size: 36rpx;
  511. font-family: 'Source Han Sans CN VF', sans-serif;
  512. font-weight: 700;
  513. color: #042118;
  514. }
  515. .info-version {
  516. font-size: 24rpx;
  517. font-family: 'Source Han Sans CN VF', sans-serif;
  518. font-weight: 400;
  519. color: #999999;
  520. }
  521. .info-label-small {
  522. font-size: 24rpx;
  523. font-family: 'Source Han Sans CN VF', sans-serif;
  524. font-weight: 400;
  525. color: #999999;
  526. }
  527. }
  528. }
  529. }
  530. }
  531. /* 图表区域 */
  532. .chart-section {
  533. background: #FFFFFF;
  534. border-radius: 16rpx;
  535. padding: 24rpx 32rpx 32rpx;
  536. margin: 24rpx 0;
  537. .chart-header {
  538. display: flex;
  539. justify-content: space-between;
  540. align-items: center;
  541. margin-bottom: 24rpx;
  542. .chart-tabs {
  543. display: flex;
  544. gap: 32rpx;
  545. overflow-x: auto;
  546. white-space: nowrap;
  547. .chart-tab-item {
  548. font-size: 28rpx;
  549. font-family: 'Source Han Sans CN VF', sans-serif;
  550. font-weight: 500;
  551. color: #999999;
  552. position: relative;
  553. padding-bottom: 8rpx;
  554. transition: all 0.3s;
  555. &.active {
  556. color: #0BBC58;
  557. font-weight: 700;
  558. &::after {
  559. content: '';
  560. position: absolute;
  561. bottom: 0;
  562. left: 0;
  563. right: 0;
  564. height: 4rpx;
  565. background: #0BBC58;
  566. border-radius: 2rpx;
  567. }
  568. }
  569. }
  570. }
  571. .chart-dropdown {
  572. .dropdown-icon {
  573. font-size: 28rpx;
  574. color: #999999;
  575. }
  576. }
  577. }
  578. .chart-content {
  579. .chart-legend {
  580. display: flex;
  581. justify-content: space-between;
  582. align-items: center;
  583. margin-bottom: 16rpx;
  584. .legend-item {
  585. display: flex;
  586. align-items: center;
  587. gap: 8rpx;
  588. .legend-dot {
  589. width: 16rpx;
  590. height: 16rpx;
  591. background: #0BBC58;
  592. border-radius: 50%;
  593. }
  594. .legend-text {
  595. font-size: 24rpx;
  596. font-family: 'Source Han Sans CN VF', sans-serif;
  597. font-weight: 400;
  598. color: #042118;
  599. }
  600. }
  601. .legend-average {
  602. .average-text {
  603. font-size: 24rpx;
  604. font-family: 'Source Han Sans CN VF', sans-serif;
  605. font-weight: 400;
  606. color: #999999;
  607. }
  608. }
  609. }
  610. .chart-canvas-container {
  611. width: 100%;
  612. height: 360rpx;
  613. .chart-canvas {
  614. width: 100%;
  615. height: 100%;
  616. }
  617. }
  618. }
  619. }
  620. .copy-icon{
  621. width: 28rpx;
  622. height: 28rpx;
  623. }
  624. /* 历史数据表格 */
  625. .history-section {
  626. background: #FFFFFF;
  627. border-radius: 16rpx;
  628. padding: 24rpx 32rpx 32rpx;
  629. .history-header {
  630. margin-bottom: 24rpx;
  631. .history-title {
  632. font-size: 32rpx;
  633. font-family: 'Source Han Sans CN VF', sans-serif;
  634. font-weight: 700;
  635. color: #042118;
  636. }
  637. }
  638. .history-table {
  639. margin-bottom: 24rpx;
  640. .table-container {
  641. display: flex;
  642. position: relative;
  643. /* 固定列 */
  644. .fixed-column {
  645. width: 180rpx;
  646. position: relative;
  647. z-index: 2;
  648. background: #FFFFFF;
  649. .fixed-header {
  650. border-bottom: 2rpx solid #F0F0F0;
  651. padding: 16rpx 0;
  652. .header-cell.fixed {
  653. font-size: 24rpx;
  654. font-family: 'Source Han Sans CN VF', sans-serif;
  655. font-weight: 500;
  656. color: #666666;
  657. text-align: left;
  658. padding-left: 0;
  659. }
  660. }
  661. .fixed-body {
  662. .fixed-row {
  663. padding: 16rpx 0;
  664. border-bottom: 1rpx solid #F5F5F5;
  665. height: 80rpx;
  666. display: flex;
  667. align-items: center;
  668. &.even {
  669. background: #FAFAFA;
  670. }
  671. .body-cell.fixed {
  672. font-size: 24rpx;
  673. font-family: 'Source Han Sans CN VF', sans-serif;
  674. font-weight: 400;
  675. color: #042118;
  676. text-align: left;
  677. padding-left: 0;
  678. }
  679. }
  680. }
  681. }
  682. /* 可滑动列 */
  683. .scrollable-column {
  684. flex: 1;
  685. overflow-x: auto;
  686. white-space: nowrap;
  687. /* 隐藏滚动条 */
  688. &::-webkit-scrollbar {
  689. display: none;
  690. }
  691. scrollbar-width: none;
  692. .scrollable-header {
  693. display: flex;
  694. border-bottom: 2rpx solid #F0F0F0;
  695. padding: 20rpx 0;
  696. .header-cell {
  697. min-width: 140rpx;
  698. font-size: 24rpx;
  699. font-family: 'Source Han Sans CN VF', sans-serif;
  700. font-weight: 500;
  701. color: #666666;
  702. text-align: center;
  703. // 超出隐藏
  704. overflow: hidden;
  705. text-overflow: ellipsis;
  706. white-space: nowrap;
  707. }
  708. }
  709. .scrollable-body {
  710. .scrollable-row {
  711. display: flex;
  712. padding: 16rpx 0;
  713. border-bottom: 1rpx solid #F5F5F5;
  714. height: 80rpx;
  715. align-items: center;
  716. &.even {
  717. background: #FAFAFA;
  718. }
  719. .body-cell {
  720. min-width: 140rpx;
  721. font-size: 24rpx;
  722. font-family: 'Source Han Sans CN VF', sans-serif;
  723. font-weight: 400;
  724. color: #042118;
  725. text-align: center;
  726. }
  727. }
  728. }
  729. }
  730. }
  731. }
  732. .pagination {
  733. display: flex;
  734. justify-content: space-between;
  735. align-items: center;
  736. .pagination-btn {
  737. font-size: 24rpx;
  738. font-family: 'Source Han Sans CN VF', sans-serif;
  739. font-weight: 400;
  740. padding: 6rpx 18rpx;
  741. border-radius: 8rpx;
  742. transition: all 0.3s;
  743. &.prev-btn {
  744. color: #656565;
  745. border: 1px solid #E4E7ED;
  746. }
  747. &.next-btn {
  748. color: #0BBC58;
  749. border: 1px solid #0BBC58;
  750. }
  751. }
  752. .pagination-info {
  753. font-size: 28rpx;
  754. font-family: 'Source Han Sans CN VF', sans-serif;
  755. font-weight: 400;
  756. color: #999999;
  757. }
  758. }
  759. }
  760. </style>