talk_appAmin/pages/post/postInfo/postInfo.vue

853 lines
22 KiB
Vue
Raw Normal View History

2024-06-05 19:48:15 +08:00
<template>
<view>
<PostView :postValue="postValue" :postViewIndex="4" :postViewType="1"></PostView>
2024-06-05 19:48:15 +08:00
<view class="center-content-focus-line"></view>
2024-06-18 10:51:19 +08:00
<view class="flex flexColumn view-13" v-if="postValue.status == 2">
<view class="" style="margin-bottom: 24rpx;">
<text class="timeText">发布审核时间</text>
<text class="timeText">{{postValue.auditTime}}</text>
</view>
<view class="">
<text class="text-14">审核状态</text>
<text class="text-18">审核中</text>
</view>
</view>
<view class="flex flexColumn view-13" v-if="postValue.status == 3">
<view class="" style="margin-bottom: 24rpx;">
<text class="timeText">发布审核时间</text>
<text class="timeText">{{postValue.auditTime}}</text>
</view>
<view class="" style="margin-bottom: 24rpx;">
<text class="text-14">审核状态</text>
<text class="text-17">未通过</text>
</view>
<view class="">
<text class="text-14">未通过原因</text>
<text class="text-17">{{postValue.auditAdvice}}</text>
</view>
</view>
<view class="comment" v-if="postValue.status == 0">
2024-06-05 19:48:15 +08:00
<view class="flex justifyBetween alignCenter commentTop">
2024-06-15 00:26:10 +08:00
<text class="commentLabel">{{"全部评论" + (postValue.commentCount != 0 ? "" + postValue.commentCount + "" : "")}}</text>
2024-06-05 19:48:15 +08:00
<text class="report">举报</text>
</view>
2024-06-15 00:26:10 +08:00
<view v-if="!postCommentList.length" class="no-comment">
2024-06-05 19:48:15 +08:00
<image class="no-comment-img" src="../../../static/images/icon/no_comment.png" mode=""></image>
<text class="no-comment-text">暂无评论快去做评论第一人吧</text>
<view class="no-comment-bt">
2024-06-15 00:26:10 +08:00
<text class="no-comment-bt-text" @click="toInput()"></text>
2024-06-05 19:48:15 +08:00
</view>
</view>
2024-06-15 00:26:10 +08:00
<view v-else class="have-comment" v-for="(item, index) in postCommentList" :key="index">
2024-06-06 19:36:53 +08:00
<view class="flex alignCenter">
<!-- 头像 -->
<view class="have-comment-avatar-container">
2024-06-15 00:26:10 +08:00
<u-avatar class="have-comment-avatar-1" size="60rpx" :src="getAvatar(item.avatar)"></u-avatar>
<image v-if="item.isOfficial" class="have-comment-official-1"
src="../../../static/images/icon/tu3-6.png"></image>
2024-06-06 19:36:53 +08:00
</view>
<view class="flex flexColumn">
2024-06-15 00:26:10 +08:00
<text class="have-comment-uname">{{item.nickName}}</text>
2024-06-06 19:36:53 +08:00
<text class="have-comment-address">{{item.address}}</text>
</view>
</view>
<view class="have-comment-content">
<text class="have-comment-content-text-1">{{item.content}}</text>
<view class="have-comment-content-text-2">
2024-06-15 00:26:10 +08:00
<text>{{timeAgo(item.createTime)}}</text>
<text class="have-comment-content-text-2-hf" @click="toAnswerRoot(item, index)">回复</text>
2024-06-06 19:36:53 +08:00
</view>
</view>
2024-06-15 00:26:10 +08:00
<view class="" v-if="item.answerCommentAllCount != 0">
<view v-if="item.deployment" class="have-comment-answer"
v-for="(answer, answerIndex) in item.answerCommentList.slice(0, item.answerCommentDisplayCount)" :key="answerIndex">
2024-06-06 19:36:53 +08:00
<view class="flex alignCenter">
<!-- 头像 -->
<view class="have-comment-answer-avatar-container">
2024-06-15 00:26:10 +08:00
<u-avatar class="have-comment-answer-avatar-1" size="48rpx"
:src="getAvatar(answer.avatar)"></u-avatar>
<image v-if="answer.isOfficial" class="have-comment-answer-official-1"
src="../../../static/images/icon/tu3-6.png"></image>
2024-06-06 19:36:53 +08:00
</view>
<view class="flex alignCenter justifyBetween">
2024-06-15 00:26:10 +08:00
<text class="have-comment-answer-uname">{{answer.nickName}}</text>
<!-- <text v-if="answer.toUserName" class="have-comment-answer-uname">-></text> -->
2024-06-15 00:26:10 +08:00
<image v-if="answer.toUserName" class="have-comment-answer-uname-img"
src="../../../static/images/icon/ring-1.png"></image>
<text v-if="answer.toUserName"
class="have-comment-answer-uname">{{answer.toUserName}}</text>
</view>
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
</view>
<view class="have-comment-answer-content">
<text class="have-comment-answer-content-text-1">{{answer.content}}</text>
<view class="have-comment-answer-content-text-2">
2024-06-15 00:26:10 +08:00
<text>{{timeAgo(answer.createTime)}}</text>
<text class="have-comment-answer-content-text-2-hf"
@click="toAnswerSon(answer, index)">回复</text>
2024-06-06 19:36:53 +08:00
</view>
</view>
</view>
<view class="have-comment-answer-deploy flex alignCenter">
<up-line class="have-comment-answer-line" length="40rpx"></up-line>
2024-06-15 00:26:10 +08:00
<view class="have-comment-answer-deploy-1 flex alignCenter" @click="deploymentAnswer(index)"
v-if="!item.deployment">
<text class="deploymentAnswer-text">展开{{item.answerCommentAllCount}}条回复</text>
2024-06-15 00:26:10 +08:00
<image class="have-comment-answer-img-1" src="../../../static/images/icon/deployment-1.png"
mode=""></image>
</view>
2024-06-15 00:26:10 +08:00
<view class="have-comment-answer-deploy-1 flex alignCenter" @click="loadMoreAnswers(index)"
v-if="item.deployment && item.answerCommentDisplayCount < item.answerCommentAllCount">
<text class="deploymentAnswer-text">展开回复</text>
<image class="have-comment-answer-img-1" src="../../../static/images/icon/deployment-1.png"
mode=""></image>
</view>
2024-06-15 00:26:10 +08:00
<view class="have-comment-answer-deploy-1 flex alignCenter" v-if="item.deployment"
@click="putAnswer(index)">
<text class="deploymentAnswer-text">收起</text>
2024-06-15 00:26:10 +08:00
<image class="have-comment-answer-img-2" src="../../../static/images/icon/deployment-1.png"
mode=""></image>
</view>
</view>
2024-06-06 19:36:53 +08:00
</view>
<view class="have-comment-line">
2024-06-15 00:26:10 +08:00
</view>
2024-06-06 19:36:53 +08:00
</view>
2024-06-05 19:48:15 +08:00
</view>
</view>
2024-06-06 19:36:53 +08:00
<!-- 评论区输入框 -->
<up-popup :show="showInput" duration="0" @close="close" @open="open" class="comment-po">
2024-06-08 18:57:20 +08:00
<view class="flex justifyBetween comment-input" :style="{ marginBottom: bottomVal + 26 + 'px' }">
2024-06-06 19:36:53 +08:00
<view class="input-in flex alignCenter justifyCenter">
2024-06-15 00:26:10 +08:00
<input class="input-in-text" v-if="showInputText" focus="true" maxlength="55"
:placeholder="placeholderInput" @input="onKeyInput" :adjust-position="false" />
2024-06-06 19:36:53 +08:00
</view>
<view class="input-bt flex alignCenter justifyCenter">
2024-06-15 00:26:10 +08:00
<text class="input-bt-text" @click="send()"></text>
2024-06-06 19:36:53 +08:00
</view>
</view>
</up-popup>
<!-- 底部操作栏 -->
2024-06-18 10:51:19 +08:00
<up-tabbar :fixed="true" :placeholder="true" :safeAreaInsetBottom="true" v-if="postValue.status == 0">
2024-06-05 20:03:51 +08:00
<!-- <view class="flex justifyCenter"> -->
<view class="flex alignCenter justifyCenter">
2024-06-06 19:36:53 +08:00
<view class="flex justifyCenter alignCenter commentInput" @click="toInput()">
<image class="commentInput-img-1" src="../../../static/images/icon/write-1.png" mode=""></image>
2024-06-05 20:03:51 +08:00
<text class="commentInput-text">友好评论~</text>
</view>
</view>
2024-06-15 00:26:10 +08:00
<view v-if="postValue.like" @click.stop="cancelCollection(postValue.id)"
class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu3-8.png" mode=""></image>
<text class="commentInput-txt-like">{{postValue.likeCount}}</text>
</view>
<view v-if="!postValue.like" @click.stop="addCollection(postValue.id)"
class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu3-7.png" mode=""></image>
<text class="commentInput-txt">{{postValue.likeCount}}</text>
</view>
<view v-if="postValue.favorite" @click.stop="cancelFavorite(postValue.id)"
class="flex flexColumn alignCenter justifyCenter ">
<image class="commentInput-img" src="../../../static/images/icon/tu3-2.png" mode=""></image>
<text class="commentInput-txt-favorite">{{postValue.favoriteCount}}</text>
</view>
<view v-if="!postValue.favorite" @click.stop="addFavorite(postValue.id)"
class="flex flexColumn alignCenter justifyCenter ">
<image class="commentInput-img" src="../../../static/images/icon/tu3-1.png" mode=""></image>
<text class="commentInput-txt">{{postValue.favoriteCount}}</text>
</view>
<view class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu2-9.png" mode=""></image>
<text class="commentInput-txt">转发</text>
</view>
2024-06-05 20:03:51 +08:00
<!-- </view> -->
</up-tabbar>
2024-06-05 19:48:15 +08:00
</template>
<script setup>
2024-06-15 00:26:10 +08:00
import {
ref,
reactive,
computed,
onMounted,
onBeforeUnmount,
getCurrentInstance
} from 'vue';
import {
useStore
} from 'vuex';
import {
onReachBottom,
onLoad,
onPageScroll
} from "@dcloudio/uni-app";
2024-06-05 19:48:15 +08:00
import PostView from "@/pages/common/postview/index.vue";
2024-06-15 00:26:10 +08:00
import {
listFollowUser,
getFollowUser,
delFollowUserByFollowUser,
addFollowUser,
updateFollowUser
} from "@/api/followUser/followUser";
import {
delLikeByPostLike,
addLike
} from "@/api/like/like";
import {
delPostFavoriteByPostFavorite,
addPostFavorite
} from "@/api/postFavorite/postFavorite";
import { listComment, getComment, delComment, addComment, updateComment } from "@/api/postComment/comment";
2024-06-06 19:36:53 +08:00
const bottomVal = ref(0);
2024-06-15 00:26:10 +08:00
const commentType = ref(0);
const toAnswerObj = ref([]);
const toAnswerIndex = ref(0);
const inputValue = ref("");
const loginUser = reactive(uni.getStorageSync('loginUserPost'));
const postValue = reactive(uni.getStorageSync('postInfo'));
2024-06-15 00:26:10 +08:00
const postCommentList = ref([]);
const total = ref(0);
const queryParams = reactive({
pageNum: 1,
pageSize: 10,
postId: null,
uid: null,
toUserId: null,
rootId: 0,
content: null,
hot: null,
type: null,
address: null,
});
const queryParamsSon = reactive({
pageNum: 1,
pageSize: 5,
postId: null,
uid: null,
toUserId: null,
rootId: 0,
content: null,
hot: null,
type: null,
address: null,
});
const getPostInfo = () => {
queryParams.postId = postValue.id;
listComment(queryParams).then(res => {
postCommentList.value = res.rows;
console.log(postCommentList.value[1].answerCommentList);
total.value = res.total
});
};
2024-06-15 00:26:10 +08:00
const store = useStore();
const QNDomain = store.state.user.QNDomain;
function getAvatar(avatar) {
return QNDomain + avatar;
}
function formatDate(input) {
const date = new Date(input);
if (isNaN(date)) {
throw new Error('Invalid date');
}
const year = date.getFullYear();
const month = String(date.getMonth() + 1).padStart(2, '0');
const day = String(date.getDate()).padStart(2, '0');
return `${year}.${month}.${day}`;
}
2024-06-06 19:36:53 +08:00
2024-06-15 00:26:10 +08:00
function timeAgo(input) {
const date = new Date(input);
if (isNaN(date)) {
throw new Error('Invalid date');
}
const now = new Date();
const diff = now - date;
const minutes = Math.floor(diff / 60000); // 1 minute = 60000 ms
const hours = Math.floor(diff / 3600000); // 1 hour = 3600000 ms
const days = Math.floor(diff / 86400000); // 1 day = 86400000 ms
if (minutes < 60) {
return `${minutes}分钟前`;
} else if (hours < 24) {
return `${hours}小时前`;
} else if (days < 3) {
return `${days}天前`;
} else {
return formatDate(date);
}
}
2024-06-18 10:51:19 +08:00
// 时间格式化
function formattedDate(timestamp){
const date = new Date(timestamp);
const year = date.getFullYear();
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const day = date.getDate().toString().padStart(2, '0');
const hour = date.getHours().toString().padStart(2, '0');
const minute = date.getMinutes().toString().padStart(2, '0');
const second = date.getSeconds().toString().padStart(2, '0');
const formattedDate = `${year}-${month}-${day} ${hour}:${minute}:${second}`;
return formattedDate
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
// 监听键盘高度变化
onLoad(() => {
uni.pageScrollTo({
2024-06-15 00:26:10 +08:00
scrollTop: 0,
duration: 0
});
// if (!data.value) {
uni.onKeyboardHeightChange(res => {
if (res.height == 0) {
bottomVal.value = 0;
return;
}
bottomVal.value = res.height - 20;
console.log(bottomVal.value)
});
// }
})
2024-06-15 00:26:10 +08:00
onBeforeUnmount(async () => {
2024-06-15 00:26:10 +08:00
uni.offKeyboardHeightChange();
});
2024-06-06 19:36:53 +08:00
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
const placeholderInput = ref('')
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
// 创建响应式数据
2024-06-15 00:26:10 +08:00
const showInput = ref(false);
2024-06-06 19:36:53 +08:00
const showInputText = ref(false)
// 定义方法
2024-06-15 00:26:10 +08:00
function open() {
// 打开逻辑,比如设置 show 为 true
showInput.value = true;
setTimeout(() => {
showInputText.value = true;
}, 50);
// console.log('open');
2024-06-06 19:36:53 +08:00
}
2024-06-15 00:26:10 +08:00
function close() {
// 关闭逻辑,设置 show 为 false
showInput.value = false;
showInputText.value = false;
// console.log('close');
}
2024-06-06 19:36:53 +08:00
const toInput = () => {
placeholderInput.value = '发布评论'
2024-06-15 00:26:10 +08:00
commentType.value = 0;
open();
}
const toAnswerRoot = (answer, index) => {
toAnswerObj.value = answer;
toAnswerIndex.value = index;
placeholderInput.value = '回复:' + toAnswerObj.value.nickName;
commentType.value = 1;
2024-06-06 19:36:53 +08:00
open();
}
2024-06-15 00:26:10 +08:00
const toAnswerSon = (answer, index) => {
toAnswerObj.value = answer;
toAnswerIndex.value = index;
placeholderInput.value = '回复:' + toAnswerObj.value.nickName;
commentType.value = 2;
2024-06-06 19:36:53 +08:00
open();
2024-06-15 00:26:10 +08:00
}
2024-06-06 19:36:53 +08:00
2024-06-15 00:26:10 +08:00
const onKeyInput = (event) => {
console.log('输入的内容',event.detail.value);
inputValue.value = event.detail.value;
}
const send = () => {
const postComment = {
postId: postValue.id,
content: inputValue.value,
uid: loginUser.userId,
nickName: loginUser.nickName,
avatar: loginUser.avatar,
address: '天津',
rootId: null,
toUserId: null,
toUserName: null,
answerCommentAllCount: 0
2024-06-15 00:26:10 +08:00
};
if (commentType.value == 1) {
postComment.rootId = toAnswerObj.value.id;
}
if (commentType.value == 2) {
postComment.rootId = toAnswerObj.value.rootId;
postComment.toUserId = toAnswerObj.value.uid;
postComment.toUserName = toAnswerObj.value.nickName;
}
addComment(postComment).then(res => {
postComment.createTime = new Date();
if (commentType.value == 0) {
postCommentList.value.push(postComment);
} else if(commentType.value == 1 || commentType.value == 2) {
postCommentList.value[toAnswerIndex.value].answerCommentList.push(postComment);
postCommentList.value[toAnswerIndex.value].deployment = true;
postCommentList.value[toAnswerIndex.value].answerCommentDisplayCount += 1;
postCommentList.value[toAnswerIndex.value].answerCommentAllCount += 1;
}
postValue.commentCount += 1;
close();
})
}
const postListStorage = ref(uni.getStorageSync('postList'));
const upPostListStorage = () => {
2024-06-15 00:26:10 +08:00
postListStorage.value.forEach(item => {
if (item.id === postValue.id) {
Object.assign(item, postValue);
}
});
uni.setStorageSync('postList', postListStorage.value);
}
2024-06-15 00:26:10 +08:00
// 点赞操作
const cancelCollection = (postId) => {
const postLike = reactive({
likeId: postId,
})
delLikeByPostLike(postLike).then(res => {
postValue.likeCount -= 1;
postValue.like = !postValue.like;
upPostListStorage();
})
2024-06-05 19:48:15 +08:00
};
2024-06-15 00:26:10 +08:00
const addCollection = (postId) => {
const postLike = reactive({
likeId: postId,
})
addLike(postLike).then(res => {
postValue.likeCount += 1;
postValue.like = !postValue.like;
upPostListStorage();
})
2024-06-05 19:48:15 +08:00
};
2024-06-15 00:26:10 +08:00
// 收藏操作
const cancelFavorite = (postId) => {
const postFavorite = reactive({
favoriteId: postId,
})
delPostFavoriteByPostFavorite(postFavorite).then(res => {
postValue.favoriteCount -= 1;
postValue.favorite = !postValue.favorite;
upPostListStorage();
})
2024-06-05 19:48:15 +08:00
};
2024-06-15 00:26:10 +08:00
const addFavorite = (postId) => {
const postFavorite = reactive({
favoriteId: postId,
})
addPostFavorite(postFavorite).then(res => {
postValue.favoriteCount += 1;
postValue.favorite = !postValue.favorite;
upPostListStorage();
})
2024-06-15 00:26:10 +08:00
2024-06-05 19:48:15 +08:00
};
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
const deploymentAnswer = (index) => {
2024-06-15 00:26:10 +08:00
if (!postCommentList.value[index].deployment) {
postCommentList.value[index].deployment = true;
loadMoreAnswers(index);
}
2024-06-06 19:36:53 +08:00
};
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
const putAnswer = (index) => {
2024-06-15 00:26:10 +08:00
postCommentList.value[index].deployment = false;
postCommentList.value[index].answerCommentDisplayCount = 0;
postCommentList.value[index].answerCommentPage = 0;
postCommentList.value[index].answerCommentList = [];
};
2024-06-15 00:26:10 +08:00
const loadMoreAnswers = (index) => {
2024-06-15 00:26:10 +08:00
const increment = 5; // 每次加载的评论数量
const comment = postCommentList.value[index];
comment.answerCommentPage += 1;
queryParamsSon.postId = postValue.id;
queryParamsSon.rootId = comment.id;
queryParamsSon.pageNum = comment.answerCommentPage;
listComment(queryParamsSon).then(res => {
comment.answerCommentList.push(...res.rows);
});
if (comment.answerCommentDisplayCount + increment <= comment.answerCommentAllCount) {
comment.answerCommentDisplayCount += increment;
} else {
comment.answerCommentDisplayCount = comment.answerCommentAllCount; // 显示所有剩余的评论
}
if (comment.answerCommentDisplayCount == comment.answerCommentAllCount) {
comment.answerCommentList = comment.answerCommentList.filter(item => item.id != null);
}
2024-06-06 19:36:53 +08:00
};
2024-06-15 00:26:10 +08:00
getPostInfo();
2024-06-05 19:48:15 +08:00
</script>
2024-06-06 19:36:53 +08:00
<style lang="scss">
2024-06-15 00:26:10 +08:00
page {
background-color: #ffffff;
}
2024-06-08 18:42:51 +08:00
2024-06-05 19:48:15 +08:00
.data-v-6fcabaad {
2024-06-15 00:26:10 +08:00
border-radius: 20rpx 20rpx 20rpx 20rpx !important;
/* width: 200rpx !important;
2024-06-05 19:48:15 +08:00
height: 200rpx !important; */
}
2024-06-15 00:26:10 +08:00
.center-content-focus-line {
2024-06-05 19:48:15 +08:00
height: 8rpx;
background: #f4f5f6;
}
2024-06-15 00:26:10 +08:00
.comment {
2024-06-05 19:48:15 +08:00
padding: 32rpx;
}
2024-06-15 00:26:10 +08:00
.commentLabel {
2024-06-05 19:48:15 +08:00
font-weight: 400;
/* width: 265rpx; */
/* height: 38rpx; */
font-size: 36rpx;
/* text-align: left; */
color: #000000;
2024-06-15 00:26:10 +08:00
2024-06-05 19:48:15 +08:00
}
2024-06-15 00:26:10 +08:00
.report {
2024-06-05 19:48:15 +08:00
font-weight: 400;
/* width: 52rpx; */
/* height: 26rpx; */
font-size: 26rpx;
/* text-align: left; */
color: #999999;
}
2024-06-15 00:26:10 +08:00
2024-06-05 19:48:15 +08:00
.no-comment {
2024-06-15 00:26:10 +08:00
display: flex;
flex-direction: column;
align-items: center;
/* 水平居中 */
justify-content: center;
/* 垂直居中 */
2024-06-05 19:48:15 +08:00
}
2024-06-15 00:26:10 +08:00
.no-comment-img {
2024-06-05 19:48:15 +08:00
margin-top: 44rpx;
width: 200rpx;
height: 145rpx;
}
2024-06-15 00:26:10 +08:00
.no-comment-text {
2024-06-05 19:48:15 +08:00
margin-top: 8rpx;
font-weight: 400;
font-size: 26rpx;
color: #999999;
}
2024-06-15 00:26:10 +08:00
.no-comment-bt {
2024-06-05 19:48:15 +08:00
margin-top: 36rpx;
width: 308rpx;
height: 82rpx;
border-radius: 40rpx 40rpx 40rpx 40rpx;
border-width: 2rpx;
border-color: #C9F6F5;
2024-06-15 00:26:10 +08:00
background: #ffffff;
2024-06-05 19:48:15 +08:00
display: flex;
2024-06-15 00:26:10 +08:00
align-items: center;
/* 垂直居中 */
justify-content: center;
/* 水平居中 */
2024-06-05 19:48:15 +08:00
}
2024-06-15 00:26:10 +08:00
.no-comment-bt-text {
2024-06-05 19:48:15 +08:00
font-weight: 400;
font-size: 32rpx;
color: #CBF6F5;
}
2024-06-15 00:26:10 +08:00
.commentInput {
2024-06-05 19:48:15 +08:00
width: 364rpx;
height: 80rpx;
border-radius: 40rpx 40rpx 40rpx 40rpx;
background: #f7f8fa;
}
2024-06-15 00:26:10 +08:00
.commentInput-img {
width: 36rpx;
height: 36rpx;
// margin-right: 12rpx;
}
2024-06-15 00:26:10 +08:00
.commentInput-img-1 {
width: 36rpx;
height: 36rpx;
margin-right: 12rpx;
2024-06-05 19:48:15 +08:00
}
2024-06-15 00:26:10 +08:00
.commentInput-text {
2024-06-05 19:48:15 +08:00
font-weight: 400;
font-size: 30rpx;
color: #999999;
}
2024-06-15 00:26:10 +08:00
.commentInput-txt {
2024-06-05 19:48:15 +08:00
font-weight: 400;
font-size: 28rpx;
color: #787878;
}
2024-06-15 00:26:10 +08:00
.commentInput-txt-like {
2024-06-05 19:48:15 +08:00
font-weight: 400;
font-size: 28rpx;
color: #FA3939;
}
2024-06-15 00:26:10 +08:00
.commentInput-txt-favorite {
2024-06-05 19:48:15 +08:00
font-weight: 400;
font-size: 28rpx;
color: #FFC729;
}
2024-06-15 00:26:10 +08:00
.have-comment {
2024-06-06 19:36:53 +08:00
margin-top: 30rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-avatar-container {
2024-06-15 00:26:10 +08:00
position: relative;
2024-06-06 19:36:53 +08:00
width: 60rpx;
margin-right: 20rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-avatar-1 {
2024-06-15 00:26:10 +08:00
position: relative;
2024-06-06 19:36:53 +08:00
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-official-1 {
2024-06-15 00:26:10 +08:00
position: absolute;
width: 24rpx;
height: 24rpx;
bottom: 0;
right: 0;
2024-06-06 19:36:53 +08:00
}
2024-06-15 00:26:10 +08:00
.have-comment-uname {
2024-06-06 19:36:53 +08:00
font-weight: 400;
font-size: 26rpx;
color: #999999;
}
2024-06-15 00:26:10 +08:00
.have-comment-address {
2024-06-06 19:36:53 +08:00
font-weight: 400;
font-size: 24rpx;
color: #999999;
}
2024-06-15 00:26:10 +08:00
.have-comment-content {
2024-06-06 19:36:53 +08:00
margin-left: 80rpx;
margin-top: 10rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-content-text-1 {
font-weight: 400;
font-size: 30rpx;
color: #333333;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-content-text-2 {
font-weight: 400;
font-size: 24rpx;
color: #999999;
margin-top: 12rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-content-text-2-hf {
margin-left: 32rpx;
}
2024-06-15 00:26:10 +08:00
.have-comment-answer {
2024-06-06 19:36:53 +08:00
margin-top: 24rpx;
margin-left: 80rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-answer-avatar-container {
2024-06-15 00:26:10 +08:00
position: relative;
2024-06-06 19:36:53 +08:00
width: 48rpx;
margin-right: 20rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-answer-avatar-1 {
2024-06-15 00:26:10 +08:00
position: relative;
2024-06-06 19:36:53 +08:00
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-answer-official-1 {
2024-06-15 00:26:10 +08:00
position: absolute;
width: 16rpx;
height: 16rpx;
bottom: 0;
right: 0;
2024-06-06 19:36:53 +08:00
}
2024-06-15 00:26:10 +08:00
.have-comment-answer-uname {
2024-06-06 19:36:53 +08:00
font-weight: 400;
font-size: 26rpx;
color: #999999;
}
2024-06-15 00:26:10 +08:00
.have-comment-answer-content {
2024-06-06 19:36:53 +08:00
margin-left: 80rpx;
margin-top: 10rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-answer-content-text-1 {
font-weight: 400;
font-size: 30rpx;
color: #333333;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-answer-content-text-2 {
font-weight: 400;
font-size: 24rpx;
color: #999999;
margin-top: 12rpx;
}
2024-06-15 00:26:10 +08:00
2024-06-06 19:36:53 +08:00
.have-comment-answer-content-text-2-hf {
margin-left: 32rpx;
}
2024-06-15 00:26:10 +08:00
.deploymentAnswer-text {
2024-06-06 19:36:53 +08:00
font-weight: 400;
font-size: 24rpx;
color: #999999;
}
2024-06-15 00:26:10 +08:00
.input-in {
2024-06-06 19:36:53 +08:00
width: 560rpx;
height: 70rpx;
border-radius: 37rpx 37rpx 37rpx 37rpx;
background: #f7f8fa;
}
2024-06-15 00:26:10 +08:00
.input-in-text {
2024-06-06 19:36:53 +08:00
width: 520rpx;
}
2024-06-15 00:26:10 +08:00
.input-bt {
2024-06-06 19:36:53 +08:00
width: 120rpx;
height: 74rpx;
border-radius: 37rpx 37rpx 37rpx 37rpx;
background: #3477fc;
}
2024-06-15 00:26:10 +08:00
.input-text {
2024-06-06 19:36:53 +08:00
font-weight: 400;
font-size: 30rpx;
color: #FFFFFF;
}
2024-06-15 00:26:10 +08:00
.comment-input {
2024-06-06 19:36:53 +08:00
padding: 24rpx;
// margin-bottom: 800rpx;
}
2024-06-15 00:26:10 +08:00
.comment-po {
2024-06-06 19:36:53 +08:00
// height: 500rpx;
}
2024-06-15 00:26:10 +08:00
.input-bt-text {
2024-06-08 18:57:20 +08:00
font-weight: 400;
font-size: 28rpx;
color: #FFFFFF;
}
2024-06-15 00:26:10 +08:00
.have-comment-answer-deploy {
margin-top: 30rpx;
margin-left: 80rpx;
}
2024-06-15 00:26:10 +08:00
.have-comment-answer-line {}
.have-comment-answer-img-1 {
width: 26rpx;
height: 14rpx;
margin-left: 12rpx;
}
2024-06-15 00:26:10 +08:00
.have-comment-answer-img-2 {
width: 26rpx;
height: 14rpx;
margin-left: 12rpx;
transform: scaleY(-1);
}
2024-06-15 00:26:10 +08:00
.have-comment-answer-deploy-1 {
margin-left: 12rpx;
margin-right: 130rpx;
}
2024-06-15 00:26:10 +08:00
.have-comment-answer-uname-img {
width: 14rpx;
height: 24rpx;
margin: 0 8rpx;
}
2024-06-15 00:26:10 +08:00
.have-comment-line {
width: 686rpx;
height: 2rpx;
border-radius: 1rpx 1rpx 1rpx 1rpx;
background: #f4f5f6;
margin: 36rpx 0;
}
2024-06-18 10:51:19 +08:00
.timeText {
font-weight: 400;
font-size: 30rpx;
color: #000000;
}
.text-14 {
font-weight: 400;
font-size: 30rpx;
color: #000000;
}
.text-17 {
font-weight: 400;
font-size: 30rpx;
color: #F87863;
}
.view-13 {
margin-top: 36rpx;
margin-left: 32rpx;
}
.text-18 {
font-weight: 400;
font-size: 30rpx;
color: #43CE8F;
}
2024-06-15 00:26:10 +08:00
</style>