Browse Source

样式修改

twt 3 days ago
parent
commit
6eb723acf8
3 changed files with 12 additions and 5 deletions
  1. 8 3
      pages/index/goodsDetail.vue
  2. 3 1
      pages/index/goodsList.vue
  3. 1 1
      pages/index/search.vue

+ 8 - 3
pages/index/goodsDetail.vue

@@ -5,7 +5,7 @@
 			<swiper class="swiper" circular :indicator-dots="true" :autoplay="false" :interval="3000"
 				:duration="duration" indicator-active-color="rgba(0, 0, 0, .3)" indicator-color="#EAEAEA">
 				<swiper-item v-for="(item,index) in info.imgList">
-					<view class="swiper-item">
+					<view class="swiper-item" >
 						<image @click="showImgList(item.imgPath)" :src="item.imgPath" mode="aspectFit" class="swiper-itemImg"></image>
 					</view>
 				</swiper-item>
@@ -96,8 +96,13 @@
 
 <style scoped>
 .swiper-itemImg{
-	width: 750rpx;
-	height: 750rpx;
+	width: 742rpx;
+	height: 742rpx;
+	border-radius: 10rpx;
+	border: 2rpx solid #eaeaea;
+}
+.swiper-item{
+	text-align: center;
 }
 .uni-margin-wrap{
 	height: 750rpx;

+ 3 - 1
pages/index/goodsList.vue

@@ -132,6 +132,8 @@
 			   leftIndex:0,
 			   messageText:'',
 			   componentName:'全部',
+			   isVin:'',
+			   vin:'',
 			}
 		},
 		onLoad(opt) {
@@ -194,7 +196,7 @@
 							logo:res.data.carModelInfo.logo,
 						}
 						 this.optdata=data;
-						//this.saveQueryHistory();
+						this.saveQueryHistory();
 						 this.queryMaintainPartList()
 				   })
 			},

+ 1 - 1
pages/index/search.vue

@@ -344,7 +344,7 @@
 	color: #1A1A1A;line-height: 80rpx;
 }
 .searchInputBox{
-	width: 622rpx;display: flex;
+	width: 600rpx;display: flex;
 	height: 80rpx;position: relative;
 	background: #F9F9F9;
 	border-radius: 16rpx;