componentLockInfo.vue 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058
  1. <template>
  2. <view>
  3. <componentLogin ref="refLogin"
  4. @findByOpenId="findByOpenId"></componentLogin>
  5. <u-modal v-model="openLockBl" @confirm="lockStatus1" confirm-color="#00B962" :show-cancel-button="true"
  6. ref="uModal" title="提示" content="是否下降当前地锁?" confirm-text="开启"></u-modal>
  7. <u-modal v-model="closeLockBl" @confirm="lockStatus2" confirm-color="#fa3534" :show-cancel-button="true"
  8. ref="uModal" title="提示" content="是否结束使用当前地锁?" confirm-text="结束"></u-modal>
  9. <u-modal v-model="loginBl" @confirm="loginconfirm" :show-cancel-button="true"
  10. ref="uModal" title="提示" content="当前用户未登录,是否前往登录" confirm-text="登录"></u-modal>
  11. <u-modal v-model="openModalBl" @confirm="confirmPhone" confirm-text="拨打电话" confirm-color="#606266"
  12. :show-cancel-button="true" ref="uModal" :asyncClose="true" title="客服电话" :content="content"
  13. :content-style="{fontSize: '24px',color: '#101010'}"></u-modal>
  14. <u-popup v-model="showMessage" mode="bottom" border-radius="30">
  15. <view class="showMessage">
  16. <view class="title">降锁成功</view>
  17. <view class="body">
  18. 车位锁已经降锁,请尽快驶入车位!<br />
  19. 若超过3分钟未停车,车位锁将自动升起上锁,如需继续使用请重新扫码降锁。
  20. </view>
  21. <view class="botton">
  22. <u-button @click="showMessage=false" type="primary" shape="square">知道了</u-button>
  23. </view>
  24. </view>
  25. </u-popup>
  26. <view v-if="isReady" class="isReady">
  27. <view class="gradient-header">
  28. <view class="jpback">
  29. </view>
  30. </view>
  31. <view v-if="floorlockInfo.id" class="isReady_1">
  32. <view class="body">
  33. <view class="page">
  34. <view class="page-main page-border ">
  35. <view class="name">
  36. <view class="name-info">
  37. <view class="name-text">
  38. {{floorlockInfo.name}}
  39. </view>
  40. <view class=" tags">
  41. <span class="tag typeN"
  42. :class="'typeN'+floorlockInfo.type">{{floorlockInfo.typeN}}</span>
  43. <span class="tag"
  44. :class="'status'+floorlockInfo.status">{{floorlockInfo.status==1?'在线':'离线'}}</span>
  45. </view>
  46. </view>
  47. <view class="code-info">
  48. 编号:{{floorlockInfo.lockNo}}
  49. </view>
  50. </view>
  51. <view class="value1" @click="gotoMain" >
  52. <view class="item1">
  53. <img class="img" src="@/assets/img/parkingDetails/item7.png" alt="">
  54. </view>
  55. <view class="item2">切换</view>
  56. </view>
  57. </view>
  58. <view class="page-info" >
  59. <view class="info-span" v-if="floorlockInfo.lastOnlineTime">
  60. 更新时间:{{floorlockInfo.lastOnlineTime}}
  61. </view>
  62. <view class="info-span" v-if="floorlockInfo.batteryLevel">
  63. 电压:{{floorlockInfo.batteryLevel}}V
  64. </view>
  65. </view>
  66. <view class="page-info" >
  67. <view class="address">
  68. <view class="name">
  69. {{floorlockInfo.parkingName}}
  70. <template v-if="parkingInfo.buildMode">
  71. <span class="buildMode buildMode1" v-if="parkingInfo.buildMode==1">
  72. 用户自建
  73. </span>
  74. <span class="buildMode buildMode2" v-if="parkingInfo.buildMode==2">
  75. 平台运营
  76. </span>
  77. </template>
  78. </view>
  79. <view class="text" v-if="floorlockInfo.locationAddress">
  80. <u-icon name="map-fill" size="24" color="#999999" ></u-icon>
  81. {{floorlockInfo.locationAddress?floorlockInfo.locationAddress:''}}
  82. </view>
  83. </view>
  84. <view class="value2" v-if="floorlockInfo.longitude&&floorlockInfo.latitude" @click="openLocation" >
  85. <view class="item1">
  86. <img class="img" src="@/assets/img/parkingDetails/item8.png" alt="">
  87. </view>
  88. <view class="item2">导航</view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="page-top" v-if="id">
  94. <template v-if="floorlockInfo.status==0">
  95. <view class="name">
  96. <img class="img" src="@/assets/img/lockstatus/index4.png" alt="">
  97. </view>
  98. </template>
  99. <template v-else>
  100. <view class="name" v-if="floorlockInfo.parkingStatus==1">
  101. <img class="img" src="@/assets/img/lockstatus/index3.png" alt="">
  102. </view>
  103. <view class="name" v-else-if="floorlockInfo.lockStatus==1">
  104. <img class="img" src="@/assets/img/lockstatus/index1.png" alt="">
  105. </view>
  106. <view class="name" v-else-if="floorlockInfo.lockStatus==3">
  107. <img class="img" src="@/assets/img/lockstatus/index2.png" alt="">
  108. </view>
  109. <view class="name" v-else-if="floorlockInfo.lockStatus==2">
  110. <img class="img" src="@/assets/img/lockstatus/index2.png" alt="">
  111. </view>
  112. <view class="name" v-else-if="floorlockInfo.lockStatus==4||floorlockInfo.lockStatus==0">
  113. <img class="img" src="@/assets/img/lockstatus/index4.png" alt="">
  114. </view>
  115. </template>
  116. <view class=" value" style="text-align: center;font-size: 40rpx;color: rgba(51,51,51,1);font-weight: bold;">
  117. {{floorlockInfo.lockStatusN}}
  118. </view>
  119. <view class=" value" style="color: rgba(255,61,0,1);;text-align: center;font-size: 24rpx;margin:10rpx"
  120. v-if="floorlockInfo.lockStatus==2&&floorlockInfo.parkingStatus==0">
  121. {{showsecondsDistance()}}后自动抬锁<br>
  122. 请尽快驶入地锁
  123. </view>
  124. <view class=" valuebutton" @click="operateBtn" >
  125. <template v-if="floorlockInfo.status==0">
  126. <view class="jpbutton jpbutton5">
  127. <u-icon name="phone-fill" label="电话报修" color="#fff" label-color="#fff"
  128. label-size="36"></u-icon>
  129. </view>
  130. </template>
  131. <template v-else>
  132. <view class="jpbutton jpbutton6" v-if="floorlockInfo.parkingStatus==1">
  133. 该地锁已被占用
  134. </view>
  135. <view class="jpbutton jpbutton1" v-else-if="floorlockInfo.lockStatus==1">
  136. <img class="img" src="@/assets/img/button/lock.svg" alt="">
  137. 降锁
  138. </view>
  139. <!-- <view class="jpbutton jpbutton6" v-else-if="floorlockInfo.lockStatus==2">
  140. 地锁降
  141. </view> -->
  142. <view class="jpbutton jpbutton4" v-else-if="floorlockInfo.lockStatus==3">
  143. 降锁中
  144. </view>
  145. <view class="jpbutton jpbutton5"
  146. v-else-if="floorlockInfo.lockStatus==4||floorlockInfo.lockStatus==0">
  147. <u-icon name="phone-fill" label="电话报修" color="#fff" label-color="#fff"
  148. label-size="36"></u-icon>
  149. </view>
  150. </template>
  151. </view>
  152. <view class=" page valuestatus">
  153. <view class="bo1">
  154. <img src="@/assets/img/lockstatus/status2.svg"> <span>雷达</span> <span :style="floorlockInfo.parkingStatus==1?'color:#FF7B00':'color:#00B962'">{{floorlockInfo.parkingStatus==1?'有车':'无车'}}</span>
  155. </view>
  156. <view class="bo2">
  157. </view>
  158. <view class="bo1">
  159. <img src="@/assets/img/lockstatus/status1.svg"> <span>地锁</span>
  160. <span v-if="floorlockInfo.lockStatus==1||floorlockInfo.lockStatus==2|floorlockInfo.lockStatus==3">
  161. <u-icon color="#00B962" v-if="floorlockInfo.lockStatus==1" name="arrow-upward"></u-icon>
  162. <u-icon color="#8161FF" v-if="floorlockInfo.lockStatus==2" name="arrow-downward"></u-icon>
  163. <u-icon name="more-dot-fill" v-if="floorlockInfo.lockStatus==3"></u-icon>
  164. </span>
  165. <span v-else>
  166. 故障
  167. </span>
  168. </view>
  169. </view>
  170. <view class="page pagemanage" v-if="isMy">
  171. <view class="page-main">
  172. <view class="mitem" @click="gotoUrl('pages/mylock/bindLock')">
  173. <img class="img" src="@/assets/img/quick/item2.svg" alt="">
  174. 绑定地锁
  175. </view>
  176. <view class="mitem" @click="gotoUrl('pages/mylock/infoLock?add=1&id='+floorlockInfo.id)" >
  177. <img class="img" src="@/assets/img/quick/item1.svg" alt="">
  178. 白名单
  179. </view>
  180. <view class="mitem end" @click="gotoUrl('pages/mylock/bindLock?id='+floorlockInfo.id)">
  181. <img class="img" src="@/assets/img/quick/item3.svg" alt="">
  182. 属性查看
  183. </view>
  184. </view>
  185. </view>
  186. <view class="page " >
  187. <u-collapse >
  188. <u-collapse-item title="操作指南" :open="true" >
  189. 点击“降锁”按钮,等待地锁降下后系统会提示降锁成功,此时即可将车辆驶入指定车位。
  190. </u-collapse-item>
  191. <u-collapse-item title="温馨提示" :open="true" >
  192. 1、成功降锁后请于三分钟内将车辆驶入指定车位;超时地锁会自动升起,需重新扫码降锁;<br/>
  193. 2、请按降锁流程说明停车,严禁使用外力降锁;<br/>
  194. 3、地锁服务热线 400-8899-619。<br/>
  195. </u-collapse-item>
  196. </u-collapse>
  197. </view>
  198. </view>
  199. </view>
  200. </view>
  201. <view class="page-role" v-else>
  202. <u-icon name="hourglass" size="300" color="#19be6b" v-if="!permission"></u-icon>
  203. <img class="img" v-else src="@/assets/img/nonwhitelist/info.png" alt="">
  204. <view class="text1">{{permission?'暂无权限':'加载中...'}}</view>
  205. <view class="text2" v-if="permission">此车位仅限车主及授权用户使用</view>
  206. <view class="botton" @click="gotoIndex" v-if="permission">返回首页</view>
  207. </view>
  208. </view>
  209. </template>
  210. <script>
  211. import componentLogin from '@/components/componentLogin.vue';
  212. import * as API from '@/apis/pagejs/pagesIndex.js'
  213. import {
  214. secondsDistance,newDate,
  215. } from '@/apis/utils'
  216. export default {
  217. components: {
  218. componentLogin,
  219. //'u-collapse-item': () => import('@/uni_modules/uview-ui/components/u-collapse-item/u-collapse-item'),
  220. //'u-collapse': () => import('@/uni_modules/uview-ui/components/u-collapse/u-collapse'),
  221. },
  222. data() {
  223. return {
  224. isBack:false,
  225. isMy:0,
  226. showtabbar:false,
  227. isReady: false,
  228. id: "",
  229. opid:"",
  230. whiteList: [],
  231. list: [],
  232. mylist: [],
  233. loginBl: false,
  234. floorlockInfo: {
  235. lockStatusN: ""
  236. },
  237. parkingInfo:{},
  238. itemList: [{
  239. head: "操作指南",
  240. body: "点击“降锁”按钮,等待地锁降下后系统会提示降锁成功,此时即可将车辆驶入指定车位。",
  241. open: true,
  242. disabled: true
  243. },{
  244. head: "温馨提示",
  245. body: "",
  246. open: true,
  247. }],
  248. content: "400-8899-619",
  249. setIntervalId: "",
  250. userInfo:{},
  251. userInfoPlus:{
  252. whiteList:[],
  253. myAllList:[]
  254. },
  255. showMessage: 0,
  256. permission:false,
  257. openLockBl:false,
  258. closeLockBl:false,
  259. openModalBl: false,
  260. isOnLoad:0,
  261. }
  262. },
  263. onUnload() {
  264. //setInterval
  265. if (this.setIntervalId) {
  266. clearInterval(this.setIntervalId)
  267. }
  268. },
  269. onLoad(op) {
  270. this.isOnLoad=1
  271. if(op.q){
  272. var val =decodeURIComponent(op.q);
  273. if(val&&val.indexOf("?id=")>-1){
  274. val=val.split("?id=")[1]
  275. if(val.indexOf("&")>-1){
  276. val=val.split("&")[0]
  277. }
  278. this.id = val
  279. }
  280. }
  281. this.userInfo = this.jphelp.getPersonInfo()
  282. this.userInfoPlus=this.jphelp.getPersonInfoPlus()
  283. if(this.userInfo.id){
  284. }
  285. uni.setNavigationBarTitle({
  286. title: "加载中..."
  287. })
  288. if (op.id) {
  289. this.id = op.id
  290. }
  291. //this.lockInfoOnLoad()
  292. },
  293. onShow(){
  294. //
  295. },
  296. onReady() {
  297. this.initRef()
  298. },
  299. methods: {
  300. lockStatus1(){
  301. uni.showLoading({
  302. title: "加载中",
  303. mask: true,
  304. })
  305. var obj = {
  306. id: this.id,
  307. lockStatus:2
  308. }
  309. API.operateFloorlock(obj).then((res) => {
  310. uni.hideLoading();
  311. this.showMessage = true;
  312. this.getFloorlockDetails()
  313. setTimeout(() => {
  314. this.getFloorlockDetails(1)
  315. }, 1000 * 1)
  316. setTimeout(() => {
  317. this.getFloorlockDetails(1)
  318. }, 1000 * 2.5)
  319. }).catch(error => {
  320. uni.hideLoading();
  321. uni.showToast({
  322. title: error,
  323. icon: "none"
  324. })
  325. })
  326. },
  327. showsecondsDistance(){
  328. if((this.floorlockInfo.id&&this.floorlockInfo.lastOperationTime)){
  329. var time1=new Date()
  330. var time2=newDate(this.floorlockInfo.lastOperationTime)
  331. var time3=secondsDistance(time2,time1)
  332. var k=3*60-time3
  333. var fen=parseInt(k/60)
  334. var miao=parseInt(k%60)
  335. if(k>0){
  336. if(fen>0){
  337. return `${fen}分${miao}秒`
  338. }else{
  339. return `${miao}秒`
  340. }
  341. }else{
  342. return "3分钟"
  343. }
  344. }else{
  345. return "3分钟"
  346. }
  347. },
  348. initRef(id,ref){
  349. if(ref==1){
  350. this.isOnLoad=1
  351. }
  352. if(id){
  353. this.id = id
  354. }
  355. this.$refs.refLogin.findByOpenId()
  356. this.setIntervalId = setInterval(() => {
  357. this.getFloorlockDetails(1)
  358. }, 1000 * 3)
  359. this.jphelp.setInterval("lockInfo",this.setIntervalId)
  360. console.log("eeeeeeeeeeeeeeeeeeee")
  361. this.getFloorlockDetails(0,1)
  362. },
  363. findByOpenId(res) {
  364. this.getFloorlockList()
  365. },
  366. confirmPhone() {
  367. this.openModalBl = false;
  368. uni.makePhoneCall({
  369. phoneNumber: this.content //仅为示例
  370. });
  371. },
  372. lockStatus3(){
  373. uni.showToast({
  374. title: "下降中...",
  375. icon: "none"
  376. })
  377. },
  378. lockStatus0(){
  379. this.openModalBl=true;
  380. },
  381. loginconfirm(){
  382. this.$refs.refLogin.ashow()
  383. },
  384. gotoMain(){
  385. uni.reLaunch({
  386. url:"/pages/business/index"
  387. })
  388. },
  389. openLocation(){
  390. uni.openLocation({
  391. latitude:this.floorlockInfo.latitude,
  392. longitude: this.floorlockInfo.longitude,
  393. success: function () {
  394. console.log('success');
  395. }
  396. });
  397. },
  398. operateBtn() {
  399. if(!this.jphelp.getPersonInfo().id){
  400. this.loginBl=true;
  401. }else if(this.floorlockInfo.status==0){
  402. this.lockStatus0()
  403. }else{
  404. if(this.floorlockInfo.lockStatus==4){
  405. this.lockStatus0() //异常
  406. }else if(this.floorlockInfo.lockStatus==1){
  407. //this.lockStatus1() //未使用
  408. this.openLockBl=true;
  409. }else if(this.floorlockInfo.lockStatus==2){
  410. //this.lockStatus2()
  411. //this.closeLockBl=true;
  412. //使用
  413. }else if(this.floorlockInfo.lockStatus==3){
  414. this.lockStatus3() //过程
  415. }
  416. }
  417. },
  418. getFloorlockList() {
  419. uni.showLoading({
  420. title: "加载中",
  421. mask: true,
  422. })
  423. this.list = []
  424. API.myParkingSpot().then((res) => {
  425. this.mylist = res.data.floorList
  426. for(var i in this.mylist){
  427. var item=this.mylist[i]
  428. if(item.id==this.id){
  429. this.isMy=1
  430. }
  431. }
  432. uni.hideLoading();
  433. }).catch(error => {
  434. uni.hideLoading();
  435. uni.showToast({
  436. title: error,
  437. icon: "none"
  438. })
  439. })
  440. },
  441. getFloorlockDetails(bl,k) {
  442. if (!this.id) {
  443. return
  444. }
  445. if (!bl) {
  446. uni.showLoading({
  447. title: "加载中",
  448. mask: true,
  449. })
  450. }
  451. var obj = {
  452. id: this.id
  453. }
  454. if(k){
  455. obj.forceUpdate=1
  456. //更新获取状态
  457. }
  458. API.floorlockDetails(obj).then((res) => {
  459. this.floorlockInfo = res.data.floorlockInfo
  460. this.parkingInfo=res.data.parkingInfo
  461. this.isReady=1;
  462. if(this.floorlockInfo.parkingPhone){
  463. this.content=this.floorlockInfo.parkingPhone
  464. }
  465. if (res.data.usable) {
  466. if(this.isOnLoad){
  467. uni.setNavigationBarTitle({
  468. title: this.floorlockInfo.parkingName
  469. })
  470. }
  471. this.loading = true
  472. } else {
  473. this.loading = false
  474. this.permission = true
  475. // #ifdef MP-WEIXIN
  476. uni.setBackgroundColor({
  477. backgroundColor: '#ffffff',
  478. })
  479. // #endif
  480. }
  481. if (!bl) {
  482. uni.hideLoading();
  483. }
  484. }).catch(error => {
  485. uni.hideLoading();
  486. uni.showToast({
  487. title: error,
  488. icon: "none"
  489. })
  490. })
  491. }
  492. }
  493. }
  494. </script>
  495. <style>
  496. page{
  497. background-color:#F2F4F6;
  498. }
  499. </style>
  500. <style scoped lang="scss">
  501. .body {
  502. padding: 32rpx;
  503. }
  504. .gradient-header {
  505. height: 0px;
  506. }
  507. .jpback {
  508. height: 760rpx;
  509. background: linear-gradient(180deg, rgba(203, 234, 255, 1) 0%, rgba(203, 234, 255, 0) 100%);
  510. }
  511. .isReady_2{
  512. margin-top: 80rpx;
  513. .r2text{
  514. text-align: center;
  515. .r2text1{
  516. color: rgba(51,51,51,1);
  517. font-size: 40rpx;
  518. font-weight: bold;
  519. }
  520. .r2text2{
  521. font-weight: 400;
  522. color: rgba(51,51,51,1);
  523. font-size: 32rpx;
  524. }
  525. }
  526. }
  527. .page-top {
  528. padding: 40rpx;
  529. padding-top: 0rpx;
  530. display: flex;
  531. flex-direction: column;
  532. align-items: center;
  533. .name {
  534. width: 320rpx;
  535. height: 320rpx;
  536. display: flex;
  537. align-items: flex-end;
  538. .img {
  539. width: 320rpx;
  540. height: 320rpx;
  541. }
  542. .img2 {
  543. width: 320rpx;
  544. height: 140rpx;
  545. }
  546. }
  547. .value {
  548. //margin-top: 24rpx;
  549. font-size: 40rpx;
  550. font-weight: bold;
  551. color: #333333;
  552. }
  553. }
  554. .pagemanage{
  555. //margin-bottom: 80rpx;
  556. .mitem{
  557. width: 33%;
  558. display: flex;
  559. flex-direction: column;
  560. align-items: center;
  561. img{
  562. width: 48rpx;
  563. height: 48rpx;
  564. margin-bottom: 8rpx;
  565. }
  566. border-right: 1px solid rgba(187,187,187,0.43);
  567. }
  568. .end{
  569. border-right:0
  570. }
  571. }
  572. .page {
  573. border-radius: 16rpx;
  574. background-color: rgba(255, 255, 255, 1);
  575. color: rgba(16, 16, 16, 1);
  576. box-shadow: 0px 4px 8px 0px rgba(22,119,255,0.2);
  577. padding: 32rpx;
  578. margin-bottom: 32rpx;
  579. font-size: 32rpx;
  580. color: rgb(16, 16, 16);
  581. width: 100%;
  582. .page-border{
  583. border-bottom: 1px solid rgba(232,232,232,1);
  584. padding-bottom: 16rpx;
  585. }
  586. .page-main {
  587. display: flex;
  588. justify-content: space-between;
  589. align-items: center;
  590. .name {
  591. color: rgba(51, 51, 51, 1);
  592. font-size: 36rpx;
  593. display: flex;
  594. flex-direction: column;
  595. display: flex;
  596. .name-info{
  597. display: flex;
  598. .name-text{
  599. font-size: 36rpx;
  600. font-weight: bold;
  601. }
  602. }
  603. .code-info{
  604. font-size: 24rpx;
  605. color: rgba(119,119,119,1);
  606. }
  607. }
  608. .tags{
  609. display: flex;
  610. align-items: center;
  611. margin-left: 8rpx;
  612. .tag {
  613. font-size: 24rpx;
  614. border: 1px solid rgba(187, 187, 187, 1);
  615. border-radius: 4px;
  616. color: rgba(22,119,255,1);
  617. padding: 1px 8rpx;
  618. margin-left: 8rpx;
  619. }
  620. .typeN1{
  621. color:#1677FF ;
  622. border: 1px solid #1677FF ;
  623. }
  624. .typeN2{
  625. color:#8161FF;
  626. border: 1px solid #8161FF;
  627. }
  628. .typeN3{
  629. color:#00BBAA;
  630. border: 1px solid #00BBAA;
  631. }
  632. .status1{
  633. color:#00B962;
  634. border: 1px solid #00B962;
  635. }
  636. .status0{
  637. color:#A7A2A2;
  638. border: 1px solid #A7A2A2;
  639. }
  640. }
  641. .value1{
  642. display: flex;
  643. flex-direction: column;
  644. align-items: center;
  645. justify-content: space-between;
  646. .item1{
  647. .img{
  648. width: 48rpx;
  649. height: 48rpx;
  650. }
  651. display: flex;
  652. }
  653. .item2 {
  654. font-size: 24rpx;
  655. color: rgba(119,119,119,1);
  656. }
  657. }
  658. }
  659. .page-info{
  660. padding-top: 16rpx;
  661. font-size: 24rpx;
  662. color: #777777;
  663. display: flex;
  664. justify-content: space-between;
  665. .address{
  666. .name{
  667. display: flex;
  668. align-items: center;
  669. color: rgba(119,119,119,1);
  670. font-size: 28rpx;
  671. }
  672. .text{
  673. color: rgba(51,51,51,1);
  674. font-size: 24rpx;
  675. }
  676. }
  677. .value2{
  678. display: flex;
  679. flex-direction: column;
  680. align-items: center;
  681. justify-content: center;
  682. .item1{
  683. .img{
  684. width: 32rpx;
  685. height: 32rpx;
  686. }
  687. display: flex;
  688. }
  689. .item2 {
  690. font-size: 24rpx;
  691. white-space: pre;
  692. color: rgba(119,119,119,1);
  693. }
  694. }
  695. }
  696. .page-content {
  697. .step {
  698. margin-bottom: 16rpx;
  699. }
  700. .tip-title {
  701. color: #101010;
  702. font-size: 36rpx;
  703. font-weight: bold;
  704. margin-bottom: 24rpx;
  705. }
  706. .tip1 {
  707. .step {
  708. color: #101010
  709. }
  710. border-bottom: 1px solid rgba(241, 241, 241, 1);
  711. margin-bottom: 24rpx;
  712. padding-bottom: 8rpx;
  713. }
  714. .tip2 {
  715. .step {
  716. color: #333333
  717. }
  718. }
  719. }
  720. }
  721. .valuebutton{
  722. margin-bottom: 30rpx;
  723. }
  724. .jpbutton {
  725. margin-top: 30rpx;
  726. border-radius: 100rpx;
  727. width: 400rpx;
  728. height: 84rpx;
  729. color: #fff;
  730. padding: 8rpx;
  731. display: flex;
  732. align-items: center;
  733. justify-content: center;
  734. font-size: 36rpx;
  735. .img {
  736. margin-right: 8rpx;
  737. width: 36rpx;
  738. height: 32rpx;
  739. }
  740. }
  741. .jpbutton1 {
  742. background-color: #2979FF;
  743. .img {
  744. width: 32rpx;
  745. height: 32rpx;
  746. }
  747. }
  748. .jpbutton2 {
  749. background-color: #2979FF;
  750. .img {
  751. width: 40rpx;
  752. height: 40rpx;
  753. animation: spin 2s linear infinite;
  754. /* 添加无限旋转动画 */
  755. }
  756. /* 定义旋转动画 */
  757. @keyframes spin {
  758. from {
  759. transform: rotate(0deg);
  760. /* 起始角度 */
  761. }
  762. to {
  763. transform: rotate(360deg);
  764. /* 结束角度 */
  765. }
  766. }
  767. }
  768. .jpbutton3 {
  769. background-color: #00B962;
  770. }
  771. .jpbutton4 {
  772. background-color: #A7A2A2;
  773. }
  774. .jpbutton6 {
  775. background-color: #FF7B00;
  776. }
  777. .jpbutton5 {
  778. background-color: #1677FF;
  779. }
  780. .page-role {
  781. padding-top: 120rpx;
  782. display: flex;
  783. flex-direction: column;
  784. align-items: center;
  785. .img {
  786. width: 500rpx;
  787. height: 500rpx;
  788. }
  789. .text1 {
  790. color: rgba(51, 51, 51, 1);
  791. font-weight: bold;
  792. font-size: 48rpx;
  793. margin-bottom: 16rpx;
  794. }
  795. .text2 {
  796. color: rgba(51, 51, 51, 1);
  797. font-size: 36rpx;
  798. margin-bottom: 200rpx;
  799. }
  800. .botton {
  801. border-radius: 100rpx;
  802. width: 360rpx;
  803. text-align: center;
  804. border: 1px solid rgba(187, 187, 187, 1);
  805. color: rgba(22, 119, 255, 1);
  806. padding: 16rpx;
  807. }
  808. }
  809. .showMessage {
  810. //padding: 24rpx 56rpx;
  811. padding: 40rpx 40rpx 60rpx 40rpx;
  812. .title {
  813. color: rgba(16, 16, 16, 1);
  814. font-size: 36rpx;
  815. margin-top: 32rpx;
  816. text-align: center;
  817. font-weight: bold;
  818. }
  819. .body {
  820. color: rgba(16, 16, 16, 1);
  821. font-size: 32rpx;
  822. padding-bottom: 66rpx;
  823. }
  824. }
  825. .valuestatus{
  826. display: flex;
  827. align-items: center;
  828. justify-content: space-around;
  829. border-radius: 8px;
  830. background: linear-gradient(180deg, rgba(229,240,255,1) 0%,rgba(255,255,255,1) 100%);
  831. color: rgba(16,16,16,1);
  832. font-size: 36rpx;
  833. text-align: center;
  834. box-shadow: 0px 2px 10px 0px rgba(110,170,255,0.5);
  835. border: 1px solid rgba(255,255,255,1);
  836. //width: 686rpx;
  837. height: 120rpx;
  838. .bo1{
  839. width: 230rpx;
  840. display: flex;
  841. align-items: center;
  842. img{
  843. height: 48rpx;
  844. width: 48rpx;
  845. }
  846. }
  847. .bo2{
  848. height: 40rpx;
  849. border-left: 1px solid #9DA2A9 ;
  850. }
  851. span{
  852. margin-left: 16rpx;
  853. }
  854. }
  855. .buildMode{
  856. font-size: 24rpx;
  857. border: 1px solid #bbbbbb;
  858. border-radius: 4px;
  859. color: #1677ff;
  860. padding: 2rpx 8rpx;
  861. margin:0 8rpx;
  862. }
  863. .buildMode1{
  864. color: #1677ff;
  865. border: 1px solid #1677ff;
  866. }
  867. .buildMode2{
  868. color:#4CAF50;
  869. border: 1px solid #4CAF50;
  870. }
  871. </style>