index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  1. <template>
  2. <view class="content">
  3. <!-- 轮播 -->
  4. <view class="carousel-section">
  5. <swiper class="carousel" :autoplay="true" :interval="3000" :duration="1000">
  6. <swiper-item v-for="item in carouselList" :key="item.id">
  7. <image :src="item.pic"></image>
  8. </swiper-item>
  9. </swiper>
  10. </view>
  11. <!-- 分类 -->
  12. <view class="cate-section">
  13. <view class="cate-item" @click="tocontribution">
  14. <image src="../../static/icon/icon1.png" style="width: 107rpx;height: 98rpx;"></image>
  15. <text>爱心捐赠</text>
  16. </view>
  17. <!-- <a href="http://yyhszh.yygrwhg.com/willsoft/deyy/MobileView_look.aspx?news_id=1" title="爱心捐赠">
  18. <view class="cate-item">
  19. <image src="../../static/icon/icon3.png" style="width: 87rpx;height: 64rpx;"></image>
  20. <text>爱心捐赠</text>
  21. </view>
  22. </a> -->
  23. <view class="cate-item" @click="toapplic">
  24. <view class="cate-item">
  25. <image src="../../static/icon/icon2.png" style="width: 110rpx;height: 92rpx;"></image>
  26. <text>干细胞捐献</text>
  27. </view>
  28. </view>
  29. <navigator @click="toorange">
  30. <view class="cate-item">
  31. <image src="../../static/icon/icon3.png"></image>
  32. <text>器官捐献</text>
  33. <!-- <a title="器官捐赠" href="https://register.codac.org.cn/wx/html/notice.htm">器官捐赠</a> -->
  34. </view>
  35. </navigator>
  36. <!-- <a href="https://register.codac.org.cn/wx/html/notice.htm" title="器官捐赠">
  37. <view class="cate-item">
  38. <image src="../../static/icon/icon3.png" style="width: 112rpx;height: 84rpx;"></image>
  39. <text>器官捐献</text>
  40. </view>
  41. </a> -->
  42. <view>
  43. <view class="cate-item" @click="tohelpActi">
  44. <image src="../../static/icon/icon4.png" style="width: 104rpx;height: 87rpx;"></image>
  45. <text>人道救助</text>
  46. </view>
  47. </view>
  48. </view>
  49. <!-- 红会科普 -->
  50. <view class="science-section">
  51. <view class="science-title">
  52. <image src="../../static/img/wings-left.png" mode=""></image>
  53. <view class="title">红会科普</view>
  54. <image src="../../static/img/wings-right.png" mode=""></image>
  55. </view>
  56. <scroll-view class="science-box" scroll-x>
  57. <view class="science-content">
  58. <view class="science-item" v-for="(item, index) in science" :key="index" @click="Jump(item.id)">
  59. <image :src="item.image_input[0]" mode=""></image>
  60. <view class="article-title word1_ellipsis">{{ item.title }}</view>
  61. <view class="article-content">{{ item.synopsis }}</view>
  62. </view>
  63. </view>
  64. </scroll-view>
  65. <navigator class="science-more" url="/pages/applic/science">
  66. 查看更多
  67. <image src="../../static/icon/moreRight.png" mode=""></image>
  68. <image src="../../static/icon/moreRight.png" mode=""></image>
  69. </navigator>
  70. </view>
  71. <!-- sos急救系统 -->
  72. <view class="system">
  73. <view class="system-title">
  74. <view class="img">
  75. <image src="../../static/img/wings-left.png"></image>
  76. </view>
  77. <view class="title" @click="tolocation">救在身边</view>
  78. <view class="img">
  79. <image src="../../static/img/wings-right.png"></image>
  80. </view>
  81. </view>
  82. <view class="system-map">
  83. <map @click="tolocation" :show-location="false" class="map-box" id="mapjzsb" :markers="markerjzsb"
  84. :scale="scale" :latitude="latitude4" :longitude="longitude4" ref="mapjzsb"
  85. style="height: 450rpx"></map>
  86. <!-- <view class="map-box" @click="tolocation"><image src="../../static/img/map.jpg" mode=""></image></view> -->
  87. </view>
  88. <view v-for="(item, index) in jzsbList" :key="item.id">
  89. <view class="location-item">
  90. <view class="box-left">
  91. <view class="img01">
  92. <image src="../../static/img/line01.png" mode=""></image>
  93. </view>
  94. <view class="img02">
  95. <image src="../../static/img/002.png" mode=""></image>
  96. </view>
  97. <!-- <view class="img02" v-else><image src="../../static/img/missing-face.png" mode=""></image></view> -->
  98. <view class="info">
  99. <view class="info-header">
  100. <view class="name">救护员{{ index + 1 }}</view>
  101. <view class="distance">{{ item.num }}km</view>
  102. <view class="location-icon">
  103. <image src="../../static/img/location-icon.png" mode=""></image>
  104. </view>
  105. </view>
  106. <view class="address">{{ item.address }}</view>
  107. </view>
  108. </view>
  109. <view class="box-right" @click="rescue(item, index)">
  110. <view class="img" v-if="!item.is">
  111. <image src="../../static/img/rescue.png" mode=""></image>
  112. </view>
  113. <view class="called" v-if="item.is">已呼叫</view>
  114. </view>
  115. </view>
  116. </view>
  117. <navigator class="science-more" url="/pages/applic/location">
  118. 查看更多
  119. <image src="../../static/icon/moreRight.png" mode=""></image>
  120. <image src="../../static/icon/moreRight.png" mode=""></image>
  121. </navigator>
  122. </view>
  123. <uni-popup ref="popups" type="center">
  124. <view class="popup_rows">
  125. <view class="title">
  126. <view class="title-left">请输入您的手机号,等待救援!</view>
  127. <view class="cancel" @click="cancel">
  128. <image src="../../static/img/cancel1.png" mode=""></image>
  129. </view>
  130. </view>
  131. <view class="inpBox"><input type="text" value="" placeholder="请输入您的手机号" v-model="to_phone" /></view>
  132. <view class="inpedit">可在方框中修改您的手机号</view>
  133. <view class="comfirm">
  134. <view class="comfirm1" @click="comfirm1()">确认</view>
  135. </view>
  136. </view>
  137. </uni-popup>
  138. <uni-popup ref="popup" type="center" @click="close">
  139. <view class="popup_row">
  140. <view class="rows">
  141. <view class="row-1">
  142. <image class="first_aid" src="../../static/img/img03.jpg"></image>
  143. </view>
  144. <view class="row-2">扫码进入急救平台</view>
  145. </view>
  146. </view>
  147. </uni-popup>
  148. </view>
  149. </template>
  150. <script>
  151. import {
  152. loadIndexs,
  153. bannerlist,
  154. getdis,
  155. tocall
  156. } from '@/api/index.js';
  157. import {
  158. saveUrl,
  159. interceptor
  160. } from '@/utils/loginUtils.js';
  161. import {
  162. mapState,
  163. mapMutations
  164. } from 'vuex';
  165. import {
  166. userinfo
  167. } from '@/api/user.js';
  168. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  169. export default {
  170. components: {
  171. uniPopup
  172. },
  173. data() {
  174. return {
  175. to_phone: '',
  176. phone: '',
  177. uid: '',
  178. name: '',
  179. scale: '12', //地图缩放程度
  180. latitude4: '116.2317',
  181. longitude4: '39.5427',
  182. carouselList: [], //轮播
  183. science: [], //文章列表
  184. markerjzsb: [],
  185. jzsbList: [],
  186. };
  187. },
  188. onShow() {
  189. // let token = uni.getStorageSync('token');
  190. console.log(this);
  191. if (!this.hasLogin) {
  192. saveUrl();
  193. // 登录拦截
  194. // interceptor();
  195. uni.showModal({
  196. title: '登录',
  197. content: '您未登录,是否马上登陆?',
  198. success: e => {
  199. if (e.confirm) {
  200. interceptor();
  201. }
  202. },
  203. fail: e => {
  204. console.log(e);
  205. }
  206. });
  207. } else {
  208. this.loadData();
  209. }
  210. },
  211. onLoad() {
  212. saveUrl()
  213. let obj = this;
  214. try {
  215. let locationAddress
  216. // #ifdef H5
  217. let wxOjb = require('jweixin-module');
  218. locationAddress = wxOjb.getLocation;
  219. // #endif
  220. // #ifdef H5
  221. wxOjb.ready(() => {
  222. console.log('加载完毕注册事件');
  223. locationAddress({
  224. type: 'gcj02',
  225. success: function(res) {
  226. console.log('获取经纬度', res);
  227. obj.longitude4 = res.longitude
  228. obj.latitude4 = res.latitude
  229. obj.marker = [{
  230. longitude: res.longitude,
  231. latitude: res.latitude,
  232. iconPath: '/static/img/img19.png',
  233. width: '45',
  234. height: '45',
  235. }, ]
  236. obj.marker1 = [{
  237. longitude: res.longitude,
  238. latitude: res.latitude,
  239. iconPath: '/static/img/img19.png',
  240. width: '45',
  241. height: '45',
  242. }]
  243. obj.loadData();
  244. obj.getJzsb()
  245. },
  246. fail(e) {
  247. console.log('失败', e);
  248. window.location.reload();
  249. }
  250. });
  251. })
  252. // #endif
  253. } catch (e) {
  254. console.log(e, 'eee');
  255. let locationAddress
  256. // #ifdef H5
  257. let wxOjb = require('jweixin-module');
  258. locationAddress = wxOjb.getLocation;
  259. // #endif
  260. // #ifdef H5
  261. wxOjb.ready(() => {
  262. console.log('加载完毕注册事件');
  263. locationAddress({
  264. type: 'gcj02',
  265. success: function(res) {
  266. console.log('获取经纬度', res);
  267. obj.longitude4 = res.longitude
  268. obj.latitude4 = res.latitude
  269. obj.loadData();
  270. obj.getJzsb()
  271. },
  272. fail(e) {
  273. console.log('失败', e);
  274. window.location.reload();
  275. }
  276. });
  277. })
  278. // #endif
  279. }
  280. },
  281. computed: {
  282. ...mapState('user', ['userInfo', 'baseURL', 'hasLogin'])
  283. },
  284. methods: {
  285. ...mapMutations('user', ['setUserInfo']),
  286. cancel() {
  287. this.$refs.popups.close();
  288. },
  289. comfirm1: function() {
  290. let obj = this;
  291. if (obj.to_phone.toString().trim() == '') {
  292. // uni.showModal({
  293. // title:'输入框为空',
  294. // // content:JSON.stringify(obj)
  295. // })
  296. } else {
  297. console.log('obj.to_phone1111', obj.to_phone);
  298. const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  299. if (!reg.test(obj.to_phone)) {
  300. obj.$api.msg('请填写正确的手机号码');
  301. return;
  302. }
  303. console.log('name:', obj.name);
  304. console.log('uid:', obj.uid);
  305. console.log('phone', obj.phone);
  306. console.log('to_phone', obj.to_phone);
  307. console.log('longitude', obj.longitude);
  308. console.log('latitude', obj.latitude);
  309. console.log('iscall', obj.iscall);
  310. tocall({
  311. name: obj.name,
  312. uid: obj.uid,
  313. phone: obj.phone,
  314. longitude: obj.longitude4,
  315. latitude: obj.latitude4,
  316. to_phone: obj.to_phone
  317. }).then(data => {
  318. console.log(99988, data);
  319. uni.showModal({
  320. title: '请耐心等待救援',
  321. success: res => {
  322. if (res.confirm) {
  323. window.location.reload(); //重新刷新页面
  324. }
  325. }
  326. });
  327. obj.$refs.popups.close();
  328. obj.iscall = false;
  329. console.log(123, obj.iscall);
  330. });
  331. }
  332. },
  333. // 立即救援
  334. rescue(item, index) {
  335. let obj = this;
  336. uni.showModal({
  337. content: '是否发起求救?',
  338. success: res => {
  339. if (res.confirm) {
  340. this.$refs.popups.open(item, index);
  341. obj.name = item.name;
  342. obj.uid = item.uid;
  343. obj.phone = item.phone;
  344. obj.iscall = false;
  345. console.log('点击救援时item.phone:', obj.phone);
  346. }
  347. }
  348. });
  349. },
  350. // 获取就在身边
  351. getJzsb() {
  352. let obj = this;
  353. getdis({
  354. lng1: obj.longitude4,
  355. lat1: obj.latitude4
  356. }).then((res) => {
  357. let data = res.data;
  358. this.jzsbList = res.data.slice(0, 3)
  359. let arr = data.map(item => ({
  360. latitude: item.latitude,
  361. longitude: item.longitude,
  362. iconPath: '/static/img/img014.png',
  363. width: '35',
  364. height: '35',
  365. id: item.id,
  366. address: item.address
  367. }))
  368. obj.markerjzsb = obj.marker1.concat(arr)
  369. console.log(obj.markerjzsb, 'obj.markerjzsb')
  370. }).catch(err => {
  371. console.log(err);
  372. uni.hideLoading();
  373. uni.showModal({
  374. title: '失败',
  375. content: JSON.stringify(err)
  376. });
  377. });
  378. },
  379. tocontribution() {
  380. uni.navigateTo({
  381. url: "/pages/applic/contribution"
  382. })
  383. },
  384. tolocation() {
  385. uni.navigateTo({
  386. url: "/pages/applic/location"
  387. })
  388. },
  389. toorange() {
  390. uni.navigateTo({
  391. url: "/pages/applic/toorange"
  392. })
  393. },
  394. toapplic() {
  395. uni.navigateTo({
  396. url: "/pages/applic/appliSystem"
  397. })
  398. },
  399. tohelpActi() {
  400. uni.navigateTo({
  401. url: "/pages/applic/tohelpActi"
  402. })
  403. },
  404. loadData() {
  405. let obj = this;
  406. userinfo({}).then(({
  407. data
  408. }) => {
  409. obj.setUserInfo(data);
  410. loadIndexs({}).then(({
  411. data
  412. }) => {
  413. obj.carouselList = data.banner; //轮播图
  414. bannerlist().then(({
  415. data
  416. }) => {
  417. console.log(data);
  418. obj.science = data;
  419. });
  420. });
  421. });
  422. },
  423. Jump(id) {
  424. uni.navigateTo({
  425. url: "/pages/applic/info?id=" + id
  426. })
  427. },
  428. open() {
  429. this.$refs.popup.open();
  430. },
  431. close() {
  432. this.$refs.popup.close();
  433. }
  434. }
  435. };
  436. </script>
  437. <style lang="scss">
  438. a {
  439. text-decoration: none;
  440. color: #5f5f5f;
  441. }
  442. page,
  443. .content {
  444. background-color: #f8f8f8;
  445. height: 100%;
  446. padding-bottom: 50px;
  447. }
  448. .popup_row {
  449. width: 500rpx;
  450. height: 500rpx;
  451. background-color: #ffffff;
  452. border-radius: 20rpx;
  453. display: flex;
  454. justify-content: center;
  455. align-items: center;
  456. .rows {
  457. .row-1 {
  458. margin: auto;
  459. .first_aid {
  460. width: 300rpx;
  461. height: 300rpx;
  462. }
  463. }
  464. .row-2 {
  465. font-size: 38rpx;
  466. margin-top: 20rpx;
  467. }
  468. }
  469. }
  470. .content {
  471. background-color: #f8f8f8;
  472. height: 100%;
  473. /* 头部 轮播图 */
  474. .carousel-section {
  475. // padding-top: 10px;
  476. overflow: hidden;
  477. .carousel {
  478. width: 100%;
  479. height: 398rpx;
  480. .carousel-item {
  481. width: 100%;
  482. height: 100%;
  483. padding-left: 30rpx;
  484. padding-right: 30rpx;
  485. overflow: hidden;
  486. }
  487. image {
  488. width: 100%;
  489. height: 398rpx;
  490. }
  491. }
  492. }
  493. // 分类
  494. .cate-section {
  495. display: flex;
  496. justify-items: center;
  497. align-items: center;
  498. justify-content: space-around;
  499. height: 214rpx;
  500. width: 750rpx;
  501. background-color: #ffffff;
  502. .cate-item {
  503. display: flex;
  504. flex-direction: column;
  505. justify-content: center;
  506. align-items: center;
  507. color: #5f5f5f;
  508. font-size: 26rpx;
  509. image {
  510. height: 88rpx;
  511. width: 88rpx;
  512. margin-bottom: 14rpx;
  513. border-radius: 50%;
  514. opacity: 0.7;
  515. }
  516. }
  517. }
  518. // 红会科普
  519. .science-section {
  520. width: 100%;
  521. background-color: #ffffff;
  522. margin-top: 18rpx;
  523. padding-top: 30rpx;
  524. .science-title {
  525. display: flex;
  526. justify-content: center;
  527. align-items: center;
  528. padding-bottom: 22rpx;
  529. .title {
  530. width: 285rpx;
  531. height: 64rpx;
  532. background-color: #ca121e;
  533. border-radius: 32rpx;
  534. color: #ffffff;
  535. font-size: 32rpx;
  536. line-height: 64rpx;
  537. text-align: center;
  538. }
  539. image {
  540. width: 68rpx;
  541. height: 43rpx;
  542. margin-left: 16rpx;
  543. margin-right: 16rpx;
  544. }
  545. }
  546. .science-box {
  547. padding-left: 15rpx;
  548. padding-right: 15rpx;
  549. padding-bottom: 20rpx;
  550. border-bottom: 1rpx solid #f0f0f0;
  551. white-space: nowrap;
  552. display: flex;
  553. width: 100%;
  554. // .uni-scroll-view-content{
  555. // display: flex;
  556. // }
  557. .science-content {
  558. // width: 100%;
  559. // display: flex;
  560. display: -webkit-box;
  561. .science-item {
  562. width: 198rpx;
  563. margin-right: 24rpx;
  564. display: flex;
  565. flex-direction: column;
  566. align-items: center;
  567. image {
  568. width: 100%;
  569. height: 145rpx;
  570. }
  571. .article-title {
  572. max-width: 200rpx;
  573. color: #333;
  574. font-size: 25rpx;
  575. padding-top: 20rpx;
  576. padding-bottom: 16rpx;
  577. font-weight: 900;
  578. }
  579. .article-content {
  580. max-width: 200rpx;
  581. color: #999999;
  582. font-size: 18rpx;
  583. overflow: hidden;
  584. text-overflow: ellipsis;
  585. white-space: nowrap;
  586. }
  587. }
  588. }
  589. }
  590. .science-more {
  591. display: flex;
  592. justify-content: center;
  593. align-items: center;
  594. color: #cb131c;
  595. font-size: 30rpx;
  596. padding-top: 18rpx;
  597. padding-bottom: 18rpx;
  598. image {
  599. width: 20rpx;
  600. height: 27rpx;
  601. }
  602. }
  603. }
  604. // sos急救中心
  605. .system {
  606. width: 100%;
  607. background-color: #ffffff;
  608. margin-top: 18rpx;
  609. padding-top: 40rpx;
  610. // padding-bottom: 45rpx;
  611. // margin-bottom: 43rpx;
  612. padding-bottom: 50px;
  613. margin-bottom: 84rpx;
  614. .system-title {
  615. display: flex;
  616. justify-content: center;
  617. align-items: center;
  618. padding-bottom: 22rpx;
  619. .title {
  620. width: 285rpx;
  621. height: 64rpx;
  622. background-color: #ca121e;
  623. border-radius: 32rpx;
  624. color: #ffffff;
  625. font-size: 32rpx;
  626. line-height: 64rpx;
  627. text-align: center;
  628. }
  629. .img {
  630. width: 68rpx;
  631. height: 43rpx;
  632. margin-left: 16rpx;
  633. margin-right: 16rpx;
  634. image {
  635. width: 68rpx;
  636. height: 43rpx;
  637. }
  638. }
  639. }
  640. .system-map {
  641. width: 750rpx;
  642. height: 500rpx;
  643. background-color: #ffffff;
  644. padding: 0 24rpx;
  645. padding-bottom: 45rpx;
  646. .map-box {
  647. width: 100%;
  648. height: 500rpx;
  649. background-color: #f8f8f8;
  650. image {
  651. width: 100%;
  652. height: 500rpx;
  653. }
  654. }
  655. }
  656. }
  657. }
  658. .science-more {
  659. background-color: #fff;
  660. display: flex;
  661. justify-content: center;
  662. align-items: center;
  663. color: #e63931;
  664. font-size: 30rpx;
  665. padding-top: 18rpx;
  666. padding-bottom: 18rpx;
  667. image {
  668. width: 20rpx;
  669. height: 27rpx;
  670. }
  671. }
  672. .popup_rows {
  673. // margin-top: 108rpx;
  674. height: 440rpx;
  675. border-radius: 25rpx;
  676. width: 100%;
  677. padding: 24rpx;
  678. background-color: #f8f8f8;
  679. z-index: 999;
  680. .title {
  681. border-bottom: 2rpx solid #f2f2f2;
  682. color: #e63931;
  683. font-size: 32rpx;
  684. padding-left: 4rpx;
  685. padding-bottom: 16rpx;
  686. display: flex;
  687. justify-content: space-between;
  688. // align-items: center;
  689. .cancel {
  690. margin-left: 52rpx;
  691. width: 36rpx;
  692. height: 36rpx;
  693. image {
  694. width: 36rpx;
  695. height: 36rpx;
  696. }
  697. }
  698. }
  699. .inpBox {
  700. margin-top: 52rpx;
  701. border: 2px solid #f2f2f2;
  702. padding: 12rpx 24rpx;
  703. color: #ff9797;
  704. border-radius: 8rpx;
  705. .input-placeholder {
  706. // height: 70rpx;
  707. font-size: 32rpx;
  708. color: #ff9797;
  709. }
  710. }
  711. .inpedit {
  712. margin-top: 24rpx;
  713. margin-left: 14rpx;
  714. font-size: 28rpx;
  715. color: #ff9797;
  716. }
  717. .comfirm {
  718. display: flex;
  719. justify-content: flex-end;
  720. margin-top: 54rpx;
  721. .comfirm1 {
  722. padding: 12rpx 24rpx;
  723. border-radius: 12rpx;
  724. color: #ffffff;
  725. background-color: #e63931;
  726. }
  727. }
  728. }
  729. .location-item {
  730. // width: 710rpx;
  731. background-color: #fff;
  732. z-index: 10;
  733. display: flex;
  734. justify-content: space-between;
  735. align-items: center;
  736. border-bottom: 1rpx solid #e7e8ea;
  737. padding: 15rpx 30rpx;
  738. // margin: auto;
  739. .box-left {
  740. display: flex;
  741. .img01 {
  742. width: 8rpx;
  743. height: 28rpx;
  744. margin-right: 18rpx;
  745. image {
  746. width: 8rpx;
  747. height: 28rpx;
  748. }
  749. }
  750. .img02 {
  751. width: 117rpx;
  752. height: 117rpx;
  753. border-radius: 50%;
  754. image {
  755. width: 117rpx;
  756. height: 117rpx;
  757. border-radius: 50%;
  758. }
  759. }
  760. .info {
  761. margin-left: 16rpx;
  762. .info-header {
  763. display: flex;
  764. align-items: center;
  765. .name {
  766. font-size: 32rpx;
  767. color: #333333;
  768. }
  769. .distance {
  770. margin-left: 25rpx;
  771. font-size: 28rpx;
  772. color: #303133;
  773. }
  774. .location-icon {
  775. margin-left: 10rpx;
  776. width: 20rpx;
  777. height: 26rpx;
  778. image {
  779. width: 20rpx;
  780. height: 26rpx;
  781. display: inline;
  782. }
  783. }
  784. }
  785. .address {
  786. font-size: 26rpx;
  787. color: #333333;
  788. margin-top: 33rpx;
  789. }
  790. }
  791. }
  792. .box-right {
  793. .img {
  794. height: 107rpx;
  795. image {
  796. width: 107rpx;
  797. height: 107rpx;
  798. }
  799. }
  800. .called {
  801. margin-right: 16rpx;
  802. height: 107rpx;
  803. line-height: 107rpx;
  804. font-size: 28rpx;
  805. color: #cb131c;
  806. }
  807. }
  808. }
  809. </style>