style: notices style

This commit is contained in:
xiaoxian521 2021-11-17 22:31:10 +08:00
parent 89dc4e5052
commit 0380d4a17a
2 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@ notices.value.forEach(notice => {
:label="`${item.name}(${item.list.length})`" :label="`${item.name}(${item.list.length})`"
:name="item.name" :name="item.name"
> >
<el-scrollbar max-height="404px"> <el-scrollbar max-height="330px">
<div class="noticeList-container"> <div class="noticeList-container">
<NoticeList :list="item.list" /> <NoticeList :list="item.list" />
</div> </div>

View File

@ -23,7 +23,6 @@ import {
ElInput, ElInput,
ElForm, ElForm,
ElFormItem, ElFormItem,
ElLoading,
ElPopover, ElPopover,
ElPopper, ElPopper,
ElTooltip, ElTooltip,
@ -41,7 +40,10 @@ import {
ElTabs, ElTabs,
ElTabPane, ElTabPane,
ElAvatar, ElAvatar,
ElEmpty ElEmpty,
// 指令
ElLoading,
ElInfiniteScroll
} from "element-plus"; } from "element-plus";
// https://element-plus.org/zh-CN/component/icon.html // https://element-plus.org/zh-CN/component/icon.html
@ -125,7 +127,7 @@ export const iconComponents = [
Bell Bell
]; ];
const plugins = [ElLoading]; const plugins = [ElLoading, ElInfiniteScroll];
export function useElementPlus(app: App) { export function useElementPlus(app: App) {
components.push(...iconComponents); components.push(...iconComponents);