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
4258b58a
authored
Jun 06, 2023
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
b1f481ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
76 deletions
mobile/room/liveRoom.html
mobile/room/liveRoom.html
View file @
4258b58a
...
...
@@ -652,13 +652,13 @@
<div
class=
"reg-tips-no room-txt30"
>
取消
</div>
<div
class=
"reg-tips-yes room-txt31"
>
確定
</div>
</div>
<div
style=
"display: none;"
class=
"layer-gift-box"
>
<
!-- <
div style="display: none;" class="layer-gift-box">
<div class="layer-gift-box1"><img src="images/boy.png" alt=""></div>
<div class="layer-gift-box2">撩一撩主播</div>
<div class="layer-gift-box3">本次消費需要支付1寶石,確定支付?</div>
<div class="layer-gift-btn1">取消</div>
<div class="layer-gift-btn2">確定</div>
</div>
</div>
-->
</body>
<script
src=
"../lib/jquery-3.1.1.min.js"
></script>
<script
src=
"../lib/spark-md5.min.js"
></script>
...
...
@@ -1005,59 +1005,59 @@ $(function(){
TicketRoom
(
roomCId
,
roomRId
)
}
if
(
data
.
room
.
newPayRegister
){
if
(
sessionStorage
.
newLogin
==
1
&&
localStorage
.
uid
!=
undefined
){
newGift
()
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
false
,
skin
:
"yourclass5"
,
area
:
[
"7.47rem"
,
"5.35rem"
],
content
:
$
(
".layer-gift-box"
),
end
:
function
()
{
$
(
".layui-layer-shade"
).
hide
()
layer
.
closeAll
()
}
})
$
(
".layer-gift-btn1"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
closeAll
()
})
$
(
".layer-gift-btn2"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
window
.
open
(
"https://www.footseen.com/footseen/phonepay/applepay.html?lang="
+
sessionStorage
.
lang
+
"&gofrom=web&cidStr="
+
sessionStorage
.
myCid
+
"&uid="
+
localStorage
.
uid
+
"&token="
+
localStorage
.
token
+
"&os=h5&appversion=7&osStr=h5"
)
})
}
else
{
setTimeout
(
function
(){
newGift
()
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
false
,
skin
:
"yourclass5"
,
area
:
[
"7.47rem"
,
"5.35rem"
],
content
:
$
(
".layer-gift-box"
),
end
:
function
()
{
$
(
".layui-layer-shade"
).
hide
()
layer
.
closeAll
()
}
})
$
(
".layer-gift-btn1"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
closeAll
()
})
if
(
localStorage
.
uid
==
undefined
){
$
(
".layer-gift-btn2"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
closeAll
()
$
(
".layer-shadow"
).
show
()
loginPage
()
sessionStorage
.
newLogin
=
1
return
;
})
}
else
{
$
(
".layer-gift-btn2"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
window
.
open
(
"https://www.footseen.com/footseen/phonepay/applepay.html?lang="
+
sessionStorage
.
lang
+
"&gofrom=web&cidStr="
+
sessionStorage
.
myCid
+
"&uid="
+
localStorage
.
uid
+
"&token="
+
localStorage
.
token
+
"&os=h5&appversion=7&osStr=h5"
)
})
}
},
30000
)
}
//
if(sessionStorage.newLogin==1&&localStorage.uid!=undefined){
//
newGift()
//
layer.open({
//
type: 1,
//
title: false,
//
shadeClose: false,
//
skin: "yourclass5",
//
area: ["7.47rem","5.35rem"],
//
content: $(".layer-gift-box"),
//
end: function () {
//
$(".layui-layer-shade").hide()
//
layer.closeAll()
//
}
//
})
//
$(".layer-gift-btn1").unbind("click").on("click",function(){
//
layer.closeAll()
//
})
//
$(".layer-gift-btn2").unbind("click").on("click",function(){
//
window.open("https://www.footseen.com/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr="+sessionStorage.myCid+"&uid="+localStorage.uid+"&token="+localStorage.token+"&os=h5&appversion=7&osStr=h5")
//
})
//
}else{
//
setTimeout(function(){
//
newGift()
//
layer.open({
//
type: 1,
//
title: false,
//
shadeClose: false,
//
skin: "yourclass5",
//
area: ["7.47rem","5.35rem"],
//
content: $(".layer-gift-box"),
//
end: function () {
//
$(".layui-layer-shade").hide()
//
layer.closeAll()
//
}
//
})
//
$(".layer-gift-btn1").unbind("click").on("click",function(){
//
layer.closeAll()
//
})
//
if(localStorage.uid==undefined){
//
$(".layer-gift-btn2").unbind("click").on("click",function(){
//
layer.closeAll()
//
$(".layer-shadow").show()
//
loginPage()
//
sessionStorage.newLogin=1
//
return;
//
})
//
}else{
//
$(".layer-gift-btn2").unbind("click").on("click",function(){
//
window.open("https://www.footseen.com/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr="+sessionStorage.myCid+"&uid="+localStorage.uid+"&token="+localStorage.token+"&os=h5&appversion=7&osStr=h5")
//
})
//
}
//
},30000)
//
}
}
...
...
@@ -3013,27 +3013,27 @@ $(function(){
}
//充值完成通知
if
(
obj
.
cid
==
8000
){
if
(
newGiftOk
==
false
)
return
;
newGiftOk
=
false
;
layer
.
closeAll
()
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
false
,
skin
:
"yourclass5"
,
area
:
[
"7.47rem"
,
"5.35rem"
],
content
:
$
(
".layer-gift-box"
),
end
:
function
()
{
$
(
".layui-layer-shade"
).
hide
()
layer
.
closeAll
()
}
})
$
(
".layer-gift-btn1"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
layer
.
closeAll
()
})
$
(
".layer-gift-btn2"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
newGiftSend
()
})
//
if(newGiftOk==false)return;
//
newGiftOk=false;
//
layer.closeAll()
//
layer.open({
//
type: 1,
//
title: false,
//
shadeClose: false,
//
skin: "yourclass5",
//
area: ["7.47rem","5.35rem"],
//
content: $(".layer-gift-box"),
//
end: function () {
//
$(".layui-layer-shade").hide()
//
layer.closeAll()
//
}
//
})
//
$(".layer-gift-btn1").unbind("click").on("click",function(){
//
layer.closeAll()
//
})
//
$(".layer-gift-btn2").unbind("click").on("click",function(){
//
newGiftSend()
//
})
}
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
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