【fix bug-74262】- 编辑按钮样式的修改

This commit is contained in:
fengchenchen
2023-07-28 13:00:36 +08:00
parent 6c422005d8
commit 3db4be0941
2 changed files with 15 additions and 6 deletions
+9 -4
View File
@@ -30,7 +30,7 @@
<div class="panel-cell"> <div class="panel-cell">
<div class="title">本企业信息</div> <div class="title">本企业信息</div>
<div class="panel-cell-top" v-if="isShowEdit"> <div class="panel-cell-top" v-if="isShowEdit">
<a-button type="link" @click="handleEdit"> <a-button type="link" class="edit-btn" @click="handleEdit">
编辑 编辑
<img src="../../assets/imgs/icon/icon-edit.png" class="title-icon"> <img src="../../assets/imgs/icon/icon-edit.png" class="title-icon">
</a-button> </a-button>
@@ -217,10 +217,15 @@ export default {
position: absolute; position: absolute;
top: 12px; top: 12px;
right: 5px; right: 5px;
/deep/.edit-btn{
display: flex;
justify-content: center;
align-items: center;
}
img{ img{
width: 18px; width: 12px;
height: 18px; height: 12px;
margin-left: 3px; margin-left: 10px;
} }
} }
+6 -2
View File
@@ -6,7 +6,7 @@
<div class="account-container"> <div class="account-container">
<div class="top"> <div class="top">
<div class="title"><span class="title-text">个人中心</span></div> <div class="title"><span class="title-text">个人中心</span></div>
<a-button type="link" @click="handleEdit"> <a-button type="link" class="edit-btn" @click="handleEdit">
编辑 编辑
<img src="../../assets/imgs/icon/icon-edit.png" class="title-icon"> <img src="../../assets/imgs/icon/icon-edit.png" class="title-icon">
</a-button> </a-button>
@@ -159,7 +159,6 @@ export default {
.title { .title {
position: relative; position: relative;
padding-left: 10px; padding-left: 10px;
&-text { &-text {
font-size: 16px; font-size: 16px;
font-family: NotoSansHans, NotoSansHans-Regular; font-family: NotoSansHans, NotoSansHans-Regular;
@@ -179,10 +178,15 @@ export default {
} }
&-icon { &-icon {
width: 12px;
height: 12px; height: 12px;
margin-left: 10px; margin-left: 10px;
} }
} }
.edit-btn{
display: flex;
align-items: center;
}
} }