From 4d8420e51aa39dd4c8bb49ae98c05aaf2479fcb1 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 06 六月 2025 10:48:47 +0800 Subject: [PATCH] 用户信息 --- sub-pages/film-list/film-detail.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sub-pages/film-list/film-detail.vue b/sub-pages/film-list/film-detail.vue index 68e566f..2f4e4e9 100644 --- a/sub-pages/film-list/film-detail.vue +++ b/sub-pages/film-list/film-detail.vue @@ -4,9 +4,9 @@ <up-sticky bgColor="#fff"> <view class="card-footer"> <view class="user-info"> - <up-avatar :src="user.avatar" size="60rpx" shape="circle" /> + <up-avatar :src="filmInfo.avatar" size="60rpx" shape="circle" /> <view class="user-text"> - <text class="nickname">{{ user.username }}</text> + <text class="nickname">{{ filmInfo.nickname }}</text> </view> </view> <view class="opera-info"> @@ -35,7 +35,8 @@ </view> <view class="content-item"> - <rich-text :nodes="filmInfo.filmContent" /> + <!-- <rich-text :nodes="filmInfo.filmContent" /> --> + <up-parse :content="filmInfo.filmContent"></up-parse> </view> <view class="annotation content-item"> <text>{{ formatRelativeTime(filmInfo.createTime) }} 美国</text> @@ -162,7 +163,7 @@ const tmpPicture = JSON.parse(data.filmPictures) as FilmPicture[] filmPictureList.value = tmpPicture.map(item => item.url) // 如果 filmPictureList.value是空的情况下,则把封面放入到图片列表中 - debugger; + // debugger; if (filmPictureList.value.length === 0) { filmPictureList.value.push(data.coverUrl) } -- Gitblit v1.9.3