lilei 4 лет назад
Родитель
Сommit
8286594d56
2 измененных файлов с 4 добавлено и 3 удалено
  1. 3 2
      components/uni-coods/uni-coods.vue
  2. 1 1
      pages/goods/index.vue

+ 3 - 2
components/uni-coods/uni-coods.vue

@@ -88,14 +88,15 @@
 			}
 		}
 		.name{
-			padding: 10upx 20upx 0;
+			padding: 10upx 0;
 			font-weight: bold;
+			font-size: 30rpx;
 		}
 		.price{
 			display: flex;
 			align-items: center;
 			justify-content: space-between;
-			padding: 15upx 20upx;
+			padding: 15upx 0;
 			text{
 				color: #d42a26;
 				font-size: 36upx;

+ 1 - 1
pages/goods/index.vue

@@ -7,7 +7,7 @@
 		<!-- 商品 -->
 		<view class="goods">
 			<view v-for="(item,index) in goodsList" :key="item.type.id" v-if="goodsList.length&&item.list.length">
-				<u-section :title="item.type.name" line-color="#01c9b2" sub-title="更多" @click="toGoods(item.type)"></u-section>
+				<u-section :title="item.type.name" font-size="35" line-color="#01c9b2" sub-title="更多" @click="toGoods(item.type)"></u-section>
 				<view class="goods-list">
 					<uni-coods :list="item.list"></uni-coods>
 				</view>