Browse Source

增加‘请进行地图标点’提示

htc 11 months ago
parent
commit
de4036687c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pagesMy/stayInfo/roomPosition.vue

+ 3 - 2
pagesMy/stayInfo/roomPosition.vue

@@ -1,7 +1,7 @@
 <template>
 	<!-- <view class="pages" :style="{'height':(h)+'px','padding-top':mt+'px'}"> -->
 <view class="pages" :style="{'height':(h-th)+'px','padding-top':mt+'px'}">
-		<c-nav-bar title="位置定位" :showIcon="true"></c-nav-bar>
+		<c-nav-bar title="酒店民宿信息" :showIcon="true"></c-nav-bar>
 		<view class="content">
 			<view class="card">
 				<!-- <view class="card1" @tap="open()"> -->
@@ -181,7 +181,8 @@
 				})
 			},
 			// 确定保存
-			save() {
+			save() {
+				if(!this.latitude||!this.longitude) return this.$showToast('请进行地图标点')
 				// if (!this.$u.test.mobile(this.stayInfo.landlinePhone)) {
 				// 	this.$showToast('请输入正确手机号');
 				// 	return