Commit 61fb4ec3 by 姜雷

删除默认服务

parent e612387f
...@@ -79,8 +79,8 @@ class Home extends Component { ...@@ -79,8 +79,8 @@ class Home extends Component {
commBean: 0.0, commBean: 0.0,
hairDryerBean: 0.0, hairDryerBean: 0.0,
serviceList: [ serviceList: [
{ serviceId: 3, serviceName: '饮水' }, // { serviceId: 3, serviceName: '饮水' },
{ serviceId: 4, serviceName: '吹风' }, // { serviceId: 4, serviceName: '吹风' },
// { serviceId: 5, serviceName: '洗浴' }, // { serviceId: 5, serviceName: '洗浴' },
// { serviceId: 9, serviceName: '壁挂饮水' }, // { serviceId: 9, serviceName: '壁挂饮水' },
], ],
...@@ -316,6 +316,7 @@ class Home extends Component { ...@@ -316,6 +316,7 @@ class Home extends Component {
key={service.serviceId} key={service.serviceId}
icon={WaterIconBig} icon={WaterIconBig}
text={''} text={''}
side='right'
onClick={this.goBarCode} onClick={this.goBarCode}
/> />
) : service.serviceId === 4 || service.serviceId === 12 ? ( ) : service.serviceId === 4 || service.serviceId === 12 ? (
...@@ -332,6 +333,7 @@ class Home extends Component { ...@@ -332,6 +333,7 @@ class Home extends Component {
key={service.serviceId} key={service.serviceId}
icon={ShowerIconBig} icon={ShowerIconBig}
text={service.serviceName} text={service.serviceName}
side='left'
onClick={this.goShower} onClick={this.goShower}
/> />
) : service.serviceId === 9 ? ( ) : service.serviceId === 9 ? (
...@@ -339,6 +341,7 @@ class Home extends Component { ...@@ -339,6 +341,7 @@ class Home extends Component {
key={service.serviceId} key={service.serviceId}
icon={DispenserIconBig} icon={DispenserIconBig}
text={''} text={''}
side='left'
onClick={this.goDispenser} onClick={this.goDispenser}
/> />
) : null, ) : null,
......
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