【fix bug-74262】- 编辑按钮样式的修改
This commit is contained in:
@@ -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,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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user