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
09bfda30
Commit
09bfda30
authored
Dec 19, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '00'
parents
eba2da87
2eff8193
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
src/App.js
+6
-0
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
+7
-0
src/components/activity/newyear-2019/preheat/LiveRoom/index.scss
+4
-0
No files found.
src/App.js
View file @
09bfda30
...
...
@@ -157,6 +157,12 @@ class App extends Component {
if
(
code
&&
!
oid
)
{
//针对2019双旦活动特殊处理,活动结束后删掉
//treasure_code=3538333139312c31&origin=2&aa=bb&code=0211aiYB1VVOL60rmWWB1367YB11aiY7&state=STATE
if
(
getParam
(
'treasure_code'
)
==
'3538333139312c31'
&&
code
==
'0211aiYB1VVOL60rmWWB1367YB11aiY7'
){
return
}
http
.
get
(
`
${
API
[
'home'
]}
/m/wx_loginInfo/code/
${
code
}
?redirect=
${
encodeURIComponent
(
window
.
location
.
href
)}
`
)
.
then
(
res
=>
{
let
data
=
res
.
data
...
...
src/components/activity/newyear-2019/preheat/LiveRoom/index.js
View file @
09bfda30
...
...
@@ -166,6 +166,13 @@ class LiveRoom extends Component {
<
span
onClick
=
{
()
=>
this
.
subscribe
(
item
.
live_id
)}
className
=
"order__btn"
>
立即预约
<
/span
>
)
}
{
item
.
is_end
==
1
&&
item
.
transcribe_url
==
''
&&
(
<
span
className
=
"order__btn live__end"
>
已结束
<
/span
>
)
}
{
item
.
on_live
==
0
&&
item
.
is_end
==
0
&&
item
.
is_subscribe
==
1
&&
(
<
span
onClick
=
{
this
.
tip
}
className
=
"order__btn subscribed"
>
已预约
<
/span
>
...
...
src/components/activity/newyear-2019/preheat/LiveRoom/index.scss
View file @
09bfda30
...
...
@@ -91,6 +91,10 @@
.subscribed
{
background
:
rgba
(
254
,
228
,
29
,
1
);
}
.live__end
{
background
:
rgba
(
82
,
92
,
101
,
.3
);
color
:
#fff
;
}
.living
{
background
:
rgba
(
0
,
153
,
255
,
1
);
color
:
#fff
;
...
...
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