Skip to content

Commit 28c7d17

Browse files
author
QM303176530
committed
模板按钮美化
1 parent 024f461 commit 28c7d17

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

server/resource/template/fe/table.vue.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
{{ end }}
6868
<el-table-column label="按钮组">
6969
<template slot-scope="scope">
70-
<el-button @click="update{{.StructName}}(scope.row)" size="small" type="primary">变更</el-button>
70+
<el-button class="table-button" @click="update{{.StructName}}(scope.row)" size="small" type="primary" icon="el-icon-edit">变更</el-button>
7171
<el-popover placement="top" width="160" v-model="scope.row.visible">
7272
<p>确定要删除吗?</p>
7373
<div style="text-align: right; margin: 0">

web/src/style/main.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,4 +1026,9 @@ li {
10261026
color: #606266;
10271027
cursor: pointer;
10281028
font-size: 13px;
1029+
}
1030+
1031+
1032+
.table-button{
1033+
margin-right:8px !important;
10291034
}

0 commit comments

Comments
 (0)