Merge pull request '增加空间发帖封禁功能;优化订单查询展示' (#3) from zone into main
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_op/pulls/3
This commit is contained in:
commit
5761f6e571
|
@ -42,7 +42,14 @@ const BlockUserContent = (props) => {
|
||||||
title: "封禁内容",
|
title: "封禁内容",
|
||||||
dataIndex: "type",
|
dataIndex: "type",
|
||||||
key: "type",
|
key: "type",
|
||||||
render: (data) => <p>{data === 0 && "主播发帖封禁"}</p>,
|
render: (data) => (
|
||||||
|
<div>
|
||||||
|
<p>{data === 0 && "限制广场发帖"}</p>
|
||||||
|
<p>{data === 1 && "限制空间内发布免费帖"}</p>
|
||||||
|
<p>{data === 2 && "限制空间内发布付费帖"}</p>
|
||||||
|
<p>{data === 3 && "限制空间内发帖"}</p>
|
||||||
|
</div>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "起始时间",
|
title: "起始时间",
|
||||||
|
@ -367,7 +374,10 @@ const BlockUserContent = (props) => {
|
||||||
outline: "none",
|
outline: "none",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<option value={0}>限制发帖</option>
|
<option value={0}>限制广场发帖</option>
|
||||||
|
<option value={1}>限制空间内发布免费帖</option>
|
||||||
|
<option value={2}>限制空间内发布付费帖</option>
|
||||||
|
<option value={3}>限制空间内发帖</option>
|
||||||
</select>
|
</select>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|
|
@ -43,8 +43,8 @@ export default function OrdersQuerry() {
|
||||||
render: (data) => {
|
render: (data) => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
{data.coins && <p>{data.coins}金币</p>}
|
{data.coins !== undefined && <p>{data.coins}金币</p>}
|
||||||
{data.money && <p>¥{data.money / 100}</p>}
|
{data.money !== undefined && <p>¥{data.money / 100}</p>}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
@ -60,7 +60,7 @@ export default function OrdersQuerry() {
|
||||||
<span className="text-green-400">用户id:</span>
|
<span className="text-green-400">用户id:</span>
|
||||||
{data.user_user_id}
|
{data.user_user_id}
|
||||||
</p>
|
</p>
|
||||||
{data.streamer_user_id && (
|
{data.streamer_user_id !== 0 && (
|
||||||
<p>
|
<p>
|
||||||
<span className="text-green-400">主播id:</span>
|
<span className="text-green-400">主播id:</span>
|
||||||
{data.streamer_user_id}
|
{data.streamer_user_id}
|
||||||
|
|
Loading…
Reference in New Issue