Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app-public
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-public
Commits
b536ed08
Commit
b536ed08
authored
Apr 23, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整样式
parent
28c6f509
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
10 deletions
+20
-10
pay.scss
src/pages/pay/pay.scss
+10
-0
pay.tsx
src/pages/pay/pay.tsx
+10
-10
No files found.
src/pages/pay/pay.scss
View file @
b536ed08
...
...
@@ -11,6 +11,16 @@
justify-content
:
space-between
;
.Pay-info-rate
{
line-height
:
40px
;
.Pay-info-rate-item
{
display
:
flex
;
}
.Pay-info-rate-name
{
margin-right
:
5px
;
}
.Pay-info-rate-mark
{
width
:
220px
;
text-align
:
right
;
}
}
}
}
...
...
src/pages/pay/pay.tsx
View file @
b536ed08
...
...
@@ -139,19 +139,19 @@ class Pay extends Component {
<
Text
>
适用费率
</
Text
>
<
View
className=
'Pay-info-rate'
>
{
device
.
rates
.
map
(
item
=>
(
<
View
key=
{
item
.
name
}
>
<
Text
>
{
item
.
name
}
</
Text
>
<
Text
>
{
item
.
mark
}
</
Text
>
<
View
key=
{
item
.
name
}
className=
'Pay-info-rate-item'
>
<
Text
className=
'Pay-info-rate-name'
>
{
item
.
name
}
</
Text
>
<
Text
className=
'Pay-info-rate-mark'
>
{
item
.
mark
}
</
Text
>
</
View
>
))
}
{
/* <View>
<Text>冷水</Text>
<Text>0.02元/100ml</Text>
<
View
className=
'Pay-info-rate-item'
>
<
Text
className=
'Pay-info-rate-name'
>
冷水
</
Text
>
<
Text
className=
'Pay-info-rate-mark'
>
0.02元/100ml
</
Text
>
</
View
>
<
View
className=
'Pay-info-rate-item'
>
<
Text
className=
'Pay-info-rate-name'
>
热水
</
Text
>
<
Text
className=
'Pay-info-rate-mark'
>
0.02元/100ml
</
Text
>
</
View
>
<View>
<Text>热水</Text>
<Text>0.02元/100ml</Text>
</View> */
}
</
View
>
</
View
>
</
View
>
...
...
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