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
483c9e9a
authored
7 months ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
f5e37e47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
27 deletions
activeFt/newMan/oldView.html
activeFt/newMan/oldView.html
View file @
483c9e9a
...
@@ -52,33 +52,7 @@ $(function(){
...
@@ -52,33 +52,7 @@ $(function(){
$
(
".txt1"
).
text
(
"PROG"
)
$
(
".txt1"
).
text
(
"PROG"
)
$
(
".txt2"
).
text
(
"rank"
)
$
(
".txt2"
).
text
(
"rank"
)
}
}
$
(
".act-room-bg"
).
on
(
"click"
,
function
(){
var
obj
=
{
"cid"
:
12
,
"reqCode"
:
new
Date
().
getTime
(),
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
$url
+
"/activeFt/newMan/index.html"
+
location
.
search
+
'&jump=1'
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
// $.ajax({
// url:$ip+'/actSecretGarden/openPopup.html',
// data:{
// width:'0',
// popupUrl:'http://test.ybact.yazhaiyabo.com/games/fireGarden2/index.html',
// height:'0.5',
// heightR:'121',
// x:'0',
// y:'0.5',
// },
// success:function(){
// }
// })
})
if
(
sessionStorage
.
lang
!=
2
){
if
(
sessionStorage
.
lang
!=
2
){
}
}
...
@@ -110,9 +84,61 @@ $(function(){
...
@@ -110,9 +84,61 @@ $(function(){
success
:
function
(
data
){
success
:
function
(
data
){
console
.
log
(
'圖標數據'
,
data
)
console
.
log
(
'圖標數據'
,
data
)
if
(
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
){
if
(
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
){
if
(
data
.
result
.
userData
.
newUserAwardTaskNum
>=
5
){
$
(
".act-room-bg"
).
fadeIn
(
200
).
removeClass
(
"act-room-bg2"
)
}
else
{
$
(
".act-room-bg"
).
fadeIn
(
200
)
$
(
".act-room-bg"
).
fadeIn
(
200
)
if
(
data
.
result
.
userData
.
isNewUserGiftSend
==
0
){
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
.
ajax
({
url
:
$ip
+
'/actSecretGarden/openPopup.html'
,
data
:{
width
:
'0'
,
popupUrl
:
$url
+
"/activeFt/newMan/pop2.html"
+
location
.
search
+
'&jump=1'
,
height
:
'0.5'
,
heightR
:
'110'
,
x
:
'0'
,
y
:
'0.5'
,
},
success
:
function
(){
}
})
})
}
else
{
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
obj
=
{
"cid"
:
12
,
"reqCode"
:
new
Date
().
getTime
(),
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
$url
+
"/activeFt/newMan/index.html"
+
location
.
search
+
'&jump=1'
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
})
}
}
}
else
{
}
else
{
$
(
".act-room-bg"
).
fadeIn
(
200
).
removeClass
(
"act-room-bg2"
)
$
(
".act-room-bg"
).
fadeIn
(
200
).
removeClass
(
"act-room-bg2"
)
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
obj
=
{
"cid"
:
12
,
"reqCode"
:
new
Date
().
getTime
(),
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
$url
+
"/activeFt/newMan/index.html"
+
location
.
search
+
'&jump=1'
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
})
}
}
$
(
".act-title"
).
text
(
titleName
[
data
.
result
.
roomData
.
level
])
$
(
".act-title"
).
text
(
titleName
[
data
.
result
.
roomData
.
level
])
$
(
".act-room-p2"
).
text
(
data
.
result
.
roomData
.
score
)
$
(
".act-room-p2"
).
text
(
data
.
result
.
roomData
.
score
)
...
...
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