style: 优化预览页按钮样式

This commit is contained in:
wangjiahao 2023-11-21 10:50:02 +08:00
parent 372b747bd2
commit a0e1b00ee1

View File

@ -98,7 +98,7 @@ watch(
:weight="dvInfo.weight"
:resource-type="dvInfo.type"
/>
<el-button v-if="dvInfo.weight > 6" type="primary" @click="dvEdit()">
<el-button class="custom-button" v-if="dvInfo.weight > 6" type="primary" @click="dvEdit()">
<template #icon>
<icon name="icon_edit_outlined"></icon>
</template>
@ -176,4 +176,8 @@ watch(
font-size: 16px;
color: #646a73;
}
.custom-button {
margin-left: 12px;
}
</style>