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
3d54b358
Commit
3d54b358
authored
Jun 15, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转到优惠券时参数添加
parent
3ab39396
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
.gitignore
+1
-0
src/components/order/index.js
+6
-1
No files found.
.gitignore
View file @
3d54b358
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
.idea/
.idea/
# misc
# misc
.DS_Store
.DS_Store
.env
.env.local
.env.local
.env.development.local
.env.development.local
.env.test.local
.env.test.local
...
...
src/components/order/index.js
View file @
3d54b358
...
@@ -38,7 +38,12 @@ function OrderList(props) {
...
@@ -38,7 +38,12 @@ function OrderList(props) {
arrow
=
"horizontal"
arrow
=
"horizontal"
onClick
=
{()
=>
{
}}
onClick
=
{()
=>
{
}}
>
>
<
Link
to
=
'/coupons'
>
<
Link
to
=
{{
pathname
:
'/coupons'
,
state
:
{
from
:
'/order'
,
course_id
:
course_id
,
}}}
>
<
Flex
justify
=
'between'
>
<
Flex
justify
=
'between'
>
<
span
style
=
{{
color
:
'#333'
,
fontSize
:
'15px'
}}
>
优惠券
<
/span
>
<
span
style
=
{{
color
:
'#333'
,
fontSize
:
'15px'
}}
>
优惠券
<
/span
>
<
span
style
=
{{
fontSize
:
'14px'
,
color
:
'#999999'
}}
>
{
!
coupon_desc
?
(
coupon_num
===
0
?
'无'
:
`
${
coupon_num
}
张可用`
)
:
(
coupon_desc
)}
<
/span
>
<
span
style
=
{{
fontSize
:
'14px'
,
color
:
'#999999'
}}
>
{
!
coupon_desc
?
(
coupon_num
===
0
?
'无'
:
`
${
coupon_num
}
张可用`
)
:
(
coupon_desc
)}
<
/span
>
...
...
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