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
dccad2d2
Commit
dccad2d2
authored
Dec 16, 2019
by
FE
Browse files
Options
Browse Files
Download
Plain Diff
merge and solve
parents
9f9c0c1d
1e08b409
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
23 deletions
+14
-23
src/components/activity/newyear-2019/common/system-bullet-screen/index.js
+1
-1
src/components/activity/newyear-2019/common/user-bullet-screen/index.js
+6
-0
src/components/activity/newyear-2019/preheat/index.js
+0
-18
src/components/activity/newyear-2019/year-wish/index.js
+7
-4
No files found.
src/components/activity/newyear-2019/common/system-bullet-screen/index.js
View file @
dccad2d2
...
@@ -19,7 +19,7 @@ class SystemBulletScreen extends Component {
...
@@ -19,7 +19,7 @@ class SystemBulletScreen extends Component {
}
}
componentWillUnmount
()
{
componentWillUnmount
()
{
this
.
swiper
&&
this
.
swiper
.
destroy
(
true
,
true
)
this
.
swiper
&&
this
.
swiper
.
destroy
()
}
}
...
...
src/components/activity/newyear-2019/common/user-bullet-screen/index.js
View file @
dccad2d2
...
@@ -6,6 +6,8 @@ import './bullet-screen.scss'
...
@@ -6,6 +6,8 @@ import './bullet-screen.scss'
class
UserBulletScreen
extends
Component
{
class
UserBulletScreen
extends
Component
{
swiper
state
=
{
state
=
{
bulletScreenData
:
[]
bulletScreenData
:
[]
}
}
...
@@ -14,6 +16,10 @@ class UserBulletScreen extends Component {
...
@@ -14,6 +16,10 @@ class UserBulletScreen extends Component {
this
.
getBulletScreenData
(
true
)
this
.
getBulletScreenData
(
true
)
}
}
componentWillUpdate
()
{
this
.
swiper
&&
this
.
swiper
.
destroy
()
}
initializeBulletScreen
=
()
=>
{
initializeBulletScreen
=
()
=>
{
const
_this
=
this
const
_this
=
this
...
...
src/components/activity/newyear-2019/preheat/index.js
View file @
dccad2d2
...
@@ -152,24 +152,6 @@ export default class index extends Component {
...
@@ -152,24 +152,6 @@ export default class index extends Component {
<
/div
>
<
/div
>
<
div
className
=
"banner-treasure__decorate"
><
/div
>
<
div
className
=
"banner-treasure__decorate"
><
/div
>
<
/div
>
<
/div
>
{
/*浮框*/
}
<
div
className
=
'nav-right'
>
<
span
onClick
=
{
this
.
toBoxList
}
className
=
'nav-right__link'
>
未开宝箱
{
removable
>
0
&&
<
i
className
=
"nav-right__number"
>
{
removable
}
<
/i
>
}
<
/span
>
<
a
onClick
=
{()
=>
this
.
toYearWish
()}
className
=
'nav-right__link'
>
心愿单
{
this
.
state
.
txt1
>
0
&&
<
i
className
=
"nav-right__number"
>
{
this
.
state
.
txt1
}
<
/i
>
}
<
/a
>
<
/div
>
{
/* 大咖直播 */
}
{
/* 大咖直播 */
}
<
LiveRoom
/>
<
LiveRoom
/>
...
...
src/components/activity/newyear-2019/year-wish/index.js
View file @
dccad2d2
...
@@ -17,10 +17,10 @@ class YarnWish extends Component {
...
@@ -17,10 +17,10 @@ class YarnWish extends Component {
}
}
componentWillUpdate
()
{
componentWillUpdate
()
{
const
{
activityStage
}
=
this
.
state
;
const
{
activityStage
}
=
this
.
state
if
(
activityStage
==
1
)
{
if
(
activityStage
==
1
)
{
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
}
else
{
}
else
{
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
document
.
title
=
`七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
}
}
}
}
...
@@ -33,6 +33,8 @@ class YarnWish extends Component {
...
@@ -33,6 +33,8 @@ class YarnWish extends Component {
this
.
setState
({
this
.
setState
({
list
:
JSON
.
stringify
(
data
)
===
'{}'
?
[]
:
data
list
:
JSON
.
stringify
(
data
)
===
'{}'
?
[]
:
data
})
})
}
else
if
(
code
===
4030
)
{
this
.
props
.
history
.
push
(
'/passport/login'
)
}
}
})
})
}
}
...
@@ -116,7 +118,8 @@ class YarnWish extends Component {
...
@@ -116,7 +118,8 @@ class YarnWish extends Component {
<
/div
>
<
/div
>
<
div
className
=
"price"
>
<
div
className
=
"price"
>
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
{
item
.
type
==
2
?
'到手最低:¥'
:
'¥'
}
<
span
className
=
"new-price"
>
{
item
.
type
==
4
?
'0.01'
:
item
.
price2
}
<
/span
>
<
span
className
=
"new-price"
>
{
item
.
type
==
4
?
'0.01'
:
item
.
price2
}
<
/span
>
<
span
className
=
"old-price"
>
现价:
<
s
>
¥
{
item
.
price1
}
<
/s></
span
>
<
span
className
=
"old-price"
>
现价:
<
s
>
¥
{
item
.
price1
}
<
/s></
span
>
<
/div
>
<
/div
>
...
...
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