Browse Source

修改样式,屏蔽商城图片

asd123a20 2 years ago
parent
commit
e1fdf0fcde
3 changed files with 6 additions and 4 deletions
  1. 4 4
      pages/goods/index.vue
  2. 1 0
      pages/index/index.vue
  3. 1 0
      pages/policy/index.vue

+ 4 - 4
pages/goods/index.vue

@@ -1,12 +1,12 @@
 <template>
 	<view class="content">
-		<view class="page-section page-section-spacing swiper">
+		<!-- <view class="page-section page-section-spacing swiper">
 			<swiper class="swiper" :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration">
 				<swiper-item v-for="(item, index) in bannerList" :key="index">
 					<image style="width: 100%; height: 100%;" :src="item"></image>
 				</swiper-item>
 			</swiper>
-		</view>
+		</view> -->
 		<!-- <uni-section class="mb-10" title="热门优惠" type="line"> -->
 			<view class="mainList">
 				<uni-list>
@@ -115,8 +115,8 @@
 		background: #F8F8F8;
 	}
 	.mainList {
-		width: 90%;
-		margin: 30rpx auto;
+		width: 100%;
+		/* margin: 30rpx auto; */
 	}
 
 	.mainText {

+ 1 - 0
pages/index/index.vue

@@ -244,5 +244,6 @@
 		text-align: center;
 		border-radius: 12px;
 		font-size: 12px;
+		line-height: 20px;
 	}
 </style>

+ 1 - 0
pages/policy/index.vue

@@ -92,6 +92,7 @@
 		width: 100%;
 		z-index: 999;
 		background-color: #fff;
+		overflow: hidden;
 	}
 	.tabsBox {
 		width: 100%;