Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
绝世唐门三哥
Vue Manage System
提交
38a5d315
Vue Manage System
项目概览
绝世唐门三哥
/
Vue Manage System
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Vue Manage System
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
38a5d315
编写于
9月 10, 2018
作者:
L
lin-xin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
'调整table组件样式'
上级
77b67eed
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
15 addition
and
8 deletion
+15
-8
src/components/page/BaseTable.vue
src/components/page/BaseTable.vue
+13
-6
static/css/main.css
static/css/main.css
+2
-2
未找到文件。
src/components/page/BaseTable.vue
浏览文件 @
38a5d315
...
@@ -15,23 +15,23 @@
...
@@ -15,23 +15,23 @@
<el-input
v-model=
"select_word"
placeholder=
"筛选关键词"
class=
"handle-input mr10"
></el-input>
<el-input
v-model=
"select_word"
placeholder=
"筛选关键词"
class=
"handle-input mr10"
></el-input>
<el-button
type=
"primary"
icon=
"search"
@
click=
"search"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"search"
@
click=
"search"
>
搜索
</el-button>
</div>
</div>
<el-table
:data=
"data"
border
style=
"width: 100%
"
ref=
"multipleTable"
@
selection-change=
"handleSelectionChange"
>
<el-table
:data=
"data"
border
class=
"table
"
ref=
"multipleTable"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
></el-table-column>
<el-table-column
prop=
"date"
label=
"日期"
sortable
width=
"150"
>
<el-table-column
prop=
"date"
label=
"日期"
sortable
width=
"150"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"name"
label=
"姓名"
width=
"120"
>
<el-table-column
prop=
"name"
label=
"姓名"
width=
"120"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"address"
label=
"地址"
:formatter=
"formatter"
>
<el-table-column
prop=
"address"
label=
"地址"
:formatter=
"formatter"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
width=
"180"
>
<el-table-column
label=
"操作"
width=
"180"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
size=
"small
"
@
click=
"handleEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit
"
@
click=
"handleEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
size=
"small"
type=
"danger
"
@
click=
"handleDelete(scope.$index, scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
icon=
"el-icon-delete"
class=
"red
"
@
click=
"handleDelete(scope.$index, scope.row)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"pagination"
>
<div
class=
"pagination"
>
<el-pagination
@
current-change=
"handleCurrentChange"
layout=
"prev, pager, next"
:total=
"1000"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"prev, pager, next"
:total=
"1000"
>
</el-pagination>
</el-pagination>
</div>
</div>
</div>
</div>
...
@@ -202,4 +202,11 @@
...
@@ -202,4 +202,11 @@
font-size
:
16px
;
font-size
:
16px
;
text-align
:
center
text-align
:
center
}
}
.table
{
width
:
100%
;
font-size
:
14px
;
}
.red
{
color
:
#ff0000
;
}
</
style
>
</
style
>
static/css/main.css
浏览文件 @
38a5d315
...
@@ -34,7 +34,7 @@ a {
...
@@ -34,7 +34,7 @@ a {
.content
{
.content
{
width
:
auto
;
width
:
auto
;
height
:
100%
;
height
:
100%
;
padding
:
4
0px
;
padding
:
1
0px
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
...
@@ -51,7 +51,7 @@ a {
...
@@ -51,7 +51,7 @@ a {
}
}
.crumbs
{
.crumbs
{
margin
-bottom
:
20px
;
margin
:
10px
0
;
}
}
.pagination
{
.pagination
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录