【修改】增加菜单

This commit is contained in:
zhoulingpo
2023-05-04 11:05:23 +08:00
parent e5bf906c13
commit fef946e0bd
2 changed files with 72 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
const routes = [
// 报告管理
{
path: '/basemes',
name: 'Layout',
component: () => import('../../views/Layout.vue'),
children:[
{
path: 'setting',
name: 'Setting',
component: () => import('../../views/baseMes/index.vue'),
meta: {
crumb: ['基本设置']
}
}
]
}
]
export default routes
+53
View File
@@ -0,0 +1,53 @@
<template>
<div class="content-height">
<el-row class="inputForm">
<el-col :span="6">
<div class="tag-item showLimit">
<label class="tag-title">水印前缀:</label>
<el-input v-model="name" placeholder="请输入水印前缀"
maxlength="100" show-word-limit></el-input>
</div>
</el-col>
<el-col :span="2" align="right" class="tag-btns">
<el-button type="primary" @click="save">保存</el-button>
</el-col>
</el-row>
</div>
</template>
<script>
export default {
name: "index",
data(){
return {
name:'',
processForm:{}
}
}
}
</script>
<style lang="scss" scoped>
label.tag-title {
//width: auto;
font-size: 14px;
font-weight: normal;
color: #646464;
display: inline-block;
width: 112px;
height: 19px;
line-height: 19px;
padding-left: 13px;
// border-right: 1px solid #BFBFBF;
margin-right: 10px;
margin-top: 2.5px;
}
.tag-item {
margin-bottom: 15px;
display: flex;
}
.inputForm{
padding-top: 30px;
}
</style>