Commit ff61708b authored by zhangyichen's avatar zhangyichen

修改bug 56208 平台首页折叠后的排版需调整

parent b91f28ef
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
vnodes.push( vnodes.push(
<div slot='title'> <div slot='title'>
<div> {(title.split(';')[0])} </div> <div> {(title.split(';')[0])} </div>
<div style='padding-left: 5px;font-size: 12px;position: relative;top: -4px'>{(title.split(';')[1])}</div> <div class='noTool' style='padding-left: 5px;font-size: 12px;position: relative;top: -4px'>{(title.split(';')[1])}</div>
</div> </div>
) )
} }
......
<template> <template>
<div v-if="!item.hidden"> <div v-if="!item.hidden" class="myMenu">
<template v-if="item.showFather !== 'true' && hasOneShowingChild(item.children,item) && (!onlyOneChild.children || onlyOneChild.noShowingChildren) && !item.alwaysShow"> <template v-if="item.showFather !== 'true' && hasOneShowingChild(item.children,item) && (!onlyOneChild.children || onlyOneChild.noShowingChildren) && !item.alwaysShow">
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)"> <app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
<div class="menuTitle"> <div class="menuTitle">
......
...@@ -523,7 +523,7 @@ label { ...@@ -523,7 +523,7 @@ label {
} }
.el-checkbox .el-checkbox__inner:hover { .el-checkbox .el-checkbox__inner:hover {
border: 1px solid #D20A10; // border: 1px solid #D20A10;
} }
.el-checkbox__input.is-focus .el-checkbox__inner { .el-checkbox__input.is-focus .el-checkbox__inner {
border: 1px solid #D20A10; border: 1px solid #D20A10;
...@@ -575,3 +575,9 @@ label { ...@@ -575,3 +575,9 @@ label {
background-color: #ccc; background-color: #ccc;
border-color: #D20A10; border-color: #D20A10;
} }
.el-tooltip__popper {
.noTool {
padding-left: unset!important;
top: unset!important;
}
}
...@@ -632,6 +632,9 @@ export default { ...@@ -632,6 +632,9 @@ export default {
} else { } else {
const reg = /(^[1-9][0-9]$)|(^100&)|(^[1-9]$)$/ const reg = /(^[1-9][0-9]$)|(^100&)|(^[1-9]$)$/
if (reg.test(value)) { if (reg.test(value)) {
if (parseInt(value) > 80) {
return callback(new Error('总位数不能超过80'))
}
callback(); callback();
} else { } else {
return callback(new Error('请输入正整数')) return callback(new Error('请输入正整数'))
......
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