Commit 293ffc29 by chenyu

update: breadcrumb add "showTitle"

parent ac7d1bdc
......@@ -19,7 +19,7 @@
</router-link>
</el-breadcrumb-item>
</el-breadcrumb>
<div class="navtitle">
<div class="navtitle" v-if="showTitle">
{{ navpath[navpath.length - 1].name }}
<slot name="member"></slot>
<div v-html="layoutTips" class="layout--tips--wrap"></div>
......@@ -42,6 +42,10 @@ export default {
default() {
return [];
}
},
showTitle: {
type: Boolean,
default:true
}
},
methods: {},
......
<template>
<div class="mall-container-new">
<v-nav :navpath="navpath"></v-nav>
<v-nav :navpath="navpath" :showTitle="false"></v-nav>
<div class="record">
<header>
<el-select v-model="search" placeholder="全部类型" clearable @change="searchChangd">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment