修改回复内容为主

master
于肖磊 2026-03-18 18:39:02 +08:00
parent c0f9c2f72f
commit da9e528427
5 changed files with 68 additions and 56 deletions

View File

@ -212,6 +212,10 @@
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
//
word-break: break-all;
overflow-wrap: break-word;
word-wrap: break-word;
}
.comment-time {

View File

@ -258,6 +258,9 @@
.mr-10 {
margin-right: 20rpx;
}
.ml-10 {
margin-left: 20rpx;
}
.pr-10 {
padding-right: 20rpx;
}
@ -394,4 +397,5 @@
padding: 10rpx;
border-radius: 16rpx;
color: #fff;
box-sizing: border-box;
}

View File

@ -398,4 +398,5 @@
padding: 10rpx;
border-radius: 16rpx;
color: #fff;
box-sizing: border-box;
}

View File

@ -156,14 +156,15 @@
</view>
<view v-if="base_config_data && base_config_data.is_video_comments_add && base_config_data.is_video_comments_add == 1" class="comment-input-container">
<view class="flex-1 flex-row align-s">
<view class="flex-1 comment-input-content flex-col jc-c mr-10">
<view v-if="!isEmpty(comments_reply_data)" class="comment-reply-content flex-row align-c jc-sb">
<view class="flex-1 flex-col align-c">
<view v-if="!isEmpty(comments_reply_data)" class="comment-reply-content flex-row align-c jc-sb" :style="window_more_style">
<text class="size-12 cr-f text-line-1 mr-10">@{{ isEmpty(comments_reply_data.user) ? '' : comments_reply_data.user.user_name_view }}:{{ comments_reply_data.content }}</text>
<view data-type="image" @tap="comment_data_delete">
<u-icon propName="close-line" propSize="24rpx" propColor="#fff"></u-icon>
</view>
</view>
<view class="flex-row align-s pt-4" :style="window_more_style">
<view class="flex-1 comment-input-content flex-col jc-c">
<view class="flex-row align-s pr-16 box-border-box" @tap="add_comment">
<text :class="'flex-1 comment-input text-line-1 ' + (isEmpty(comment_input_value) ? 'cr-grey' : 'cr-black')">{{ isEmpty(comment_input_value) ? $t('video-detail.video-detail.98yyuf') : comment_input_value }}</text>
<view class="pt-8" @tap="upload_tap">
@ -181,13 +182,14 @@
</view>
</view>
</view>
<view v-if="!isEmpty(comment_input_value)" class="pt-4 flex-row align-c">
<view v-if="!isEmpty(comment_input_value)" class="pt-4 flex-row align-c ml-10">
<button size="mini" type="default" class="margin-0 bg-main cr-white" @tap="send_comment">{{$t('common.send')}}</button>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 举报弹窗 -->
<u-popup ref="popupReportRef" propMode="bottom" propCloseType="text" :propWidth="'width:' + windowWidth + 'px;'" propTitleBorder class="pointer-events-auto" :propTitle="$t('video-detail.video-detail.rfsdfg')" :propCloseable="true" @close="popup_report_close_event" @callBack="submit_report">

View File

@ -140,15 +140,15 @@
</view>
<view v-if="base_config_data && base_config_data.is_video_comments_add && base_config_data.is_video_comments_add == 1" class="comment-input-container">
<view class="flex-row align-s gap-10 wh-auto ht-auto">
<view class="flex-1 comment-input-content flex-col jc-c">
<view v-if="!isEmpty(comments_reply_data)" class="comment-reply-content flex-row align-c jc-sb gap-10">
<view class="flex-col align-c gap-4">
<view v-if="!isEmpty(comments_reply_data)" class="comment-reply-content flex-row align-c jc-sb gap-10 wh-auto">
<text class="size-12 cr-f text-line-1">@{{ comments_reply_data.user.user_name_view }}:{{ comments_reply_data.content }}</text>
<view data-type="image" @tap="comment_data_delete">
<iconfont name="icon-close-line" size="24rpx" color="#fff"></iconfont>
</view>
</view>
<view class="flex-row align-s gap-10 wh-auto ht-auto">
<view class="flex-1 comment-input-content flex-col jc-c">
<view class="flex-row align-s gap-10 wh-auto ht-auto pr-16 box-border-box">
<!-- #ifdef H5 -->
<textarea :value="comment_input_value" class="comment-input wh-auto cr-black" placeholder-class="cr-grey" auto-height :show-confirm-bar="false" :maxlength="500" :adjust-position="false" :placeholder="input_placeholder" @focus="add_comment" @input="comment_input_event" />
@ -184,6 +184,7 @@
</view>
</view>
</view>
</view>
<!-- 举报弹窗 -->
<component-popup :propShow="popup_report_status" propPosition="bottom" @onclose="popup_report_close_event">