|
|
@@ -29,8 +29,9 @@
|
|
|
</el-row>
|
|
|
<el-row v-if="isManagePage">
|
|
|
<div class="button">
|
|
|
- <el-button type="primary" size="small" @click.stop="$emit('update')">修改</el-button>
|
|
|
- <el-button type="danger" size="small" @click.stop="$emit('delete')">删除</el-button>
|
|
|
+ <el-button type="text" @click.stop="$emit('update')">修改</el-button>
|
|
|
+ <el-divider direction="vertical"/>
|
|
|
+ <el-button type="text" @click.stop="$emit('delete')">删除</el-button>
|
|
|
</div>
|
|
|
</el-row>
|
|
|
</el-card>
|
|
|
@@ -173,9 +174,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
.button {
|
|
|
- margin-top: 10px;
|
|
|
- display: flex;
|
|
|
- justify-content: space-around;
|
|
|
- width: 100%;
|
|
|
+ margin: 10px auto auto;
|
|
|
+ /*display: flex;*/
|
|
|
+ /*justify-content: space-around;*/
|
|
|
+ /*width: 100%;*/
|
|
|
}
|
|
|
</style>
|