修复问题#927,#860

1.优化评论请求,将两个请求合并为一个
2.修改个人主页按钮的主次
This commit is contained in:
wangshun
2025-09-15 11:23:31 +08:00
parent bcfc40d795
commit 6ea9b4a33c
5 changed files with 117 additions and 46 deletions

View File

@@ -29,7 +29,7 @@
<reduce-user />
取消关注
</div>
<div v-if="!isMine" class="profile-page-header-subscribe-button" @click="sendMessage">
<div v-if="!isMine" class="profile-page-header-send-mail-button" @click="sendMessage">
<message-one />
发私信
</div>
@@ -703,6 +703,26 @@ watch(selectedTab, async (val) => {
cursor: pointer;
}
.profile-page-header-send-mail-button {
display: flex;
flex-direction: row;
gap: 5px;
align-items: center;
font-size: 14px;
border-radius: 8px;
padding: 5px 10px;
color: var(--primary-color);
background-color: var(--secondary-color);
border: 1px solid var(--primary-color);
margin-top: 15px;
width: fit-content;
cursor: pointer;
}
.profile-page-header-send-mail-button:hover {
background-color: var(--secondary-color-hover);
}
.profile-level-container {
display: flex;
flex-direction: column;