Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
995d2ab5
Commit
995d2ab5
authored
Feb 12, 2020
by
Junling Bu
Browse files
perf[litemall-admin]: 微优化通知页面样式
parent
11d3b5bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/profile/notice.vue
View file @
995d2ab5
...
...
@@ -4,9 +4,6 @@
<!-- 查询和其他操作 -->
<div
class=
"filter-container"
>
<el-input
v-model=
"listQuery.title"
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入标题关键字"
/>
<el-select
v-model=
"listQuery.type"
class=
"filter-item"
placeholder=
"请选择通知类型"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
</div>
...
...
@@ -15,8 +12,14 @@
<el-button
class=
"filter-item"
type=
"danger"
icon=
"el-icon-delete"
@
click=
"handleBatchDelete"
>
批量删除
</el-button>
</div>
<el-tabs
v-model=
"listQuery.type"
@
tab-click=
"handleFilter"
>
<el-tab-pane
label=
"未读通知"
name=
"unread"
/>
<el-tab-pane
label=
"已读通知"
name=
"read"
/>
<el-tab-pane
label=
"所有通知"
name=
"all"
/>
</el-tabs>
<!-- 查询结果 -->
<el-table
v-loading=
"listLoading"
:data=
"list"
element-loading-text=
"正在查询中。。。"
border
fit
highlight-current-row
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"listLoading"
:data=
"list"
element-loading-text=
"正在查询中。。。"
fit
highlight-current-row
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
align=
"center"
label=
"通知标题"
prop=
"noticeTitle"
/>
...
...
@@ -70,16 +73,6 @@ export default {
sort
:
'
add_time
'
,
order
:
'
desc
'
},
options
:
[{
value
:
'
all
'
,
label
:
'
所有
'
},
{
value
:
'
read
'
,
label
:
'
已读
'
},
{
value
:
'
unread
'
,
label
:
'
未读
'
}],
multipleSelection
:
[],
notice
:
{
title
:
''
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment