Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp_estate_client
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mp_estate_backstage
mp_estate_client
Commits
000a3e8f
Commit
000a3e8f
authored
Oct 22, 2020
by
成旭东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频置顶设置
parent
61093a3d
Pipeline
#28769
passed with stage
in 2 minutes 43 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
16 deletions
+18
-16
businessOpenInfo.tsx
...mpEstate/estateList/edite/components/businessOpenInfo.tsx
+1
-1
houseOpenInfo.tsx
...es/mpEstate/estateList/edite/components/houseOpenInfo.tsx
+1
-1
officeOpenInfo.tsx
...s/mpEstate/estateList/edite/components/officeOpenInfo.tsx
+1
-1
index.tsx
src/pages/mpEstate/videoList/index.tsx
+15
-13
No files found.
src/pages/mpEstate/estateList/edite/components/businessOpenInfo.tsx
View file @
000a3e8f
...
...
@@ -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
>
...
...
src/pages/mpEstate/estateList/edite/components/houseOpenInfo.tsx
View file @
000a3e8f
...
...
@@ -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
>
...
...
src/pages/mpEstate/estateList/edite/components/officeOpenInfo.tsx
View file @
000a3e8f
...
...
@@ -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
>
...
...
src/pages/mpEstate/videoList/index.tsx
View file @
000a3e8f
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment