Browse Source

feat: 房型列表

2912631854@qq.com 3 months ago
parent
commit
cba1200db2
1 changed files with 28 additions and 8 deletions
  1. 28 8
      pages/my/roomType.vue

+ 28 - 8
pages/my/roomType.vue

@@ -28,13 +28,17 @@
 			</view>
 			<view class="right" @click="goEditTypeInfo(item.houseBaseId)">
 				<view class="top">
-					<view style="font-size: 30rpx; color: #333;">{{item.name}}( {{item.isPutaway==1?'已上架':'已下架'}})
+					<view style="font-size: 30rpx; color: #333; ">{{item.name}}(
+						{{item.isPutaway==1?'已上架':'已下架'}})
 					</view>
-					<u-icon name="arrow-right"></u-icon>
+					<!-- <u-icon name="arrow-right"></u-icon>	 -->
+					<!-- <view class="xgfj">
+						修改房价
+					</view> -->
 				</view>
 				<view class="under">
 					<text style="font-size: 24rpx; color: #777;">{{item.shortName}}</text>
-					<text style="font-size: 24rpx; color: #777;">{{item.roomCount}}间</text>
+					<!-- <text style="font-size: 24rpx; color: #777;">{{item.roomCount}}间</text> -->
 				</view>
 			</view>
 		</view>
@@ -99,7 +103,7 @@
 				</view>
 				<view class="hander-three">
 					<view class="hander-three-text">
-						始日期
+						始日期
 					</view>
 					<view class="hander-three-input" @click="showTimeOne">
 						<u--input placeholder="请选择" border="none" disabledColor='#fff' fontSize='26'
@@ -184,11 +188,11 @@
 
 		<!-- <u-calendar :show="show" :mode="mode" @confirm="confirm"></u-calendar> -->
 		<!-- 选择入驻时间 -->
-		<u-calendar class="u-time" confirmDisabledText="确定" :show="showOne" :mode="mode" @confirm="confirmOne"
-			@close="closeDate" :closeOnClickOverlay="true"></u-calendar>
+		<u-calendar class="u-time" confirmDisabledText="确定" title="开始时间" :show="showOne" :mode="mode"
+			@confirm="confirmOne" @close="closeDate" :closeOnClickOverlay="true"></u-calendar>
 
-		<u-calendar class="u-time" confirmDisabledText="确定" :show="showTwo" :mode="mode" @confirm="confirmTwo"
-			@close="closeDate" :closeOnClickOverlay="true"></u-calendar>
+		<u-calendar class="u-time" confirmDisabledText="确定" title="结束时间" :show="showTwo" :mode="mode"
+			@confirm="confirmTwo" @close="closeDate" :closeOnClickOverlay="true"></u-calendar>
 
 	</view>
 </template>
@@ -267,6 +271,8 @@
 					this.valueTimeOne = e[0]
 				}
 				this.fromData.rentDateStart = e[0]
+				this.showTwo = true
+				this.mode = 'single'
 			},
 			confirmTwo(e) {
 				this.showTwo = false
@@ -641,14 +647,28 @@
 		display: flex;
 		justify-content: space-between;
 
+
 	}
 
 	.under {
 		margin-top: 40rpx;
 		display: flex;
 		justify-content: space-between;
+
+
 	}
 
+
+	// .xgfj {
+	// 	width: 115rpx;
+	// 	background: aqua;
+	// 	height: 50rpx;
+	// 	border-radius: 13rpx;
+	// 	line-height: 50rpx;
+	// 	padding: 0rpx 4rpx;
+	// 	margin-top: 28rpx;
+	// }
+
 	.btn-btn {
 		width: 100%;
 		height: 136rpx;