|
|
@@ -12,18 +12,18 @@
|
|
|
<!-- 分类 -->
|
|
|
<view class="cate-section">
|
|
|
<view class="cate-item" @click="tocontribution">
|
|
|
- <image src="../../static/icon/icon1.png" style="width: 77rpx;height: 68rpx;"></image>
|
|
|
+ <image src="../../static/icon/icon1.png"></image>
|
|
|
<text>器官捐献</text>
|
|
|
</view>
|
|
|
<!-- <a href="http://yyhszh.yygrwhg.com/willsoft/deyy/MobileView_look.aspx?news_id=1" title="爱心捐赠">
|
|
|
<view class="cate-item">
|
|
|
- <image src="../../static/icon/icon3.png" style="width: 87rpx;height: 64rpx;"></image>
|
|
|
+ <image src="../../static/icon/icon3.png" style="width: 87(vw/7.5);height: 64(vw/7.5);"></image>
|
|
|
<text>爱心捐赠</text>
|
|
|
</view>
|
|
|
</a> -->
|
|
|
<view class="cate-item" @click="toapplic">
|
|
|
<view class="cate-item">
|
|
|
- <image src="../../static/icon/icon2.png" style="width: 83rpx;height: 64rpx;"></image>
|
|
|
+ <image src="../../static/icon/icon2.png"></image>
|
|
|
<text>造血干细胞捐献</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -35,14 +35,14 @@
|
|
|
</navigator> pages/applic/tohelpActi organ-->
|
|
|
<!-- <a href="https://register.codac.org.cn/wx/html/notice.htm" title="器官捐献"> -->
|
|
|
<view class="cate-item" @click="toOrgan">
|
|
|
- <image src="../../static/icon/icon3.png" style="width: 87rpx;height: 64rpx;"></image>
|
|
|
+ <image src="../../static/icon/icon3.png"></image>
|
|
|
<text>普及培训报名</text>
|
|
|
</view>
|
|
|
<!-- </a> -->
|
|
|
<view>
|
|
|
<view class="cate-item" @click="tohelpActi">
|
|
|
- <image src="../../static/icon/icon4.png" style="width: 84rpx;height: 67rpx;"></image>
|
|
|
- <text>志愿者登记</text>
|
|
|
+ <image src="../../static/icon/icon4.png" image>
|
|
|
+ <text>志愿者登记</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -84,7 +84,7 @@
|
|
|
<view class="system-map">
|
|
|
<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>
|
|
|
+ style="height: 60vw"></map>
|
|
|
<!-- <view class="map-box" @click="tolocation"><image src="../../static/img/map.jpg" mode=""></image></view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -116,7 +116,7 @@
|
|
|
<view class="called" v-if="item.is">已呼叫</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
</view>
|
|
|
<navigator class="science-more" url="/pages/applic/location">
|
|
|
查看更多
|
|
|
@@ -133,10 +133,9 @@
|
|
|
<image src="../../static/img/wings-right.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view id="container">
|
|
|
+ <view>
|
|
|
<map class="map-box" id="map" :show-location="false" :markers="marker" :scale='scale'
|
|
|
- :latitude="latitude4" :longitude="longitude4" ref="map" style="height: 450rpx"
|
|
|
- @markertap='markertap'>
|
|
|
+ :latitude="latitude4" :longitude="longitude4" ref="map" style="height: 60vw" @markertap='markertap'>
|
|
|
</map>
|
|
|
</view>
|
|
|
<view class="">
|
|
|
@@ -174,10 +173,9 @@
|
|
|
<image src="../../static/img/wings-right.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view id="container">
|
|
|
+ <view>
|
|
|
<map class="map-box" id="map" :show-location="false" :markers="yzmarker" :scale='scale'
|
|
|
- :latitude="latitude4" :longitude="longitude4" ref="map" style="height: 450rpx"
|
|
|
- @markertap='markertap'>
|
|
|
+ :latitude="latitude4" :longitude="longitude4" ref="map" style="height: 60vw" @markertap='markertap'>
|
|
|
</map>
|
|
|
</view>
|
|
|
<view class="">
|
|
|
@@ -210,11 +208,6 @@
|
|
|
<view class="rows-item" @click="toGaodeMap">高德地图</view>
|
|
|
<view class="rows-item" @click="tobaiDuMap">百度地图</view>
|
|
|
<view class="rows-item" @click="totengxunMap">腾讯地图</view>
|
|
|
- <!-- <view class="rows-item" @click="toGoogleMap">
|
|
|
- Google地图
|
|
|
- </view> -->
|
|
|
- <!-- <view class="row-1"><image class="first_aid" src="../../static/img/img03.jpg"></image></view> -->
|
|
|
- <!-- <view class="row-2">扫码进入急救平台</view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
@@ -233,18 +226,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
- <!-- <view class="base-map">
|
|
|
- <view class="system-title">
|
|
|
- <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>
|
|
|
- <map :latitude="baseLatitude" :longitude="baseLongitude" :markers="baseMarker" style="height: 450rpx;" scale=20></map>
|
|
|
- </view> -->
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -359,6 +340,7 @@
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
+
|
|
|
// this.getJzsb()
|
|
|
// uni.showModal({
|
|
|
// content: '请选择您当前位置',
|
|
|
@@ -407,7 +389,24 @@
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
- window.location.reload();
|
|
|
+ obj.longitude4 = '114.316738'
|
|
|
+ obj.latitude4 = '30.353495'
|
|
|
+ obj.marker = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }, ]
|
|
|
+ obj.marker1 = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }]
|
|
|
+ obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
}
|
|
|
});
|
|
|
})
|
|
|
@@ -439,7 +438,24 @@
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
- window.location.reload();
|
|
|
+ obj.longitude4 = '114.316738'
|
|
|
+ obj.latitude4 = '30.353495'
|
|
|
+ obj.marker = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }, ]
|
|
|
+ obj.marker1 = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }]
|
|
|
+ obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
}
|
|
|
});
|
|
|
// #endif
|
|
|
@@ -466,7 +482,24 @@
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
- window.location.reload();
|
|
|
+ obj.longitude4 = '114.316738'
|
|
|
+ obj.latitude4 = '30.353495'
|
|
|
+ obj.marker = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }, ]
|
|
|
+ obj.marker1 = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }]
|
|
|
+ obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
}
|
|
|
});
|
|
|
})
|
|
|
@@ -483,7 +516,24 @@
|
|
|
},
|
|
|
fail(e) {
|
|
|
console.log('失败', e);
|
|
|
- window.location.reload();
|
|
|
+ obj.longitude4 = '114.316738'
|
|
|
+ obj.latitude4 = '30.353495'
|
|
|
+ obj.marker = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }, ]
|
|
|
+ obj.marker1 = [{
|
|
|
+ longitude: '114.316738',
|
|
|
+ latitude: '30.353495',
|
|
|
+ iconPath: '/static/img/img19.png',
|
|
|
+ width: '45',
|
|
|
+ height: '45',
|
|
|
+ }]
|
|
|
+ obj.loadData();
|
|
|
+ obj.getJzsb()
|
|
|
}
|
|
|
});
|
|
|
// #endif
|
|
|
@@ -669,6 +719,10 @@
|
|
|
loadData() {
|
|
|
let obj = this;
|
|
|
console.log('打印当前经纬度', obj.longitude4, obj.latitude4)
|
|
|
+ if(!obj.longitude4) {
|
|
|
+ obj.longitude4 = '114.316738'
|
|
|
+ obj.latitude4 = '30.353495'
|
|
|
+ }
|
|
|
userinfo({}).then(({
|
|
|
data
|
|
|
}) => {
|
|
|
@@ -746,7 +800,7 @@
|
|
|
.longitude);
|
|
|
}
|
|
|
// 排序
|
|
|
- let arr1 = data.sort(obj.sortBy('space'))
|
|
|
+ let arr1 = data.sort(obj.sortBy('space'))
|
|
|
let arr = arr1.map(item => ({
|
|
|
latitude: item.latitude,
|
|
|
longitude: item.longitude,
|
|
|
@@ -756,9 +810,9 @@
|
|
|
id: item.id,
|
|
|
address: item.address
|
|
|
}));
|
|
|
-
|
|
|
+
|
|
|
obj.yzmarker = obj.marker1.concat(arr)
|
|
|
- obj.yzList = arr1.slice(0,3)
|
|
|
+ obj.yzList = arr1.slice(0, 3)
|
|
|
})
|
|
|
},
|
|
|
sortBy(field) {
|
|
|
@@ -865,43 +919,30 @@
|
|
|
.content {
|
|
|
// line-height: 1;
|
|
|
background-color: #ffabab;
|
|
|
- // padding-bottom: 60rpx;
|
|
|
+ // padding-bottom: 60(vw/7.5);
|
|
|
}
|
|
|
|
|
|
.popup_row {
|
|
|
width: 100%;
|
|
|
- height: 500rpx;
|
|
|
+ height: (500vw/7.5);
|
|
|
background-color: #ffffff;
|
|
|
- border-radius: 20rpx;
|
|
|
+ border-radius: (20vw/7.5);
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
|
|
|
.rows {
|
|
|
width: 100%;
|
|
|
- padding: 0 24rpx;
|
|
|
+ padding: 0 (24vw/7.5);
|
|
|
|
|
|
.rows-item {
|
|
|
- height: 80rpx;
|
|
|
- line-height: 80rpx;
|
|
|
+ height: (80vw/7.5);
|
|
|
+ line-height: (80vw/7.5);
|
|
|
text-align: center;
|
|
|
width: 100%;
|
|
|
- font-size: 32rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
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;
|
|
|
- // }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -911,24 +952,23 @@
|
|
|
|
|
|
/* 头部 轮播图 */
|
|
|
.carousel-section {
|
|
|
- // padding-top: 10px;
|
|
|
overflow: hidden;
|
|
|
|
|
|
.carousel {
|
|
|
- width: 100%;
|
|
|
- height: 398rpx;
|
|
|
+ width: 100vw;
|
|
|
+ height: 53vw;
|
|
|
|
|
|
.carousel-item {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- padding-left: 30rpx;
|
|
|
- padding-right: 30rpx;
|
|
|
+ padding-left: (30vw/7.5);
|
|
|
+ padding-right: (30vw/7.5);
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
image {
|
|
|
width: 100%;
|
|
|
- height: 398rpx;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -939,8 +979,8 @@
|
|
|
justify-items: center;
|
|
|
align-items: center;
|
|
|
justify-content: space-around;
|
|
|
- height: 214rpx;
|
|
|
- width: 750rpx;
|
|
|
+ height: (214vw/7.5);
|
|
|
+ width: (750vw/7.5);
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
.cate-item {
|
|
|
@@ -949,13 +989,12 @@
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
color: #5f5f5f;
|
|
|
- font-size: 26rpx;
|
|
|
+ font-size: (26vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- height: 88rpx;
|
|
|
- width: 88rpx;
|
|
|
- margin-bottom: 14rpx;
|
|
|
- border-radius: 50%;
|
|
|
+ height: 11vw;
|
|
|
+ width: (88vw/7.45);
|
|
|
+ margin-bottom: (14vw/7.5);
|
|
|
opacity: 0.7;
|
|
|
}
|
|
|
}
|
|
|
@@ -965,39 +1004,39 @@
|
|
|
.science-section {
|
|
|
width: 100%;
|
|
|
background-color: #ffffff;
|
|
|
- margin-top: 18rpx;
|
|
|
- padding-top: 30rpx;
|
|
|
+ margin-top: (18vw/7.5);
|
|
|
+ padding-top: (30vw/7.5);
|
|
|
|
|
|
.science-title {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
- padding-bottom: 22rpx;
|
|
|
+ padding-bottom: (22vw/7.5);
|
|
|
|
|
|
.title {
|
|
|
- width: 285rpx;
|
|
|
- height: 64rpx;
|
|
|
+ width: (285vw/7.5);
|
|
|
+ height: (64vw/7.5);
|
|
|
background-color: #ca121e;
|
|
|
- border-radius: 32rpx;
|
|
|
+ border-radius: (32vw/7.5);
|
|
|
color: #ffffff;
|
|
|
- font-size: 32rpx;
|
|
|
- line-height: 64rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
+ line-height: (64vw/7.5);
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
image {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
- margin-left: 16rpx;
|
|
|
- margin-right: 16rpx;
|
|
|
+ width: (68vw/7.5);
|
|
|
+ height: (43vw/7.5);
|
|
|
+ margin-left: (16vw/7.5);
|
|
|
+ margin-right: (16vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.science-box {
|
|
|
- padding-left: 15rpx;
|
|
|
- padding-right: 15rpx;
|
|
|
- padding-bottom: 20rpx;
|
|
|
- border-bottom: 1rpx solid #f0f0f0;
|
|
|
+ padding-left: (15vw/7.5);
|
|
|
+ padding-right: (15vw/7.5);
|
|
|
+ padding-bottom: (20vw/7.5);
|
|
|
+ border-bottom: (1vw/7.5) solid #f0f0f0;
|
|
|
white-space: nowrap;
|
|
|
display: flex;
|
|
|
width: 100%;
|
|
|
@@ -1012,8 +1051,8 @@
|
|
|
display: -webkit-box;
|
|
|
|
|
|
.science-item {
|
|
|
- margin-right: 24rpx;
|
|
|
- width: 198rpx;
|
|
|
+ margin-right: (24vw/7.5);
|
|
|
+ width: (198vw/7.5);
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
@@ -1021,22 +1060,22 @@
|
|
|
|
|
|
image {
|
|
|
width: 100%;
|
|
|
- height: 145rpx;
|
|
|
+ height: (145vw/7.5);
|
|
|
}
|
|
|
|
|
|
.article-title {
|
|
|
- width: 198rpx;
|
|
|
+ width: (198vw/7.5);
|
|
|
color: #333;
|
|
|
- font-size: 25rpx;
|
|
|
- padding-top: 20rpx;
|
|
|
- padding-bottom: 16rpx;
|
|
|
+ font-size: (25vw/7.5);
|
|
|
+ padding-top: (20vw/7.5);
|
|
|
+ padding-bottom: (16vw/7.5);
|
|
|
font-weight: 900;
|
|
|
}
|
|
|
|
|
|
.article-content {
|
|
|
- width: 198rpx;
|
|
|
+ width: (198vw/7.5);
|
|
|
color: #999999;
|
|
|
- font-size: 18rpx;
|
|
|
+ font-size: (18vw/7.5);
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
display: -webkit-box;
|
|
|
@@ -1053,13 +1092,13 @@
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
color: #cb131c;
|
|
|
- font-size: 30rpx;
|
|
|
- padding-top: 18rpx;
|
|
|
- padding-bottom: 18rpx;
|
|
|
+ font-size: (30vw/7.5);
|
|
|
+ padding-top: (18vw/7.5);
|
|
|
+ padding-bottom: (18vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 20rpx;
|
|
|
- height: 27rpx;
|
|
|
+ width: (20vw/7.5);
|
|
|
+ height: (27vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -1068,56 +1107,56 @@
|
|
|
.system {
|
|
|
width: 100%;
|
|
|
background-color: #ffffff;
|
|
|
- margin-top: 18rpx;
|
|
|
- padding-top: 40rpx;
|
|
|
- // padding-bottom: 45rpx;
|
|
|
- // margin-bottom: 43rpx;
|
|
|
+ margin-top: (18vw/7.5);
|
|
|
+ padding-top: (40vw/7.5);
|
|
|
+ // padding-bottom: 45(vw/7.5);
|
|
|
+ // margin-bottom: 43(vw/7.5);
|
|
|
|
|
|
.system-title {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
- padding-bottom: 22rpx;
|
|
|
+ padding-bottom: (22vw/7.5);
|
|
|
|
|
|
.title {
|
|
|
- width: 285rpx;
|
|
|
- height: 64rpx;
|
|
|
+ width: (285vw/7.5);
|
|
|
+ height: (64vw/7.5);
|
|
|
background-color: #ca121e;
|
|
|
- border-radius: 32rpx;
|
|
|
+ border-radius: (32vw/7.5);
|
|
|
color: #ffffff;
|
|
|
- font-size: 32rpx;
|
|
|
- line-height: 64rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
+ line-height: (64vw/7.5);
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.img {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
- margin-left: 16rpx;
|
|
|
- margin-right: 16rpx;
|
|
|
+ width: (68vw/7.5);
|
|
|
+ height: (43vw/7.5);
|
|
|
+ margin-left: (16vw/7.5);
|
|
|
+ margin-right: (16vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
+ width: (68vw/7.5);
|
|
|
+ height: (43vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.system-map {
|
|
|
- width: 750rpx;
|
|
|
- height: 500rpx;
|
|
|
+ width: (750vw/7.5);
|
|
|
+ height: (500vw/7.5);
|
|
|
background-color: #ffffff;
|
|
|
- padding: 0 24rpx;
|
|
|
- padding-bottom: 45rpx;
|
|
|
+ padding: 0 (24vw/7.5);
|
|
|
+ padding-bottom: (45vw/7.5);
|
|
|
|
|
|
.map-box {
|
|
|
width: 100%;
|
|
|
- height: 500rpx;
|
|
|
+ // height: 500(vw/7.5);
|
|
|
background-color: #f8f8f8;
|
|
|
|
|
|
image {
|
|
|
width: 100%;
|
|
|
- height: 500rpx;
|
|
|
+ height: (500vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -1125,57 +1164,55 @@
|
|
|
|
|
|
// AED
|
|
|
.list-box {
|
|
|
- padding: 0rpx 25rpx 24rpx;
|
|
|
- margin-top: 20rpx;
|
|
|
- // margin-bottom: 84rpx;
|
|
|
+ padding: (0vw/7.5) (25vw/7.5) (24vw/7.5);
|
|
|
+ margin-top: (20vw/7.5);
|
|
|
+ // margin-bottom: 84(vw/7.5);
|
|
|
|
|
|
.system-title {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
- height: 130rpx;
|
|
|
- // padding-bottom: 22rpx;
|
|
|
+ height: (130vw/7.5);
|
|
|
+ // padding-bottom: 22(vw/7.5);
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
.title {
|
|
|
- width: 285rpx;
|
|
|
- height: 64rpx;
|
|
|
+ width: (285vw/7.5);
|
|
|
+ height: (64vw/7.5);
|
|
|
background-color: #ca121e;
|
|
|
- border-radius: 32rpx;
|
|
|
+ border-radius: (32vw/7.5);
|
|
|
color: #ffffff;
|
|
|
- font-size: 32rpx;
|
|
|
- line-height: 64rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
+ line-height: (64vw/7.5);
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.img {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
- margin-left: 16rpx;
|
|
|
- margin-right: 16rpx;
|
|
|
+ width: (68vw/7.5);
|
|
|
+ height: (43vw/7.5);
|
|
|
+ margin-left: (16vw/7.5);
|
|
|
+ margin-right: (16vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 68rpx;
|
|
|
- height: 43rpx;
|
|
|
+ width: (68vw/7.5);
|
|
|
+ height: (43vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.map-box {
|
|
|
- // background-color: #FFFFFF;
|
|
|
width: 100%;
|
|
|
- height: 366rpx;
|
|
|
- // border: 2rpx solid #F2F2F2;
|
|
|
+ height: (450vw/7.5);
|
|
|
box-shadow: 5px 15px 15px 5px #f2f2f2;
|
|
|
}
|
|
|
|
|
|
.list-tpl {
|
|
|
background-color: #ffffff;
|
|
|
- margin: 25rpx 0rpx;
|
|
|
- padding: 25rpx 25rpx;
|
|
|
- font-size: 28rpx;
|
|
|
- border-radius: 15rpx;
|
|
|
+ margin: (25vw/7.5) 0;
|
|
|
+ padding: (25vw/7.5) (25vw/7.5);
|
|
|
+ font-size: (28vw/7.5);
|
|
|
+ border-radius: (15vw/7.5);
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
|
|
|
@@ -1184,21 +1221,21 @@
|
|
|
width: 100%;
|
|
|
|
|
|
.number {
|
|
|
- font-size: 32rpx;
|
|
|
- margin-right: 14rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
+ margin-right: (14vw/7.5);
|
|
|
}
|
|
|
|
|
|
.info {
|
|
|
width: 100%;
|
|
|
|
|
|
.title {
|
|
|
- font-size: 32rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
color: #222222;
|
|
|
font-weight: 500;
|
|
|
}
|
|
|
|
|
|
.addr {
|
|
|
- margin-top: 20rpx;
|
|
|
+ margin-top: (20vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -1208,78 +1245,78 @@
|
|
|
text-align: center;
|
|
|
|
|
|
image {
|
|
|
- width: 50rpx;
|
|
|
- height: 50rpx;
|
|
|
+ width: (50vw/7.5);
|
|
|
+ height: (50vw/7.5);
|
|
|
}
|
|
|
|
|
|
.tip {
|
|
|
color: #7f7f7f;
|
|
|
- font-size: 21rpx;
|
|
|
+ font-size: (21vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.popup_rows {
|
|
|
- // margin-top: 108rpx;
|
|
|
- height: 440rpx;
|
|
|
- border-radius: 25rpx;
|
|
|
+ // margin-top: 108(vw/7.5);
|
|
|
+ height: (440vw/7.5);
|
|
|
+ border-radius: (25vw/7.5);
|
|
|
width: 100%;
|
|
|
- padding: 24rpx;
|
|
|
+ padding: (24vw/7.5);
|
|
|
background-color: #f8f8f8;
|
|
|
z-index: 999;
|
|
|
|
|
|
.title {
|
|
|
- border-bottom: 2rpx solid #f2f2f2;
|
|
|
+ border-bottom: (2vw/7.5) solid #f2f2f2;
|
|
|
color: #e63931;
|
|
|
- font-size: 32rpx;
|
|
|
- padding-left: 4rpx;
|
|
|
- padding-bottom: 16rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
+ padding-left: (4vw/7.5);
|
|
|
+ padding-bottom: (16vw/7.5);
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
|
|
|
// align-items: center;
|
|
|
.cancel {
|
|
|
- margin-left: 52rpx;
|
|
|
- width: 36rpx;
|
|
|
- height: 36rpx;
|
|
|
+ margin-left: (52vw/7.5);
|
|
|
+ width: (36vw/7.5);
|
|
|
+ height: (36vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 36rpx;
|
|
|
- height: 36rpx;
|
|
|
+ width: (36vw/7.5);
|
|
|
+ height: (36vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.inpBox {
|
|
|
- margin-top: 52rpx;
|
|
|
+ margin-top: (52vw/7.5);
|
|
|
border: 2px solid #f2f2f2;
|
|
|
- padding: 12rpx 24rpx;
|
|
|
+ padding: (12vw/7.5) (24vw/7.5);
|
|
|
color: #ff9797;
|
|
|
- border-radius: 8rpx;
|
|
|
+ border-radius: (8vw/7.5);
|
|
|
|
|
|
.input-placeholder {
|
|
|
- // height: 70rpx;
|
|
|
- font-size: 32rpx;
|
|
|
+ // height: 70(vw/7.5);
|
|
|
+ font-size: (32vw/7.5);
|
|
|
color: #ff9797;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.inpedit {
|
|
|
- margin-top: 24rpx;
|
|
|
- margin-left: 14rpx;
|
|
|
- font-size: 28rpx;
|
|
|
+ margin-top: (24vw/7.5);
|
|
|
+ margin-left: (14vw/7.5);
|
|
|
+ font-size: (28vw/7.5);
|
|
|
color: #ff9797;
|
|
|
}
|
|
|
|
|
|
.comfirm {
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
- margin-top: 54rpx;
|
|
|
+ margin-top: (54vw/7.5);
|
|
|
|
|
|
.comfirm1 {
|
|
|
- padding: 12rpx 24rpx;
|
|
|
- border-radius: 12rpx;
|
|
|
+ padding: (12vw/7.5) (24vw/7.5);
|
|
|
+ border-radius: (12vw/7.5);
|
|
|
color: #ffffff;
|
|
|
background-color: #e63931;
|
|
|
}
|
|
|
@@ -1292,107 +1329,107 @@
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
color: #e63931;
|
|
|
- font-size: 30rpx;
|
|
|
- padding-top: 18rpx;
|
|
|
- padding-bottom: 18rpx;
|
|
|
+ font-size: (30vw/7.5);
|
|
|
+ padding-top: (18vw/7.5);
|
|
|
+ padding-bottom: (18vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 20rpx;
|
|
|
- height: 27rpx;
|
|
|
+ width: (20vw/7.5);
|
|
|
+ height: (27vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.location-item {
|
|
|
- // width: 710rpx;
|
|
|
+ // width: 710(vw/7.5);
|
|
|
background-color: #fff;
|
|
|
z-index: 10;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
- border-bottom: 1rpx solid #e7e8ea;
|
|
|
- padding: 15rpx 30rpx;
|
|
|
+ border-bottom: (1vw/7.5) solid #e7e8ea;
|
|
|
+ padding: (15vw/7.5) (30vw/7.5);
|
|
|
|
|
|
// margin: auto;
|
|
|
.box-left {
|
|
|
display: flex;
|
|
|
|
|
|
.img01 {
|
|
|
- width: 8rpx;
|
|
|
- height: 28rpx;
|
|
|
- margin-right: 18rpx;
|
|
|
+ width: (8vw/7.5);
|
|
|
+ height: (28vw/7.5);
|
|
|
+ margin-right: (18vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 8rpx;
|
|
|
- height: 28rpx;
|
|
|
+ width: (8vw/7.5);
|
|
|
+ height: (28vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.img02 {
|
|
|
- width: 117rpx;
|
|
|
- height: 117rpx;
|
|
|
+ width: (117vw/7.5);
|
|
|
+ height: (117vw/7.5);
|
|
|
border-radius: 50%;
|
|
|
|
|
|
image {
|
|
|
- width: 117rpx;
|
|
|
- height: 117rpx;
|
|
|
+ width: (117vw/7.5);
|
|
|
+ height: (117vw/7.5);
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.info {
|
|
|
- margin-left: 16rpx;
|
|
|
+ margin-left: (16vw/7.5);
|
|
|
|
|
|
.info-header {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
|
|
|
.name {
|
|
|
- font-size: 32rpx;
|
|
|
+ font-size: (32vw/7.5);
|
|
|
color: #333333;
|
|
|
}
|
|
|
|
|
|
.distance {
|
|
|
- margin-left: 25rpx;
|
|
|
- font-size: 28rpx;
|
|
|
+ margin-left: (25vw/7.5);
|
|
|
+ font-size: (28vw/7.5);
|
|
|
color: #303133;
|
|
|
}
|
|
|
|
|
|
.location-icon {
|
|
|
- margin-left: 10rpx;
|
|
|
- width: 20rpx;
|
|
|
- height: 26rpx;
|
|
|
+ margin-left: (10vw/7.5);
|
|
|
+ width: (20vw/7.5);
|
|
|
+ height: (26vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 20rpx;
|
|
|
- height: 26rpx;
|
|
|
+ width: (20vw/7.5);
|
|
|
+ height: (26vw/7.5);
|
|
|
display: inline;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.address {
|
|
|
- font-size: 26rpx;
|
|
|
+ font-size: (26vw/7.5);
|
|
|
color: #333333;
|
|
|
- margin-top: 33rpx;
|
|
|
+ margin-top: (33vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.box-right {
|
|
|
.img {
|
|
|
- height: 107rpx;
|
|
|
+ height: (107vw/7.5);
|
|
|
|
|
|
image {
|
|
|
- width: 107rpx;
|
|
|
- height: 107rpx;
|
|
|
+ width: (107vw/7.5);
|
|
|
+ height: (107vw/7.5);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.called {
|
|
|
- margin-right: 16rpx;
|
|
|
- height: 107rpx;
|
|
|
- line-height: 107rpx;
|
|
|
- font-size: 28rpx;
|
|
|
+ margin-right: (16vw/7.5);
|
|
|
+ height: (107vw/7.5);
|
|
|
+ line-height: (107vw/7.5);
|
|
|
+ font-size: (28vw/7.5);
|
|
|
color: #cb131c;
|
|
|
}
|
|
|
}
|