Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app
Project
Overview
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-school-app
Commits
61fb4ec3
Commit
61fb4ec3
authored
Jun 17, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除默认服务
parent
e612387f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Home.tsx
src/pages/Home/Home.tsx
+5
-2
No files found.
src/pages/Home/Home.tsx
View file @
61fb4ec3
...
@@ -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
,
...
...
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