Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
fsActive
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
625db383
authored
10 months ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
cafa97bf
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
87 additions
and
80 deletions
activeFt/develop/lib/default.js
activeFt/develop/oldView.html
footseenIcon/action/css/base.css
footseenIcon/action/css/index.css
footseenIcon/action/css/index.less
footseenIcon/action/index.html
footseenIcon/action/lib/default.js
activeFt/develop/lib/default.js
View file @
625db383
...
...
@@ -69,9 +69,9 @@ if(sessionStorage.open==undefined)sessionStorage.open=1
}
if
(
bbb
.
indexOf
(
"file:///E:"
)
>
-
1
)
{
sessionStorage
.
lang
=
1
sessionStorage
.
uid
=
1
1149371
;
sessionStorage
.
uid
=
1
0007
;
sessionStorage
.
token
=
'debug'
sessionStorage
.
roomId
=
1
74003
;
sessionStorage
.
roomId
=
1
1134747
;
sessionStorage
.
version
=
8890
sessionStorage
.
cid
=
'web'
sessionStorage
.
pkg
=
'h5'
...
...
This diff is collapsed.
Click to expand it.
activeFt/develop/oldView.html
View file @
625db383
...
...
@@ -77,8 +77,11 @@ $(function(){
var
data
=
JSON
.
parse
(
msg
)
if
(
data
.
rank
>
0
){
console
.
log
(
data
)
$
(
".room-bg1"
).
show
()
$
(
".room-bg-p1 span"
).
text
(
data
.
score
)
var
barWidth
=
Math
.
floor
(
data
.
score
/
data
.
extra
.
stageScore
*
100
)
$
(
".room-bg-p2 span"
).
text
(
barWidth
+
'%'
)
$
(
".room-bg-p3 span"
).
text
(
data
.
rank
)
}
else
{
$
(
".room-bg1"
).
hide
()
...
...
This diff is collapsed.
Click to expand it.
footseenIcon/action/css/base.css
View file @
625db383
...
...
@@ -60,4 +60,7 @@ input[type=number]::-webkit-outer-spin-button {
::-webkit-scrollbar
{
display
:
none
;
}
i
{
font-style
:
normal
;
}
/*版芯*/
This diff is collapsed.
Click to expand it.
footseenIcon/action/css/index.css
View file @
625db383
.r1
{
width
:
100vw
;
height
:
46.629vw
;
background
:
url(../images/r1.png)
no-repeat
;
background-size
:
100%
100%
;
.room-bg1
{
position
:
relative
;
overflow
:
hidden
;
}
.bg-en
.r1
{
background
:
url(../images/r1-en.png)
no-repeat
!important
;
background-size
:
100%
100%
!important
;
}
.bg-en
.r2
{
background
:
url(../images/r2-en.png)
no-repeat
!important
;
background-size
:
100%
100%
!important
;
}
.r2
{
width
:
100vw
;
height
:
46.629vw
;
background
:
url(../images/r2.png)
no-repeat
;
width
:
10rem
;
height
:
6.049rem
;
background
:
url(../images/room-bg1.png)
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
overflow
:
hidden
;
}
.r2
p
{
font-size
:
0
;
}
i
{
font-style
:
normal
;
.room-title
{
font-size
:
0.8rem
;
height
:
2rem
;
line-height
:
1.9rem
;
color
:
#fff
;
text-align
:
center
;
}
.room-bg-p1
{
font-size
:
8vw
;
color
:
#fff
;
font-weight
:
700
;
text-shadow
:
0.2vw
0.2vw
0.2vw
#244FDB
,
0.2vw
0
0.2vw
#244FDB
,
0
0.2vw
0.2vw
#244FDB
;
text-indent
:
8vw
;
margin-top
:
15vw
;
font-size
:
0.8rem
;
text-indent
:
0.9rem
;
padding-top
:
0.2rem
;
}
.room-bg-p1
span
{
color
:
#F83AFF
;
}
.room-bg-p2
{
font-size
:
8vw
;
position
:
absolute
;
top
:
3.9rem
;
color
:
#fff
;
font-size
:
0.8rem
;
text-indent
:
0.9rem
;
}
.room-bg-p2
span
{
color
:
#F83AFF
;
}
.room-bg-p3
{
color
:
#fff
;
font-weight
:
700
;
text-shadow
:
0.2vw
0.2vw
0.2vw
#244FDB
,
0.2vw
0
0.2vw
#244FDB
,
0
0.2vw
0.2vw
#244FDB
;
text-indent
:
8vw
;
margin-top
:
1vw
;
font-size
:
0.8rem
;
text-indent
:
0.9rem
;
/* padding-top: 0.4rem; */
position
:
absolute
;
top
:
3.9rem
;
left
:
4.5rem
;
}
.room-bg-p3
span
{
color
:
#F83AFF
;
}
This diff is collapsed.
Click to expand it.
footseenIcon/action/css/index.less
View file @
625db383
.r1{
width: 100vw;
height: 46.629vw;
background: url(../images/r1.png)no-repeat;
background-size: 100% 100%;
.room-bg1{
position: relative;
overflow: hidden;
}
.bg-en{
.r1{
background: url(../images/r1-en.png)no-repeat !important;
background-size: 100% 100% !important;
}
.r2{
background: url(../images/r2-en.png)no-repeat !important;
background-size: 100% 100% !important;
}
}
.r2{
width: 100vw;
height: 46.629vw;
background: url(../images/r2.png)no-repeat;
width: 10rem;
height: 6.049rem;
background: url(../images/room-bg1.png)no-repeat;
background-size: 100% 100%;
position: relative;
overflow: hidden;
p{
font-size: 0;
}
}
i{
font-style: normal;
.room-title{
font-size: 0.8rem;
height: 2rem;
line-height: 1.9rem;
color: #fff;
text-align: center;
}
.room-bg-p1{
font-size: 8vw;
color: #fff;
font-weight: 700;
text-shadow: 0.2vw 0.2vw 0.2vw #244FDB,0.2vw 0 0.2vw #244FDB,0 0.2vw 0.2vw #244FDB;
text-indent: 8vw;
margin-top: 15vw;
font-size: 0.8rem;
text-indent: 0.9rem;
padding-top: 0.2rem;
span{
color: #F83AFF;
}
}
.room-bg-p2{
font-size: 8vw;
position: absolute;
top: 3.9rem;
color: #fff;
font-size: 0.8rem;
text-indent: 0.9rem;
span{
color: #F83AFF;
}
}
.room-bg-p3{
color: #fff;
font-weight: 700;
text-shadow: 0.2vw 0.2vw 0.2vw #244FDB,0.2vw 0 0.2vw #244FDB,0 0.2vw 0.2vw #244FDB;
text-indent: 8vw;
margin-top: 1vw;
font-size: 0.8rem;
text-indent: 0.9rem;
/* padding-top: 0.4rem; */
position: absolute;
top: 3.9rem;
left: 4.5rem;
span{
color: #F83AFF;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
footseenIcon/action/index.html
View file @
625db383
...
...
@@ -38,6 +38,7 @@
</div>
</body>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script
src=
"lib/fsize.js"
></script>
<script
src=
"layer-v3.1.0/layer/layer.js"
></script>
<script
src=
"lib/default.js?v='2024053101'"
></script>
<script
type=
"text/javascript"
src=
"https://app.ixiulive.com/static/js/socket.io.js"
></script>
...
...
@@ -46,7 +47,7 @@ $(function(){
if
(
sessionStorage
.
lang
!=
2
){
}
getData
()
var
obj
=
{
"cid"
:
43
,
...
...
@@ -96,11 +97,14 @@ $(function(){
console
.
log
(
"连接成功"
);
});
socket
.
on
(
'
ThatGir
l'
,
function
(
msg
)
{
socket
.
on
(
'
RaisingBeautifulGri
l'
,
function
(
msg
)
{
var
data
=
JSON
.
parse
(
msg
)
if
(
data
.
rank
>
0
){
console
.
log
(
data
)
$
(
".room-bg1"
).
show
()
$
(
".room-bg-p1 span"
).
text
(
data
.
score
)
var
barWidth
=
Math
.
floor
(
data
.
score
/
data
.
extra
.
stageScore
*
100
)
$
(
".room-bg-p2 span"
).
text
(
barWidth
+
'%'
)
$
(
".room-bg-p3 span"
).
text
(
data
.
rank
)
}
else
{
$
(
".room-bg1"
).
hide
()
...
...
This diff is collapsed.
Click to expand it.
footseenIcon/action/lib/default.js
View file @
625db383
...
...
@@ -44,9 +44,9 @@ if (uid.indexOf("http://localhost:63342") > -1) {
}
if
(
uid
.
indexOf
(
"file:///"
)
>
-
1
)
{
sessionStorage
.
lang
=
2
sessionStorage
.
uid
=
1
113474
7
;
sessionStorage
.
uid
=
1
000
7
;
sessionStorage
.
token
=
'debug'
sessionStorage
.
roomId
=
1
74003
;
sessionStorage
.
roomId
=
1
1134747
;
sessionStorage
.
version
=
8890
sessionStorage
.
cid
=
'web'
sessionStorage
.
pkg
=
'h5'
...
...
This diff is collapsed.
Click to expand it.
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