fix:二级分类添加点击事件
parent
8211c4f3a2
commit
a20551115a
|
|
@ -11,6 +11,11 @@
|
||||||
class="goods-item"
|
class="goods-item"
|
||||||
v-for="item in props.data.children[activeMenu].children"
|
v-for="item in props.data.children[activeMenu].children"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
|
@tap="
|
||||||
|
sheep.$router.go('/pages/goods/list', {
|
||||||
|
categoryId: item.id,
|
||||||
|
})
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<image class="goods-img" :src="sheep.$url.cdn(item.image)" mode="aspectFill"></image>
|
<image class="goods-img" :src="sheep.$url.cdn(item.image)" mode="aspectFill"></image>
|
||||||
<view class="ss-p-10">
|
<view class="ss-p-10">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue