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
a4acd913
authored
Dec 08, 2022
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
c6ce8d6a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
11 deletions
mobile/index.html
mobile/lib/default.js
mobile/room/liveRoom.html
room/images/interactive.png
mobile/index.html
View file @
a4acd913
...
...
@@ -409,6 +409,7 @@ $(function(){
//判斷渠道
if
(
sessionStorage
.
pmt
!=
undefined
&&
sessionStorage
.
pmt
!=
'undefined'
){
var
pmtNumber
=
sessionStorage
.
pmt
.
split
(
'/d/'
)[
1
]
console
.
log
(
pmtNumber
)
$
.
ajax
({
url
:
$ip
+
'frontPage/queryLinkNumberCid'
,
type
:
'get'
,
...
...
@@ -436,6 +437,19 @@ $(function(){
}
})
$
.
ajax
({
url
:
$ip
+
'activeLog/webActive'
,
data
:{
activeType
:
5
,
pageID
:
localStorage
.
canvasCode
,
},
success
:
function
(
data
){
if
(
data
.
code
==
1
){
history
.
pushState
(
''
,
''
,
'/'
);
sessionStorage
.
go
=
'end'
}
}
})
}
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
var
dHeight
=
$
(
document
).
height
()
...
...
mobile/lib/default.js
View file @
a4acd913
...
...
@@ -27,6 +27,8 @@ sessionStorage.topicId=data.topicId
if
(
data
.
tag
==
undefined
)
data
.
tag
=
''
sessionStorage
.
tag
=
data
.
tag
sessionStorage
.
qd
=
data
.
qd
if
(
data
.
go
!=
undefined
)
sessionStorage
.
go
=
data
.
go
if
(
sessionStorage
.
type
==
undefined
||
sessionStorage
.
type
==
"undefined"
){
sessionStorage
.
type
=
data
.
type
;
}
...
...
@@ -64,7 +66,7 @@ if(data.back!=undefined)backGo=data.back;
sessionStorage
.
roomId
=
23864554
}
if
(
bbb
.
indexOf
(
"file:///"
)
>
-
1
)
{
localStorage
localStorage
.
canvasCode
=
'phone'
// localStorage.uid= 155100;
// localStorage.token = 'debug'
// sessionStorage.roomId=210101
...
...
@@ -108,7 +110,7 @@ if(data.back!=undefined)backGo=data.back;
function
stat
(){
if
(
sessionStorage
.
stat
==
1
)
return
;
if
(
localStorage
.
canvasCode
==
"oneEnter"
||
localStorage
.
canvasCode
==
undefined
)
return
if
(
localStorage
.
token
!==
undefined
){
if
(
localStorage
.
token
!==
undefined
){
$
.
ajax
({
url
:
$ip
+
'stat/log'
,
data
:{
...
...
mobile/room/liveRoom.html
View file @
a4acd913
...
...
@@ -1240,7 +1240,7 @@ $(function(){
pageNum
:
1
,
pageSize
:
99
,
type
:
0
,
pass
:
true
,
//
pass: true,
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
)
{
...
...
@@ -1263,6 +1263,29 @@ $(function(){
}
})
}
popular
()
function
popular
(){
$
.
ajax
({
url
:
$ip
+
'rank/popular/list'
,
data
:{
pageID
:
localStorage
.
canvasCode
},
success
:
function
(
data
){
console
.
log
(
'人气榜单'
,
data
)
}
})
}
function
interac
(){
$
.
ajax
({
url
:
$ip
+
'rank/interac/list'
,
data
:{
},
success
:
function
(
data
){
console
.
log
(
"互动榜单"
,
data
)
}
})
}
function
online
(){
$
.
ajax
({
url
:
$ip
+
'room/queryOnlineUser'
,
...
...
@@ -1669,16 +1692,24 @@ $(function(){
setTimeout(function(){
window.location.reload()
},1000)
return
}
// if(data.code==-100){
// layer.msg(data.msg)
// setTimeout(function() {
// window.open("../reg/index.html")
// }, 500);
// return
// }
if(data.code==-100){
layer.msg(data.msg)
setTimeout(function() {
$.ajax({
url:$ip+'
activeLog
/
webActive
',
data:{
activeType:4,
pageID:localStorage.canvasCode,
},
success:function(data){
window.location.href="https://www.footseen.com/footseen/phonepay/applepay.html?lang=2&gofrom=web&cidStr=ftsH5&uid="+localStorage.uid+""
}
})
}, 1000);
return
}
if(data.code!=1){
layer.msg(data.msg);
return
...
...
room/images/interactive.png
0 → 100644
View file @
a4acd913
923 Bytes
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