componentLockInfo.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865
  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="address">
  60. <view class="name">
  61. {{floorlockInfo.parkingName}}
  62. </view>
  63. <view class="text">
  64. <u-icon name="map-fill" size="24" color="#999999" ></u-icon>
  65. {{floorlockInfo.locationAddress}}
  66. </view>
  67. </view>
  68. <view class="value2" v-if="floorlockInfo.longitude&&floorlockInfo.latitude" @click="openLocation" >
  69. <view class="item1">
  70. <img class="img" src="@/assets/img/parkingDetails/item8.png" alt="">
  71. </view>
  72. <view class="item2">导航</view>
  73. </view>
  74. </view>
  75. <view class="page-info" v-if="0">
  76. <view class="info-span" v-if="floorlockInfo.lastOnlineTime">
  77. 更新时间:{{floorlockInfo.lastOnlineTime}}
  78. </view>
  79. <view class="info-span" v-if="floorlockInfo.batteryLevel">
  80. 电压:{{floorlockInfo.batteryLevel}}V
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="page-top" v-if="id">
  86. <template v-if="floorlockInfo.status==0">
  87. <view class="name">
  88. <img class="img" src="@/assets/img/lockstatus/index4.png" alt="">
  89. </view>
  90. </template>
  91. <template v-else>
  92. <view class="name" v-if="floorlockInfo.parkingStatus==1">
  93. <img class="img" src="@/assets/img/lockstatus/index3.png" alt="">
  94. </view>
  95. <view class="name" v-else-if="floorlockInfo.lockStatus==1">
  96. <img class="img" src="@/assets/img/lockstatus/index1.png" alt="">
  97. </view>
  98. <view class="name" v-else-if="floorlockInfo.lockStatus==3">
  99. <img class="img" src="@/assets/img/lockstatus/index2.png" alt="">
  100. </view>
  101. <view class="name" v-else-if="floorlockInfo.lockStatus==2">
  102. <img class="img" src="@/assets/img/lockstatus/index2.png" alt="">
  103. </view>
  104. <view class="name" v-else-if="floorlockInfo.lockStatus==4||floorlockInfo.lockStatus==0">
  105. <img class="img" src="@/assets/img/lockstatus/index4.png" alt="">
  106. </view>
  107. </template>
  108. <view class=" value" style="color:red;text-align: center;font-size: 28rpx;"
  109. v-if="floorlockInfo.lockStatus==2&&floorlockInfo.parkingStatus==0">
  110. 3分钟后自动抬锁,请尽快驶入车位
  111. </view>
  112. <view class="valuebutton" @click="operateBtn">
  113. <template v-if="floorlockInfo.status==0">
  114. <view class="jpbutton jpbutton5">
  115. <u-icon name="phone-fill" label="电话报修" color="#fff" label-color="#fff"
  116. label-size="36"></u-icon>
  117. </view>
  118. </template>
  119. <template v-else>
  120. <view class="jpbutton jpbutton6" v-if="floorlockInfo.parkingStatus==1">
  121. 该地锁已被占用
  122. </view>
  123. <view class="jpbutton jpbutton1" v-else-if="floorlockInfo.lockStatus==1">
  124. <img class="img" src="@/assets/img/button/lock.svg" alt="">
  125. 降锁
  126. </view>
  127. <!-- <view class="jpbutton jpbutton6" v-else-if="floorlockInfo.lockStatus==2">
  128. 地锁降
  129. </view> -->
  130. <view class="jpbutton jpbutton4" v-else-if="floorlockInfo.lockStatus==3">
  131. 降锁中
  132. </view>
  133. <view class="jpbutton jpbutton5"
  134. v-else-if="floorlockInfo.lockStatus==4||floorlockInfo.lockStatus==0">
  135. <u-icon name="phone-fill" label="电话报修" color="#fff" label-color="#fff"
  136. label-size="36"></u-icon>
  137. </view>
  138. </template>
  139. </view>
  140. <view class="page pagemanage" v-if="isMy">
  141. <view class="page-main">
  142. <view class="mitem" @click="gotoUrl('pages/mylock/bindLock')">
  143. <img class="img" src="@/assets/img/quick/item2.svg" alt="">
  144. 绑定地锁
  145. </view>
  146. <view class="mitem" @click="gotoUrl('pages/mylock/infoLock?add=1&id='+floorlockInfo.id)" >
  147. <img class="img" src="@/assets/img/quick/item1.svg" alt="">
  148. 白名单
  149. </view>
  150. <view class="mitem end" @click="gotoUrl('pages/mylock/bindLock?id='+floorlockInfo.id)">
  151. <img class="img" src="@/assets/img/quick/item3.svg" alt="">
  152. 属性查看
  153. </view>
  154. </view>
  155. </view>
  156. <view class="page " >
  157. <u-collapse :itemStyle="{
  158. 'border':'1px solid rgba(187, 187, 187, 0.43);'
  159. }">
  160. <u-collapse-item :title="item.head" v-for="(item, index) in itemList" :open="item.open" :key="index">
  161. {{item.body}}
  162. </u-collapse-item>
  163. </u-collapse>
  164. </view>
  165. </view>
  166. </view>
  167. </view>
  168. <view class="page-role" v-else>
  169. <u-icon name="hourglass" size="300" color="#19be6b" v-if="!permission"></u-icon>
  170. <img class="img" v-else src="@/assets/img/nonwhitelist/info.png" alt="">
  171. <view class="text1">{{permission?'暂无权限':'加载中...'}}</view>
  172. <view class="text2" v-if="permission">此车位仅限车主及授权用户使用</view>
  173. <view class="botton" @click="gotoIndex" v-if="permission">返回首页</view>
  174. </view>
  175. </view>
  176. </template>
  177. <script>
  178. import componentLogin from '@/components/componentLogin.vue';
  179. import * as API from '@/apis/pagejs/pagesIndex.js'
  180. export default {
  181. components: {
  182. componentLogin,
  183. //'u-collapse-item': () => import('@/uni_modules/uview-ui/components/u-collapse-item/u-collapse-item'),
  184. //'u-collapse': () => import('@/uni_modules/uview-ui/components/u-collapse/u-collapse'),
  185. },
  186. data() {
  187. return {
  188. isBack:false,
  189. isMy:0,
  190. showtabbar:false,
  191. isReady: false,
  192. id: "",
  193. opid:"",
  194. whiteList: [],
  195. list: [],
  196. mylist: [],
  197. loginBl: false,
  198. floorlockInfo: {
  199. lockStatusN: ""
  200. },
  201. itemList: [{
  202. head: "操作指南",
  203. body: "点击“降锁”按钮,等待地锁降下后系统会提示降锁成功,此时即可将车辆驶入指定车位。",
  204. open: true,
  205. disabled: true
  206. },{
  207. head: "温馨提示",
  208. body: "1、成功降锁后请于三分钟内将车辆驶入指定车位;超时地锁会自动升起,需重新扫码降锁;2、请按降锁流程说明停车,严禁使用外力降锁;3、地锁服务热线 400-8899-619。",
  209. open: false,
  210. }],
  211. content: "400-8899-619",
  212. setIntervalId: "",
  213. userInfo:{},
  214. userInfoPlus:{
  215. whiteList:[],
  216. myAllList:[]
  217. },
  218. showMessage: 0,
  219. permission:false,
  220. openLockBl:false,
  221. closeLockBl:false,
  222. openModalBl: false,
  223. isOnLoad:0,
  224. }
  225. },
  226. onLoad(op) {
  227. this.isOnLoad=1
  228. if(op.q){
  229. var val =decodeURIComponent(op.q);
  230. if(val&&val.indexOf("?id=")>-1){
  231. val=val.split("?id=")[1]
  232. if(val.indexOf("&")>-1){
  233. val=val.split("&")[0]
  234. }
  235. this.id = val
  236. }
  237. }
  238. this.userInfo = this.jphelp.getPersonInfo()
  239. this.userInfoPlus=this.jphelp.getPersonInfoPlus()
  240. if(this.userInfo.id){
  241. }
  242. uni.setNavigationBarTitle({
  243. title: "加载中..."
  244. })
  245. if (op.id) {
  246. this.id = op.id
  247. }
  248. //this.lockInfoOnLoad()
  249. },
  250. onShow(){
  251. //
  252. },
  253. onReady() {
  254. this.initRef()
  255. },
  256. onShareTimeline(){
  257. return {
  258. title: '智泊e家',
  259. }
  260. },
  261. onShareAppMessage(res) {
  262. return {
  263. title: '智泊e家',
  264. }
  265. },
  266. methods: {
  267. initRef(id,ref){
  268. if(ref==1){
  269. this.isOnLoad=1
  270. }
  271. if(id){
  272. this.id = id
  273. }
  274. this.$refs.refLogin.findByOpenId()
  275. this.setIntervalId = setInterval(() => {
  276. this.getFloorlockDetails(1)
  277. }, 1000 * 3)
  278. this.jphelp.setInterval("lockInfo",this.setIntervalId)
  279. console.log("eeeeeeeeeeeeeeeeeeee")
  280. this.getFloorlockDetails(0,1)
  281. },
  282. findByOpenId(res) {
  283. this.getFloorlockList()
  284. },
  285. confirmPhone() {
  286. this.openModalBl = false;
  287. uni.makePhoneCall({
  288. phoneNumber: this.content //仅为示例
  289. });
  290. },
  291. lockStatus3(){
  292. uni.showToast({
  293. title: "下降中...",
  294. icon: "none"
  295. })
  296. },
  297. lockStatus0(){
  298. this.openModalBl=true;
  299. },
  300. loginconfirm(){
  301. this.$refs.refLogin.ashow()
  302. },
  303. gotoMain(){
  304. uni.reLaunch({
  305. url:"/pages/business/index"
  306. })
  307. },
  308. openLocation(){
  309. uni.openLocation({
  310. latitude:this.floorlockInfo.latitude,
  311. longitude: this.floorlockInfo.longitude,
  312. success: function () {
  313. console.log('success');
  314. }
  315. });
  316. },
  317. operateBtn() {
  318. if(!this.jphelp.getPersonInfo().id){
  319. this.loginBl=true;
  320. }else if(this.floorlockInfo.status==0){
  321. this.lockStatus0()
  322. }else{
  323. if(this.floorlockInfo.lockStatus==4){
  324. this.lockStatus0() //异常
  325. }else if(this.floorlockInfo.lockStatus==1){
  326. //this.lockStatus1() //未使用
  327. this.openLockBl=true;
  328. }else if(this.floorlockInfo.lockStatus==2){
  329. //this.lockStatus2()
  330. //this.closeLockBl=true;
  331. //使用
  332. }else if(this.floorlockInfo.lockStatus==3){
  333. this.lockStatus3() //过程
  334. }
  335. }
  336. },
  337. getFloorlockList() {
  338. uni.showLoading({
  339. title: "加载中",
  340. mask: true,
  341. })
  342. this.list = []
  343. API.myParkingSpot().then((res) => {
  344. this.mylist = res.data.floorList
  345. for(var i in this.mylist){
  346. var item=this.mylist[i]
  347. if(item.id==this.id){
  348. this.isMy=1
  349. }
  350. }
  351. uni.hideLoading();
  352. }).catch(error => {
  353. uni.hideLoading();
  354. uni.showToast({
  355. title: error,
  356. icon: "none"
  357. })
  358. })
  359. },
  360. getFloorlockDetails(bl) {
  361. if (!this.id) {
  362. return
  363. }
  364. if (!bl) {
  365. uni.showLoading({
  366. title: "加载中",
  367. mask: true,
  368. })
  369. }
  370. var obj = {
  371. id: this.id
  372. }
  373. this.isBack=false
  374. API.floorlockDetails(obj).then((res) => {
  375. this.floorlockInfo = res.data.floorlockInfo
  376. this.isReady=1;
  377. if(this.floorlockInfo.parkingPhone){
  378. this.content=this.floorlockInfo.parkingPhone
  379. }
  380. if (res.data.usable) {
  381. if(this.isOnLoad){
  382. uni.setNavigationBarTitle({
  383. title: this.floorlockInfo.parkingName
  384. })
  385. }
  386. this.loading = true
  387. } else {
  388. this.loading = false
  389. this.permission = true
  390. // #ifdef MP-WEIXIN
  391. uni.setBackgroundColor({
  392. backgroundColor: '#ffffff',
  393. })
  394. // #endif
  395. }
  396. if (!bl) {
  397. uni.hideLoading();
  398. }
  399. }).catch(error => {
  400. uni.hideLoading();
  401. uni.showToast({
  402. title: error,
  403. icon: "none"
  404. })
  405. })
  406. }
  407. }
  408. }
  409. </script>
  410. <style>
  411. page{
  412. background-color:#F2F4F6;
  413. }
  414. </style>
  415. <style scoped lang="scss">
  416. .body {
  417. padding: 32rpx;
  418. }
  419. .gradient-header {
  420. height: 0px;
  421. }
  422. .jpback {
  423. height: 760rpx;
  424. background: linear-gradient(180deg, rgba(203, 234, 255, 1) 0%, rgba(203, 234, 255, 0) 100%);
  425. }
  426. .isReady_2{
  427. margin-top: 80rpx;
  428. .r2text{
  429. text-align: center;
  430. .r2text1{
  431. color: rgba(51,51,51,1);
  432. font-size: 40rpx;
  433. font-weight: bold;
  434. }
  435. .r2text2{
  436. font-weight: 400;
  437. color: rgba(51,51,51,1);
  438. font-size: 32rpx;
  439. }
  440. }
  441. }
  442. .page-top {
  443. padding: 40rpx;
  444. padding-top: 0rpx;
  445. display: flex;
  446. flex-direction: column;
  447. align-items: center;
  448. .name {
  449. width: 320rpx;
  450. height: 320rpx;
  451. display: flex;
  452. align-items: flex-end;
  453. .img {
  454. width: 320rpx;
  455. height: 320rpx;
  456. }
  457. .img2 {
  458. width: 320rpx;
  459. height: 140rpx;
  460. }
  461. }
  462. .value {
  463. //margin-top: 24rpx;
  464. font-size: 40rpx;
  465. font-weight: bold;
  466. color: #333333;
  467. }
  468. }
  469. .pagemanage{
  470. margin-top: 80rpx;
  471. margin-bottom: 80rpx;
  472. .mitem{
  473. width: 33%;
  474. display: flex;
  475. flex-direction: column;
  476. align-items: center;
  477. img{
  478. width: 48rpx;
  479. height: 48rpx;
  480. margin-bottom: 8rpx;
  481. }
  482. border-right: 1px solid rgba(187,187,187,0.43);
  483. }
  484. .end{
  485. border-right:0
  486. }
  487. }
  488. .page {
  489. border-radius: 16rpx;
  490. background-color: rgba(255, 255, 255, 1);
  491. color: rgba(16, 16, 16, 1);
  492. box-shadow: 0px 4px 8px 0px rgba(22,119,255,0.2);
  493. padding: 32rpx;
  494. margin-bottom: 32rpx;
  495. font-size: 32rpx;
  496. color: rgb(16, 16, 16);
  497. width: 100%;
  498. .page-border{
  499. border-bottom: 1px solid rgba(232,232,232,1);
  500. padding-bottom: 16rpx;
  501. }
  502. .page-main {
  503. display: flex;
  504. justify-content: space-between;
  505. align-items: center;
  506. .name {
  507. color: rgba(51, 51, 51, 1);
  508. font-size: 36rpx;
  509. display: flex;
  510. flex-direction: column;
  511. display: flex;
  512. .name-info{
  513. display: flex;
  514. .name-text{
  515. font-size: 36rpx;
  516. font-weight: bold;
  517. }
  518. }
  519. .code-info{
  520. font-size: 24rpx;
  521. color: rgba(119,119,119,1);
  522. }
  523. }
  524. .tags{
  525. display: flex;
  526. align-items: center;
  527. margin-left: 8rpx;
  528. .tag {
  529. font-size: 24rpx;
  530. border: 1px solid rgba(187, 187, 187, 1);
  531. border-radius: 4px;
  532. color: rgba(22,119,255,1);
  533. padding: 1px 8rpx;
  534. margin-left: 8rpx;
  535. }
  536. .typeN1{
  537. color:#1677FF ;
  538. border: 1px solid #1677FF ;
  539. }
  540. .typeN2{
  541. color:#8161FF;
  542. border: 1px solid #8161FF;
  543. }
  544. .status1{
  545. color:#00B962;
  546. border: 1px solid #00B962;
  547. }
  548. .status0{
  549. color:#A7A2A2;
  550. border: 1px solid #A7A2A2;
  551. }
  552. }
  553. .value1{
  554. display: flex;
  555. flex-direction: column;
  556. align-items: center;
  557. justify-content: space-between;
  558. .item1{
  559. .img{
  560. width: 48rpx;
  561. height: 48rpx;
  562. }
  563. display: flex;
  564. }
  565. .item2 {
  566. font-size: 24rpx;
  567. color: rgba(119,119,119,1);
  568. }
  569. }
  570. }
  571. .page-info{
  572. padding-top: 16rpx;
  573. font-size: 24rpx;
  574. color: #777777;
  575. display: flex;
  576. justify-content: space-between;
  577. .address{
  578. .name{
  579. color: rgba(119,119,119,1);
  580. font-size: 28rpx;
  581. }
  582. .text{
  583. color: rgba(51,51,51,1);
  584. font-size: 24rpx;
  585. }
  586. }
  587. .value2{
  588. display: flex;
  589. flex-direction: column;
  590. align-items: center;
  591. justify-content: space-between;
  592. .item1{
  593. .img{
  594. width: 32rpx;
  595. height: 32rpx;
  596. }
  597. display: flex;
  598. }
  599. .item2 {
  600. font-size: 24rpx;
  601. color: rgba(119,119,119,1);
  602. }
  603. }
  604. }
  605. .page-content {
  606. .step {
  607. margin-bottom: 16rpx;
  608. }
  609. .tip-title {
  610. color: #101010;
  611. font-size: 36rpx;
  612. font-weight: bold;
  613. margin-bottom: 24rpx;
  614. }
  615. .tip1 {
  616. .step {
  617. color: #101010
  618. }
  619. border-bottom: 1px solid rgba(241, 241, 241, 1);
  620. margin-bottom: 24rpx;
  621. padding-bottom: 8rpx;
  622. }
  623. .tip2 {
  624. .step {
  625. color: #333333
  626. }
  627. }
  628. }
  629. }
  630. .jpbutton {
  631. margin-top: 30rpx;
  632. margin-bottom: 30rpx;
  633. border-radius: 100rpx;
  634. width: 400rpx;
  635. height: 84rpx;
  636. color: #fff;
  637. padding: 8rpx;
  638. display: flex;
  639. align-items: center;
  640. justify-content: center;
  641. font-size: 36rpx;
  642. .img {
  643. margin-right: 8rpx;
  644. width: 36rpx;
  645. height: 32rpx;
  646. }
  647. }
  648. .jpbutton1 {
  649. background-color: #2979FF;
  650. .img {
  651. width: 32rpx;
  652. height: 32rpx;
  653. }
  654. }
  655. .jpbutton2 {
  656. background-color: #2979FF;
  657. .img {
  658. width: 40rpx;
  659. height: 40rpx;
  660. animation: spin 2s linear infinite;
  661. /* 添加无限旋转动画 */
  662. }
  663. /* 定义旋转动画 */
  664. @keyframes spin {
  665. from {
  666. transform: rotate(0deg);
  667. /* 起始角度 */
  668. }
  669. to {
  670. transform: rotate(360deg);
  671. /* 结束角度 */
  672. }
  673. }
  674. }
  675. .jpbutton3 {
  676. background-color: #00B962;
  677. }
  678. .jpbutton4 {
  679. background-color: #A7A2A2;
  680. }
  681. .jpbutton6 {
  682. background-color: #FF7B00;
  683. }
  684. .jpbutton5 {
  685. background-color: #1677FF;
  686. }
  687. .page-role {
  688. padding-top: 120rpx;
  689. display: flex;
  690. flex-direction: column;
  691. align-items: center;
  692. .img {
  693. width: 500rpx;
  694. height: 500rpx;
  695. }
  696. .text1 {
  697. color: rgba(51, 51, 51, 1);
  698. font-weight: bold;
  699. font-size: 48rpx;
  700. margin-bottom: 16rpx;
  701. }
  702. .text2 {
  703. color: rgba(51, 51, 51, 1);
  704. font-size: 36rpx;
  705. margin-bottom: 200rpx;
  706. }
  707. .botton {
  708. border-radius: 100rpx;
  709. width: 360rpx;
  710. text-align: center;
  711. border: 1px solid rgba(187, 187, 187, 1);
  712. color: rgba(22, 119, 255, 1);
  713. padding: 16rpx;
  714. }
  715. }
  716. </style>