From b6719b2af2f776c9db75df6e421e110df294fd47 Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 9 Jul 2024 23:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=B0=E7=89=88=E5=85=A5?= =?UTF-8?q?=E9=A9=BB=E6=B5=81=E7=A8=8B=E7=9B=B8=E5=85=B3=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Op/index.jsx | 2 + .../StreamerInformationCompleteNew/index.jsx | 490 ++++++++++++++++++ src/pages/StreamerJoinNew/index.jsx | 338 ++++++++++++ src/routes/index.js | 10 + 4 files changed, 840 insertions(+) create mode 100644 src/pages/StreamerInformationCompleteNew/index.jsx create mode 100644 src/pages/StreamerJoinNew/index.jsx diff --git a/src/pages/Op/index.jsx b/src/pages/Op/index.jsx index 4da240b..27c50b4 100644 --- a/src/pages/Op/index.jsx +++ b/src/pages/Op/index.jsx @@ -42,6 +42,8 @@ export default function Op() { const items = [ getItem("审核专区", "review", , [ getItem("网红入驻审核", "streamerJoin"), + getItem("(新)网红入驻审核", "streamerJoinNew"), + getItem("(新)网红资料审核", "streamerInformationCompleteNew"), getItem("网红实名认证审核", "streamerVerification"), getItem("图片机审回查", "imageMachineReview"), getItem("文本机审回查", "textMachineReview"), diff --git a/src/pages/StreamerInformationCompleteNew/index.jsx b/src/pages/StreamerInformationCompleteNew/index.jsx new file mode 100644 index 0000000..35eb507 --- /dev/null +++ b/src/pages/StreamerInformationCompleteNew/index.jsx @@ -0,0 +1,490 @@ +import React, { useState, useRef, useEffect } from "react"; +import { Form, Input, Button, Space, Table, Menu, Image } from "antd"; +import { + Routes, + Route, + Navigate, + useNavigate, + useLocation, +} from "react-router-dom"; +import baseRequest from "../../utils/baseRequest"; + +const JoinContent = (props) => { + const { TextArea } = Input; + const current = props.current; + //表头 + const columns = [ + { + title: "基本信息", + dataIndex: "baseInfo", + key: "baseInfo", + render: (data) => ( +
+ {/* */} +

+ ID:{data.id} +

+ {/*

+ 昵称:{data.name} +

*/} +

+ 提交时间:{data.submitTime} +

+
+ ), + }, + { + title: "个人展示信息", + dataIndex: "displayInfo", + key: "displayInfo", + render: (data) => ( +
+

+ 性别: + + {data.gender === 1 ? "女" : "男"} + +

+

+ 全网粉丝:{data.fans}万 +

+

+ 微信添加方式: + + {data.wechat_lock_type === 1 ? "主动添加" : "直接展示"} + +

+

+ 微信: + + {data.wechat ? data.wechat : "空"} + +

+

+ 微信价格: + ¥{data.wechat_price / 10} +

+

+ 个性签名:{data.bio} +

+

+ 私信自动回复: + {data.auto_response_message} +

+

+ 年龄:{data.age} +

+

+ 身高:{data.height} +

+

+ 体重:{data.weight} +

+

+ 星座:{data.constellation} +

+

+ 居住地:{data.location} +

+
+ ), + }, + { + title: "封面图片", + dataIndex: "displayPoster", + key: "displayPoster", + render: (data) => , + }, + { + title: "封面视频", + dataIndex: "displayVideo", + key: "displayVideo", + render: (data) =>