aed.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
  1. <template>
  2. <view class="content">
  3. <view class="" style="height: 20rpx;"></view>
  4. <mzsm></mzsm>
  5. <!-- map -->
  6. <view class="map">
  7. <map @updated='mapChange' ref='map_1' class="map-map"
  8. :latitude="baseLat" :longitude="baseLng" :markers="marker" @markertap="lookmore" ></map>
  9. </view>
  10. <view class="" style="height: 20rpx;"></view>
  11. <!-- 列表 -->
  12. <scroll-view scroll-y="true" :style="{'height':height}" class="aed-list" @scrolltolower="loadData()">
  13. <view class="aed-item flex" v-for="(item,mindex) in AEDList" @click="listlookmore(item,mindex)">
  14. <view class="item-left">
  15. <view class="clamp">
  16. {{item.name}}
  17. </view>
  18. <view class="clamp aed-address">
  19. 地址:{{item.detailed_address}}
  20. </view>
  21. </view>
  22. <view class="item-right flex">
  23. <image src="../../static/icon/dingwei.png" mode=""></image>
  24. <view class="">
  25. {{item.range}}km
  26. </view>
  27. </view>
  28. </view>
  29. <uni-load-more :status="loadingType"></uni-load-more>
  30. </scroll-view>
  31. <!-- 导航选择层 -->
  32. <uni-popup ref="popup" type="bottom" @click="close">
  33. <view class="popup_row">
  34. <view class="rows">
  35. <view class="rows-item" @click="toGaodeMap">高德地图</view>
  36. <view class="rows-item" @click="tobaiDuMap">百度地图</view>
  37. <view class="rows-item" @click="totengxunMap">腾讯地图</view>
  38. </view>
  39. </view>
  40. </uni-popup>
  41. <!-- aed详情 -->
  42. <uni-popup ref="popupinfo" type="bottom" >
  43. <view class="aedxq-wrap">
  44. <view class="xq-top">
  45. <view class="aed-name">
  46. {{showAed.name}}
  47. </view>
  48. <view class="aed-dis">
  49. 距离:{{showAed.dis}}km
  50. </view>
  51. <view class="aed-address" style="padding-top: 10rpx;">
  52. 地址:{{showAed.address}}
  53. </view>
  54. <view class="aed-address" style="padding-top: 10rpx;">
  55. 安装位置:{{showAed.addressxq}}
  56. </view>
  57. </view>
  58. <view class="xq-img-wrap" v-if="showAed.imgs">
  59. <scroll-view scroll-x="true" class="aed-img-scroll">
  60. <view class="" style="display: flex;flex-wrap: nowrap;">
  61. <image :src="item" mode="heightFix" v-for="item in showAed.imgs"
  62. class="aed-img" @click="openimg(item)" :key="item"></image>
  63. </view>
  64. </scroll-view>
  65. <!-- <view class="aed-phone" @click="makecall(showAed.phone)">
  66. 电话
  67. </view> -->
  68. </view>
  69. <view class="aed-dh" @click="opendh">
  70. 导航
  71. </view>
  72. </view>
  73. </uni-popup>
  74. <!-- 导航选择层 -->
  75. <uni-popup ref="popup" type="bottom" @click="close">
  76. <view class="popup_row">
  77. <view class="rows">
  78. <view class="rows-item" @click="toGaodeMap">高德地图</view>
  79. <view class="rows-item" @click="tobaiDuMap">百度地图</view>
  80. <view class="rows-item" @click="totengxunMap">腾讯地图</view>
  81. </view>
  82. </view>
  83. </uni-popup>
  84. </view>
  85. </template>
  86. <script>
  87. import mzsm from '@/components/mzsm.vue'
  88. import {getStation} from '@/api/index.js'
  89. import {
  90. mapState,
  91. mapMutations
  92. } from 'vuex';
  93. import espempty from '@/components/espempty';
  94. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  95. import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
  96. import {
  97. getAed
  98. } from '@/api/category.js'
  99. export default {
  100. components: {
  101. uniPopup,
  102. espempty,
  103. uniLoadMore,
  104. mzsm
  105. },
  106. //相关配置参数
  107. data() {
  108. return {
  109. baseLng: '',//地图中心经度
  110. baseLat: '',//地图中心纬度
  111. aedmarker: [],
  112. loaded: false,
  113. loadingType: 'more',
  114. page: 1,
  115. limit: 100,
  116. AEDList: [],
  117. height: '',
  118. list: [],
  119. latitude: '',// 本地坐标
  120. longitude: '',// 本地坐标
  121. phone: '',
  122. marker: [],
  123. showAed: {
  124. name: '',
  125. address: '',
  126. addressxq: '',
  127. dis: '',
  128. lat: '',
  129. lon: '',
  130. imgs: [],
  131. phone: ''
  132. },
  133. chooseImg: '',
  134. mapid: 1,
  135. isShow: false,
  136. befoId: 0,
  137. }
  138. },
  139. onReady(res) {
  140. var _this = this;
  141. uni.getSystemInfo({
  142. success: resu => {
  143. const query = uni.createSelectorQuery();
  144. query.select('.aed-list').boundingClientRect();
  145. query.exec(function(res) {
  146. console.log(res, 'ddddddddddddd');
  147. _this.height = resu.windowHeight - res[0].top + 'px';
  148. console.log('打印页面的剩余高度', _this.height);
  149. });
  150. },
  151. fail: res => {}
  152. });
  153. },
  154. onLoad() {
  155. let obj = this;
  156. this.getLocal()
  157. },
  158. computed: {
  159. ...mapState('user', ['hasLogin', 'userInfo']),
  160. ...mapState(['baseURL'])
  161. },
  162. methods: {
  163. ...mapMutations('user', ['setUserInfo']),
  164. // 导航
  165. opendh() {
  166. console.log('导航')
  167. this.$refs.popup.open();
  168. },
  169. // 关闭图片弹窗
  170. closePup() {
  171. this.$refs.lookimg.close()
  172. },
  173. // 打开图片弹窗
  174. openimg(src,srcList) {
  175. let obj = this
  176. this.chooseImg = this.baseURL + src
  177. console.log('chooseImg', this.chooseImg)
  178. // this.$refs.lookimg.open()
  179. let arr = obj.showAed.imgs.map(item => {
  180. return item
  181. })
  182. uni.previewImage({
  183. current: this.chooseImg,
  184. urls: arr
  185. })
  186. },
  187. // 拨打电话
  188. makecall(num) {
  189. uni.makePhoneCall({
  190. phoneNumber: num + ''
  191. })
  192. },
  193. // 关闭aed详情
  194. closeAedXq() {
  195. this.$refs.aedxq.close()
  196. },
  197. listlookmore(e,index) {
  198. let obj = this
  199. obj.marker[obj.befoId].iconPath = '/static/icon/aed-na.png'
  200. obj.befoId = index*1 +1
  201. let aedobj = e
  202. console.log(aedobj,'aedobj++++')
  203. obj.showAed = {
  204. name: aedobj.name,
  205. address: aedobj.detailed_address,
  206. addressxq: aedobj.installation_position,
  207. dis: aedobj.range,
  208. lat: aedobj.latitude,
  209. lon: aedobj.longitude,
  210. imgs: [aedobj.image],
  211. phone: aedobj.phone
  212. }
  213. obj.baseLat = aedobj.latitude
  214. obj.baseLng = aedobj.longitude
  215. obj.marker[index*1 + 1].iconPath = '/static/icon/aed-a.png'
  216. console.log(obj.showAed.name,'obj.showAed')
  217. // obj.isShow = true
  218. obj.$refs.popupinfo.open()
  219. },
  220. // 打开aed详情
  221. lookmore(e,from) {
  222. console.log(e.id,'lookmore++++++++++++')
  223. let obj = this
  224. if(obj.befoId != 0) {
  225. obj.marker[obj.befoId].iconPath = '/static/icon/aed-na.png'
  226. }
  227. obj.befoId = e.detail.markerId * 1
  228. let aedobj = obj.AEDList[e.detail.markerId * 1 - 1]
  229. console.log(aedobj,'aedobj')
  230. obj.showAed = {
  231. name: aedobj.name,
  232. address: aedobj.detailed_address,
  233. addressxq: aedobj.installation_position,
  234. dis: aedobj.ranges,
  235. lat: aedobj.latitude,
  236. lon: aedobj.longitude,
  237. imgs: [s],
  238. phone: aedobj.phone
  239. }
  240. obj.marker[e.detail.markerId].iconPath = '/static/icon/aed-a.png'
  241. // obj.isShow = true
  242. obj.$refs.popupinfo.open()
  243. },
  244. // 获取本地坐标
  245. getLocal() {
  246. let obj = this;
  247. console.log('ddddddddddddddddddddddddd')
  248. let weichatBrowser = uni.getStorageSync('weichatBrowser')
  249. if(weichatBrowser) {
  250. let wxOjb = require('jweixin-module');
  251. wxOjb.ready(() => {
  252. console.log('加载完毕注册事件');
  253. wxOjb.getLocation({
  254. type: 'gcj02',
  255. success(e) {
  256. console.log(e)
  257. obj.baseLat = obj.latitude = Math.abs(e.latitude)
  258. obj.baseLng = obj.longitude = Math.abs(e.longitude)
  259. console.log('本地坐标', obj.latitude, obj.longitude)
  260. let item = {
  261. id: 0,
  262. latitude: obj.latitude,
  263. longitude: obj.longitude,
  264. iconPath: '/static/img/img19.png',
  265. width: '35',
  266. height: '35',
  267. }
  268. obj.marker.push(item)
  269. obj.loadData()
  270. },
  271. fail(err) {
  272. obj.getLocal()
  273. }
  274. })
  275. })
  276. }else {
  277. uni.getLocation({
  278. type: 'gcj02',
  279. success(e) {
  280. console.log(e)
  281. obj.baseLat = obj.latitude = Math.abs(e.latitude)
  282. obj.baseLng = obj.longitude = Math.abs(e.longitude)
  283. console.log('本地坐标', obj.latitude, obj.longitude)
  284. let item = {
  285. id: 0,
  286. latitude: obj.latitude,
  287. longitude: obj.longitude,
  288. iconPath: '/static/img/img19.png',
  289. width: '35',
  290. height: '35',
  291. }
  292. obj.marker.push(item)
  293. obj.loadData()
  294. },
  295. fail(err) {
  296. obj.getLocal()
  297. }
  298. })
  299. }
  300. },
  301. // 地图渲染完毕事件
  302. mapChange(e) {
  303. console.log(e);
  304. },
  305. // 载入数据
  306. async loadData() {
  307. let obj = this;
  308. if (obj.loadingType == 'loading' || obj.loadingType == 'noMore') {
  309. return
  310. }
  311. obj.loadingType = 'loading'
  312. getStation({
  313. latitude: obj.latitude,
  314. longitude: obj.longitude,
  315. page: obj.page,
  316. limit: obj.limit,
  317. }).then(({
  318. data
  319. }) => {
  320. console.log(data, 'aed++++++++++++++')
  321. obj.AEDList = obj.AEDList.concat(data.list);
  322. let arr = data.list.map(item => ({
  323. latitude: item.latitude,
  324. longitude: item.longitude,
  325. iconPath: '/static/icon/aed-na.png',
  326. width: '35',
  327. height: '35',
  328. id: obj.mapid++,
  329. address: item.installation_position
  330. }));
  331. obj.marker = obj.marker.concat(arr)
  332. console.log(obj.page,'obj.page++++++')
  333. if(obj.page == 1) {
  334. console.log('obj.lookmore+++++++++++++')
  335. // obj.lookmore({
  336. // detail: {
  337. // markerId: 1
  338. // }
  339. // })
  340. }
  341. obj.page++
  342. console.log('加入完成+++++++++++++')
  343. if (data.length == obj.limit) {
  344. obj.loadingType = 'more'
  345. } else {
  346. obj.loadingType = 'noMore'
  347. }
  348. })
  349. },
  350. // 调用高德
  351. toGaodeMap() {
  352. let latitude = this.showAed.lat;
  353. let longitude = this.showAed.lon;
  354. let address = this.showAed.name;
  355. console.log(address)
  356. console.log('选择高德', latitude, longitude, address);
  357. window.location.href = `https://uri.amap.com/marker?position=${longitude},${latitude}&name=${address}`;
  358. },
  359. // 调用腾讯
  360. totengxunMap() {
  361. let latitude = this.showAed.lat;
  362. let longitude = this.showAed.lon;
  363. let address = this.showAed.name;
  364. console.log('选择腾讯', latitude, longitude);
  365. window.location.href =
  366. `http://apis.map.qq.com/uri/v1/marker?marker=coord:${latitude},${longitude};addr:${address}`;
  367. },
  368. // 调用百度
  369. tobaiDuMap() {
  370. let latlon = this.bd_encrypt(this.showAed.lon,this.showAed.lat)
  371. let latlon1 = this.bd_encrypt( this.longitude,this.latitude)
  372. let latitude = latlon.bd_lat;
  373. let longitude = latlon.bd_lng;
  374. let latitude6 = latlon1.bd_lat;
  375. let longitude6 = latlon1.bd_lng;
  376. let address = this.showAed.name;
  377. console.log('选择百度', latitude, longitude);
  378. console.log('获取当前经纬度', latitude6, longitude6);
  379. window.location.href =
  380. `http://api.map.baidu.com/direction?origin=latlng:${latitude6},${longitude6}|name:我的位置&destination=${latitude},${longitude}&mode=driving&region=${address}&output=html&src=webapp.baidu.openAPIdemo`;
  381. },
  382. // 高德坐标、腾讯坐标转百度坐标
  383. bd_encrypt(gg_lng, gg_lat) {
  384. var X_PI = Math.PI * 3000.0 / 180.0;
  385. var x = gg_lng,
  386. y = gg_lat;
  387. var z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * X_PI);
  388. var theta = Math.atan2(y, x) + 0.000003 * Math.cos(x * X_PI);
  389. var bd_lng = z * Math.cos(theta) + 0.0065;
  390. var bd_lat = z * Math.sin(theta) + 0.006;
  391. return {
  392. bd_lat: bd_lat,
  393. bd_lng: bd_lng
  394. };
  395. }
  396. }
  397. }
  398. </script>
  399. <style lang="scss">
  400. body,
  401. page {
  402. height: 100%;
  403. width: 100%;
  404. background-color: #fff;
  405. }
  406. .content {
  407. height: 100%;
  408. width: 100%;
  409. background-color: #fff;
  410. }
  411. .map {
  412. // width: 100%;
  413. // height: 100%;
  414. height: 780rpx;
  415. border-radius: 20rpx;
  416. .map-map {
  417. width: 689rpx;
  418. height: 780rpx;
  419. border-radius: 20rpx;
  420. margin: auto;
  421. }
  422. }
  423. /* #ifdef H5 */
  424. .location {
  425. overflow-y: scroll; //溢出就滑动起来
  426. // z-index: 990;
  427. position: fixed;
  428. bottom: 0;
  429. height: 55%;
  430. width: 100%;
  431. background-color: #fff;
  432. padding: 24rpx;
  433. //搜索框
  434. .Search-box {
  435. // z-index: 999;
  436. height: 80rpx;
  437. // position: fixed;
  438. // top: 0;
  439. // left: 0;
  440. // width: 100%;
  441. // background: #FFFFFF;
  442. // padding-top: 10rpx;
  443. padding-right: 24rpx;
  444. padding-left: 24rpx;
  445. .Search-box-sort {
  446. float: left;
  447. margin-left: 32rpx;
  448. margin-right: 19rpx;
  449. .sort-text {
  450. width: 57rpx;
  451. height: 29rpx;
  452. font-size: 30rpx;
  453. font-weight: 500;
  454. color: rgba(51, 51, 51, 1);
  455. line-height: 58rpx;
  456. margin-right: 19rpx;
  457. }
  458. .sort-img {
  459. width: 21rpx;
  460. height: 11rpx;
  461. margin-bottom: 4rpx;
  462. }
  463. }
  464. .Search-box-size {
  465. // width:70%;
  466. height: 58rpx;
  467. border-radius: 32rpx;
  468. background-color: #f1f1f1;
  469. padding-left: 36rpx;
  470. display: flex;
  471. align-items: center;
  472. .box-img {
  473. height: 32rpx;
  474. width: 32rpx;
  475. margin-right: 16rpx;
  476. }
  477. // .box-right{
  478. // height: 58rpx;
  479. // // width: 100%;
  480. // background-color: pink;
  481. // }
  482. .box-word {
  483. width: 100%;
  484. font-size: 26rpx;
  485. font-weight: 500;
  486. color: rgba(205, 203, 203, 1);
  487. line-height: 55rpx;
  488. }
  489. }
  490. }
  491. .location-item {
  492. z-index: 1000;
  493. display: flex;
  494. justify-content: space-between;
  495. align-items: center;
  496. border-bottom: 1rpx solid #E7E8EA;
  497. padding: 15rpx 0;
  498. .box-left {
  499. display: flex;
  500. .img01 {
  501. width: 8rpx;
  502. height: 28rpx;
  503. margin-right: 18rpx;
  504. image {
  505. width: 8rpx;
  506. height: 28rpx;
  507. }
  508. }
  509. .img02 {
  510. width: 117rpx;
  511. height: 117rpx;
  512. border-radius: 50%;
  513. image {
  514. width: 117rpx;
  515. height: 117rpx;
  516. border-radius: 50%;
  517. }
  518. }
  519. .info {
  520. margin-left: 16rpx;
  521. .info-header {
  522. display: flex;
  523. align-items: center;
  524. .name {
  525. font-size: 32rpx;
  526. color: #333333;
  527. }
  528. .distance {
  529. margin-left: 25rpx;
  530. font-size: 28rpx;
  531. color: #303133;
  532. }
  533. .location-icon {
  534. margin-left: 10rpx;
  535. width: 20rpx;
  536. height: 26rpx;
  537. image {
  538. width: 20rpx;
  539. height: 26rpx;
  540. display: inline;
  541. }
  542. }
  543. }
  544. .address {
  545. font-size: 26rpx;
  546. color: #333333;
  547. margin-top: 33rpx;
  548. }
  549. }
  550. }
  551. .box-right {
  552. .img {
  553. height: 107rpx;
  554. image {
  555. width: 107rpx;
  556. height: 107rpx;
  557. }
  558. }
  559. .called {
  560. margin-right: 16rpx;
  561. height: 107rpx;
  562. line-height: 107rpx;
  563. font-size: 28rpx;
  564. color: #CB131C;
  565. }
  566. }
  567. }
  568. }
  569. /* #endif */
  570. .list-tpl {
  571. background-color: #ffffff;
  572. margin-bottom: 25rpx;
  573. padding: 25rpx 25rpx;
  574. font-size: 28rpx;
  575. border-radius: 15rpx;
  576. display: flex;
  577. justify-content: space-between;
  578. align-items: center;
  579. border-bottom: 1px solid #f1f1f1;
  580. .list-left {
  581. display: flex;
  582. width: 100%;
  583. .number {
  584. font-size: 32rpx;
  585. margin-right: 14rpx;
  586. }
  587. .info {
  588. width: 100%;
  589. .title {
  590. font-size: 32rpx;
  591. color: #222222;
  592. font-weight: 500;
  593. }
  594. .addr {
  595. width: 400rpx;
  596. margin-top: 20rpx;
  597. font-size: 20rpx;
  598. font-family: PingFang SC;
  599. font-weight: 500;
  600. color: #999999;
  601. }
  602. }
  603. }
  604. .image {
  605. width: 20%;
  606. text-align: center;
  607. image {
  608. width: 50rpx;
  609. height: 50rpx;
  610. }
  611. .tip {
  612. color: #7f7f7f;
  613. font-size: 21rpx;
  614. }
  615. }
  616. }
  617. .popup_row {
  618. width: 100%;
  619. height: 500rpx;
  620. background-color: #ffffff;
  621. border-radius: 20rpx;
  622. display: flex;
  623. justify-content: center;
  624. align-items: center;
  625. .rows {
  626. width: 100%;
  627. padding: 0 24rpx;
  628. .rows-item {
  629. height: 80rpx;
  630. line-height: 80rpx;
  631. text-align: center;
  632. width: 100%;
  633. font-size: 32rpx;
  634. color: #303133;
  635. }
  636. }
  637. }
  638. .scroll-wrapper {
  639. padding-top: 20rpx;
  640. }
  641. .aedxq-wrap {
  642. position: fixed;
  643. bottom: 0;
  644. left: 0;
  645. right: 0;
  646. margin: auto;
  647. width: 710rpx;
  648. min-height: 400rpx;
  649. border-radius: 20rpx;
  650. padding: 0 25rpx;
  651. background-color: rgba($color: #000000, $alpha: 0.9);
  652. color: #fff;
  653. // position: relative;
  654. .xq-top {
  655. padding-top: 25rpx;
  656. width: 660rpx;
  657. min-height: 210rpx;
  658. border-bottom: 1px solid #fff;
  659. .aed-name {
  660. font-size: 28rpx;
  661. width: 479rpx;
  662. }
  663. .aed-dis {
  664. padding-top: 10rpx;
  665. font-size: 22rpx;
  666. width: 479rpx;
  667. }
  668. }
  669. .xq-img-wrap {
  670. height: 165rpx;
  671. width: 660rpx;
  672. display: flex;
  673. align-items: center;
  674. justify-content: space-between;
  675. .aed-img-scroll {
  676. height: 107rpx;
  677. width: 620rpx;
  678. // background-color: #bfa;
  679. // display: flex;
  680. // // justify-content: ;
  681. // // flex-direction: column;
  682. // flex-wrap: nowrap;
  683. .aed-img {
  684. // display: inline-block;
  685. height: 107rpx;
  686. // width: 107rpx;
  687. margin-right: 15rpx;
  688. // background-color: red;
  689. flex-shrink: 0;
  690. }
  691. }
  692. .aed-phone {
  693. width: 112rpx;
  694. height: 52rpx;
  695. line-height: 52rpx;
  696. text-align: center;
  697. border: 1px solid #fff;
  698. border-radius: 10rpx;
  699. }
  700. // background-color: red;
  701. }
  702. .aed-dh {
  703. width: 147rpx;
  704. line-height: 70rpx;
  705. text-align: center;
  706. background-color: #4d8bd6;
  707. border-radius: 15rpx;
  708. position: absolute;
  709. right: 25rpx;
  710. top: 25rpx;
  711. }
  712. }
  713. .pop-wrap {
  714. width: 522rpx;
  715. height: 800rpx;
  716. // background-color: red;
  717. }
  718. .popup-box {
  719. width: 522rpx;
  720. height: 800rpx;
  721. border-radius: 20rpx;
  722. position: relative;
  723. overflow: hidden;
  724. background-color: #fff;
  725. .popup-item {
  726. width: 100%;
  727. height: 100%;
  728. image {
  729. width: 100%;
  730. // height: 100%;
  731. }
  732. }
  733. }
  734. .close {
  735. display: block;
  736. width: 40rpx;
  737. height: 40rpx;
  738. border: 50%;
  739. position: absolute;
  740. // background-color: red;
  741. bottom: -100rpx;
  742. left: 0;
  743. right: 0;
  744. margin: 0 auto;
  745. }
  746. .aed-list {
  747. .aed-item {
  748. width: 690rpx;
  749. margin: auto;
  750. justify-content: space-between;
  751. align-items: center;
  752. height: 100rpx;
  753. border-bottom: 1px solid #F1F1F1;
  754. .item-left {
  755. width: 550rpx;
  756. font-size: 28rpx;
  757. font-weight: 500;
  758. color: #333333;
  759. .aed-address {
  760. padding-top: 10rpx;
  761. font-size: 20rpx;
  762. font-weight: 500;
  763. color: #999999;
  764. }
  765. }
  766. .item-right {
  767. width: 100rpx;
  768. flex-shrink: 0;
  769. flex-direction: column;
  770. justify-content: center;
  771. align-items: center;
  772. font-size: 20rpx;
  773. font-weight: 500;
  774. color: #999999;
  775. image {
  776. width: 28rpx;
  777. height: 32rpx;
  778. margin-bottom: 10rpx;
  779. }
  780. }
  781. }
  782. }
  783. </style>