diff --git a/src/pages/DeletedPostReview/index.jsx b/src/pages/DeletedPostReview/index.jsx index 2888c31..5db4893 100644 --- a/src/pages/DeletedPostReview/index.jsx +++ b/src/pages/DeletedPostReview/index.jsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from "react"; import { Form, Input, Table, Image, Space, Button, Modal, message } from "antd"; import baseRequest from "../../utils/baseRequest"; -import VideoPlayer from '../../components/VideoPlayer'; +import VideoPlayer from "../../components/VideoPlayer"; export default function DeletedPostReview() { //表头 const columns = [ @@ -9,6 +9,7 @@ export default function DeletedPostReview() { title: "动态信息", dataIndex: "info", key: "info", + width: 300, render: (data) => (

@@ -32,18 +33,26 @@ export default function DeletedPostReview() { title: "媒体", dataIndex: "media", key: "media", + width: 600, render: (data) => ( -

+
{data?.images?.map((item, index) => ( ))} {data?.videos?.map((item, index) => ( - + ))}
), @@ -52,6 +61,7 @@ export default function DeletedPostReview() { title: "操作", dataIndex: "opeartion", key: "opeartion", + width: 200, render: (_, record) => (
diff --git a/src/pages/EditSpacePost/index.jsx b/src/pages/EditSpacePost/index.jsx index 3a8ee89..26a3192 100644 --- a/src/pages/EditSpacePost/index.jsx +++ b/src/pages/EditSpacePost/index.jsx @@ -63,13 +63,29 @@ const EditSpacePostContent = (props) => { item.urls[0])} > - {data.media.images.map((item, index) => ( - - ))} +
+ {data.media.images.map((item, index) => ( + + ))} +
- {data.media.videos.map((item, index) => ( - - ))} +
+ {data.media.videos.map((item, index) => ( + + ))} +
), diff --git a/src/pages/Feedback/index.jsx b/src/pages/Feedback/index.jsx index ba4a917..e4d2a68 100644 --- a/src/pages/Feedback/index.jsx +++ b/src/pages/Feedback/index.jsx @@ -33,18 +33,26 @@ const FeedbackContent = (props) => { title: "辅助材料", dataIndex: "credentials", key: "credentials", + width: 500, render: (data) => ( -
+
{data.images?.map((item, index) => ( - +
+ +
))} {data.videos?.map((item, index) => ( - +
+ +
))}
), diff --git a/src/pages/PostMachineReview/index.jsx b/src/pages/PostMachineReview/index.jsx index a510caa..fb0d757 100644 --- a/src/pages/PostMachineReview/index.jsx +++ b/src/pages/PostMachineReview/index.jsx @@ -34,6 +34,7 @@ const PostMachineReviewContent = (props) => { title: "动态内容", dataIndex: "newMedia", key: "newMedia", + width: 500, render: (data) => (
@@ -42,12 +43,24 @@ const PostMachineReviewContent = (props) => {

媒体:

-
+
{data.media?.images?.map((item, index) => ( - +
+ +
))} {data.media?.videos?.map((item, index) => ( - +
+ +
))}
diff --git a/src/pages/StreamerInformation/index.jsx b/src/pages/StreamerInformation/index.jsx index 8c2e2d7..e2b6920 100644 --- a/src/pages/StreamerInformation/index.jsx +++ b/src/pages/StreamerInformation/index.jsx @@ -126,17 +126,25 @@ const StreamerInformationContent = () => { title: "相册", dataIndex: "displayGallery", key: "displayGallery", + width: 500, render: (data) => (
item.urls[0])}> - {data.map((item) => ( - - ))} +
+ {data.map((item) => ( +
+ +
+ ))} +
), diff --git a/src/pages/StreamerInformationCompleteNew/index.jsx b/src/pages/StreamerInformationCompleteNew/index.jsx index e04618b..5fc80e4 100644 --- a/src/pages/StreamerInformationCompleteNew/index.jsx +++ b/src/pages/StreamerInformationCompleteNew/index.jsx @@ -8,7 +8,7 @@ import { useLocation, } from "react-router-dom"; import baseRequest from "../../utils/baseRequest"; -import VideoPlayer from '../../components/VideoPlayer'; +import VideoPlayer from "../../components/VideoPlayer"; const JoinContent = (props) => { const { TextArea } = Input; const current = props.current; @@ -104,23 +104,27 @@ const JoinContent = (props) => { title: "封面视频", dataIndex: "displayVideo", key: "displayVideo", - render: (data) => , + render: (data) => , }, { title: "相册", dataIndex: "displayGallery", key: "displayGallery", + width: 500, render: (data) => (
item.urls[0])}> - {data.map((item) => ( - - ))} +
+ {data.map((item) => ( +
+ +
+ ))} +
), @@ -222,6 +226,7 @@ const JoinContent = (props) => { title: "操作", dataIndex: "opeartion", key: "opeartion", + fixed: "right", render: (_, record) => (
diff --git a/src/pages/StreamerJoin/index.jsx b/src/pages/StreamerJoin/index.jsx index 9677471..2c59636 100644 --- a/src/pages/StreamerJoin/index.jsx +++ b/src/pages/StreamerJoin/index.jsx @@ -8,7 +8,7 @@ import { useLocation, } from "react-router-dom"; import baseRequest from "../../utils/baseRequest"; -import VideoPlayer from "../../components/VideoPlayer" +import VideoPlayer from "../../components/VideoPlayer"; const JoinContent = (props) => { const { TextArea } = Input; const current = props.current; @@ -133,23 +133,31 @@ const JoinContent = (props) => { title: "封面视频", dataIndex: "displayVideo", key: "displayVideo", - render: (data) => , + render: (data) => , }, { title: "相册", dataIndex: "displayGallery", key: "displayGallery", + width: 500, render: (data) => (
item.urls[0])}> - {data.map((item) => ( - - ))} +
+ {data.map((item) => ( +
+ +
+ ))} +
), diff --git a/src/pages/ZonePostMachineReview/index.jsx b/src/pages/ZonePostMachineReview/index.jsx index cb1d404..d688c36 100644 --- a/src/pages/ZonePostMachineReview/index.jsx +++ b/src/pages/ZonePostMachineReview/index.jsx @@ -34,6 +34,7 @@ const ZonePostMachineReviewContent = (props) => { title: "动态内容", dataIndex: "content", key: "content", + width: 500, render: (data) => (
@@ -47,16 +48,28 @@ const ZonePostMachineReviewContent = (props) => { )}

媒体:

-
+
item.urls[0])} > {data.media.images.map((item, index) => ( - +
+ +
))}
{data.media.videos.map((item, index) => ( - +
+ +
))}