aed.vue 19 KB

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