Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footseen-large-website
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
891322c1
authored
Aug 03, 2023
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
fbbe3722
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
mTest/mobile/lib/default.js
mTest/mobile/room/liveRoom.html
mTest/mobile/lib/default.js
View file @
891322c1
...
...
@@ -7,7 +7,7 @@
$ip
=
"https://cpapi.footseen.xyz/"
;
$ip2
=
"https://webserver.yabolive.net"
$ws
=
"wss://websocket.footseen.xyz:12308/"
checkIp
()
//
checkIp()
}
else
{
$ip
=
'http://cpapitest.yabolive.net:81/'
...
...
@@ -15,6 +15,9 @@ else{
$ws
=
"ws://47.242.178.187:12308/"
// localStorage.canvasCode='phone'
}
$ip
=
'http://cpapitest.yabolive.net:81/'
$ip2
=
"http://ceshi.yabolive.tv/web"
$ws
=
"ws://47.242.178.187:12308/"
if
(
bbb
.
indexOf
(
"userRoom.html"
)
==-
1
){
sessionStorage
.
lastUrl
=
bbb
}
...
...
mTest/mobile/room/liveRoom.html
View file @
891322c1
...
...
@@ -692,6 +692,8 @@ $(function(){
var
startTimer1
=
null
var
startTimer2
=
null
var
startTimer3
=
null
//發言條數
var
sendNum
=
0
$
(
".room-bg"
).
css
(
"height"
,
dHeight
+
'px'
)
$
(
".video-box"
).
css
(
"height"
,
dHeight
+
'px'
)
$
(
".room-content-loading"
).
css
(
"height"
,
dHeight
+
'px'
)
...
...
@@ -1176,6 +1178,13 @@ $(function(){
layer.msg(langRoom[sessionStorage.lang].roomJsTxt3)
$(".room-mc-box").css("transition","0.3s all")
$(".room-mc-box").addClass("room-mc-box2")
if(sessionStorage.firstReg==1){
$(".active-room-shadow").show()
$(".active-room-box").show()
var html=[];
html+='
<
iframe
src
=
"https://activity.yazhaiyabo.com/activeFt/newCharge/index.html?uid='+localStorage.uid+'&token='+localStorage.token+'&lang='+sessionStorage.lang+'&roomid='+sessionStorage.roomId+'"
frameborder
=
"0"
><
/iframe>
'
$
(
".active-room-box"
).
html
(
html
).
css
(
"bottom"
,
"0rem"
)
}
}
else
{
layer
.
msg
(
data
.
msg
)
}
...
...
@@ -1498,15 +1507,16 @@ $(function(){
lang
:
sessionStorage
.
lang
},
success
:
function
(
data
){
//
console.log('首充活动',data)
console
.
log
(
'首充活动'
,
data
)
if
(
data
.
dataList
.
is_show
==
1
){
sessionStorage
.
firstReg
=
1
$
(
".room-reg-icon"
).
fadeIn
(
350
)
$
(
".room-reg-icon"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".active-room-shadow"
).
show
()
$
(
".active-room-box"
).
show
()
var
html
=
[];
html
+=
'
<
iframe
src
=
"https://activity.yazhaiyabo.com/activeFt/
firstCharge/phone/index.html?uid='+localStorage.uid+'&token='+localStorage.token+'&lang='+sessionStorage.lang+'&roomid='+sessionStorage.roomId
+'"
frameborder
=
"0"
><
/iframe>
'
html
+=
'
<
iframe
src
=
"https://activity.yazhaiyabo.com/activeFt/
newCharge/index.html?uid='+localStorage.uid+'&token='+localStorage.token+'&lang='+sessionStorage.lang+'&roomid='+sessionStorage.roomId+'&pageID='+localStorage.canvasCode
+'"
frameborder
=
"0"
><
/iframe>
'
$
(
".active-room-box"
).
html
(
html
).
css
(
"bottom"
,
"0rem"
)
})
$
(
".active-room-shadow"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
...
...
@@ -3419,7 +3429,17 @@ $(function(){
return
;
}
if
(
data
.
code
==
1
){
sendNum
++
if
(
sessionStorage
.
firstReg
==
1
&&
sendNum
==
3
){
setTimeout
(
function
()
{
$
(
".active-room-shadow"
).
show
()
$
(
".active-room-box"
).
show
()
var
html
=
[];
html
+=
'
<
iframe
src
=
"https://activity.yazhaiyabo.com/activeFt/newCharge/index.html?uid='+localStorage.uid+'&token='+localStorage.token+'&lang='+sessionStorage.lang+'&roomid='+sessionStorage.roomId+'"
frameborder
=
"0"
><
/iframe>
'
$
(
".active-room-box"
).
html
(
html
).
css
(
"bottom"
,
"0rem"
)
},
1000
);
}
$
(
".keyboard-input"
).
val
(
""
)
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/android/
.
test
(
ua
))
{
...
...
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