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
233842e3
Commit
233842e3
authored
Aug 21, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
直播见
parent
7372a63a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
src/components/Index/index.scss
+1
-1
src/components/Index/liveRoom.js
+8
-4
No files found.
src/components/Index/index.scss
View file @
233842e3
...
...
@@ -572,7 +572,7 @@
background-color
:
$bg_18B4ED
;
font-size
:
16px
;
color
:
$white
;
width
:
140
px
;
padding
:
0
15
px
;
height
:
30px
;
border-radius
:
15px
;
border
:
none
;
...
...
src/components/Index/liveRoom.js
View file @
233842e3
...
...
@@ -92,6 +92,8 @@ class LiveRoom extends Component {
this
.
setState
({
toSubscribe
:
false
})
}
else
if
(
res
.
data
.
data
.
status
===
5
)
{
window
.
location
.
href
=
'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIyMzMzMTIwNA==&scene=126&bizpsid=0&subscene=0#wechat_redirect'
;
}
else
{
Toast
.
info
(
res
.
data
.
data
.
msg
,
2
)
}
...
...
@@ -153,13 +155,15 @@ class LiveRoom extends Component {
mobile
:
this
.
state
.
iphone
,
room_id
:
this
.
props
.
roomMess
.
room_id
}
http
.
ge
t
(
`
${
API
.
home
}
/m/live/wxReservedTel`
,
data
).
then
((
res
)
=>
{
http
.
pos
t
(
`
${
API
.
home
}
/m/live/wxReservedTel`
,
data
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
200
)
{
this
.
setState
({
toSubscribe
:
false
})
Toast
.
info
(
res
.
data
.
msg
,
2
)
}
else
{
}
else
if
(
res
.
data
.
code
===
410
){
Toast
.
info
(
'请输入手机号'
,
2
)
}
else
{
Toast
.
info
(
res
.
data
.
msg
,
2
)
}
})
...
...
@@ -233,12 +237,12 @@ class LiveRoom extends Component {
onClick
=
{
this
.
serverStep
}
>
微信服务号通知
<
/button
>
{
this
.
state
.
isfollow
===
0
&&
this
.
state
.
isfollow
===
2
&&
<
span
className
=
'tips'
>
关注服务号即代表预约成功
<
/span
>
}
<
button
className
=
{
this
.
state
.
isfollow
===
1
?
'follow'
:
'nofollow'
}
onClick
=
{
this
.
iphoneStep
}
>
手机短信通知
onClick
=
{
this
.
iphoneStep
}
>
&
nbsp
;
手机短信通知
&
nbsp
;
&
nbsp
;
<
/button
>
<
/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