Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
O
official
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吕祺
official
Commits
304fe772
Commit
304fe772
authored
Jun 04, 2021
by
吕祺
⛹🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add health
parent
2d067e5f
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
0 deletions
+26
-0
portfolioPage.md
content/portfolioPage.md
+2
-0
portfolio.js
pages/portfolio.js
+16
-0
config.yml
static/admin/config.yml
+8
-0
No files found.
content/portfolioPage.md
View file @
304fe772
...
@@ -37,6 +37,8 @@ newConsumption: 新消费
...
@@ -37,6 +37,8 @@ newConsumption: 新消费
newConsumptionEN
:
New Consumption
newConsumptionEN
:
New Consumption
newTech
:
新技术
newTech
:
新技术
newTechEN
:
New Technology
newTechEN
:
New Technology
health
:
医疗健康
healthEN
:
Health
officialSite
:
官方网站
officialSite
:
官方网站
officialSiteEN
:
Visit Website
officialSiteEN
:
Visit Website
gaorongTime
:
高榕陪伴
gaorongTime
:
高榕陪伴
...
...
pages/portfolio.js
View file @
304fe772
...
@@ -21,6 +21,7 @@ export default class PortfolioPage extends Component {
...
@@ -21,6 +21,7 @@ export default class PortfolioPage extends Component {
this
.
showAll
=
this
.
setShowType
.
bind
(
this
,
'all'
)
this
.
showAll
=
this
.
setShowType
.
bind
(
this
,
'all'
)
this
.
showTech
=
this
.
setShowType
.
bind
(
this
,
'新技术'
)
this
.
showTech
=
this
.
setShowType
.
bind
(
this
,
'新技术'
)
this
.
showConsumption
=
this
.
setShowType
.
bind
(
this
,
'新消费'
)
this
.
showConsumption
=
this
.
setShowType
.
bind
(
this
,
'新消费'
)
this
.
showHealth
=
this
.
setShowType
.
bind
(
this
,
'医疗健康'
)
}
}
componentDidMount
()
{
componentDidMount
()
{
this
.
setState
({
this
.
setState
({
...
@@ -88,6 +89,8 @@ export default class PortfolioPage extends Component {
...
@@ -88,6 +89,8 @@ export default class PortfolioPage extends Component {
newConsumptionEN
,
newConsumptionEN
,
newTech
,
newTech
,
newTechEN
,
newTechEN
,
health
,
healthEN
,
portfolio
,
portfolio
,
subTitle
,
subTitle
,
subTitleEN
,
subTitleEN
,
...
@@ -159,6 +162,19 @@ export default class PortfolioPage extends Component {
...
@@ -159,6 +162,19 @@ export default class PortfolioPage extends Component {
>
>
{
en
===
null
?
''
:
en
?
newTechEN
:
newTech
}
{
en
===
null
?
''
:
en
?
newTechEN
:
newTech
}
<
/div
>
<
/div
>
<
div
className
=
{
classnames
({
'portfolio-select-health'
:
true
,
'portfolio-active'
:
showType
===
'医疗健康'
})}
onClick
=
{
this
.
showHealth
}
>
{
en
===
null
?
''
:
en
?
healthEN
:
health
}
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"portfolio"
>
<
div
className
=
"portfolio"
>
{
portfolio
{
portfolio
...
...
static/admin/config.yml
View file @
304fe772
...
@@ -150,6 +150,8 @@ collections:
...
@@ -150,6 +150,8 @@ collections:
-
{
label
:
"
newConsumptionEN"
,
name
:
"
newConsumptionEN"
,
widget
:
"
string"
}
-
{
label
:
"
newConsumptionEN"
,
name
:
"
newConsumptionEN"
,
widget
:
"
string"
}
-
{
label
:
"
newTech"
,
name
:
"
newTech"
,
widget
:
"
string"
}
-
{
label
:
"
newTech"
,
name
:
"
newTech"
,
widget
:
"
string"
}
-
{
label
:
"
newTechEN"
,
name
:
"
newTechEN"
,
widget
:
"
string"
}
-
{
label
:
"
newTechEN"
,
name
:
"
newTechEN"
,
widget
:
"
string"
}
-
{
label
:
"
health"
,
name
:
"
health"
,
widget
:
"
string"
}
-
{
label
:
"
healthEN"
,
name
:
"
healthEN"
,
widget
:
"
string"
}
-
{
label
:
"
officialSite"
,
name
:
"
officialSite"
,
widget
:
"
string"
}
-
{
label
:
"
officialSite"
,
name
:
"
officialSite"
,
widget
:
"
string"
}
-
{
label
:
"
officialSiteEN"
,
name
:
"
officialSiteEN"
,
widget
:
"
string"
}
-
{
label
:
"
officialSiteEN"
,
name
:
"
officialSiteEN"
,
widget
:
"
string"
}
-
{
label
:
"
gaorongTime"
,
name
:
"
gaorongTime"
,
widget
:
"
string"
}
-
{
label
:
"
gaorongTime"
,
name
:
"
gaorongTime"
,
widget
:
"
string"
}
...
@@ -377,6 +379,9 @@ collections:
...
@@ -377,6 +379,9 @@ collections:
-
label
:
'
新消费'
-
label
:
'
新消费'
field
:
type
field
:
type
pattern
:
'
新消费'
pattern
:
'
新消费'
-
label
:
'
医疗健康'
field
:
type
pattern
:
'
医疗健康'
-
label
:
'
榕报'
-
label
:
'
榕报'
field
:
type
field
:
type
pattern
:
'
榕报'
pattern
:
'
榕报'
...
@@ -417,6 +422,9 @@ collections:
...
@@ -417,6 +422,9 @@ collections:
-
label
:
'
新消费'
-
label
:
'
新消费'
field
:
type
field
:
type
pattern
:
'
新消费'
pattern
:
'
新消费'
-
label
:
'
医疗健康'
field
:
type
pattern
:
'
医疗健康'
-
label
:
'
榕报'
-
label
:
'
榕报'
field
:
type
field
:
type
pattern
:
'
榕报'
pattern
:
'
榕报'
...
...
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