|
|
@@ -3,7 +3,9 @@
|
|
|
<!-- 轮播 -->
|
|
|
<view class="carousel-section">
|
|
|
<swiper class="carousel" :autoplay="true" :interval="3000" :duration="1000">
|
|
|
- <swiper-item v-for="item in carouselList" :key="item.id"><image :src="item.pic"></image></swiper-item>
|
|
|
+ <swiper-item v-for="item in carouselList" :key="item.id">
|
|
|
+ <image :src="item.pic"></image>
|
|
|
+ </swiper-item>
|
|
|
</swiper>
|
|
|
</view>
|
|
|
|
|
|
@@ -71,37 +73,72 @@
|
|
|
<!-- sos急救系统 -->
|
|
|
<view class="system">
|
|
|
<view class="system-title">
|
|
|
- <view class="img"><image src="../../static/img/wings-left.png"></image></view>
|
|
|
+ <view class="img">
|
|
|
+ <image src="../../static/img/wings-left.png"></image>
|
|
|
+ </view>
|
|
|
<view class="title" @click="tolocation">救在身边</view>
|
|
|
- <view class="img"><image src="../../static/img/wings-right.png"></image></view>
|
|
|
+ <view class="img">
|
|
|
+ <image src="../../static/img/wings-right.png"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="system-map">
|
|
|
- <view class="map-box" @click="tolocation"><image src="../../static/img/map.jpg" mode=""></image></view>
|
|
|
+ <map @click="tolocation" :show-location="false" class="map-box" id="mapjzsb" :markers="markerjzsb"
|
|
|
+ :scale="scale" :latitude="latitude4" :longitude="longitude4" ref="mapjzsb" style="height: 450rpx"></map>
|
|
|
+ <!-- <view class="map-box" @click="tolocation"><image src="../../static/img/map.jpg" mode=""></image></view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+ <view v-for="(item, index) in jzsbList" :key="item.id">
|
|
|
+ <view class="location-item">
|
|
|
+ <view class="box-left">
|
|
|
+ <view class="img01">
|
|
|
+ <image src="../../static/img/line01.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+ <view class="img02">
|
|
|
+ <image src="../../static/img/002.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="img02" v-else><image src="../../static/img/missing-face.png" mode=""></image></view> -->
|
|
|
+ <view class="info">
|
|
|
+ <view class="info-header">
|
|
|
+ <view class="name">救护员{{ index + 1 }}</view>
|
|
|
+ <view class="distance">{{ item.num }}km</view>
|
|
|
+ <view class="location-icon">
|
|
|
+ <image src="../../static/img/location-icon.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="address">{{ item.address }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="box-right" @click="rescue(item, index)">
|
|
|
+ <view class="img" v-if="!item.is">
|
|
|
+ <image src="../../static/img/rescue.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+ <view class="called" v-if="item.is">已呼叫</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <navigator class="science-more" url="/pages/applic/location">
|
|
|
+ 查看更多
|
|
|
+ <image src="../../static/icon/moreRight.png" mode=""></image>
|
|
|
+ <image src="../../static/icon/moreRight.png" mode=""></image>
|
|
|
+ </navigator>
|
|
|
<view class="list-box">
|
|
|
<view class="system-title">
|
|
|
- <view class="img"><image src="../../static/img/wings-left.png"></image></view>
|
|
|
- <view class="title" @click="tolocation">救护站</view>
|
|
|
- <view class="img"><image src="../../static/img/wings-right.png"></image></view>
|
|
|
+ <view class="img">
|
|
|
+ <image src="../../static/img/wings-left.png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="title">救护站</view>
|
|
|
+ <view class="img">
|
|
|
+ <image src="../../static/img/wings-right.png"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view id="container">
|
|
|
- <map
|
|
|
- class="map-box"
|
|
|
- id="map"
|
|
|
- show-location
|
|
|
- :markers="marker"
|
|
|
- :scale="scale"
|
|
|
- :latitude="latitude4"
|
|
|
- :longitude="longitude4"
|
|
|
- ref="map"
|
|
|
- style="height: 450rpx"
|
|
|
- @markertap="markertap"
|
|
|
- ></map>
|
|
|
+ <map class="map-box" id="map" :show-location="false" :markers="marker" :scale='scale'
|
|
|
+ :latitude="latitude4" :longitude="longitude4" ref="map" style="height: 450rpx"
|
|
|
+ @markertap='markertap'>
|
|
|
+ </map>
|
|
|
</view>
|
|
|
<view class="">
|
|
|
- <view class="list-tpl flex" @click="openAddress(item)" v-for="(item, index) in AEDList" :key="item.id">
|
|
|
+ <view class="list-tpl flex" @click="openAddress(item)" v-for="(item,index) in AEDList" :key="item.id">
|
|
|
<view class="list-left">
|
|
|
<view class="number">{{ index + 1 }}</view>
|
|
|
<view class="info">
|
|
|
@@ -109,7 +146,7 @@
|
|
|
<view class="addr">地址:{{ item.address }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<view class="image">
|
|
|
<image src="../../static/img/img10.png"></image>
|
|
|
<view class="tip">导航</view>
|
|
|
@@ -118,6 +155,11 @@
|
|
|
<!-- <uni-load-more :status="loadingType"></uni-load-more> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <navigator class="science-more" url="/pages/applic/aid">
|
|
|
+ 查看更多
|
|
|
+ <image src="../../static/icon/moreRight.png" mode=""></image>
|
|
|
+ <image src="../../static/icon/moreRight.png" mode=""></image>
|
|
|
+ </navigator>
|
|
|
<uni-popup ref="popup" type="bottom" @click="close">
|
|
|
<view class="popup_row">
|
|
|
<view class="rows">
|
|
|
@@ -132,6 +174,21 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
+ <uni-popup ref="popups" type="center">
|
|
|
+ <view class="popup_rows">
|
|
|
+ <view class="title">
|
|
|
+ <view class="title-left">请输入您的手机号,等待救援!</view>
|
|
|
+ <view class="cancel" @click="cancel">
|
|
|
+ <image src="../../static/img/cancel1.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="inpBox"><input type="text" value="" placeholder="请输入您的手机号" v-model="to_phone" /></view>
|
|
|
+ <view class="inpedit">可在方框中修改您的手机号</view>
|
|
|
+ <view class="comfirm">
|
|
|
+ <view class="comfirm1" @click="comfirm1()">确认</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
<!-- <view class="base-map">
|
|
|
<view class="system-title">
|
|
|
<view class="img">
|
|
|
@@ -148,127 +205,170 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import {
|
|
|
- loadIndexs,
|
|
|
- bannerlist,
|
|
|
- getListAED,
|
|
|
- getDistance
|
|
|
-} from '@/api/index.js';
|
|
|
-import {
|
|
|
- saveUrl,
|
|
|
- interceptor
|
|
|
-} from '@/utils/loginUtils.js';
|
|
|
-import {
|
|
|
- mapState,
|
|
|
- mapMutations
|
|
|
-} from 'vuex';
|
|
|
-import {
|
|
|
- userinfo
|
|
|
-} from '@/api/user.js';
|
|
|
-import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
|
|
-import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
|
|
|
-import {
|
|
|
- getLoca
|
|
|
-} from '@/utils/wxAuthorized.js';
|
|
|
-import {
|
|
|
- getcomAddress
|
|
|
-} from '@/api/index.js';
|
|
|
-export default {
|
|
|
- components: {
|
|
|
- uniPopup,
|
|
|
- uniLoadMore
|
|
|
- },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- carouselList: [], //轮播
|
|
|
- science: [], //文章列表
|
|
|
- page: 1,
|
|
|
- limit: 10,
|
|
|
- AEDList: [],
|
|
|
- latitude2: '',
|
|
|
- longitude2: '',
|
|
|
- latitude4: '',
|
|
|
- longitude4: '',
|
|
|
- address: '',
|
|
|
- loadingType: 'more',
|
|
|
- markerList: [],
|
|
|
- marker: [],
|
|
|
- longitude: '121.15829821166992',
|
|
|
- latitude: "30.044394499237708",
|
|
|
- longitude1: '120.553638',
|
|
|
- latitude1: "30.547011",
|
|
|
- scale: '12', //地图缩放程度
|
|
|
- scale1: '15',
|
|
|
- showbox: false,
|
|
|
- showTEXT: false,
|
|
|
- addressData: {
|
|
|
- name: '',
|
|
|
- mobile: '',
|
|
|
- latitude: 0, //纬度
|
|
|
- longitude: 0, //经度
|
|
|
- address: {
|
|
|
- province: '',
|
|
|
- city: '',
|
|
|
- district: '',
|
|
|
- detail: '',
|
|
|
+ import {
|
|
|
+ loadIndexs,
|
|
|
+ bannerlist,
|
|
|
+ getListAED,
|
|
|
+ getDistance,
|
|
|
+ getdis
|
|
|
+ } from '@/api/index.js';
|
|
|
+ import {
|
|
|
+ saveUrl,
|
|
|
+ interceptor
|
|
|
+ } from '@/utils/loginUtils.js';
|
|
|
+ import {
|
|
|
+ mapState,
|
|
|
+ mapMutations
|
|
|
+ } from 'vuex';
|
|
|
+ import {
|
|
|
+ userinfo
|
|
|
+ } from '@/api/user.js';
|
|
|
+ import uniPopup from '@/components/uni-popup/uni-popup.vue';
|
|
|
+ import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
|
|
|
+ import {
|
|
|
+ getLoca
|
|
|
+ } from '@/utils/wxAuthorized.js';
|
|
|
+ import {
|
|
|
+ getcomAddress
|
|
|
+ } from '@/api/index.js';
|
|
|
+ export default {
|
|
|
+ components: {
|
|
|
+ uniPopup,
|
|
|
+ uniLoadMore
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ to_phone: '',
|
|
|
+ jzsbList: [],
|
|
|
+ carouselList: [], //轮播
|
|
|
+ science: [], //文章列表
|
|
|
+ page: 1,
|
|
|
+ limit: 10,
|
|
|
+ AEDList: [],
|
|
|
+ latitude2: '',
|
|
|
+ longitude2: '',
|
|
|
+ latitude4: '',
|
|
|
+ longitude4: '',
|
|
|
+ address: '',
|
|
|
+ loadingType: 'more',
|
|
|
+ markerList: [],
|
|
|
+ marker: [],
|
|
|
+ marker1: [],
|
|
|
+ markerjzsb: [],
|
|
|
+ longitude: '121.44297',
|
|
|
+ latitude: "28.67307",
|
|
|
+ longitude1: '120.553638',
|
|
|
+ latitude1: "30.547011",
|
|
|
+ scale: '12', //地图缩放程度
|
|
|
+ scale1: '15',
|
|
|
+ showbox: false,
|
|
|
+ showTEXT: false,
|
|
|
+ addressData: {
|
|
|
+ name: '',
|
|
|
+ mobile: '',
|
|
|
+ latitude: 0, //纬度
|
|
|
+ longitude: 0, //经度
|
|
|
+ address: {
|
|
|
+ province: '',
|
|
|
+ city: '',
|
|
|
+ district: '',
|
|
|
+ detail: '',
|
|
|
+ },
|
|
|
+ area: '',
|
|
|
+ default: false
|
|
|
},
|
|
|
- area: '',
|
|
|
- default: false
|
|
|
- },
|
|
|
- baseLongitude: 114.316738,
|
|
|
- baseLatitude: 30.353495,
|
|
|
- baseMarker: [{ id: 'baseAddr',latitude: 30.353495, longitude: 114.316738, iconPath: '../../static/img/location-icon.png' }]
|
|
|
-
|
|
|
- };
|
|
|
- },
|
|
|
- onShow() {
|
|
|
- saveUrl()
|
|
|
- // let token = uni.getStorageSync('token');
|
|
|
- console.log(11, this);
|
|
|
- if (!this.hasLogin) {
|
|
|
- // 登录拦截
|
|
|
- // interceptor();
|
|
|
- uni.showModal({
|
|
|
- title: '登录',
|
|
|
- content: '您未登录,是否马上登陆?',
|
|
|
- success: e => {
|
|
|
- if (e.confirm) {
|
|
|
- interceptor();
|
|
|
+ baseLongitude: 114.316738,
|
|
|
+ baseLatitude: 30.353495,
|
|
|
+ baseMarker: [{
|
|
|
+ id: 'baseAddr',
|
|
|
+ latitude: 30.353495,
|
|
|
+ longitude: 114.316738,
|
|
|
+ iconPath: '../../static/img/location-icon.png'
|
|
|
+ }]
|
|
|
+
|
|
|
+ };
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+ saveUrl()
|
|
|
+ // let token = uni.getStorageSync('token');
|
|
|
+ console.log(11, this);
|
|
|
+ if (!this.hasLogin) {
|
|
|
+ // 登录拦截
|
|
|
+ // interceptor();
|
|
|
+ uni.showModal({
|
|
|
+ title: '登录',
|
|
|
+ content: '您未登录,是否马上登陆?',
|
|
|
+ success: e => {
|
|
|
+ if (e.confirm) {
|
|
|
+ interceptor();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ fail: e => {
|
|
|
+ console.log(e);
|
|
|
}
|
|
|
- },
|
|
|
- fail: e => {
|
|
|
- console.log(e);
|
|
|
- }
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.loadData();
|
|
|
- }
|
|
|
- },
|
|
|
- onLoad() {
|
|
|
- // uni.showModal({
|
|
|
- // content: '请选择您当前位置',
|
|
|
- // success: res => {
|
|
|
- // if (res.confirm) {
|
|
|
- // this.chooseAddress()
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
- saveUrl()
|
|
|
- let obj = this;
|
|
|
- try {
|
|
|
- let locationAddress
|
|
|
- // #ifdef H5
|
|
|
- let wxOjb = require('jweixin-module');
|
|
|
- locationAddress = wxOjb.getLocation;
|
|
|
- // #endif
|
|
|
- // #ifdef MP
|
|
|
- locationAddress = uni.getLocation;
|
|
|
- // #endif
|
|
|
- // #ifdef H5
|
|
|
- wxOjb.ready(() => {
|
|
|
- console.log('加载完毕注册事件');
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.loadData();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onLoad() {
|
|
|
+ // this.getJzsb()
|
|
|
+ // uni.showModal({
|
|
|
+ // content: '请选择您当前位置',
|
|
|
+ // success: res => {
|
|
|
+ // if (res.confirm) {
|
|
|
+ // this.chooseAddress()
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ saveUrl()
|
|
|
+ let obj = this;
|
|
|
+ try {
|
|
|
+ let locationAddress
|
|
|
+ // #ifdef H5
|
|
|
+ let wxOjb = require('jweixin-module');
|
|
|
+ locationAddress = wxOjb.getLocation;
|
|
|
+ // #endif
|
|
|
+ // #ifdef MP
|
|
|
+ locationAddress = uni.getLocation;
|
|
|
+ // #endif
|
|
|
+ // #ifdef H5
|
|
|
+ wxOjb.ready(() => {
|
|
|
+ console.log('加载完毕注册事件');
|
|
|
+ locationAddress({
|
|
|
+ type: 'gcj02',
|
|
|
+ success: function(res) {
|
|
|
+ console.log('获取经纬度', res);
|
|
|
+ obj.longitude4 = res.longitude
|
|
|
+ obj.latitude4 = res.latitude
|
|
|
+ obj.marker = [{
|
|
|
+ longitude: res.longitude,
|
|
|
+ latitude: res.latitude,
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }, ]
|
|
|
+ obj.marker1 = [{
|
|
|
+ longitude: res.longitude,
|
|
|
+ latitude: res.latitude,
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }]
|
|
|
+ obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
+ },
|
|
|
+ fail(e) {
|
|
|
+ console.log('失败', e);
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
+
|
|
|
+ // #ifdef MP
|
|
|
locationAddress({
|
|
|
- type: 'wgs84',
|
|
|
+ type: 'gcj02',
|
|
|
success: function(res) {
|
|
|
console.log('获取经纬度', res);
|
|
|
obj.longitude4 = res.longitude
|
|
|
@@ -279,673 +379,918 @@ export default {
|
|
|
iconPath: '/static/img/img19.png',
|
|
|
width: '45',
|
|
|
height: '45',
|
|
|
- }, ]
|
|
|
+ }]
|
|
|
+ obj.marker1 = [{
|
|
|
+ longitude: res.longitude,
|
|
|
+ latitude: res.latitude,
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }]
|
|
|
obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
window.location.reload();
|
|
|
}
|
|
|
});
|
|
|
- })
|
|
|
- // #endif
|
|
|
-
|
|
|
- // #ifdef MP
|
|
|
- locationAddress({
|
|
|
- type: 'wgs84',
|
|
|
- success: function(res) {
|
|
|
- console.log('获取经纬度', res);
|
|
|
- obj.longitude4 = res.longitude
|
|
|
- obj.latitude4 = res.latitude
|
|
|
- obj.marker = [{
|
|
|
- longitude: res.longitude,
|
|
|
- latitude: res.latitude,
|
|
|
- iconPath: '/static/img/img19.png',
|
|
|
- width: '45',
|
|
|
- height: '45',
|
|
|
- }]
|
|
|
- obj.loadData();
|
|
|
- },
|
|
|
- fail(e) {
|
|
|
- console.log('失败', e);
|
|
|
- window.location.reload();
|
|
|
- }
|
|
|
- });
|
|
|
- // #endif
|
|
|
- } catch (e) {
|
|
|
- let locationAddress
|
|
|
- // #ifdef H5
|
|
|
- let wxOjb = require('jweixin-module');
|
|
|
- locationAddress = wxOjb.getLocation;
|
|
|
- // #endif
|
|
|
- // #ifdef MP
|
|
|
- locationAddress = uni.getLocation;
|
|
|
- // #endif
|
|
|
- // #ifdef H5
|
|
|
- wxOjb.ready(() => {
|
|
|
- console.log('加载完毕注册事件');
|
|
|
+ // #endif
|
|
|
+ } catch (e) {
|
|
|
+ let locationAddress
|
|
|
+ // #ifdef H5
|
|
|
+ let wxOjb = require('jweixin-module');
|
|
|
+ locationAddress = wxOjb.getLocation;
|
|
|
+ // #endif
|
|
|
+ // #ifdef MP
|
|
|
+ locationAddress = uni.getLocation;
|
|
|
+ // #endif
|
|
|
+ // #ifdef H5
|
|
|
+ wxOjb.ready(() => {
|
|
|
+ console.log('加载完毕注册事件');
|
|
|
+ locationAddress({
|
|
|
+ type: 'gcj02',
|
|
|
+ success: function(res) {
|
|
|
+ console.log('获取经纬度', res);
|
|
|
+ obj.longitude4 = res.longitude
|
|
|
+ obj.latitude4 = res.latitude
|
|
|
+ obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
+ },
|
|
|
+ fail(e) {
|
|
|
+ console.log('失败', e);
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
+ // #ifdef MP
|
|
|
locationAddress({
|
|
|
- type: 'wgs84',
|
|
|
+ type: 'gcj02',
|
|
|
success: function(res) {
|
|
|
console.log('获取经纬度', res);
|
|
|
obj.longitude4 = res.longitude
|
|
|
obj.latitude4 = res.latitude
|
|
|
obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
window.location.reload();
|
|
|
}
|
|
|
});
|
|
|
- })
|
|
|
- // #endif
|
|
|
- // #ifdef MP
|
|
|
- locationAddress({
|
|
|
- type: 'wgs84',
|
|
|
- success: function(res) {
|
|
|
- console.log('获取经纬度', res);
|
|
|
- obj.longitude4 = res.longitude
|
|
|
- obj.latitude4 = res.latitude
|
|
|
- obj.loadData();
|
|
|
- },
|
|
|
- fail(e) {
|
|
|
- console.log('失败', e);
|
|
|
- window.location.reload();
|
|
|
- }
|
|
|
- });
|
|
|
- // #endif
|
|
|
- }
|
|
|
- },
|
|
|
- computed: {
|
|
|
- ...mapState('user', ['userInfo', 'baseURL', 'hasLogin'])
|
|
|
- },
|
|
|
- // 下拉加载
|
|
|
- onReachBottom() {
|
|
|
- this.loadData();
|
|
|
- },
|
|
|
- methods: {
|
|
|
- ...mapMutations('user', ['setUserInfo']),
|
|
|
- tocontribution() {
|
|
|
- uni.navigateTo({
|
|
|
- // url: "/pages/applic/contribution"
|
|
|
- url: "/pages/form/applicationForm"
|
|
|
- })
|
|
|
- },
|
|
|
- // 调用高德
|
|
|
- toGaodeMap() {
|
|
|
- let latitude = this.latitude2
|
|
|
- let longitude = this.longitude2
|
|
|
- let address = this.address
|
|
|
- console.log('选择高德', latitude, longitude, address)
|
|
|
- // window.location.href = 'https://uri.amap.com/marker?position=30.537043,120.567191&name=浙江省嘉兴市桐乡市高桥镇高桥大道51号'
|
|
|
- window.location.href = `https://uri.amap.com/marker?position=${longitude},${latitude}&name=${address}`
|
|
|
-
|
|
|
- // window.location.href = `http://uri.amap.com/navigation?from=114.02597366,22.54605355&to=114.029243,22.609562&mode=car&src=nyx_super`
|
|
|
- // http://uri.amap.com/navigation?from=" + fromLongitude + "," + fromLatitude + "&to="+ longitude + "," + latitude + "&mode=car&src=nyx_super
|
|
|
+ // #endif
|
|
|
+ }
|
|
|
},
|
|
|
- // 调用腾讯
|
|
|
- totengxunMap() {
|
|
|
- let latitude = this.latitude2
|
|
|
- let longitude = this.longitude2
|
|
|
- let address = this.address
|
|
|
- console.log('选择腾讯', latitude, longitude)
|
|
|
- window.location.href = `http://apis.map.qq.com/uri/v1/marker?marker=coord:${latitude},${longitude};addr:${address}`;
|
|
|
+ computed: {
|
|
|
+ ...mapState('user', ['userInfo', 'baseURL', 'hasLogin'])
|
|
|
},
|
|
|
- // 调用百度
|
|
|
- tobaiDuMap() {
|
|
|
- let latitude = this.latitude2
|
|
|
- let longitude = this.longitude2
|
|
|
- let latitude6 = this.latitude4
|
|
|
- let longitude6 = this.longitude4
|
|
|
- let address = this.address
|
|
|
- console.log('选择百度', latitude, longitude)
|
|
|
- console.log('获取当前经纬度', latitude6, longitude6)
|
|
|
- window.location.href =
|
|
|
- `http://api.map.baidu.com/direction?origin=latlng:${latitude6},${longitude6}|name:我的位置&destination=${latitude},${longitude}&mode=driving®ion=${ address }&output=html&src=webapp.baidu.openAPIdemo`
|
|
|
- //`bdapp://map/navi?location=${longitude},${latitude}&coord_type=gc02&title=${address}&content=${address}&output=html&src=andr.baidu.openAPIdemo `
|
|
|
+ // 下拉加载
|
|
|
+ onReachBottom() {
|
|
|
+ this.loadData();
|
|
|
},
|
|
|
- // 调用谷歌
|
|
|
- toGoogleMap() {
|
|
|
- let latitude = this.latitude2
|
|
|
- let longitude = this.longitude2
|
|
|
- console.log('选择谷歌', latitude, longitude)
|
|
|
+ methods: {
|
|
|
+ ...mapMutations('user', ['setUserInfo']),
|
|
|
+ cancel() {
|
|
|
+ this.$refs.popups.close();
|
|
|
+ },
|
|
|
+ comfirm1: function() {
|
|
|
+ let obj = this;
|
|
|
+ if (obj.to_phone.toString().trim() == '') {
|
|
|
+ // uni.showModal({
|
|
|
+ // title:'输入框为空',
|
|
|
+ // // content:JSON.stringify(obj)
|
|
|
+ // })
|
|
|
+ } else {
|
|
|
+ console.log('obj.to_phone1111', obj.to_phone);
|
|
|
+ const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
|
|
|
+ if (!reg.test(obj.to_phone)) {
|
|
|
+ obj.$api.msg('请填写正确的手机号码');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ console.log('name:', obj.name);
|
|
|
+ console.log('uid:', obj.uid);
|
|
|
+ console.log('phone', obj.phone);
|
|
|
+ console.log('to_phone', obj.to_phone);
|
|
|
+ console.log('longitude', obj.longitude);
|
|
|
+ console.log('latitude', obj.latitude);
|
|
|
+ console.log('iscall', obj.iscall);
|
|
|
+ tocall({
|
|
|
+ name: obj.name,
|
|
|
+ uid: obj.uid,
|
|
|
+ phone: obj.phone,
|
|
|
+ longitude: obj.longitude4,
|
|
|
+ latitude: obj.latitude4,
|
|
|
+ to_phone: obj.to_phone
|
|
|
+ }).then(data => {
|
|
|
+ console.log(99988, data);
|
|
|
+ uni.showModal({
|
|
|
+ title: '请耐心等待救援',
|
|
|
+ success: res => {
|
|
|
+ if (res.confirm) {
|
|
|
+ window.location.reload(); //重新刷新页面
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ obj.$refs.popups.close();
|
|
|
+ obj.iscall = false;
|
|
|
+ console.log(123, obj.iscall);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 立即救援
|
|
|
+ rescue(item, index) {
|
|
|
+ let obj = this;
|
|
|
+ uni.showModal({
|
|
|
+ content: '是否发起求救?',
|
|
|
+ success: res => {
|
|
|
+ if (res.confirm) {
|
|
|
+ this.$refs.popups.open(item, index);
|
|
|
+ obj.name = item.name;
|
|
|
+ obj.uid = item.uid;
|
|
|
+ obj.phone = item.phone;
|
|
|
+ obj.iscall = false;
|
|
|
+ console.log('点击救援时item.phone:', obj.phone);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ tocontribution() {
|
|
|
+ uni.navigateTo({
|
|
|
+ // url: "/pages/applic/contribution"
|
|
|
+ url: "/pages/form/applicationForm"
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 调用高德
|
|
|
+ toGaodeMap() {
|
|
|
+ let latitude = this.latitude2
|
|
|
+ let longitude = this.longitude2
|
|
|
+ let address = this.address
|
|
|
+ console.log('选择高德', latitude, longitude, address)
|
|
|
+ // window.location.href = 'https://uri.amap.com/marker?position=30.537043,120.567191&name=浙江省嘉兴市桐乡市高桥镇高桥大道51号'
|
|
|
+ window.location.href = `https://uri.amap.com/marker?position=${longitude},${latitude}&name=${address}`
|
|
|
|
|
|
- },
|
|
|
- tolocation() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/applic/location"
|
|
|
- })
|
|
|
- },
|
|
|
- toapplic() {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/applic/appliSystem"
|
|
|
- })
|
|
|
- },
|
|
|
- tohelpActi() {
|
|
|
- uni.navigateTo({
|
|
|
- // url: "/pages/applic/tohelpActi"
|
|
|
- url: "/pages/form/tovolApply"
|
|
|
- })
|
|
|
- },
|
|
|
- toOrgan() {
|
|
|
- console.log('kepuxingbaoming')
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/train/index"
|
|
|
- })
|
|
|
- },
|
|
|
- // 点击图标
|
|
|
- markertap(e) {
|
|
|
- console.log(e.target.markerId);
|
|
|
- this.$refs.popup.open();
|
|
|
- let obj = this;
|
|
|
- for (let i = 0; i < obj.marker.length; i++) {
|
|
|
- if (e.target.markerId == obj.marker[i].id) {
|
|
|
- obj.latitude2 = obj.marker[i].latitude;
|
|
|
- obj.longitude2 = obj.marker[i].longitude;
|
|
|
- obj.address = obj.marker[i].address;
|
|
|
- // uni.showModal({
|
|
|
- // title: '坐标',
|
|
|
- // content: JSON.stringify(obj.marker[i]),
|
|
|
- // success() {
|
|
|
- // uni.showModal({
|
|
|
- // title: '成功',
|
|
|
- // content: obj.marker[i].latitude
|
|
|
- // })
|
|
|
- // }
|
|
|
- // })
|
|
|
+ // window.location.href = `http://uri.amap.com/navigation?from=114.02597366,22.54605355&to=114.029243,22.609562&mode=car&src=nyx_super`
|
|
|
+ // http://uri.amap.com/navigation?from=" + fromLongitude + "," + fromLatitude + "&to="+ longitude + "," + latitude + "&mode=car&src=nyx_super
|
|
|
+ },
|
|
|
+ // 调用腾讯
|
|
|
+ totengxunMap() {
|
|
|
+ let latitude = this.latitude2
|
|
|
+ let longitude = this.longitude2
|
|
|
+ let address = this.address
|
|
|
+ console.log('选择腾讯', latitude, longitude)
|
|
|
+ window.location.href =
|
|
|
+ `http://apis.map.qq.com/uri/v1/marker?marker=coord:${latitude},${longitude};addr:${address}`;
|
|
|
+ },
|
|
|
+ // 调用百度
|
|
|
+ tobaiDuMap() {
|
|
|
+ let latitude = this.latitude2
|
|
|
+ let longitude = this.longitude2
|
|
|
+ let latitude6 = this.latitude4
|
|
|
+ let longitude6 = this.longitude4
|
|
|
+ let address = this.address
|
|
|
+ console.log('选择百度', latitude, longitude)
|
|
|
+ console.log('获取当前经纬度', latitude6, longitude6)
|
|
|
+ window.location.href =
|
|
|
+ `http://api.map.baidu.com/direction?origin=latlng:${latitude6},${longitude6}|name:我的位置&destination=${latitude},${longitude}&mode=driving®ion=${ address }&output=html&src=webapp.baidu.openAPIdemo`
|
|
|
+ //`bdapp://map/navi?location=${longitude},${latitude}&coord_type=gc02&title=${address}&content=${address}&output=html&src=andr.baidu.openAPIdemo `
|
|
|
+ },
|
|
|
+ // 调用谷歌
|
|
|
+ toGoogleMap() {
|
|
|
+ let latitude = this.latitude2
|
|
|
+ let longitude = this.longitude2
|
|
|
+ console.log('选择谷歌', latitude, longitude)
|
|
|
+
|
|
|
+ },
|
|
|
+ tolocation() {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/applic/location"
|
|
|
+ })
|
|
|
+ },
|
|
|
+ toapplic() {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/applic/appliSystem"
|
|
|
+ })
|
|
|
+ },
|
|
|
+ tohelpActi() {
|
|
|
+ uni.navigateTo({
|
|
|
+ // url: "/pages/applic/tohelpActi"
|
|
|
+ url: "/pages/form/tovolApply"
|
|
|
+ })
|
|
|
+ },
|
|
|
+ toOrgan() {
|
|
|
+ console.log('kepuxingbaoming')
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/train/index"
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 点击图标
|
|
|
+ markertap(e) {
|
|
|
+ console.log(e.target.markerId);
|
|
|
+ this.$refs.popup.open();
|
|
|
+ let obj = this;
|
|
|
+ for (let i = 0; i < obj.marker.length; i++) {
|
|
|
+ if (e.target.markerId == obj.marker[i].id) {
|
|
|
+ obj.latitude2 = obj.marker[i].latitude;
|
|
|
+ obj.longitude2 = obj.marker[i].longitude;
|
|
|
+ obj.address = obj.marker[i].address;
|
|
|
+ // uni.showModal({
|
|
|
+ // title: '坐标',
|
|
|
+ // content: JSON.stringify(obj.marker[i]),
|
|
|
+ // success() {
|
|
|
+ // uni.showModal({
|
|
|
+ // title: '成功',
|
|
|
+ // content: obj.marker[i].latitude
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- },
|
|
|
- loadData() {
|
|
|
- let obj = this;
|
|
|
- console.log('打印当前经纬度', obj.longitude4, obj.latitude4)
|
|
|
- userinfo({}).then(({
|
|
|
- data
|
|
|
- }) => {
|
|
|
- obj.setUserInfo(data);
|
|
|
- loadIndexs({}).then(({
|
|
|
+ },
|
|
|
+ loadData() {
|
|
|
+ let obj = this;
|
|
|
+ console.log('打印当前经纬度', obj.longitude4, obj.latitude4)
|
|
|
+ userinfo({}).then(({
|
|
|
data
|
|
|
}) => {
|
|
|
- obj.carouselList = data.banner; //轮播图
|
|
|
- bannerlist().then(({
|
|
|
+ obj.setUserInfo(data);
|
|
|
+ loadIndexs({}).then(({
|
|
|
data
|
|
|
}) => {
|
|
|
- console.log(data);
|
|
|
- obj.science = data;
|
|
|
+ obj.carouselList = data.banner; //轮播图
|
|
|
+ bannerlist().then(({
|
|
|
+ data
|
|
|
+ }) => {
|
|
|
+ console.log(data);
|
|
|
+ obj.science = data;
|
|
|
+ });
|
|
|
});
|
|
|
- });
|
|
|
|
|
|
- });
|
|
|
- if (obj.loadingType === 'noMore') {
|
|
|
- //防止重复加载
|
|
|
- return;
|
|
|
- }
|
|
|
- // 修改当前对象状态为加载中
|
|
|
- obj.loadingType = 'loading';
|
|
|
- // getListAED({
|
|
|
- // page: obj.page,
|
|
|
- // limit: obj.limit
|
|
|
- // }).then(({
|
|
|
- // data
|
|
|
- // }) => {
|
|
|
- // console.log(data, 999)
|
|
|
- // // obj.AEDList = data
|
|
|
- // obj.AEDList = obj.AEDList.concat(data);
|
|
|
- // obj.markerList = data
|
|
|
- // obj.page++;
|
|
|
- // if (obj.limit == data.length) {
|
|
|
- // obj.loadingType = 'more';
|
|
|
- // } else {
|
|
|
- // obj.loadingType = 'noMore';
|
|
|
- // }
|
|
|
- // })
|
|
|
- getDistance({
|
|
|
- lng1: obj.longitude4,
|
|
|
- lat1: obj.latitude4
|
|
|
- }).then(({
|
|
|
- data
|
|
|
- }) => {
|
|
|
- console.log(data, 980)
|
|
|
- obj.AEDList = data
|
|
|
- obj.AEDList = data.slice(0, 5)
|
|
|
- let arr = data.map(item => ({
|
|
|
- latitude: item.latitude,
|
|
|
- longitude: item.longitude,
|
|
|
- iconPath: '/static/img/img014.png',
|
|
|
- width: '35',
|
|
|
- height: '35',
|
|
|
- id: item.id,
|
|
|
- address: item.address
|
|
|
- }))
|
|
|
- obj.marker = obj.marker.concat(arr)
|
|
|
- obj.marker = obj.marker.slice(0, 6)
|
|
|
- // uni.showModal({
|
|
|
- // title: '提示',
|
|
|
- // content: JSON.stringify(obj.marker)
|
|
|
+ });
|
|
|
+ if (obj.loadingType === 'noMore') {
|
|
|
+ //防止重复加载
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ // 修改当前对象状态为加载中
|
|
|
+ obj.loadingType = 'loading';
|
|
|
+ // getListAED({
|
|
|
+ // page: obj.page,
|
|
|
+ // limit: obj.limit
|
|
|
+ // }).then(({
|
|
|
+ // data
|
|
|
+ // }) => {
|
|
|
+ // console.log(data, 999)
|
|
|
+ // // obj.AEDList = data
|
|
|
+ // obj.AEDList = obj.AEDList.concat(data);
|
|
|
+ // obj.markerList = data
|
|
|
+ // obj.page++;
|
|
|
+ // if (obj.limit == data.length) {
|
|
|
+ // obj.loadingType = 'more';
|
|
|
+ // } else {
|
|
|
+ // obj.loadingType = 'noMore';
|
|
|
+ // }
|
|
|
// })
|
|
|
- })
|
|
|
- },
|
|
|
- // 选择当前位置
|
|
|
- // chooseAddress() {
|
|
|
- // console.log('233')
|
|
|
- // let obj = this;
|
|
|
- // uni.chooseLocation({
|
|
|
- // success: function(res) {
|
|
|
- // console.log(res)
|
|
|
- // obj.addressData.area = res.name;
|
|
|
- // console.log('位置名称:' + res.name);
|
|
|
- // console.log('详细地址:' + res.address);
|
|
|
- // console.log('经度:' + res.longitude);
|
|
|
- // console.log('纬度:' + res.latitude);
|
|
|
- // obj.addressData.latitude = res.latitude;
|
|
|
- // obj.addressData.longitude = res.longitude;
|
|
|
- // obj.addressDetail = res.address;
|
|
|
- // console.log('common_address123',obj.addressDetail )
|
|
|
- // console.log('latitude123',obj.addressData.latitude )
|
|
|
- // console.log('longitude123',obj.addressData.longitude )
|
|
|
- // getcomAddress({
|
|
|
- // common_address: obj.addressDetail,
|
|
|
- // longitude: obj.addressData.longitude,
|
|
|
- // latitude: obj.addressData.latitude
|
|
|
- // }).then(data => {
|
|
|
- // console.log(333)
|
|
|
- // console.log(data);
|
|
|
- // if (data.status == 200) {
|
|
|
- // obj.$api.msg('保存成功')
|
|
|
- // }
|
|
|
- // })
|
|
|
- // }
|
|
|
- // });
|
|
|
- // },
|
|
|
- // 导航
|
|
|
- openAddress(item) {
|
|
|
- let obj = this
|
|
|
- obj.latitude2 = item.latitude
|
|
|
- obj.longitude2 = item.longitude
|
|
|
- obj.address = item.address
|
|
|
- this.$refs.popup.open();
|
|
|
- },
|
|
|
- Jump(item) {
|
|
|
- // console.log(item);
|
|
|
- if (item.url != '') {
|
|
|
- window.open(item.url);
|
|
|
- return
|
|
|
+ getDistance({
|
|
|
+ lng1: obj.longitude4,
|
|
|
+ lat1: obj.latitude4
|
|
|
+ }).then(({
|
|
|
+ data
|
|
|
+ }) => {
|
|
|
+ console.log(data, 980)
|
|
|
+ obj.AEDList = data
|
|
|
+ obj.AEDList = data.slice(0, 5)
|
|
|
+ let arr = data.map(item => ({
|
|
|
+ latitude: item.latitude,
|
|
|
+ longitude: item.longitude,
|
|
|
+ iconPath: '/static/icon/jzsb.png',
|
|
|
+ width: '35',
|
|
|
+ height: '35',
|
|
|
+ id: item.id,
|
|
|
+ address: item.address
|
|
|
+ }))
|
|
|
+ obj.marker = obj.marker.concat(arr)
|
|
|
+ obj.marker = obj.marker.slice(0, 6)
|
|
|
+ // uni.showModal({
|
|
|
+ // title: '提示',
|
|
|
+ // content: JSON.stringify(obj.marker)
|
|
|
+ // })
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 选择当前位置
|
|
|
+ // chooseAddress() {
|
|
|
+ // console.log('233')
|
|
|
+ // let obj = this;
|
|
|
+ // uni.chooseLocation({
|
|
|
+ // success: function(res) {
|
|
|
+ // console.log(res)
|
|
|
+ // obj.addressData.area = res.name;
|
|
|
+ // console.log('位置名称:' + res.name);
|
|
|
+ // console.log('详细地址:' + res.address);
|
|
|
+ // console.log('经度:' + res.longitude);
|
|
|
+ // console.log('纬度:' + res.latitude);
|
|
|
+ // obj.addressData.latitude = res.latitude;
|
|
|
+ // obj.addressData.longitude = res.longitude;
|
|
|
+ // obj.addressDetail = res.address;
|
|
|
+ // console.log('common_address123',obj.addressDetail )
|
|
|
+ // console.log('latitude123',obj.addressData.latitude )
|
|
|
+ // console.log('longitude123',obj.addressData.longitude )
|
|
|
+ // getcomAddress({
|
|
|
+ // common_address: obj.addressDetail,
|
|
|
+ // longitude: obj.addressData.longitude,
|
|
|
+ // latitude: obj.addressData.latitude
|
|
|
+ // }).then(data => {
|
|
|
+ // console.log(333)
|
|
|
+ // console.log(data);
|
|
|
+ // if (data.status == 200) {
|
|
|
+ // obj.$api.msg('保存成功')
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
+ // 导航
|
|
|
+ openAddress(item) {
|
|
|
+ let obj = this
|
|
|
+ obj.latitude2 = item.latitude
|
|
|
+ obj.longitude2 = item.longitude
|
|
|
+ obj.address = item.address
|
|
|
+ this.$refs.popup.open();
|
|
|
+ },
|
|
|
+ Jump(item) {
|
|
|
+ // console.log(item);
|
|
|
+ if (item.url != '') {
|
|
|
+ window.open(item.url);
|
|
|
+ return
|
|
|
+ }
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages/applic/info?id=" + item.id
|
|
|
+ })
|
|
|
+ },
|
|
|
+ open() {
|
|
|
+ this.$refs.popup.open();
|
|
|
+ },
|
|
|
+ close() {
|
|
|
+ this.$refs.popup.close();
|
|
|
+ },
|
|
|
+ // 获取就在身边
|
|
|
+ getJzsb() {
|
|
|
+ let obj = this;
|
|
|
+ getdis({
|
|
|
+ lng1: obj.longitude4,
|
|
|
+ lat1: obj.latitude4
|
|
|
+ }).then((res) => {
|
|
|
+ let data = res.data;
|
|
|
+ this.jzsbList = res.data.slice(0, 3)
|
|
|
+ let arr = data.map(item => ({
|
|
|
+ latitude: item.latitude,
|
|
|
+ longitude: item.longitude,
|
|
|
+ iconPath: '/static/img/img014.png',
|
|
|
+ width: '35',
|
|
|
+ height: '35',
|
|
|
+ id: item.id,
|
|
|
+ address: item.address
|
|
|
+ }))
|
|
|
+ obj.markerjzsb = obj.marker1.concat(arr)
|
|
|
+ console.log(obj.markerjzsb, 'obj.markerjzsb')
|
|
|
+ }).catch(err => {
|
|
|
+ console.log(err);
|
|
|
+ uni.hideLoading();
|
|
|
+ uni.showModal({
|
|
|
+ title: '失败',
|
|
|
+ content: JSON.stringify(err)
|
|
|
+ });
|
|
|
+ });
|
|
|
}
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages/applic/info?id=" + item.id
|
|
|
- })
|
|
|
- },
|
|
|
- open() {
|
|
|
- this.$refs.popup.open();
|
|
|
- },
|
|
|
- close() {
|
|
|
- this.$refs.popup.close();
|
|
|
}
|
|
|
- }
|
|
|
-};
|
|
|
+ };
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
-a {
|
|
|
- text-decoration: none;
|
|
|
- color: #5f5f5f;
|
|
|
-}
|
|
|
-
|
|
|
-.content {
|
|
|
- // line-height: 1;
|
|
|
- background-color: #ffabab;
|
|
|
- // padding-bottom: 60rpx;
|
|
|
-}
|
|
|
-
|
|
|
-.popup_row {
|
|
|
- width: 100%;
|
|
|
- height: 500rpx;
|
|
|
- background-color: #ffffff;
|
|
|
- border-radius: 20rpx;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- .rows {
|
|
|
- width: 100%;
|
|
|
- padding: 0 24rpx;
|
|
|
-
|
|
|
- .rows-item {
|
|
|
- height: 80rpx;
|
|
|
- line-height: 80rpx;
|
|
|
- text-align: center;
|
|
|
- width: 100%;
|
|
|
- font-size: 32rpx;
|
|
|
- color: #303133;
|
|
|
- // border-bottom: 1rpx solid #f0f0f0;
|
|
|
- }
|
|
|
-
|
|
|
- // .row-1 {
|
|
|
- // margin: auto;
|
|
|
- // .first_aid {
|
|
|
- // width: 300rpx;
|
|
|
- // height: 300rpx;
|
|
|
- // }
|
|
|
- // }
|
|
|
- // .row-2 {
|
|
|
- // font-size: 38rpx;
|
|
|
- // margin-top: 20rpx;
|
|
|
- // }
|
|
|
+ a {
|
|
|
+ text-decoration: none;
|
|
|
+ color: #5f5f5f;
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
-.content {
|
|
|
- background-color: #f8f8f8;
|
|
|
- height: 100%;
|
|
|
+ .content {
|
|
|
+ // line-height: 1;
|
|
|
+ background-color: #ffabab;
|
|
|
+ // padding-bottom: 60rpx;
|
|
|
+ }
|
|
|
|
|
|
- /* 头部 轮播图 */
|
|
|
- .carousel-section {
|
|
|
- // padding-top: 10px;
|
|
|
- overflow: hidden;
|
|
|
+ .popup_row {
|
|
|
+ width: 100%;
|
|
|
+ height: 500rpx;
|
|
|
+ background-color: #ffffff;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
|
|
|
- .carousel {
|
|
|
+ .rows {
|
|
|
width: 100%;
|
|
|
- height: 398rpx;
|
|
|
+ padding: 0 24rpx;
|
|
|
|
|
|
- .carousel-item {
|
|
|
+ .rows-item {
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ text-align: center;
|
|
|
width: 100%;
|
|
|
- height: 100%;
|
|
|
- padding-left: 30rpx;
|
|
|
- padding-right: 30rpx;
|
|
|
- overflow: hidden;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #303133;
|
|
|
+ // border-bottom: 1rpx solid #f0f0f0;
|
|
|
}
|
|
|
|
|
|
- image {
|
|
|
- width: 100%;
|
|
|
- height: 398rpx;
|
|
|
- }
|
|
|
+ // .row-1 {
|
|
|
+ // margin: auto;
|
|
|
+ // .first_aid {
|
|
|
+ // width: 300rpx;
|
|
|
+ // height: 300rpx;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // .row-2 {
|
|
|
+ // font-size: 38rpx;
|
|
|
+ // margin-top: 20rpx;
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // 分类
|
|
|
- .cate-section {
|
|
|
- display: flex;
|
|
|
- justify-items: center;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-around;
|
|
|
- height: 214rpx;
|
|
|
- width: 750rpx;
|
|
|
- background-color: #ffffff;
|
|
|
+ .content {
|
|
|
+ background-color: #f8f8f8;
|
|
|
+ height: 100%;
|
|
|
|
|
|
- .cate-item {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- color: #5f5f5f;
|
|
|
- font-size: 26rpx;
|
|
|
+ /* 头部 轮播图 */
|
|
|
+ .carousel-section {
|
|
|
+ // padding-top: 10px;
|
|
|
+ overflow: hidden;
|
|
|
|
|
|
- image {
|
|
|
- height: 88rpx;
|
|
|
- width: 88rpx;
|
|
|
- margin-bottom: 14rpx;
|
|
|
- border-radius: 50%;
|
|
|
- opacity: 0.7;
|
|
|
+ .carousel {
|
|
|
+ width: 100%;
|
|
|
+ height: 398rpx;
|
|
|
+
|
|
|
+ .carousel-item {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ padding-left: 30rpx;
|
|
|
+ padding-right: 30rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 398rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- // 红会科普
|
|
|
- .science-section {
|
|
|
- width: 100%;
|
|
|
- background-color: #ffffff;
|
|
|
- margin-top: 18rpx;
|
|
|
- padding-top: 30rpx;
|
|
|
-
|
|
|
- .science-title {
|
|
|
+ // 分类
|
|
|
+ .cate-section {
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
+ justify-items: center;
|
|
|
align-items: center;
|
|
|
- padding-bottom: 22rpx;
|
|
|
+ justify-content: space-around;
|
|
|
+ height: 214rpx;
|
|
|
+ width: 750rpx;
|
|
|
+ background-color: #ffffff;
|
|
|
|
|
|
- .title {
|
|
|
- width: 285rpx;
|
|
|
- height: 64rpx;
|
|
|
- background-color: #ca121e;
|
|
|
- border-radius: 32rpx;
|
|
|
- color: #ffffff;
|
|
|
- font-size: 32rpx;
|
|
|
- line-height: 64rpx;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
+ .cate-item {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ color: #5f5f5f;
|
|
|
+ font-size: 26rpx;
|
|
|
|
|
|
- image {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
- margin-left: 16rpx;
|
|
|
- margin-right: 16rpx;
|
|
|
+ image {
|
|
|
+ height: 88rpx;
|
|
|
+ width: 88rpx;
|
|
|
+ margin-bottom: 14rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+ opacity: 0.7;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .science-box {
|
|
|
- padding-left: 15rpx;
|
|
|
- padding-right: 15rpx;
|
|
|
- padding-bottom: 20rpx;
|
|
|
- border-bottom: 1rpx solid #f0f0f0;
|
|
|
- white-space: nowrap;
|
|
|
- display: flex;
|
|
|
+ // 红会科普
|
|
|
+ .science-section {
|
|
|
width: 100%;
|
|
|
+ background-color: #ffffff;
|
|
|
+ margin-top: 18rpx;
|
|
|
+ padding-top: 30rpx;
|
|
|
|
|
|
- // .uni-scroll-view-content{
|
|
|
- // display: flex;
|
|
|
- // }
|
|
|
- .science-content {
|
|
|
- // width: 100%;
|
|
|
-
|
|
|
- // display: flex;
|
|
|
- display: -webkit-box;
|
|
|
+ .science-title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ padding-bottom: 22rpx;
|
|
|
|
|
|
- .science-item {
|
|
|
- margin-right: 24rpx;
|
|
|
- width: 198rpx;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
+ .title {
|
|
|
+ width: 285rpx;
|
|
|
+ height: 64rpx;
|
|
|
+ background-color: #ca121e;
|
|
|
+ border-radius: 32rpx;
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 32rpx;
|
|
|
+ line-height: 64rpx;
|
|
|
text-align: center;
|
|
|
+ }
|
|
|
|
|
|
- image {
|
|
|
- width: 100%;
|
|
|
- height: 145rpx;
|
|
|
- }
|
|
|
+ image {
|
|
|
+ width: 68rpx;
|
|
|
+ height: 43rpx;
|
|
|
+ margin-left: 16rpx;
|
|
|
+ margin-right: 16rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- .article-title {
|
|
|
- width: 198rpx;
|
|
|
- color: #333;
|
|
|
- font-size: 25rpx;
|
|
|
- padding-top: 20rpx;
|
|
|
- padding-bottom: 16rpx;
|
|
|
- font-weight: 900;
|
|
|
- }
|
|
|
+ .science-box {
|
|
|
+ padding-left: 15rpx;
|
|
|
+ padding-right: 15rpx;
|
|
|
+ padding-bottom: 20rpx;
|
|
|
+ border-bottom: 1rpx solid #f0f0f0;
|
|
|
+ white-space: nowrap;
|
|
|
+ display: flex;
|
|
|
+ width: 100%;
|
|
|
+
|
|
|
+ // .uni-scroll-view-content{
|
|
|
+ // display: flex;
|
|
|
+ // }
|
|
|
+ .science-content {
|
|
|
+ // width: 100%;
|
|
|
|
|
|
- .article-content {
|
|
|
+ // display: flex;
|
|
|
+ display: -webkit-box;
|
|
|
+
|
|
|
+ .science-item {
|
|
|
+ margin-right: 24rpx;
|
|
|
width: 198rpx;
|
|
|
- color: #999999;
|
|
|
- font-size: 18rpx;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- display: -webkit-box;
|
|
|
- word-break: break-all;
|
|
|
- -webkit-box-orient: vertical;
|
|
|
- -webkit-line-clamp: 2;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 145rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .article-title {
|
|
|
+ width: 198rpx;
|
|
|
+ color: #333;
|
|
|
+ font-size: 25rpx;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ padding-bottom: 16rpx;
|
|
|
+ font-weight: 900;
|
|
|
+ }
|
|
|
+
|
|
|
+ .article-content {
|
|
|
+ width: 198rpx;
|
|
|
+ color: #999999;
|
|
|
+ font-size: 18rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ word-break: break-all;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- .science-more {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- color: #cb131c;
|
|
|
- font-size: 30rpx;
|
|
|
- padding-top: 18rpx;
|
|
|
- padding-bottom: 18rpx;
|
|
|
-
|
|
|
- image {
|
|
|
- width: 20rpx;
|
|
|
- height: 27rpx;
|
|
|
+ .science-more {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ color: #cb131c;
|
|
|
+ font-size: 30rpx;
|
|
|
+ padding-top: 18rpx;
|
|
|
+ padding-bottom: 18rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 20rpx;
|
|
|
+ height: 27rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- // sos急救中心
|
|
|
- .system {
|
|
|
- width: 100%;
|
|
|
- background-color: #ffffff;
|
|
|
- margin-top: 18rpx;
|
|
|
- padding-top: 40rpx;
|
|
|
- // padding-bottom: 45rpx;
|
|
|
- // margin-bottom: 43rpx;
|
|
|
-
|
|
|
- .system-title {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- padding-bottom: 22rpx;
|
|
|
+ // sos急救中心
|
|
|
+ .system {
|
|
|
+ width: 100%;
|
|
|
+ background-color: #ffffff;
|
|
|
+ margin-top: 18rpx;
|
|
|
+ padding-top: 40rpx;
|
|
|
+ // padding-bottom: 45rpx;
|
|
|
+ // margin-bottom: 43rpx;
|
|
|
|
|
|
- .title {
|
|
|
- width: 285rpx;
|
|
|
- height: 64rpx;
|
|
|
- background-color: #ca121e;
|
|
|
- border-radius: 32rpx;
|
|
|
- color: #ffffff;
|
|
|
- font-size: 32rpx;
|
|
|
- line-height: 64rpx;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
+ .system-title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ padding-bottom: 22rpx;
|
|
|
|
|
|
- .img {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
- margin-left: 16rpx;
|
|
|
- margin-right: 16rpx;
|
|
|
+ .title {
|
|
|
+ width: 285rpx;
|
|
|
+ height: 64rpx;
|
|
|
+ background-color: #ca121e;
|
|
|
+ border-radius: 32rpx;
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 32rpx;
|
|
|
+ line-height: 64rpx;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
|
|
|
- image {
|
|
|
+ .img {
|
|
|
width: 68rpx;
|
|
|
height: 43rpx;
|
|
|
+ margin-left: 16rpx;
|
|
|
+ margin-right: 16rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 68rpx;
|
|
|
+ height: 43rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- .system-map {
|
|
|
- width: 750rpx;
|
|
|
- height: 500rpx;
|
|
|
- background-color: #ffffff;
|
|
|
- padding: 0 24rpx;
|
|
|
- padding-bottom: 45rpx;
|
|
|
|
|
|
- .map-box {
|
|
|
- width: 100%;
|
|
|
+ .system-map {
|
|
|
+ width: 750rpx;
|
|
|
height: 500rpx;
|
|
|
- background-color: #f8f8f8;
|
|
|
+ background-color: #ffffff;
|
|
|
+ padding: 0 24rpx;
|
|
|
+ padding-bottom: 45rpx;
|
|
|
|
|
|
- image {
|
|
|
+ .map-box {
|
|
|
width: 100%;
|
|
|
height: 500rpx;
|
|
|
+ background-color: #f8f8f8;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 500rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- // AED
|
|
|
- .list-box {
|
|
|
- padding: 0rpx 25rpx 24rpx;
|
|
|
- // margin-bottom: 84rpx;
|
|
|
+ // AED
|
|
|
+ .list-box {
|
|
|
+ padding: 0rpx 25rpx 24rpx;
|
|
|
+ // margin-bottom: 84rpx;
|
|
|
|
|
|
- .system-title {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- height: 130rpx;
|
|
|
- // padding-bottom: 22rpx;
|
|
|
+ .system-title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ height: 130rpx;
|
|
|
+ // padding-bottom: 22rpx;
|
|
|
+ background-color: #ffffff;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ width: 285rpx;
|
|
|
+ height: 64rpx;
|
|
|
+ background-color: #ca121e;
|
|
|
+ border-radius: 32rpx;
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 32rpx;
|
|
|
+ line-height: 64rpx;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .img {
|
|
|
+ width: 68rpx;
|
|
|
+ height: 43rpx;
|
|
|
+ margin-left: 16rpx;
|
|
|
+ margin-right: 16rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 68rpx;
|
|
|
+ height: 43rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .map-box {
|
|
|
+ // background-color: #FFFFFF;
|
|
|
+ width: 100%;
|
|
|
+ height: 366rpx;
|
|
|
+ // border: 2rpx solid #F2F2F2;
|
|
|
+ box-shadow: 5px 15px 15px 5px #f2f2f2;
|
|
|
+ }
|
|
|
+
|
|
|
+ .list-tpl {
|
|
|
background-color: #ffffff;
|
|
|
+ margin: 25rpx 0rpx;
|
|
|
+ padding: 25rpx 25rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ border-radius: 15rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
- .title {
|
|
|
- width: 285rpx;
|
|
|
- height: 64rpx;
|
|
|
- background-color: #ca121e;
|
|
|
- border-radius: 32rpx;
|
|
|
- color: #ffffff;
|
|
|
- font-size: 32rpx;
|
|
|
- line-height: 64rpx;
|
|
|
- text-align: center;
|
|
|
+ .list-left {
|
|
|
+ display: flex;
|
|
|
+ width: 100%;
|
|
|
+
|
|
|
+ .number {
|
|
|
+ font-size: 32rpx;
|
|
|
+ margin-right: 14rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .info {
|
|
|
+ width: 100%;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #222222;
|
|
|
+ font-weight: 500;
|
|
|
+ }
|
|
|
+
|
|
|
+ .addr {
|
|
|
+ margin-top: 20rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- .img {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
- margin-left: 16rpx;
|
|
|
- margin-right: 16rpx;
|
|
|
+ .image {
|
|
|
+ width: 10%;
|
|
|
+ text-align: center;
|
|
|
|
|
|
image {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
+ width: 50rpx;
|
|
|
+ height: 50rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .tip {
|
|
|
+ color: #7f7f7f;
|
|
|
+ font-size: 21rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .map-box {
|
|
|
- // background-color: #FFFFFF;
|
|
|
+ .popup_rows {
|
|
|
+ // margin-top: 108rpx;
|
|
|
+ height: 440rpx;
|
|
|
+ border-radius: 25rpx;
|
|
|
width: 100%;
|
|
|
- height: 366rpx;
|
|
|
- // border: 2rpx solid #F2F2F2;
|
|
|
- box-shadow: 5px 15px 15px 5px #f2f2f2;
|
|
|
+ padding: 24rpx;
|
|
|
+ background-color: #f8f8f8;
|
|
|
+ z-index: 999;
|
|
|
+ .title {
|
|
|
+ border-bottom: 2rpx solid #f2f2f2;
|
|
|
+ color: #e63931;
|
|
|
+ font-size: 32rpx;
|
|
|
+ padding-left: 4rpx;
|
|
|
+ padding-bottom: 16rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ // align-items: center;
|
|
|
+ .cancel {
|
|
|
+ margin-left: 52rpx;
|
|
|
+ width: 36rpx;
|
|
|
+ height: 36rpx;
|
|
|
+ image {
|
|
|
+ width: 36rpx;
|
|
|
+ height: 36rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .inpBox {
|
|
|
+ margin-top: 52rpx;
|
|
|
+ border: 2px solid #f2f2f2;
|
|
|
+ padding: 12rpx 24rpx;
|
|
|
+ color: #ff9797;
|
|
|
+ border-radius: 8rpx;
|
|
|
+ .input-placeholder {
|
|
|
+ // height: 70rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #ff9797;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .inpedit {
|
|
|
+ margin-top: 24rpx;
|
|
|
+ margin-left: 14rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #ff9797;
|
|
|
+ }
|
|
|
+ .comfirm {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ margin-top: 54rpx;
|
|
|
+ .comfirm1 {
|
|
|
+ padding: 12rpx 24rpx;
|
|
|
+ border-radius: 12rpx;
|
|
|
+ color: #ffffff;
|
|
|
+ background-color: #e63931;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- .list-tpl {
|
|
|
- background-color: #ffffff;
|
|
|
- margin: 25rpx 0rpx;
|
|
|
- padding: 25rpx 25rpx;
|
|
|
- font-size: 28rpx;
|
|
|
- border-radius: 15rpx;
|
|
|
+ .science-more {
|
|
|
+ background-color: #fff;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ color: #e63931;
|
|
|
+ font-size: 30rpx;
|
|
|
+ padding-top: 18rpx;
|
|
|
+ padding-bottom: 18rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 20rpx;
|
|
|
+ height: 27rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .location-item {
|
|
|
+ // width: 710rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ z-index: 10;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
-
|
|
|
- .list-left {
|
|
|
+ align-items: center;
|
|
|
+ border-bottom: 1rpx solid #e7e8ea;
|
|
|
+ padding: 15rpx 30rpx;
|
|
|
+ // margin: auto;
|
|
|
+ .box-left {
|
|
|
display: flex;
|
|
|
- width: 100%;
|
|
|
-
|
|
|
- .number {
|
|
|
- font-size: 32rpx;
|
|
|
- margin-right: 14rpx;
|
|
|
+
|
|
|
+ .img01 {
|
|
|
+ width: 8rpx;
|
|
|
+ height: 28rpx;
|
|
|
+ margin-right: 18rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 8rpx;
|
|
|
+ height: 28rpx;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ .img02 {
|
|
|
+ width: 117rpx;
|
|
|
+ height: 117rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 117rpx;
|
|
|
+ height: 117rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.info {
|
|
|
- width: 100%;
|
|
|
-
|
|
|
- .title {
|
|
|
- font-size: 32rpx;
|
|
|
- color: #222222;
|
|
|
- font-weight: 500;
|
|
|
+ margin-left: 16rpx;
|
|
|
+
|
|
|
+ .info-header {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .name {
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+
|
|
|
+ .distance {
|
|
|
+ margin-left: 25rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #303133;
|
|
|
+ }
|
|
|
+
|
|
|
+ .location-icon {
|
|
|
+ margin-left: 10rpx;
|
|
|
+ width: 20rpx;
|
|
|
+ height: 26rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 20rpx;
|
|
|
+ height: 26rpx;
|
|
|
+ display: inline;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- .addr {
|
|
|
- margin-top: 20rpx;
|
|
|
+
|
|
|
+ .address {
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #333333;
|
|
|
+ margin-top: 33rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .image {
|
|
|
- width: 10%;
|
|
|
- text-align: center;
|
|
|
-
|
|
|
- image {
|
|
|
- width: 50rpx;
|
|
|
- height: 50rpx;
|
|
|
+
|
|
|
+ .box-right {
|
|
|
+ .img {
|
|
|
+ height: 107rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 107rpx;
|
|
|
+ height: 107rpx;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- .tip {
|
|
|
- color: #7f7f7f;
|
|
|
- font-size: 21rpx;
|
|
|
+
|
|
|
+ .called {
|
|
|
+ margin-right: 16rpx;
|
|
|
+ height: 107rpx;
|
|
|
+ line-height: 107rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #cb131c;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
</style>
|