增加空间发帖封禁功能;优化订单查询展示
This commit is contained in:
parent
24c52fc750
commit
f7f2780e4e
|
@ -42,7 +42,14 @@ const BlockUserContent = (props) => {
|
|||
title: "封禁内容",
|
||||
dataIndex: "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: "起始时间",
|
||||
|
@ -367,7 +374,10 @@ const BlockUserContent = (props) => {
|
|||
outline: "none",
|
||||
}}
|
||||
>
|
||||
<option value={0}>限制发帖</option>
|
||||
<option value={0}>限制广场发帖</option>
|
||||
<option value={1}>限制空间内发布免费帖</option>
|
||||
<option value={2}>限制空间内发布付费帖</option>
|
||||
<option value={3}>限制空间内发帖</option>
|
||||
</select>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
|
|
|
@ -43,8 +43,8 @@ export default function OrdersQuerry() {
|
|||
render: (data) => {
|
||||
return (
|
||||
<div>
|
||||
{data.coins && <p>{data.coins}金币</p>}
|
||||
{data.money && <p>¥{data.money / 100}</p>}
|
||||
{data.coins !== undefined && <p>{data.coins}金币</p>}
|
||||
{data.money !== undefined && <p>¥{data.money / 100}</p>}
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
@ -60,7 +60,7 @@ export default function OrdersQuerry() {
|
|||
<span className="text-green-400">用户id:</span>
|
||||
{data.user_user_id}
|
||||
</p>
|
||||
{data.streamer_user_id && (
|
||||
{data.streamer_user_id !== 0 && (
|
||||
<p>
|
||||
<span className="text-green-400">主播id:</span>
|
||||
{data.streamer_user_id}
|
||||
|
|
Loading…
Reference in New Issue