17755135699 1 سال پیش
والد
کامیت
d28f2d8921
2فایلهای تغییر یافته به همراه12 افزوده شده و 15 حذف شده
  1. 11 15
      pagesMy/stayInfo/roomPosition.vue
  2. 1 0
      pagesMy/stayInfo/stayInfo.vue

+ 11 - 15
pagesMy/stayInfo/roomPosition.vue

@@ -1,5 +1,6 @@
 <template>
-	<view class="pages">
+	<view class="pages" :style="{'height':(h)+'px','padding-top':mt+'px'}">
+		<c-nav-bar title="位置定位" :showIcon="true"></c-nav-bar>
 		<view class="content">
 			<view class="card">
 				<view class="card1" @tap="open()">
@@ -28,7 +29,7 @@
 					</span>
 				</view>
 			</view>
-			<view class="card" style="padding-bottom: 140rpx;">
+			<view class="card" style="padding-bottom: 180rpx;">
 				<view class="card1">
 					<text>地图位置</text>
 				</view>
@@ -109,9 +110,7 @@
 		},
 		onLoad(option) {
 			if (option) {
-				console.log(option, 'option11111111option');
 				this.formData = JSON.parse(option.item)
-				console.log(this.formData, 'this.formData');
 				this.latitude = this.formData.lat
 				this.longitude = this.formData.lon
 				this.markers[0].latitude = this.formData.lat
@@ -286,26 +285,23 @@
 		.bottom {
 			position: fixed;
 			bottom: 0;
-			height: 9%;
+			z-index: 999999;
 			background: #fff;
 			width: 100%;
-			display: flex;
-			justify-content: center;
-			align-items: center;
-			padding: 0 30rpx;
+			padding: 20rpx 0 30rpx;
 			box-sizing: border-box;
-			flex-direction: column;
 
 			.btn {
 				background: #33AFFC;
 				color: white;
 				text-align: center;
-				height: 73rpx;
-				line-height: 73rpx;
+				height: 96rpx;
+				margin: 0 auto;
+				font-size: 34rpx;
+				line-height: 96rpx;
 				align-self: center;
-				border-radius: 35rpx;
-				width: 80%;
-
+				border-radius: 48rpx;
+				width: 690rpx;
 			}
 		}
 	}

+ 1 - 0
pagesMy/stayInfo/stayInfo.vue

@@ -251,6 +251,7 @@
 			width: 100%;
 			padding: 20rpx 0 30rpx;
 			box-sizing: border-box;
+			z-index: 99999999;
 
 			.btn {
 				background: #33AFFC;