aed.vue 18 KB

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