detail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  1. <template>
  2. <view class="device-detail">
  3. <view class="device-detail__header">
  4. <u-icon
  5. size="36"
  6. class="arrow-left"
  7. name="arrow-left"
  8. @click="handleBack"
  9. ></u-icon>
  10. {{ deviceInfo.name }}
  11. </view>
  12. <view class="operation" @click.stop="isShowOperation = !isShowOperation">操作</view>
  13. <view class="operation-container" v-if="isShowOperation" @click="closeOperationHandler">
  14. <view class="operation-background"></view>
  15. <view class="operation-content">
  16. <view class="operation-item" v-if="isShowPhoto" @click="handlePhotoClick">
  17. <image :src="photoIcon" class="operation-icon"></image>
  18. 拍照
  19. </view>
  20. <!-- <view class="operation-item" @click="handleServiceClick">
  21. <image :src="serviceIcon" class="operation-icon"></image>
  22. 维修
  23. </view> -->
  24. <view class="operation-item" @click="handleSettingClick">
  25. <image :src="settingIcon" class="operation-icon"></image>
  26. 设置
  27. </view>
  28. <view class="operation-item" @click="handleSimClick">
  29. <image :src="simIcon" class="operation-icon"></image>
  30. SIM卡
  31. </view>
  32. <view class="operation-item" @click="modification">
  33. <image :src="editIcon" class="operation-icon"></image>
  34. 修改
  35. </view>
  36. </view>
  37. </view>
  38. <view class="device-detail__body">
  39. <DeviceCard
  40. :dataSource="deviceInfo"
  41. :collectTime="time"
  42. :title="deviceInfo.name"
  43. :deviceType="deviceType"
  44. />
  45. <view class="tabs">
  46. <view class="tab-container" v-if="isShowTab">
  47. <view class="tab-item" :class="activeTab === 'viewImage'?'active':''" @click="handleTabClick('viewImage')">
  48. 查看图片
  49. </view>
  50. <view class="tab-item" :class="activeTab === 'deviceData'?'active':''" @click="handleTabClick('deviceData')">
  51. 设备数据
  52. </view>
  53. </view>
  54. <view class="select-timer-container">
  55. <view class="select-year">
  56. <view class="select-year-item" @click="showPicker = true">
  57. {{ currentYear }}
  58. <u-icon name="arrow-down" size="18" class="arrow-down"></u-icon>
  59. </view>
  60. </view>
  61. <view class="tabs-timer-container" @click="showCalendar">
  62. <view class="tabs-timer-item">
  63. {{startDate}}
  64. </view>
  65. <view class="tabs-timer-item">
  66. {{endDate}}
  67. </view>
  68. <u-icon name="calendar" size="36" class="calendar-icon"></u-icon>
  69. </view>
  70. </view>
  71. </view>
  72. <view v-show="activeTab === 'viewImage'">
  73. <photoImage
  74. :images="imageList"
  75. :pestList="pestList"
  76. :disableShow="disableShow"
  77. @changeTab="changeTab"
  78. :currentYear="currentYear"
  79. :deviceInfo="deviceInfo"
  80. />
  81. </view>
  82. <view v-show="activeTab === 'deviceData'">
  83. <DeviceData
  84. :deviceStatic="deviceStatic"
  85. :deviceInfo="deviceInfo"
  86. :polylineList="polylineList"
  87. :deviceHistoryList="deviceHistoryList"
  88. :totalPage="totalPage"
  89. :currentPage="page"
  90. :page_size="page_size"
  91. @prevPage="prevPage"
  92. @nextPage="nextPage"
  93. />
  94. </view>
  95. </view>
  96. <u-calendar v-model="show" :mode="mode" range-color="#999" btn-type="success" active-bg-color="#0bbc58" range-bg-color="rgba(11,188,88,0.13)" @change="handleChange" :max-date="maxDate" :min-date="minDate"></u-calendar>
  97. <u-picker v-model="showPicker" mode="selector" :range="selectorRange" range-key="id" :default-selector="[0]" @confirm="confirmHandler"></u-picker>
  98. </view>
  99. </template>
  100. <script>
  101. import DeviceCard from './components/DeviceCard.vue';
  102. import PestDiscern from './components/pestDiscern.vue';
  103. import PestEchart from './components/pestEchart.vue';
  104. import PestArchive from './components/pestArchive.vue';
  105. import photoImage from './components/photoImage.vue';
  106. import DeviceData from './components/deviceData.vue';
  107. export default {
  108. components: {
  109. DeviceCard,
  110. PestDiscern,
  111. PestEchart,
  112. PestArchive,
  113. photoImage,
  114. DeviceData,
  115. },
  116. data(){
  117. return {
  118. isShowTab:false,
  119. showPicker: false,
  120. disableShow: false,
  121. isShowOperation: false,
  122. photoIcon:'https://s3.hnyfwlw.com/webstaticimg/bigdata_app/newImg/home/photoIcon.png',
  123. editIcon:'https://s3.hnyfwlw.com/webstaticimg/bigdata_app/newImg/home/editIcon.png',
  124. serviceIcon:'https://s3.hnyfwlw.com/webstaticimg/bigdata_app/newImg/home/serviceIcon.png',
  125. simIcon:'https://s3.hnyfwlw.com/webstaticimg/bigdata_app/newImg/home/simIcon.png',
  126. settingIcon:'https://s3.hnyfwlw.com/webstaticimg/bigdata_app/newImg/home/settingIcon.png',
  127. totalPage:0,
  128. currentYear: new Date().getFullYear(),
  129. selectorRange: [],
  130. maxDate: this.formatDate(new Date()),
  131. minDate: this.formatDate(new Date(new Date().getFullYear(), 0, 1)),
  132. show: false,
  133. showSim: false,
  134. // 当前日期向前推30天 格式2026-01-01 月份和日期小于10的时候前面加个0
  135. startDate: this.formatDate(new Date(new Date().getTime() - 30 * 24 * 60 * 60 * 1000)),
  136. endDate: this.formatDate(new Date()),
  137. mode: 'range',
  138. imageList: [],
  139. pest_order:{},
  140. deviceInfo: {},
  141. pestInfo: {},
  142. time: '',
  143. activeTab: 'viewImage',
  144. deviceType: '',
  145. location: '',
  146. total: 0,
  147. day: [],
  148. pest: [],
  149. page:1,
  150. is_pest:'',
  151. page_size:24,
  152. pestList:[],
  153. pest_names:'',
  154. pests:[],
  155. polylineList:[],
  156. isShowPhoto:false,
  157. deviceHistoryList:[],
  158. deviceStatic:{}
  159. }
  160. },
  161. onLoad(options){
  162. this.deviceInfo = JSON.parse(options.info);
  163. const newVal = this.deviceInfo;
  164. if (newVal.device_model == '11'){
  165. this.isShowPhoto = true
  166. } else if(newVal.device_model == '12'){
  167. this.isShowPhoto = false
  168. } else if(newVal.device_model == '13'){
  169. this.isShowPhoto = true
  170. } else if(newVal.device_model == '14'){
  171. this.isShowPhoto = true
  172. } else if(newVal.device_model == '15'){
  173. this.isShowPhoto = false
  174. } else{
  175. this.isShowPhoto = true
  176. }
  177. // this.getPestAnalysis();
  178. this.isShow();
  179. const currentYear = new Date().getFullYear();
  180. this.selectorRange = [];
  181. for(let i = 0;i<50;i++){
  182. const item = {
  183. label: currentYear - i,
  184. id: currentYear - i
  185. }
  186. this.selectorRange.push(item);
  187. }
  188. },
  189. methods: {
  190. handleSimClick(){
  191. // this.showSim = true;
  192. //`/pages/deviceDetails/weatherStation/${type}?deviceInfo=${encodeURIComponent(JSON.stringify(this.deviceInfo))}`
  193. uni.navigateTo({
  194. url:
  195. '/pages/deviceDetails/weatherStation/simDetail?deviceInfo=' +
  196. encodeURIComponent(JSON.stringify(this.deviceInfo))
  197. });
  198. },
  199. modification() {
  200. uni.navigateTo({
  201. url:
  202. '/pages/equipList/seabox/modification?data=' +
  203. JSON.stringify(this.deviceInfo) +
  204. '&id=' +
  205. this.deviceInfo.type,
  206. });
  207. },
  208. async handlePhotoClick(){
  209. const res = await this.$myRequest({
  210. url: '/api/api_gateway?method=forecast.send_control.admin_device_control',
  211. method: 'POST',
  212. data: {
  213. device_type_id: this.deviceInfo.type,
  214. d_id: this.deviceInfo.d_id,
  215. cmd: 'takephoto',
  216. },
  217. });
  218. if(res){
  219. this.$u.toast('拍照成功')
  220. }
  221. },
  222. handleServiceClick(){
  223. uni.navigateTo({
  224. url: '/pages/afterSale/addafter?d_id=' + this.deviceInfo.d_id +'&device_id='+this.deviceInfo.id + '&device_type=' + this.deviceInfo.type,
  225. })
  226. },
  227. handleSettingClick(){
  228. uni.navigateTo({
  229. url: '/pages/bzy/deviceControl?deviceId=' + this.deviceInfo.id + '&d_id=' + this.deviceInfo.d_id,
  230. });
  231. },
  232. closeOperationHandler(){
  233. this.isShowOperation = false;
  234. },
  235. isShow(){
  236. // disable == 0 或者 device_model == 15 表示不可以查看
  237. if(!this.deviceInfo.d_id){
  238. return false;
  239. }
  240. let showStatus = true;
  241. if(this.deviceInfo.device_model == 15 || this.deviceInfo.device_model == 12){
  242. showStatus = false;
  243. }
  244. if(showStatus){
  245. this.activeTab = 'viewImage';
  246. }else{
  247. this.activeTab = 'deviceData';
  248. }
  249. this.initAction();
  250. this.isShowTab = showStatus;
  251. if(this.deviceInfo.disable == 0){
  252. this.disableShow = false;
  253. if(showStatus){
  254. this.activeTab = 'viewImage';
  255. this.handleTabClick('viewImage');
  256. }
  257. }else{
  258. this.disableShow = true;
  259. }
  260. },
  261. prevPage(e){
  262. if(e == 1){
  263. return
  264. }
  265. this.page = e-=1;
  266. this.getDeviceHistoryData();
  267. },
  268. nextPage(e){
  269. if(e * this.page_size >= this.totalPage){
  270. return
  271. }
  272. this.page = e+=1;
  273. this.getDeviceHistoryData();
  274. },
  275. changeTab(pestList){
  276. let pest_names = pestList.map(item => item.pest_name);
  277. this.pest_names = pest_names.join(',');
  278. this.initImageList();
  279. },
  280. confirmHandler(e){
  281. this.currentYear = this.selectorRange[e].id;
  282. if(this.currentYear == new Date().getFullYear()){
  283. // 结束日期为this.endDate的月份和日期加上选择的年份
  284. const timeDate = this.currentYear + '-' + this.endDate.split('-')[1] + '-' + this.endDate.split('-')[2];
  285. this.endDate = this.formatDate(new Date(timeDate));
  286. // 开始日期为结束日期前30天
  287. this.startDate = this.formatDate(new Date(new Date(this.endDate).getTime() - 30 * 24 * 60 * 60 * 1000));
  288. this.maxDate = this.formatDate(new Date());
  289. this.minDate = this.formatDate(new Date(new Date().getFullYear(), 0, 1));
  290. }else{
  291. // 结束日期为this.endDate的月份和日期加上选择的年份
  292. const timeDate = this.currentYear + '-' + this.endDate.split('-')[1] + '-' + this.endDate.split('-')[2];
  293. this.endDate = this.formatDate(new Date(timeDate));
  294. // 开始日期为结束日期前30天
  295. this.startDate = this.formatDate(new Date(new Date(this.endDate).getTime() - 30 * 24 * 60 * 60 * 1000));
  296. this.maxDate = this.formatDate(new Date(this.currentYear, 11, 31));
  297. this.minDate = this.formatDate(new Date(this.currentYear, 0, 1));
  298. }
  299. this.initAction();
  300. this.showPicker = false;
  301. },
  302. getInfo(info){
  303. this.pestInfo = info;
  304. },
  305. // 格式化日期为YYYY-MM-DD格式,月份和日期小于10时前面加0
  306. formatDate(date) {
  307. const year = date.getFullYear();
  308. const month = String(date.getMonth() + 1).padStart(2, '0');
  309. const day = String(date.getDate()).padStart(2, '0');
  310. return `${year}-${month}-${day}`;
  311. },
  312. formatTime(date){
  313. const time = new Date(date).getTime() / 1000;
  314. return time.toFixed(0);
  315. },
  316. handleChange(e){
  317. this.startDate = e.startDate;
  318. this.endDate = e.endDate;
  319. this.initAction();
  320. },
  321. showCalendar(){
  322. this.show = true;
  323. },
  324. handleBack() {
  325. uni.navigateBack({
  326. delta: 1
  327. });
  328. },
  329. initAction(){
  330. this.pest_order = {}
  331. if(this.activeTab === 'viewImage'){
  332. // this.initPest();
  333. this.initImageList();
  334. }else if(this.activeTab === 'deviceData'){
  335. // this.getDeviceData();
  336. this.getPolylineData();
  337. this.getDeviceHistoryData();
  338. }
  339. },
  340. handleTabClick(tab) {
  341. this.activeTab = tab;
  342. this.initAction();
  343. },
  344. async getDeviceData(){
  345. const res = await this.$myRequest({
  346. url: '/api/api_gateway?method=forecast.worm_lamp.device_status_data',
  347. method: 'POST',
  348. data: {
  349. device_id: this.deviceInfo.id,
  350. },
  351. });
  352. this.deviceStatic = res;
  353. },
  354. async initImageList(){
  355. const res = await this.$myRequest({
  356. url: '/api/api_gateway?method=forecast.forecast_system.equip_photo',
  357. method: 'POST',
  358. data: {
  359. page:this.page,
  360. page_number:this.page_size,
  361. device_id: this.deviceInfo.id,
  362. ret:'list',
  363. time_begin: this.formatTime(this.formatDate(new Date(this.startDate)) + ' 00:00:00'),// 格式化开始时间YYYY-MM-DD HH:MM:SS
  364. time_end: this.formatTime(this.formatDate(new Date(this.endDate)) + ' 23:59:59'),// 格式化结束时间YYYY-MM-DD HH:MM:SS
  365. },
  366. });
  367. const data = res?.data || [];
  368. this.imageList = data
  369. },
  370. async initPest(){
  371. const res = await this.$myRequest({
  372. url: '/api/api_gateway?method=forecast.new_cbd.pest_type_list',
  373. method: 'POST',
  374. data:{
  375. page:1,
  376. page_size:999999,
  377. device_id: this.deviceInfo.id,
  378. identify_model: 'B',
  379. time_begin: this.formatTime(this.formatDate(new Date(this.startDate)) + ' 00:00:00'),// 格式化开始时间YYYY-MM-DD HH:MM:SS
  380. time_end: this.formatTime(this.formatDate(new Date(this.endDate)) + ' 23:59:59'),// 格式化结束时间YYYY-MM-DD HH:MM:SS
  381. },
  382. });
  383. const data = res?.data || [];
  384. this.pestList = data
  385. },
  386. async getPolylineData(){
  387. const res = await this.$myRequest({
  388. url: '/api/api_gateway?method=forecast.worm_lamp.device_polyline_data',
  389. method: 'POST',
  390. data: {
  391. device_type_id: this.deviceInfo.type_id,
  392. d_id: this.deviceInfo.d_id,
  393. start_time: new Date(this.startDate).getTime()/1000,// 转成毫秒
  394. end_time: new Date(this.endDate).getTime()/1000,// 转成毫秒
  395. },
  396. });
  397. const data = res || [];
  398. this.polylineList = data
  399. },
  400. async getDeviceHistoryData(){
  401. const res = await this.$myRequest({
  402. url: '/api/api_gateway?method=forecast.worm_lamp.device_history_data',
  403. method: 'POST',
  404. data: {
  405. device_type_id: this.deviceInfo.type_id,
  406. device_id: this.deviceInfo.id,
  407. start_time: new Date(this.startDate).getTime()/1000,
  408. end_time: new Date(this.endDate).getTime()/1000,
  409. page: this.page,
  410. page_size: this.page_size,
  411. },
  412. });
  413. const data = res?.data || [];
  414. this.totalPage = res.counts;
  415. this.deviceHistoryList = data
  416. },
  417. async getPestAnalysis(){
  418. const res = await this.$myRequest({
  419. url: '/api/api_gateway?method=forecast.cbd_analysis.analysis_pest_result',
  420. method: 'POST',
  421. data: {
  422. d_id: this.deviceInfo.d_id,
  423. start: this.startDate,
  424. end: this.endDate,
  425. model: 'B'
  426. },
  427. });
  428. const pest_order = res?.pest_order;
  429. this.getInfo({});
  430. let total = 0;
  431. this.pests = [];
  432. for(let key in pest_order){
  433. total += pest_order[key] || 0;
  434. this.pests.push({
  435. name: key,
  436. percent: (pest_order[key] / total) * 100
  437. })
  438. }
  439. this.pest_order = pest_order;
  440. this.day = res?.day || [];
  441. const pest = res?.pest || [];
  442. this.pest = pest;
  443. // pest.forEach(p =>{
  444. // for(let i = 0;i< p.length;i++){
  445. // this.pest.push(p[i]);
  446. // }
  447. // })
  448. this.total = total;
  449. }
  450. }
  451. }
  452. </script>
  453. <style scoped lang="scss">
  454. ::v-deep .u-calendar__action{
  455. display:flex;
  456. justify-content: space-between;
  457. }
  458. ::v-deep .u-hover-class{
  459. .u-calendar__content__item__inner{
  460. color:#aaa !important;
  461. }
  462. }
  463. .operation-container{
  464. position: fixed;
  465. right: 0;
  466. top: 0;
  467. width: 100%;
  468. height: 100%;
  469. z-index: 99;
  470. }
  471. .operation{
  472. position: fixed;
  473. top: 260rpx;
  474. right: 0;
  475. z-index: 999;
  476. width:48rpx;
  477. height: 100rpx;
  478. line-height: 50rpx;
  479. border-radius: 8px 0 0 8px;
  480. border-top: 4rpx solid #FFF;
  481. border-bottom: 4rpx solid #FFF;
  482. border-left: 4rpx solid #FFF;
  483. background: #dddfe6a3;
  484. color: #515153;
  485. text-align: center;
  486. font-family: "Source Han Sans CN VF";
  487. font-size: 24rpx;
  488. font-weight: 500;
  489. writing-mode: vertical-rl;
  490. }
  491. .operation-background{
  492. position: fixed;
  493. right: 0;
  494. top: 0;
  495. width: 100%;
  496. height: 100%;
  497. z-index: 998;
  498. background: #00000040;
  499. }
  500. .operation-content{
  501. position: fixed;
  502. top: 240rpx;
  503. right: 80rpx;
  504. height: 126rpx;
  505. display: flex;
  506. padding: 16rpx 32rpx;
  507. align-items: center;
  508. gap: 64rpx;
  509. z-index: 999;
  510. border-radius: 32rpx;
  511. border: 2rpx solid #FFF;
  512. background: #FFF;
  513. backdrop-filter: blur(8rpx);
  514. .operation-item{
  515. display: flex;
  516. flex-direction: column;
  517. align-items: center;
  518. justify-content: center;
  519. color: #333333;
  520. text-align: center;
  521. font-family: "Source Han Sans CN VF";
  522. font-size: 24rpx;
  523. font-weight: 400;
  524. }
  525. .operation-icon{
  526. width: 58rpx;
  527. height: 58rpx;
  528. }
  529. }
  530. .device-detail {
  531. display: flex;
  532. width: 100%;
  533. height: calc(100vh - 112rpx);
  534. padding-top: 112rpx;
  535. flex-direction: column;
  536. align-items: center;
  537. overflow-y: scroll;
  538. background: linear-gradient(180deg, #ffffff00 0%, #F5F6FA 23.64%, #F5F6FA 100%), linear-gradient(102deg, #BFEADD 6.77%, #B8F1E7 40.15%, #B9EEF5 84.02%);
  539. .device-detail__header {
  540. width: 100%;
  541. font-size: 28rpx;
  542. color: #999;
  543. color: #042118;
  544. font-family: 'Source Han Sans CN VF';
  545. font-weight: 700;
  546. position: relative;
  547. text-align: center;
  548. .arrow-left {
  549. position: absolute;
  550. left: 32rpx;
  551. margin-right: 12rpx;
  552. }
  553. }
  554. .device-detail__body {
  555. width: calc(100% - 64rpx);
  556. margin: 0 auto;
  557. border-radius: 16rpx;
  558. overflow-x: hidden;
  559. overflow-y: auto;
  560. // 隐藏滚动条
  561. -ms-overflow-style: none;
  562. scrollbar-width: none;
  563. }
  564. .tab-content{
  565. width: 100%;
  566. padding-bottom: 32rpx;
  567. }
  568. .tabs {
  569. background: #ffffff;
  570. margin: 24rpx 0;
  571. border-radius: 16rpx;
  572. padding: 16rpx 0;
  573. padding-top: 0;
  574. .tab-container{
  575. display: flex;
  576. width: 100%;
  577. height: 88rpx;
  578. line-height: 88rpx;
  579. text-align: center;
  580. font-size: 28rpx;
  581. font-weight: 700;
  582. color: #042118;
  583. font-family: 'Source Han Sans CN VF';
  584. }
  585. .select-timer-container{
  586. display:flex;
  587. align-items: center;
  588. padding-left: 32rpx;
  589. .select-year{
  590. width: 110rpx;
  591. text-align: center;
  592. height: 64rpx;
  593. border-radius: 32rpx;
  594. font-family: 'Source Han Sans CN VF';
  595. line-height: 64rpx;
  596. background: #F1F4F8;
  597. padding: 0 32rpx;
  598. .select-year-item{
  599. color: #656565;
  600. font-size: 24rpx;
  601. display: flex;
  602. align-items: center;
  603. justify-content: space-around;
  604. }
  605. }
  606. }
  607. .tabs-timer-container{
  608. display: flex;
  609. align-items: center;
  610. width: calc(100% - 256rpx);
  611. height: 64rpx;
  612. line-height: 64rpx;
  613. text-align: center;
  614. font-size: 24rpx;
  615. font-weight: 500;
  616. font-family: 'Source Han Sans CN VF';
  617. border-radius: 32rpx;
  618. background: #F1F4F8;
  619. padding: 0 32rpx;
  620. color: #656565;
  621. margin: 16rpx;
  622. position: relative;
  623. .tabs-timer-item{
  624. width: 42%;
  625. color: #656565;
  626. text-align: center;
  627. font-family: "Source Han Sans CN VF";
  628. font-size: 24rpx;
  629. font-weight: 400;
  630. }
  631. .calendar-icon{
  632. margin-left: 24rpx;
  633. }
  634. }
  635. .tab-item {
  636. flex: 1;
  637. color: #999999;
  638. text-align: center;
  639. font-family: "Source Han Sans CN VF";
  640. font-size: 28rpx;
  641. font-weight: 400;
  642. }
  643. .active{
  644. position: relative;
  645. color: #303133;
  646. text-align: center;
  647. font-family: "Source Han Sans CN VF";
  648. font-size: 28rpx;
  649. font-weight: 700;
  650. &::after {
  651. content: '';
  652. position: absolute;
  653. bottom: 0;
  654. left: 50%;
  655. -webkit-transform: translateX(-50%);
  656. transform: translateX(-50%);
  657. width: 36rpx;
  658. height: 36rpx;
  659. border: 6rpx solid #0bbc58;
  660. border-radius: 50%;
  661. border-color: transparent;
  662. border-bottom-color: #0bbc58;
  663. }
  664. }
  665. }
  666. }
  667. </style>