Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
web.yazhai.co
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
757d1642
authored
a year ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
a4b57a27
master
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
guodongRecharge/index.html
guodongRecharge/index.html
View file @
757d1642
...
...
@@ -174,6 +174,10 @@ try{
$
.
ajax
({
url
:
'https://zhibo.lvdou66.com/weblive/pay/banner.html'
,
dataType
:
"JSON"
,
data
:{
uid
:
sessionStorage
.
bbb
,
token
:
sessionStorage
.
kkk
},
success
:
function
(
msg
){
var
data
=
JSON
.
parse
(
msg
);
console
.
log
(
'充值活动轮播'
,
data
)
...
...
@@ -183,7 +187,7 @@ try{
}
for
(
var
i
=
0
;
i
<
data
.
list
.
length
;
i
++
){
var
list
=
data
.
list
[
i
]
html
+=
'
<
div
data
-
type
=
"'+list.url+'"
class
=
"swiper-slide"
><
img
src
=
"https://zhibocdn.lvdou66.com/comm'+list.imgurl+'"
alt
=
""
><
/div>'
;
html
+=
'
<
div
data
-
type
=
"'+list.url+'
&uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'
"
class
=
"swiper-slide"
><
img
src
=
"https://zhibocdn.lvdou66.com/comm'+list.imgurl+'"
alt
=
""
><
/div>'
;
}
$
(
".swiper-wrapper"
).
html
(
html
)
var
swiper
=
new
Swiper
(
'.swiper-container'
,
{
...
...
@@ -193,7 +197,7 @@ try{
autoplay
:
5000
,
});
$
(
".swiper-slide"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
var
_self
=
$
(
this
)
.
attr
(
"data-type"
)
var
myJson
=
{
"cid"
:
12
,
"reqCode"
:
new
Date
().
getTime
(),
...
...
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