|
|
@@ -38,7 +38,7 @@
|
|
|
<image src="../../static/icon/icon5.png" style="width: 66rpx;height: 65rpx;"></image>
|
|
|
<text>普及培训</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 红会科普 -->
|
|
|
@@ -76,25 +76,59 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="system-map">
|
|
|
- <view class="map-box" @click="tolocation">
|
|
|
- <image src="../../static/img/map.jpg" mode=""></image>
|
|
|
+ <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>
|
|
|
+ </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" >救护站</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 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="">
|
|
|
@@ -115,6 +149,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">
|
|
|
@@ -135,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>
|
|
|
</template>
|
|
|
|
|
|
@@ -143,7 +197,8 @@
|
|
|
loadIndexs,
|
|
|
bannerlist,
|
|
|
getListAED,
|
|
|
- getDistance
|
|
|
+ getDistance,
|
|
|
+ getdis
|
|
|
} from '@/api/index.js';
|
|
|
import {
|
|
|
saveUrl,
|
|
|
@@ -168,6 +223,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ jzsbList: [],
|
|
|
carouselList: [], //轮播
|
|
|
science: [], //文章列表
|
|
|
page: 1,
|
|
|
@@ -177,10 +233,14 @@
|
|
|
longitude2: '',
|
|
|
latitude4: '',
|
|
|
longitude4: '',
|
|
|
+ // longitude4: '121.15829821166992',
|
|
|
+ // latitude4: "30.044394499237708",
|
|
|
address: '',
|
|
|
loadingType: 'more',
|
|
|
markerList: [],
|
|
|
marker: [],
|
|
|
+ markerjzsb: [],
|
|
|
+ marker1: [],
|
|
|
longitude: '121.15829821166992',
|
|
|
latitude: "30.044394499237708",
|
|
|
longitude1: '120.553638',
|
|
|
@@ -189,11 +249,12 @@
|
|
|
scale1: '15',
|
|
|
showbox: false,
|
|
|
showTEXT: false,
|
|
|
+ to_phone: '',
|
|
|
};
|
|
|
},
|
|
|
- onShow() {
|
|
|
+ onShow() {
|
|
|
// let token = uni.getStorageSync('token');
|
|
|
- console.log(11,this);
|
|
|
+ console.log(11, this);
|
|
|
if (!this.hasLogin) {
|
|
|
// 登录拦截
|
|
|
// interceptor();
|
|
|
@@ -229,21 +290,27 @@
|
|
|
wxOjb.ready(() => {
|
|
|
console.log('加载完毕注册事件');
|
|
|
locationAddress({
|
|
|
- type: 'wgs84',
|
|
|
+ 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.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);
|
|
|
@@ -255,12 +322,13 @@
|
|
|
|
|
|
// #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);
|
|
|
@@ -287,6 +355,7 @@
|
|
|
obj.longitude4 = res.longitude
|
|
|
obj.latitude4 = res.latitude
|
|
|
obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
@@ -303,6 +372,7 @@
|
|
|
obj.longitude4 = res.longitude
|
|
|
obj.latitude4 = res.latitude
|
|
|
obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
@@ -317,11 +387,74 @@
|
|
|
},
|
|
|
// 下拉加载
|
|
|
onReachBottom() {
|
|
|
- this.loadData();
|
|
|
+ // this.loadData();
|
|
|
},
|
|
|
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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
// 调用高德
|
|
|
toGaodeMap() {
|
|
|
let latitude = this.latitude2
|
|
|
@@ -329,9 +462,9 @@
|
|
|
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`
|
|
|
+ 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
|
|
|
},
|
|
|
// 调用腾讯
|
|
|
@@ -340,7 +473,8 @@
|
|
|
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}`;
|
|
|
+ window.location.href =
|
|
|
+ `http://apis.map.qq.com/uri/v1/marker?marker=coord:${latitude},${longitude};addr:${address}`;
|
|
|
},
|
|
|
// 调用百度
|
|
|
tobaiDuMap() {
|
|
|
@@ -361,7 +495,7 @@
|
|
|
let longitude = this.longitude2
|
|
|
console.log('选择谷歌', latitude, longitude)
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
navTo(url) {
|
|
|
if (!this.hasLogin) {
|
|
|
uni.showModal({
|
|
|
@@ -391,29 +525,29 @@
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/applic/location"
|
|
|
})
|
|
|
- },
|
|
|
- // 点击图标
|
|
|
- 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
|
|
|
- // })
|
|
|
- // }
|
|
|
- // })
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 点击图标
|
|
|
+ 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;
|
|
|
@@ -467,23 +601,24 @@
|
|
|
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)
|
|
|
- console.log('obj.marker',obj.marker)
|
|
|
+ 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)
|
|
|
+ console.log('obj.marker', obj.marker)
|
|
|
// uni.showModal({
|
|
|
// title: '提示',
|
|
|
// content: JSON.stringify(obj.marker)
|
|
|
// })
|
|
|
})
|
|
|
+ obj.getJzsb()
|
|
|
},
|
|
|
// 导航
|
|
|
openAddress(item) {
|
|
|
@@ -508,6 +643,39 @@
|
|
|
},
|
|
|
close() {
|
|
|
this.$refs.popup.close();
|
|
|
+ },
|
|
|
+ // 获取就在身边
|
|
|
+ getJzsb() {
|
|
|
+ let obj = this;
|
|
|
+ getdis({
|
|
|
+ lng1: obj.longitude4,
|
|
|
+ lat1: obj.latitude4,
|
|
|
+ page: 1,
|
|
|
+ limit: 3
|
|
|
+ }).then((res) => {
|
|
|
+ let data = res.data;
|
|
|
+ console.log(data, 'jzsb')
|
|
|
+ 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)
|
|
|
+ // });
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
@@ -519,10 +687,10 @@
|
|
|
color: #5f5f5f;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
.content {
|
|
|
- // line-height: 1;
|
|
|
- background-color: #FFABAB;
|
|
|
+ // line-height: 1;
|
|
|
+ background-color: #FFABAB;
|
|
|
// padding-bottom: 60rpx;
|
|
|
}
|
|
|
|
|
|
@@ -670,19 +838,20 @@
|
|
|
// display: flex;
|
|
|
display: -webkit-box;
|
|
|
|
|
|
- .science-item {
|
|
|
+ .science-item {
|
|
|
margin-right: 24rpx;
|
|
|
width: 198rpx;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
text-align: center;
|
|
|
+
|
|
|
image {
|
|
|
width: 100%;
|
|
|
height: 145rpx;
|
|
|
}
|
|
|
|
|
|
- .article-title {
|
|
|
+ .article-title {
|
|
|
width: 198rpx;
|
|
|
color: #333;
|
|
|
font-size: 25rpx;
|
|
|
@@ -691,8 +860,8 @@
|
|
|
font-weight: 900;
|
|
|
}
|
|
|
|
|
|
- .article-content {
|
|
|
- width: 198rpx;
|
|
|
+ .article-content {
|
|
|
+ width: 198rpx;
|
|
|
color: #999999;
|
|
|
font-size: 18rpx;
|
|
|
overflow: hidden;
|
|
|
@@ -785,7 +954,7 @@
|
|
|
|
|
|
// AED
|
|
|
.list-box {
|
|
|
- padding: 0rpx 25rpx 24rpx;
|
|
|
+ // padding: 0rpx 25rpx 24rpx;
|
|
|
// margin-bottom: 84rpx;
|
|
|
|
|
|
.system-title {
|
|
|
@@ -837,10 +1006,13 @@
|
|
|
border-radius: 15rpx;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
-
|
|
|
+ // &:last-of-type {
|
|
|
+ // margin-bottom: 0;
|
|
|
+ // }
|
|
|
.list-left {
|
|
|
display: flex;
|
|
|
width: 100%;
|
|
|
+
|
|
|
.number {
|
|
|
font-size: 32rpx;
|
|
|
margin-right: 14rpx;
|
|
|
@@ -877,4 +1049,171 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .location-item {
|
|
|
+ // width: 710rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ z-index: 10;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ border-bottom: 1rpx solid #e7e8ea;
|
|
|
+ padding: 15rpx 30rpx;
|
|
|
+ // margin: auto;
|
|
|
+ .box-left {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .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 {
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .address {
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #333333;
|
|
|
+ margin-top: 33rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .box-right {
|
|
|
+ .img {
|
|
|
+ height: 107rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 107rpx;
|
|
|
+ height: 107rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .called {
|
|
|
+ margin-right: 16rpx;
|
|
|
+ height: 107rpx;
|
|
|
+ line-height: 107rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #cb131c;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .popup_rows {
|
|
|
+ // margin-top: 108rpx;
|
|
|
+ height: 440rpx;
|
|
|
+ border-radius: 25rpx;
|
|
|
+ width: 100%;
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .science-more {
|
|
|
+ background-color: #fff;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ color: $motif-color;
|
|
|
+ font-size: 30rpx;
|
|
|
+ padding-top: 18rpx;
|
|
|
+ padding-bottom: 18rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 20rpx;
|
|
|
+ height: 27rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|