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
c220d975
Commit
c220d975
authored
Aug 06, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改失效图标样式
parent
d6b5dfab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
ShowerAppointment.tsx
src/pages/Shower/ShowerAppointment.tsx
+1
-1
AppointermentCard.scss
...hower/components/AppointermentCard/AppointermentCard.scss
+8
-8
AppointermentCard.tsx
...Shower/components/AppointermentCard/AppointermentCard.tsx
+3
-1
No files found.
src/pages/Shower/ShowerAppointment.tsx
View file @
c220d975
...
@@ -143,7 +143,7 @@ function ShowerAppointment() {
...
@@ -143,7 +143,7 @@ function ShowerAppointment() {
{
showState
==
1
&&
showerControlConfig
.
balances
.
length
&&
(
{
showState
==
1
&&
showerControlConfig
.
balances
.
length
&&
(
<
View
className=
'ShowerAppointment-Account'
>
<
View
className=
'ShowerAppointment-Account'
>
{
showerControlConfig
.
balances
.
map
(
item
=>
(
{
showerControlConfig
.
balances
.
map
(
item
=>
(
<
View
className=
'ShowerAppointment-Account-item'
>
<
View
key=
{
item
.
serviceId
}
className=
'ShowerAppointment-Account-item'
>
<
Text
className=
'name'
>
{
item
.
serviceName
}
</
Text
>
<
Text
className=
'name'
>
{
item
.
serviceName
}
</
Text
>
<
Text
>
{
item
.
amount
.
toFixed
(
2
)
}
</
Text
>
<
Text
>
{
item
.
amount
.
toFixed
(
2
)
}
</
Text
>
</
View
>
</
View
>
...
...
src/pages/Shower/components/AppointermentCard/AppointermentCard.scss
View file @
c220d975
...
@@ -13,13 +13,13 @@
...
@@ -13,13 +13,13 @@
.AppointermentCard-Time
{
.AppointermentCard-Time
{
background-color
:
#e2e2e6
;
background-color
:
#e2e2e6
;
}
}
.AppointermentCard-Dis-Icon
{
}
position
:
absolute
;
.AppointermentCard-Dis-Icon
{
width
:
262px
;
position
:
absolute
;
height
:
246
px
;
width
:
262
px
;
right
:
0
;
height
:
246px
;
bottom
:
0
;
right
:
0
;
}
bottom
:
0
;
}
}
.AppointermentCard-Title
{
.AppointermentCard-Title
{
line-height
:
40px
;
line-height
:
40px
;
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
color
:
#6180f4
;
color
:
#6180f4
;
background-color
:
#fafafe
;
background-color
:
#fafafe
;
border-radius
:
0
0
16px
16px
;
border-radius
:
0
0
16px
16px
;
text
:last-child
{
text
:last-child
{
display
:
inline-block
;
display
:
inline-block
;
margin-left
:
20px
;
margin-left
:
20px
;
width
:
300px
;
width
:
300px
;
...
...
src/pages/Shower/components/AppointermentCard/AppointermentCard.tsx
View file @
c220d975
...
@@ -11,7 +11,9 @@ const AppointermentCard = (props: PageOwnProps) => {
...
@@ -11,7 +11,9 @@ const AppointermentCard = (props: PageOwnProps) => {
const
{
data
}
=
props
;
const
{
data
}
=
props
;
return
(
return
(
<
View
<
View
className=
{
`AppointermentCard ${data.status === 5 ? 'disabled' : ''}`
}
>
className=
{
`AppointermentCard ${
data.status === 5 || data.status === 8 ? 'disabled' : ''
}`
}
>
<
View
className=
'AppointermentCard-Title'
>
我的预约
</
View
>
<
View
className=
'AppointermentCard-Title'
>
我的预约
</
View
>
<
View
className=
'AppointermentCard-row'
>
<
View
className=
'AppointermentCard-row'
>
<
Text
>
设备编码:
</
Text
>
<
Text
>
设备编码:
</
Text
>
...
...
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