(component): update

This commit is contained in:
就眠儀式 2022-10-16 18:42:56 +08:00
parent 2d4b759076
commit 1cb5d068d5
3 changed files with 7 additions and 5 deletions

View File

@ -10,4 +10,4 @@ export default {
<div class="layui-avatar-list">
<slot></slot>
</div>
</template>
</template>

View File

@ -295,7 +295,9 @@ const uploadChange = (e: any) => {
let _file = _files[i];
let _size = _file.size;
if (_size > props.size * 1024) {
errorF(`文件 ${_file.name} ${sizeErrorMsg},文件最大不可超过${props.size}KB`);
errorF(
`文件 ${_file.name} ${sizeErrorMsg},文件最大不可超过${props.size}KB`
);
return;
}
}

View File

@ -23,13 +23,13 @@
#app > .layui-layout > .layui-layout > .layui-body .lay-aside {
display: none;
}
.site-banner {
#app > .layui-layout .site-banner {
background-size: 100% 100%;
}
.link-list {
#app > .layui-layout .link-list {
padding: 20px 0px;
}
.box-list {
#app > .layui-layout .box-list {
padding: 30px 30px;
}
}