Commit 13918a1f994fcde92e7a84034a22ed7c30599036

Authored by 后端开发-许程
1 parent 7ae5947a

商品分类,

pages/goods/categoryList/categoryList.wxml
@@ -139,7 +139,10 @@ @@ -139,7 +139,10 @@
139 <!-- 分类项目的内容 --> 139 <!-- 分类项目的内容 -->
140 <view class="classify_content"> 140 <view class="classify_content">
141 <view class="classify_name fs32">{{classify_name}}</view> 141 <view class="classify_name fs32">{{classify_name}}</view>
  142 +<view class="flex classify_content-frame">
142 </view> 143 </view>
  144 +</view>
  145 +
143 146
144 </view> 147 </view>
145 148
pages/goods/categoryList/categoryList.wxss
@@ -240,10 +240,20 @@ line-height: 45rpx; @@ -240,10 +240,20 @@ line-height: 45rpx;
240 .classify_name{ 240 .classify_name{
241 width: 90%; 241 width: 90%;
242 margin: auto; 242 margin: auto;
243 - height: 80rpx; 243 + height: 70rpx;
244 border-bottom: 1rpx solid #eee; 244 border-bottom: 1rpx solid #eee;
245 - line-height: 80rpx; 245 + line-height: 85rpx;
  246 + font-weight: 600;
  247 +
246 } 248 }
247 .classify_content{ 249 .classify_content{
248 - width: 100% 250 + width: 67%
  251 +
  252 + }
  253 + .classify_content-frame{
  254 + width: 90%;
  255 + height: 90%;
  256 + margin: auto;
  257 + flex-wrap:wrap;
  258 + justify-content:space-between;
249 } 259 }
250 \ No newline at end of file 260 \ No newline at end of file