Commit 304fe772 authored by 吕祺's avatar 吕祺 ⛹🏽

add health

parent 2d067e5f
...@@ -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: 高榕陪伴
......
...@@ -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
......
...@@ -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: '榕报'
......
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