|
@@ -25,9 +25,9 @@
|
|
</template>
|
|
</template>
|
|
<template v-for="(sub, subIndex) in item.children">
|
|
<template v-for="(sub, subIndex) in item.children">
|
|
<template v-if="sub.children">
|
|
<template v-if="sub.children">
|
|
- <template v-for="(thr,thrIndex) in sub.children">
|
|
|
|
- <el-menu-item :index="thr.path" :key="thrIndex+'thr'" v-if="thr.type !== 'url'" style="float: left;height:60px;line-height:60px;font-size:20px;" class="hover">{{ thr.title }}</el-menu-item>
|
|
|
|
- <el-menu-item :index="``" :key="thrIndex+'thr'" @click="turnTo(thr.url)" v-else style="float: left;height:60px;line-height:60px;font-size:20px;" class="hover"> {{ thr.title }}</el-menu-item>
|
|
|
|
|
|
+ <template v-for="(thr) in sub.children">
|
|
|
|
+ <el-menu-item :index="thr.path" :key="thr.id" v-if="thr.type !== 'url'" style="float: left;height:60px;line-height:60px;font-size:20px;" class="hover">{{ thr.title }}</el-menu-item>
|
|
|
|
+ <el-menu-item :index="``" :key="thr.id" @click="turnTo(thr.url)" v-else style="float: left;height:60px;line-height:60px;font-size:20px;" class="hover"> {{ thr.title }}</el-menu-item>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
<el-menu-item :index="sub.path" :key="subIndex+'sub'" v-else-if="sub.type === 'content'||sub.type==='column'" style="float: left;height:60px;line-height:60px;font-size:20px;" class="hover">{{ sub.title }}</el-menu-item>
|
|
<el-menu-item :index="sub.path" :key="subIndex+'sub'" v-else-if="sub.type === 'content'||sub.type==='column'" style="float: left;height:60px;line-height:60px;font-size:20px;" class="hover">{{ sub.title }}</el-menu-item>
|