Ver código fonte

样式修改

tanxue 2 meses atrás
pai
commit
b22c902f23

+ 7 - 0
common/styles/global/pages.scss

@@ -818,4 +818,11 @@
 		.bottom-text{font-size: 24rpx;color: #333;}
 	}
 	
+}
+
+/*** 地图浮层 ***/
+.map-popup-box{
+	height: 100vh;
+	.map-card-list{}
+	.map-card-box{}
 }

+ 5 - 5
components/customMap/customMap.vue

@@ -1,5 +1,5 @@
 <template>
-	<view>
+	<view class="map-popup-box">
 		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
 			<text class="nav-bar-title">选择地址</text>
@@ -13,10 +13,10 @@
 		</view>
 		<map style="width: 100%; height: 300px;" :latitude="data.latitude" :longitude="data.longitude"
 			:markers="data.covers" :show-location="true"> </map>
-		<view  v-if="result"  v-for="(item,index) in result.data.data" key="index">
-			<view @click="xuanzeAdress(item)">
-				<view :class="index==0?'xxxactive':''" >{{item.title}}</view>
-				<view>{{item.address}}</view>
+		<view  v-if="result"  v-for="(item,index) in result.data.data" key="index" class="map-card-list">
+			<view @click="xuanzeAdress(item)" class="map-card-box">
+				<view class="map-card-title" :class="index==0?'xxxactive':''">{{item.title}}</view>
+				<view class="map-card-address">{{item.address}}</view>
 			</view>
 
 		</view>