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
57928bc2
Commit
57928bc2
authored
Dec 14, 2019
by
FE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pull 00
parent
0eb0b13b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
22 deletions
+23
-22
build/precache-manifest.1ca12684c66b67d44965c682f46c4ccc.js
+0
-0
src/components/activity/newyear-2019/landing/index.js
+5
-5
src/components/activity/newyear-2019/preheat/YearCourse/index.js
+8
-8
src/components/activity/newyear-2019/year-wish/index.js
+5
-8
src/components/activity/newyear-2019/year-wish/index.scss
+5
-1
No files found.
build/precache-manifest.1ca12684c66b67d44965c682f46c4ccc.js
0 → 100644
View file @
57928bc2
This diff is collapsed.
Click to expand it.
src/components/activity/newyear-2019/landing/index.js
View file @
57928bc2
...
...
@@ -158,7 +158,7 @@ class Landing extends Component {
this
.
fetchPageData
()
this
.
getFollowStatus
()
.
then
(
isFollow
=>
{
!
isFollow
&&
this
.
remind
(
'join'
,
getParam
(
'treasure_code'
)
)
!
isFollow
&&
this
.
remind
(
'join'
,
this
.
state
.
treasure_code
,
2
)
})
}
})
...
...
@@ -191,7 +191,7 @@ class Landing extends Component {
return
code
===
200
&&
data
[
'is_follow'
]
})
createTeamSuccess
=
(
member
,
team_num
,
lack_member
,
treasure_code
)
=>
{
createTeamSuccess
=
(
{
member
,
team_num
,
lack_member
,
treasure_code
}
)
=>
{
this
.
joinSuccessPopup
&&
this
.
joinSuccessPopup
.
remove
()
&&
(
this
.
joinSuccessPopup
=
null
)
this
.
getFollowStatus
()
.
then
(
isFollow
=>
{
...
...
@@ -233,7 +233,7 @@ class Landing extends Component {
})
}
remind
=
(
type
=
'create'
,
treasure_code
)
=>
{
remind
=
(
type
=
'create'
,
treasure_code
,
origin
=
1
)
=>
{
const
{
match
,
history
,
user
}
=
this
.
props
http
.
get
(
`
${
API
[
"base-api"
]}
/wx/user_temporary_qrcode/
${
user
.
data
.
uid
}
`
)
.
then
(
res
=>
{
...
...
@@ -255,7 +255,7 @@ class Landing extends Component {
// history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)
this
.
fetchPageData
({
treasure_code
,
origin
:
'1'
origin
})
}
})
...
...
@@ -290,7 +290,7 @@ class Landing extends Component {
sessionStorage
.
removeItem
(
'showShareTip'
)
this
.
getFollowStatus
()
.
then
(
isFollow
=>
{
!
isFollow
&&
this
.
remind
(
'create'
,
getParam
(
'treasure_code'
))
!
isFollow
&&
this
.
remind
(
'create'
,
getParam
(
'treasure_code'
)
,
1
)
})
}
})
...
...
src/components/activity/newyear-2019/preheat/YearCourse/index.js
View file @
57928bc2
...
...
@@ -585,11 +585,11 @@ class YearCourse extends Component {
<
/div
>
<
div
className
=
"price"
>
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
<
span
className
=
"new-price"
>
{
item
.
price
1
}
<
/span
>
<
span
className
=
"new-price"
>
{
item
.
price
2
}
<
/span
>
<
span
className
=
"old-price"
>
{
item
.
type
==
2
?
''
:
'现价:'
}
<
s
>
¥
{
item
.
price
0
}
<
/s></
span
>
<
s
>
¥
{
item
.
price
1
}
<
/s></
span
>
<
/div
>
<
div
className
=
"status"
>
...
...
@@ -676,11 +676,11 @@ class YearCourse extends Component {
<
/div
>
<
div
className
=
"price"
>
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
<
span
className
=
"new-price"
>
{
item
.
price
1
}
<
/span
>
<
span
className
=
"new-price"
>
{
item
.
price
2
}
<
/span
>
<
span
className
=
"old-price"
>
{
item
.
type
==
2
?
''
:
'现价:'
}
<
s
>
¥
{
item
.
price
0
}
<
/s></
span
>
<
s
>
¥
{
item
.
price
1
}
<
/s></
span
>
<
/div
>
<
div
className
=
"status"
>
...
...
@@ -767,11 +767,11 @@ class YearCourse extends Component {
<
/div
>
<
div
className
=
"price"
>
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
<
span
className
=
"new-price"
>
{
item
.
price
1
}
<
/span
>
<
span
className
=
"new-price"
>
{
item
.
price
2
}
<
/span
>
<
span
className
=
"old-price"
>
{
item
.
type
==
2
?
''
:
'现价:'
}
<
s
>
¥
{
item
.
price
0
}
<
/s></
span
>
<
s
>
¥
{
item
.
price
1
}
<
/s></
span
>
<
/div
>
<
div
className
=
"status"
>
...
...
@@ -858,11 +858,11 @@ class YearCourse extends Component {
<
/div
>
<
div
className
=
"price"
>
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
<
span
className
=
"new-price"
>
{
item
.
price
1
}
<
/span
>
<
span
className
=
"new-price"
>
{
item
.
price
2
}
<
/span
>
<
span
className
=
"old-price"
>
{
item
.
type
==
2
?
''
:
'现价:'
}
<
s
>
¥
{
item
.
price
0
}
<
/s></
span
>
<
s
>
¥
{
item
.
price
1
}
<
/s></
span
>
<
/div
>
<
div
className
=
"status"
>
...
...
src/components/activity/newyear-2019/year-wish/index.js
View file @
57928bc2
...
...
@@ -61,7 +61,7 @@ class YarnWish extends Component {
const
{
list
,
activityStage
}
=
this
.
state
return
(
<
div
className
=
'y
arn
-wish'
>
<
div
className
=
'y
ear
-wish'
>
<
div
className
=
"banner"
><
img
src
=
"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/xy_banner_bj.png"
alt
=
""
/><
/div
>
{
...
...
@@ -73,7 +73,7 @@ class YarnWish extends Component {
toCourse
=
{
this
.
toCourse
}
>
{
item
.
type
==
4
&&
item
.
type
==
4
&&
item
.
is_buy
!=
1
&&
<
div
className
=
"group-num"
>
限量
300
个
<
/div
>
}
...
...
@@ -99,7 +99,7 @@ class YarnWish extends Component {
<
/
>
}
{
item
.
type
==
1
&&
(
item
.
type
==
1
||
item
.
type
==
4
)
&&
<>
<
span
className
=
"tag"
>
拼团价
<
/span
>
<
span
className
=
"time"
>
12.23
开团
<
/span
>
...
...
@@ -116,11 +116,8 @@ class YarnWish extends Component {
<
/div
>
<
div
className
=
"price"
>
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
<
span
className
=
"new-price"
>
{
item
.
price1
}
<
/span
>
<
span
className
=
"old-price"
>
{
item
.
type
==
2
?
''
:
'现价:'
}
<
s
>
¥
{
item
.
price0
}
<
/s></
span
>
<
span
className
=
"new-price"
>
{
item
.
type
==
4
?
'0.01'
:
item
.
price2
}
<
/span
>
<
span
className
=
"old-price"
>
现价:
<
s
>
¥
{
item
.
price1
}
<
/s></
span
>
<
/div
>
<
div
className
=
"status"
>
...
...
src/components/activity/newyear-2019/year-wish/index.scss
View file @
57928bc2
...
...
@@ -2,7 +2,7 @@ html, body, #root {
height
:
100%
;
}
.y
arn
-wish
{
.y
ear
-wish
{
min-height
:
100%
;
background-color
:
#BA2C21
;
padding-bottom
:
35px
;
...
...
@@ -214,3 +214,7 @@ html, body, #root {
}
}
.year-wish
+
.year19-index
{
display
:
none
;
}
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