Commit 000a3e8f authored by 成旭东's avatar 成旭东

视频置顶设置

parent 61093a3d
Pipeline #28769 passed with stage
in 2 minutes 43 seconds
......@@ -508,7 +508,7 @@ const BusinessOpenInfoComponent = (props: any) => {
</div>
<div className={styles.panelItem}>
<span>开盘状态:</span>
<span>{obj.status || '--'}</span>
<span style={{ fontSize: '20px', fontWeight: 'bold', color: obj.status === '已结束' ? 'red' : 'green' }}>{obj.status || '--'}</span>
</div>
</div>
......
......@@ -263,7 +263,7 @@ const HouseOpenInfoComponent = (props: any) => {
</div>
<div className={styles.panelItem}>
<span>开盘状态:</span>
<span>{obj.status || '--'}</span>
<span style={{ fontSize: '20px', fontWeight: 'bold', color: obj.status === '已结束' ? 'red' : 'green' }}>{obj.status || '--'}</span>
</div>
</div>
......
......@@ -505,7 +505,7 @@ const OfficeOpenInfoComponent = (props: any) => {
</div>
<div className={styles.panelItem}>
<span>开盘状态:</span>
<span>{obj.status || '--'}</span>
<span style={{ fontSize: '20px', fontWeight: 'bold', color: obj.status === '已结束' ? 'red' : 'green' }}>{obj.status || '--'}</span>
</div>
</div>
......
......@@ -174,13 +174,13 @@ const DrawerForm = (props: any) => {
>
<InputNumber />
</FormItem>
<FormItem
{/* <FormItem
name="is_recommend"
label="首页推荐"
valuePropName="checked"
>
<Switch />
</FormItem>
</FormItem> */}
<FormItem
name="is_top"
label="置顶标签"
......@@ -546,17 +546,19 @@ const VideoList: React.FC<any> = (props) => {
key: 'virtual_share_num',
width: 150,
render: (text: any) => (text || '0')
}, {
title: '首页推荐',
dataIndex: 'is_recommend',
key: 'is_recommend',
width: 100,
render: (text: any, record: any) => (
<Switch checked={text} onChange={(val: any) => { changeVideo({
is_recommend: val ? '1' : '0',
}, record.id) }} />
)
}, {
},
// {
// title: '首页推荐',
// dataIndex: 'is_recommend',
// key: 'is_recommend',
// width: 100,
// render: (text: any, record: any) => (
// <Switch checked={text} onChange={(val: any) => { changeVideo({
// is_recommend: val ? '1' : '0',
// }, record.id) }} />
// )
// },
{
title: '置顶标签',
dataIndex: 'is_top',
key: 'is_top',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment