aed.vue 18 KB

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