Browse Source

样式修改

wcni 5 years ago
parent
commit
d4631f3512
2 changed files with 12 additions and 7 deletions
  1. 8 3
      pages/index/index.vue
  2. 4 4
      pages/index/shop.vue

+ 8 - 3
pages/index/index.vue

@@ -49,7 +49,8 @@
 	 </view>
 	 </view>
 	
 	
 	 <view class="tips">
 	 <view class="tips">
-		 在附近酒店找到您入住的酒店
+		 <view style="font-weight: bold;font-size: 34rpx;">附近酒店</view>
+		 <view style="color: #909399;">在此找到您入住的酒店</view>
 	 </view>
 	 </view>
 	 <view style="border-bottom: 2upx solid #EEEEEE;width: 100%;margin-bottom: 24upx 0;"></view>
 	 <view style="border-bottom: 2upx solid #EEEEEE;width: 100%;margin-bottom: 24upx 0;"></view>
 	
 	
@@ -521,10 +522,14 @@
 	}
 	}
 		
 		
 	.tips {
 	.tips {
-		color: #303133;
+		/* color: #303133;
 		font-size: 28upx;
 		font-size: 28upx;
 		text-align: center;
 		text-align: center;
-		margin: 24upx 0;
+		margin: 24upx 0; */
+		padding: 20upx 32upx;
+		display: flex;
+		justify-content: space-between;
+		font-size: 30upx;
 	}
 	}
 		
 		
     .hotelList {
     .hotelList {

+ 4 - 4
pages/index/shop.vue

@@ -480,10 +480,10 @@
 						this.specSelected = this.datalist.goods_list;
 						this.specSelected = this.datalist.goods_list;
 						return;
 						return;
 					}
 					}
-					if(this.chosename.length == 0&&this.datalist.spec_list.length != 0) {
-						this.specClass = 'show';
-						return;
-					}
+					// if(this.chosename.length == 0&&this.datalist.spec_list.length != 0) {
+					// 	this.specClass = 'show';
+					// 	return;
+					// }
 						if(this.specSelected.length == 0&&this.datalist.spec_list.length != 0 ) {
 						if(this.specSelected.length == 0&&this.datalist.spec_list.length != 0 ) {
 							this.specClass = 'show';
 							this.specClass = 'show';
 							this.$msg("请选择规格数量");
 							this.$msg("请选择规格数量");