Commit 61fb4ec3 by 姜雷

删除默认服务

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