Commit ba194ee25b9ac036f2787a06dcfa137bfac21501
Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev
Showing
2 changed files
with
2 additions
and
6 deletions
components/goods_list/goods_list.wxml
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 | <view class="fs35">{{filter.toFix(item[card_field],2)}}</view> |
43 | 43 | <view class="card_bg ellipsis-1"> |
44 | 44 | <image src="{{url}}/miniapp/images/plus/dj_icon.png"></image> |
45 | - <view class="card_name">{{card_name}}</view> | |
45 | + <text class="card_name">{{card_name}}</text> | |
46 | 46 | </view> |
47 | 47 | </view> |
48 | 48 | </view> | ... | ... |
components/goods_list/goods_list.wxss
... | ... | @@ -186,18 +186,14 @@ |
186 | 186 | |
187 | 187 | .card_bg { |
188 | 188 | box-sizing: border-box; |
189 | - /* display: flex; */ | |
190 | 189 | padding: 2rpx 10rpx; |
191 | 190 | height: 28rpx; |
192 | - /* align-items: center; */ | |
193 | 191 | border-radius: 26rpx; |
194 | 192 | font-size: 18rpx; |
195 | 193 | line-height: 28rpx; |
196 | - /* max-width: 110rpx; */ | |
197 | - max-width: 220rpx; | |
194 | + max-width: 210rpx; | |
198 | 195 | background: #333; |
199 | 196 | color: #fff; |
200 | - /* justify-content: center; */ | |
201 | 197 | margin-left: 8rpx; |
202 | 198 | } |
203 | 199 | ... | ... |