Commit 459c731009f9536e4928f5727ad2649995cd7d7f
1 parent
adc68dda
商品分类
Showing
2 changed files
with
2 additions
and
2 deletions
pages/goods/categoryList/categoryList.js
... | ... | @@ -475,7 +475,7 @@ Page({ |
475 | 475 | this.setData(_errObj) //注意这里的赋值方式,只是将数据列表中的此项图片路径值替换掉 ; |
476 | 476 | }, |
477 | 477 | //选择更多 |
478 | - select_more:function(e){ | |
478 | + select_more:function(e){ | |
479 | 479 | var cid = e.currentTarget.dataset.cid; |
480 | 480 | var pid = e.currentTarget.dataset.pid; |
481 | 481 | console.log("选择更多"+cid); | ... | ... |
pages/goods/categoryList/categoryList.wxml
... | ... | @@ -139,7 +139,7 @@ |
139 | 139 | <view bindtap="click_classify" data-arr="{{ittms.array}}" data-cid="{{ittms.items.id}}" data-pid="0" class="{{select_classify_on==index?'select_classify width80':''}} share_type fs32 t-c {{ittms.items.name.length==2? 'world_sn':''}} {{select_classify_on==index&&ittms.items.name.length==2?'text-indent':''}} {{select_classify_on==index&&ittms.items.name.length==3?'text3':''}}"data-index="{{index}}"data-name="{{ittms.items.name}}"> |
140 | 140 | <view class="{{ittms.items.name.length==3?'flex-center-around':'flex-space-between'}}" wx:if="{{ittms.items.name.length<4}}"> |
141 | 141 | <view wx:for="{{ittms.items.name}}" wx:for-item="name"wx:for-index="index"> |
142 | - <view> | |
142 | + <view> | |
143 | 143 | {{name}} |
144 | 144 | </view> |
145 | 145 | </view> | ... | ... |