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
b6729261
Commit
b6729261
authored
Aug 17, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
52c08adb
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
6 deletions
+14
-6
public/favicon.ico
+0
-0
src/components/detail/group/index.js
+2
-1
src/components/myOrders/index.js
+2
-2
src/components/myOrders/index.scss
+6
-0
src/components/order/payOrder/PayOrder.js
+1
-1
src/components/search/recommendation/index.js
+3
-2
No files found.
public/favicon.ico
100644 → 100755
View file @
b6729261
No preview for this file type
src/components/detail/group/index.js
View file @
b6729261
...
...
@@ -37,7 +37,8 @@ class Group extends Component {
toPay
=
(
pdd_order_id
)
=>
{
const
courseInfo
=
this
.
props
.
courseInfo
.
courseInfo
.
course_info
;
if
(
courseInfo
.
group_status
===
3
)
{
this
.
props
.
history
.
push
(
`/order?id=
${
getParam
(
'id'
)}
&&groupon_code=
${
pdd_order_id
}
`
);
this
.
props
.
history
.
push
(
`/order?id=
${
getParam
(
'id'
)}
`
,
{
group
:
1
})
}
else
{
this
.
setState
({
isShowMore
:
false
,
...
...
src/components/myOrders/index.js
View file @
b6729261
...
...
@@ -61,7 +61,7 @@ class MyOrders extends Component {
}
http
.
post
(
`
${
API
.
home
}
/m/cancel_order`
,
data
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
200
)
{
this
.
getList
()
location
.
reload
();
}
else
{
Toast
.
info
(
res
.
data
.
msg
,
2
);
}
...
...
@@ -139,7 +139,7 @@ function OrderInfo(props) {
let
btn
if
(
props
.
item
.
pay_time
===
'0'
&&
props
.
item
.
member_num
===
0
)
{
btn
=
<
span
className
=
'oid-status'
>
等待支付
<
/span
>
}
else
if
((
props
.
item
.
member_num
===
props
.
item
.
pdd_info
.
length
)
&&
props
.
item
.
member_num
!==
0
)
{
}
else
if
(
props
.
item
.
pdd_info
&&
(
props
.
item
.
member_num
===
props
.
item
.
pdd_info
.
length
)
&&
props
.
item
.
member_num
!==
0
)
{
btn
=
<
span
className
=
'oid-success'
>
拼团成功
<
/span
>
}
else
{
btn
=
<
span
className
=
'oid-success'
>
支付成功
<
/span
>
...
...
src/components/myOrders/index.scss
View file @
b6729261
...
...
@@ -37,6 +37,12 @@
background-color
:
$bg_fff
;
border-bottom
:
1px
solid
$border_e7eaf1
;
}
.order-info
{
.order-des
{
position
:
absolute
;
bottom
:
0
;
}
}
.order-btm
{
width
:
100%
;
...
...
src/components/order/payOrder/PayOrder.js
View file @
b6729261
...
...
@@ -290,7 +290,7 @@ export default class PayOrder extends Component {
<
/RadioItem
>
))}
<
/List
>
<
div
className
=
'pay-tip'
>
请在
24
小时
内完成支付,否则届时系统将关闭该订单。
<
/div
>
<
div
className
=
'pay-tip'
>
请在
15
分钟
内完成支付,否则届时系统将关闭该订单。
<
/div
>
<
div
className
=
'pay-button'
onClick
=
{
this
.
pay
}
>
确认支付
<
/div
>
...
...
src/components/search/recommendation/index.js
View file @
b6729261
...
...
@@ -43,13 +43,14 @@ class Recommendation extends Component {
courses
.
map
((
item
,
index
)
=>
{
const
Bottom
=
(
<
div
className
=
'bottom'
>
<
span
className
=
'price'
>
{
item
[
'price1'
]}
<
/span
>
<
span
className
=
'old-price'
>
{
item
[
'price0'
]}
<
/span
>
<
span
className
=
'price'
>
¥
{
item
[
'price1'
]}
<
/span
>
<
span
className
=
'old-price'
>
¥
{
item
[
'price0'
]}
<
/span
>
<
/div
>
)
return
(
<
Course
className
=
{
'text-overflow-2'
}
key
=
{
item
[
'course_id'
]}
id
=
{
item
[
'course_id'
]}
img
=
{
item
[
'image_name'
]}
...
...
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