Commit e85d007e authored by 张伯涛's avatar 张伯涛

tag签英文

parent 1d901ba8
......@@ -2,7 +2,10 @@
<el-breadcrumb class="app-breadcrumb" separator=">">
<transition-group name="breadcrumb">
<el-breadcrumb-item v-for="(item,index) in levelList" :key="item.path">
<span v-if="item.redirect==='noRedirect'||index==levelList.length-1 || index === 0" class="no-redirect">{{ item.meta.title }}</span>
<span v-if="item.redirect==='noRedirect'||index==levelList.length-1 || index === 0" class="no-redirect">
<!-- {{ item.meta.title }}-->
{{ item.meta.title.split(';')[0] }}{{ item.meta.title.split(';')[1] }}
</span>
<a v-else @click.prevent="handleLink(item)">{{ item.meta.title }}</a>
</el-breadcrumb-item>
</transition-group>
......
......@@ -13,8 +13,17 @@
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@contextmenu.prevent.native="openMenu(tag,$event)"
>
{{ tag.title }}
<span v-if="!isAffix(tag)" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
<el-row>
<el-col :span="22">
<div>
<div class="tagTitle"> {{ tag.title.split(';')[0] }}</div>
<div class="tagTitle"> {{ tag.title.split(';')[1] }}</div>
</div>
</el-col>
<el-col :span="2">
<span v-if="!isAffix(tag)" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
</el-col>
</el-row>
</router-link>
</scroll-pane>
<ul v-show="visible" :style="{left:left+'px',top:top+'px'}" class="contextmenu">
......@@ -214,7 +223,7 @@ export default {
<style lang="scss" scoped>
.tags-view-container {
height: 31px;
height: 40px;
width: 100%;
background: #F4F4F4;
//border-bottom: 1px solid #d8dce5;
......@@ -225,7 +234,7 @@ export default {
display: inline-block;
position: relative;
cursor: pointer;
height: 27px;
height: 37px;
line-height: 26px;
//border: 1px solid #d8dce5;
color: #495060;
......@@ -284,6 +293,12 @@ export default {
<style lang="scss">
//reset element css of el-icon-close
.tags-view-wrapper {
.el-scrollbar__wrap{
height: 60px!important;
}
.tagTitle{
line-height: 18px;
}
.tags-view-item {
.el-icon-close {
width: 16px;
......
......@@ -102,7 +102,7 @@ export const constantRoutes = [
path: 'type/data/:dictId(\\d+)',
component: (resolve) => require(['@/views/system/dict/data'], resolve),
name: 'Data',
meta: { title: '字典数据', icon: '' }
meta: { title: '字典数据;Dictionary Data', icon: '' }
}
]
}
......
......@@ -207,9 +207,9 @@
</el-popover>
</el-form-item>
</el-col>
<el-col :span="12">
<el-col :span="24">
<el-form-item label="菜单名称" prop="menuName">
<el-input v-model.trim="form.menuName" show-word-limit maxlength="20" placeholder="请输入菜单名称" />
<el-input v-model="form.menuName" style="width: 95%" show-word-limit maxlength="60" placeholder="请输入菜单名称" />
</el-form-item>
</el-col>
<el-col :span="12">
......
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