|
@@ -21,27 +21,27 @@
|
|
|
/>
|
|
|
</div> -->
|
|
|
@if(!loading){
|
|
|
- <app-avatar
|
|
|
- [avatar]="profile?.get('user')?.get('avatar')"
|
|
|
- style="z-index: 99"
|
|
|
- frameId="profile-avatar-frame"
|
|
|
- [frame]="userVip['rights']['avatar']"
|
|
|
- />
|
|
|
+ <app-avatar
|
|
|
+ [avatar]="profile?.get('user')?.get('avatar')"
|
|
|
+ style="z-index: 99"
|
|
|
+ frameId="profile-avatar-frame"
|
|
|
+ [frame]="userVip['rights']['avatar']"
|
|
|
+ />
|
|
|
}
|
|
|
<div class="top-right-block">
|
|
|
<div class="top-left-title">{{ profile?.get("name") }}</div>
|
|
|
- @if (user?.get('sex') == '男') {
|
|
|
+ @if (profile?.get('user')?.get('sex') == '男') {
|
|
|
<div class="sex">
|
|
|
<ion-icon name="male-outline"></ion-icon>
|
|
|
</div>
|
|
|
- }@else if (user?.get('sex') == '女') {
|
|
|
+ }@else if (profile?.get('user')?.get('sex') == '女') {
|
|
|
<div class="sex girl">
|
|
|
<ion-icon name="male-female-outline"></ion-icon>
|
|
|
</div>
|
|
|
}@else {
|
|
|
<!-- <div class="sex">未知</div> -->
|
|
|
}
|
|
|
- <div [ngClass]="{ gril: user?.get('sex') == '女', age: true }">
|
|
|
+ <div [ngClass]="{ gril: profile?.get('user')?.get('sex') == '女', age: true }">
|
|
|
<img
|
|
|
src="https://file-cloud.fmode.cn/Qje9D4bqol/20241109/pctmvt110807052.png"
|
|
|
alt=""
|
|
@@ -51,7 +51,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="user-status">
|
|
|
- <span class="id">爱聊ID:{{ user?.id }}</span>
|
|
|
+ <span class="id">爱聊ID:{{ profile?.get('user')?.id }}</span>
|
|
|
<!-- @if (profile?.get('isCheck')) {
|
|
|
<div class="state">
|
|
|
<span class="spot"></span>
|
|
@@ -63,15 +63,34 @@
|
|
|
<span class="tag">{{ state.val }}</span>
|
|
|
</div>
|
|
|
<!-- } -->
|
|
|
- @if (profile?.get('identyType') === 'anchor') {
|
|
|
+ <!-- @if (profile?.get('identyType') === 'anchor') {
|
|
|
<div class="video-unit">
|
|
|
通话:{{ profile?.get("laborCosts") }}钻石/分钟
|
|
|
</div>
|
|
|
- }
|
|
|
+ } -->
|
|
|
+ @if (profile?.get('identyType') == 'anchor') {
|
|
|
+ <div
|
|
|
+ class="level"
|
|
|
+ [style.background-color]="
|
|
|
+ aiChatServ.authorLevelColor[profile?.get('user').get('completionRate')]?.color
|
|
|
+ "
|
|
|
+ >
|
|
|
+ LV{{ profile?.get('user').get("completionRate") }}
|
|
|
+ </div>
|
|
|
+ }@else {
|
|
|
+ <div
|
|
|
+ class="level"
|
|
|
+ [style.background-color]="
|
|
|
+ aiChatServ.userLevelColor[profile?.get('user').get('achievementCount')]?.color
|
|
|
+ "
|
|
|
+ >
|
|
|
+ LV{{ profile?.get('user').get("achievementCount") }}
|
|
|
+ </div>
|
|
|
+ }
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="user-right">
|
|
|
- @if (user?.id !== currentUser?.id) {
|
|
|
+ @if (profile?.get('user')?.id !== currentUser?.id) {
|
|
|
<ion-icon
|
|
|
(click)="onCollection()"
|
|
|
name="heart-circle-sharp"
|
|
@@ -122,7 +141,7 @@
|
|
|
</div>
|
|
|
<div class="data-row">
|
|
|
<div class="title-text">对ta的评价</div>
|
|
|
- <div class="tags">
|
|
|
+ <!-- <div class="tags">
|
|
|
<span class="label assess">漂亮小姐姐</span>
|
|
|
<span class="label assess">颜值主播</span>
|
|
|
<span class="label assess">唱歌好听</span>
|
|
@@ -130,6 +149,12 @@
|
|
|
<span class="label assess">声优</span>
|
|
|
<span class="label assess">喜欢日漫</span>
|
|
|
<span class="label assess">都喜欢</span>
|
|
|
+ </div> -->
|
|
|
+ <div class="comment-room">
|
|
|
+ <div class="comment-title">
|
|
|
+ <div class="li">用户评价({{commentObj.count}})</div>
|
|
|
+ <div class="li">分数({{commentObj.score || '暂无评价'}})</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="data-row">
|
|
@@ -170,8 +195,12 @@
|
|
|
<div class="gift" (click)="gift.openModal()">
|
|
|
<ion-icon name="gift-outline"></ion-icon>
|
|
|
</div>
|
|
|
- <div class="round" (click)="call.toLiveContact()">
|
|
|
- <ion-icon name="videocam-outline"></ion-icon>直播通话
|
|
|
+ <div class="round live" (click)="call.toLiveContact()">
|
|
|
+ <ion-icon name="videocam-outline"></ion-icon>
|
|
|
+ <div style="display: flex;flex-direction: column;">
|
|
|
+ <span>直播通话</span>
|
|
|
+ <span>{{ profile?.get("laborCosts") }}钻石/分</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
} @if(friends?.get('isPass')){
|
|
|
<div class="round" (click)="toMsg()">
|