feat:获取会员信息 并且展示title

This commit is contained in:
Roe-xin
2026-01-09 16:24:27 +08:00
parent 940584e1ea
commit c58e3603de
9 changed files with 205 additions and 4 deletions

View File

@ -27,6 +27,8 @@ export function getConversationHistoryBarContent(): string {
<span class="user-nickname" id="userNickname">加载中...</span>
</div>
<img class="tier-icon" id="tierIcon" style="display: none;" />
<button class="new-conversation-button" onclick="createNewConversation()" title="新建对话">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" fill="currentColor"/>
@ -88,6 +90,14 @@ export function getConversationHistoryBarStyles(): string {
text-overflow: ellipsis;
}
.tier-icon {
width: 110px;
height: 35px;
flex-shrink: 0;
object-fit: contain;
border-radius: 4px;
}
.history-dropdown-button {
display: inline-flex;
align-items: center;