| | |
| | | </view> |
| | | </view> |
| | | <view class="opera-info"> |
| | | <button class="custom-btn">关注</button> |
| | | <!-- <button class="custom-btn">关注</button>--> |
| | | <up-icon name="/static/common/share2.png" size="40rpx" color="#999" @click="openSharePopup" /> |
| | | </view> |
| | | </view> |
| | |
| | | <!-- <view v-html="filmInfo.filmContent||'暂无'" class="rich" style="overflow: scroll;"></view> --> |
| | | </view> |
| | | <view class="annotation content-item"> |
| | | <text>{{ formatRelativeTime(filmInfo?.createTime) }} 美国</text> |
| | | <!-- <text>{{ formatRelativeTime(filmInfo?.createTime) }} 美国</text>--> |
| | | </view> |
| | | </view> |
| | | |
| | | <up-line></up-line> |
| | | |
| | | <view class="comment"> |
| | | <view class="writer-view" @click="showCommentLayer"> |
| | | <view class="writer-view" @click="() => showCommentLayer()"> |
| | | <up-icon name="chat-fill" size="60rpx" /> |
| | | <view class="comment-operation"> |
| | | <up-text size="12px" text="说点什么......" margin="0 0 0 20rpx" color="#B9B9B9" /> |
| | |
| | | <!-- 固定底部输入框 --> |
| | | <view class="comment-box"> |
| | | <view class="input-row"> |
| | | <view class="comment-input" @click="showCommentLayer"> |
| | | <view class="comment-input" @click="() => showCommentLayer()"> |
| | | <up-text size="12px" text="说点什么......" margin="0 0 0 20rpx" color="#B9B9B9" /> |
| | | </view> |
| | | <!-- <up-icon name="heart" size="60rpx" color="#B9B9B9" label="11" />--> |
| | |
| | | } |
| | | |
| | | // film-detail.vue |
| | | const showCommentLayer = (parentId?: number) => { |
| | | const showCommentLayer = (parentId?: number | string) => { |
| | | console.log('点击了评论按钮',parentId) |
| | | if (typeof parentId === 'object') { |
| | | parentId = '' |
| | | } |
| | | commentShow.value = true |
| | | // 如果有parentId,说明是回复评论,需要设置parentId |
| | | // 如果没有parentId,说明是直接评论,不需要设置parentId |