编辑广场动态,显示驳回原因

This commit is contained in:
al 2024-11-21 16:26:06 +08:00
parent d1f888a09b
commit 9f62ada310
1 changed files with 30 additions and 0 deletions

View File

@ -167,6 +167,36 @@ export default function EditPost() {
</div> </div>
{/* 内容 */} {/* 内容 */}
<div className="pt-16 p-4"> <div className="pt-16 p-4">
{data?.status === 6 &&
(data.text_audit_opinion ||
data.image_audit_opinion ||
data.manually_review_opinion) && (
<div className="mb-4">
<span className="text-base font-medium text-[#F53030] mb-2">
违规详情
</span>
<div className="mt-2 p-4 rounded-2xl bg-[#FFFFFF1A]">
{data.text_audit_opinion && (
<p className="text-sm font-medium text-white">
<span className="text-[#F53030]">文案违规原因</span>
{data.text_audit_opinion}
</p>
)}
{data.image_audit_opinion && (
<p className="text-sm font-medium text-white">
<span className="text-[#F53030]">图片/视频违规原因</span>
{data.image_audit_opinion}
</p>
)}
{data.manually_review_opinion && (
<p className="text-sm font-medium text-white">
<span className="text-[#F53030]">运营追加</span>
{data.manually_review_opinion}
</p>
)}
</div>
</div>
)}
<div className="mt-2"> <div className="mt-2">
<p className="text-base font-medium text-white">动态内容</p> <p className="text-base font-medium text-white">动态内容</p>
<div className="h-32"> <div className="h-32">