Commit 7ae5947afeac4c8200fbf9f4540e5cf25823cc80
1 parent
b21a4e07
商品分类
Showing
3 changed files
with
18 additions
and
5 deletions
pages/goods/categoryList/categoryList.js
pages/goods/categoryList/categoryList.wxml
... | ... | @@ -121,14 +121,14 @@ |
121 | 121 | <!-- 分类项目的类型 --> |
122 | 122 | <view class="project_type"> |
123 | 123 | <view class="project_type-frame"> |
124 | - <view bindtap="click_classify" class="share_type fs32 flex-space-between xc-letter-spacing {{select_classify_on==223?'select_classify':''}}"data-index="223" wx:if="{{is_country}}"> | |
124 | + <view bindtap="click_classify" class="share_type fs32 flex-space-between xc-letter-spacing {{select_classify_on==223?'select_classify':''}}"data-index="223"data-name="国家" wx:if="{{is_country}}"> | |
125 | 125 | <text>国</text><text>家</text> |
126 | 126 | </view> |
127 | - <view bindtap="click_classify" class="{{select_classify_on==220?'select_classify':''}} share_type fs32 flex-space-between xc-letter-spacing" wx:if="{{is_brand}}"data-index="220"> | |
127 | + <view bindtap="click_classify" class="{{select_classify_on==220?'select_classify':''}} share_type fs32 flex-space-between xc-letter-spacing" wx:if="{{is_brand}}"data-index="220"data-name="品牌"> | |
128 | 128 | <text>品</text><text>牌</text> |
129 | 129 | </view> |
130 | 130 | <block wx:for="{{name}}" wx:for-item="ittm"wx:for-index="index"> |
131 | - <view bindtap="click_classify" class="{{select_classify_on==index?'select_classify width80':''}} share_type fs32 t-c {{ittm.names.length==2? 'world_sn':''}} {{select_classify_on==index&&ittm.names.length==2?'text-indent':''}}"data-index="{{index}}"> | |
131 | + <view bindtap="click_classify" class="{{select_classify_on==index?'select_classify width80':''}} share_type fs32 t-c {{ittm.names.length==2? 'world_sn':''}} {{select_classify_on==index&&ittm.names.length==2?'text-indent':''}}"data-index="{{index}}"data-name="{{ittm.names}}"> | |
132 | 132 | {{ittm.names}} |
133 | 133 | </view> |
134 | 134 | </block> |
... | ... | @@ -137,7 +137,9 @@ |
137 | 137 | |
138 | 138 | </view> |
139 | 139 | <!-- 分类项目的内容 --> |
140 | -<view class=""></view> | |
140 | +<view class="classify_content"> | |
141 | +<view class="classify_name fs32">{{classify_name}}</view> | |
142 | +</view> | |
141 | 143 | |
142 | 144 | </view> |
143 | 145 | ... | ... |
pages/goods/categoryList/categoryList.wxss
... | ... | @@ -236,4 +236,14 @@ line-height: 45rpx; |
236 | 236 | } |
237 | 237 | .text-indent{ |
238 | 238 | text-indent: 31rpx; |
239 | - } | |
240 | 239 | \ No newline at end of file |
240 | + } | |
241 | + .classify_name{ | |
242 | + width: 90%; | |
243 | + margin: auto; | |
244 | + height: 80rpx; | |
245 | + border-bottom: 1rpx solid #eee; | |
246 | + line-height: 80rpx; | |
247 | + } | |
248 | + .classify_content{ | |
249 | + width: 100% | |
250 | + } | |
241 | 251 | \ No newline at end of file | ... | ... |