|
|
@ -2,7 +2,6 @@
|
|
|
|
<div class="header-category">
|
|
|
|
<div class="header-category">
|
|
|
|
<!-- 热门分类 -->
|
|
|
|
<!-- 热门分类 -->
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-show="showCategroyTab"
|
|
|
|
|
|
|
|
class="header-box-tab__category"
|
|
|
|
class="header-box-tab__category"
|
|
|
|
@mouseenter="handleCategoryChange(true)"
|
|
|
|
@mouseenter="handleCategoryChange(true)"
|
|
|
|
@mouseleave="handleCategoryChange(false)"
|
|
|
|
@mouseleave="handleCategoryChange(false)"
|
|
|
@ -12,7 +11,6 @@
|
|
|
|
<span>热门分类</span>
|
|
|
|
<span>热门分类</span>
|
|
|
|
</div> -->
|
|
|
|
</div> -->
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-show="isCategroyOpen || categroyVisible"
|
|
|
|
|
|
|
|
class="tab-category__menu"
|
|
|
|
class="tab-category__menu"
|
|
|
|
@mouseenter="handleCategoryTwoChange(true)"
|
|
|
|
@mouseenter="handleCategoryTwoChange(true)"
|
|
|
|
@mouseleave="handleCategoryTwoChange(false)"
|
|
|
|
@mouseleave="handleCategoryTwoChange(false)"
|
|
|
@ -68,7 +66,7 @@ export default {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
CATEGROY_LEVEL,
|
|
|
|
CATEGROY_LEVEL,
|
|
|
|
categroyTwoVisible: false, // 是否展示二级分类
|
|
|
|
categroyTwoVisible: false, // 是否展示二级分类
|
|
|
|
categroyVisible: false, // 是否展示一级分类
|
|
|
|
categroyVisible: true, // 是否展示一级分类
|
|
|
|
currentCategroyId: 0, // 当前鼠标悬停的一级分类id
|
|
|
|
currentCategroyId: 0, // 当前鼠标悬停的一级分类id
|
|
|
|
list: [],
|
|
|
|
list: [],
|
|
|
|
};
|
|
|
|
};
|
|
|
|