Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
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
baiguangyao
mr-julyedu
Commits
d7157399
Commit
d7157399
authored
Oct 21, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定金支付页
parent
2b925964
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
14 deletions
+27
-14
src/components/deposit-pay-order/index.js
+8
-9
src/components/deposit-pay-order/index.scss
+19
-5
No files found.
src/components/deposit-pay-order/index.js
View file @
d7157399
...
...
@@ -5,10 +5,8 @@ import { OrderItem, HeaderBar } from '@/common/index'
import
{
Link
}
from
'react-router-dom'
import
'./index.scss'
import
{
VList
}
from
'@/common'
import
{
WithFullSize
}
from
'@/HOCs'
const
Item
=
List
.
Item
const
Brief
=
Item
.
Brief
const
RadioItem
=
Radio
.
RadioItem
let
mockData
=
[]
...
...
@@ -24,7 +22,7 @@ if (browser.isWeixin) {
}
export
default
class
PayOrder
extends
Component
{
class
PayOrder
extends
Component
{
constructor
(
props
)
{
super
(
props
)
this
.
state
=
{
...
...
@@ -327,8 +325,7 @@ export default class PayOrder extends Component {
}*/
}
toggleAgree
=
(
e
)
=>
{
console
.
log
(
e
)
changeAgreement
=
()
=>
{
this
.
setState
((
prevState
)
=>
({
agree
:
!
prevState
.
agree
}))
}
...
...
@@ -419,16 +416,18 @@ export default class PayOrder extends Component {
))}
<
/List
>
<
Flex
>
<
Flex
.
Item
>
<
Checkbox
.
AgreeItem
>
<
Flex
.
Item
className
=
{
'agreement'
}
>
<
Checkbox
.
AgreeItem
onChange
=
{
this
.
changeAgreement
}
>
我已同意定金不退
<
/Checkbox.AgreeItem
>
<
/Flex.Item
>
<
/Flex
>
<
div
className
=
'pay-tip'
>
请在
15
分钟内完成支付,否则届时系统将关闭该订单。
<
/div
>
{
/*<div className='pay-tip'>请在15分钟内完成支付,否则届时系统将关闭该订单。</div>*/
}
<
div
className
=
'pay-button'
onClick
=
{
this
.
pay
}
>
确认支付
<
/div
>
<
/div
>
)
}
}
export
default
WithFullSize
(
PayOrder
)
src/components/deposit-pay-order/index.scss
View file @
d7157399
.pay-order
{
width
:
100%
;
height
:
calc
(
100%
-
44px
);
background-color
:
#f5f5f5
;
margin-bottom
:
50px
;
.order-number
{
background-color
:
#fff
;
...
...
@@ -74,12 +74,25 @@
display
:
block
;
}
.am-checkbox-agree
.am-checkbox
{
left
:
unset
;
right
:
10px
;
}
.agreement
{
margin-top
:
8px
;
background
:
#fff
;
.am-checkbox-agree
{
.am-checkbox
{
left
:
unset
;
right
:
6px
;
}
.am-checkbox-agree-label
{
margin-left
:
3px
;
}
}
}
.pay-tip
{
width
:
100%
;
height
:
30px
;
...
...
@@ -226,7 +239,8 @@
background-color
:
rgba
(
224
,
46
,
36
,
0
.6
);
}
}
.price-des
{
.price-des
{
color
:
#999
;
font-size
:
11px
;
}
...
...
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