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

add health

parent 2d067e5f
......@@ -37,6 +37,8 @@ newConsumption: 新消费
newConsumptionEN: New Consumption
newTech: 新技术
newTechEN: New Technology
health: 医疗健康
healthEN: Health
officialSite: 官方网站
officialSiteEN: Visit Website
gaorongTime: 高榕陪伴
......
......@@ -21,6 +21,7 @@ export default class PortfolioPage extends Component {
this.showAll = this.setShowType.bind(this, 'all')
this.showTech = this.setShowType.bind(this, '新技术')
this.showConsumption = this.setShowType.bind(this, '新消费')
this.showHealth = this.setShowType.bind(this, '医疗健康')
}
componentDidMount() {
this.setState({
......@@ -88,6 +89,8 @@ export default class PortfolioPage extends Component {
newConsumptionEN,
newTech,
newTechEN,
health,
healthEN,
portfolio,
subTitle,
subTitleEN,
......@@ -159,6 +162,19 @@ export default class PortfolioPage extends Component {
>
{en === null ? '' : en ? newTechEN : newTech}
</div>
<div
className={classnames({
'portfolio-select-health': true,
'portfolio-active': showType === '医疗健康'
})}
onClick={this.showHealth}
>
{en === null
? ''
: en
? healthEN
: health}
</div>
</div>
<div className="portfolio">
{portfolio
......
......@@ -150,6 +150,8 @@ collections:
- { label: "newConsumptionEN", name: "newConsumptionEN", widget: "string"}
- { label: "newTech", name: "newTech", 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: "officialSiteEN", name: "officialSiteEN", widget: "string"}
- { label: "gaorongTime", name: "gaorongTime", widget: "string"}
......@@ -377,6 +379,9 @@ collections:
- label: '新消费'
field: type
pattern: '新消费'
- label: '医疗健康'
field: type
pattern: '医疗健康'
- label: '榕报'
field: type
pattern: '榕报'
......@@ -417,6 +422,9 @@ collections:
- label: '新消费'
field: type
pattern: '新消费'
- label: '医疗健康'
field: type
pattern: '医疗健康'
- label: '榕报'
field: type
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