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
c353ebc2
authored
May 14, 2021
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
e60e70e1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
44 deletions
guodongRecharge/css/index.css
guodongRecharge/css/index.less
guodongRecharge/css/index2.css
guodongRecharge/css/index2.less
guodongRecharge/index.html
guodongRecharge/index2.html
guodongRecharge/css/index.css
View file @
c353ebc2
...
...
@@ -20,7 +20,7 @@
overflow
:
hidden
;
width
:
8.88rem
;
height
:
3.17rem
;
background
:
url(../images/n-banner.png)
no-repeat
;
background
:
url(../images/n-banner.png
?v=20210514
)
no-repeat
;
background-size
:
100%
100%
;
margin
:
0
auto
;
}
...
...
@@ -45,7 +45,7 @@
margin-right
:
0rem
;
}
.content
.li-click
{
background
:
url("../images/select.png")
no-repeat
;
background
:
url("../images/select.png
?v=20210514
")
no-repeat
;
background-size
:
100%
100%
;
border
:
1px
solid
#fff
;
}
...
...
@@ -53,7 +53,7 @@
width
:
1.37rem
;
height
:
0.56rem
;
line-height
:
0.56rem
;
background
:
url(../images/hot.png)
no-repeat
;
background
:
url(../images/hot.png
?v=20210514
)
no-repeat
;
background-size
:
100%
100%
;
position
:
absolute
;
left
:
-0.06rem
;
...
...
guodongRecharge/css/index.less
View file @
c353ebc2
...
...
@@ -20,7 +20,7 @@
overflow: hidden;
width: 8.88rem;
height: 3.17rem;
background: url(../images/n-banner.png)no-repeat;
background: url(../images/n-banner.png
?v=20210514
)no-repeat;
background-size: 100% 100%;
margin: 0 auto;
}
...
...
@@ -45,7 +45,7 @@
margin-right: 0rem;
}
.li-click{
background: url("../images/select.png")no-repeat;
background: url("../images/select.png
?v=20210514
")no-repeat;
background-size: 100% 100%;
border: 1px solid #fff;
}
...
...
@@ -53,7 +53,7 @@
width: 1.37rem;
height: 0.56rem;
line-height: 0.56rem;
background: url(../images/hot.png) no-repeat;
background: url(../images/hot.png
?v=20210514
) no-repeat;
background-size: 100% 100%;
position: absolute;
left: -0.06rem;
...
...
guodongRecharge/css/index2.css
View file @
c353ebc2
...
...
@@ -32,7 +32,7 @@
position
:
relative
;
height
:
2rem
;
width
:
3rem
;
background
:
url(../images/select-no.png)
no-repeat
;
background
:
url(../images/select-no.png
?v=20210514
)
no-repeat
;
background-size
:
100%
100%
;
display
:
inline-block
;
margin-bottom
:
0.25rem
;
...
...
@@ -66,7 +66,7 @@
text-align
:
center
;
}
.reg-ul
.reg-click
{
background
:
url(../images/select.png)
no-repeat
;
background
:
url(../images/select.png
?v=20210514
)
no-repeat
;
background-size
:
100%
100%
;
}
.reg-ul
.reg-click
.hot
{
...
...
@@ -155,7 +155,7 @@
width
:
1.37rem
;
height
:
0.56rem
;
line-height
:
0.56rem
;
background
:
url(../images/hot.png)
no-repeat
;
background
:
url(../images/hot.png
?v=20210514
)
no-repeat
;
background-size
:
100%
100%
;
position
:
absolute
;
left
:
-0.06rem
;
...
...
guodongRecharge/css/index2.less
View file @
c353ebc2
...
...
@@ -38,7 +38,7 @@
position: relative;
height: 2rem;
width: 3rem;
background:url(../images/select-no.png)no-repeat;
background:url(../images/select-no.png
?v=20210514
)no-repeat;
background-size: 100% 100%;
display: inline-block;
// border-radius: 0.3rem;
...
...
@@ -70,7 +70,7 @@
}
}
.reg-click{
background:url(../images/select.png) no-repeat;
background:url(../images/select.png
?v=20210514
) no-repeat;
background-size: 100% 100%;
// border: 0.02rem solid #00FFFF;
// padding: 1px;
...
...
@@ -132,7 +132,7 @@
}
}
.pay-click{
// background:url(../images/pay-click.png)no-repeat;
// background:url(../images/pay-click.png
?v=20210514
)no-repeat;
// background-size: 100% 100%;
border: 1px solid #08EDE4 !important;
// padding: 0.02rem;
...
...
@@ -175,7 +175,7 @@
width: 1.37rem;
height: 0.56rem;
line-height: 0.56rem;
background: url(../images/hot.png) no-repeat;
background: url(../images/hot.png
?v=20210514
) no-repeat;
background-size: 100% 100%;
position: absolute;
left: -0.06rem;
...
...
guodongRecharge/index.html
View file @
c353ebc2
...
...
@@ -10,7 +10,7 @@
<title>
优惠充值
</title>
<link
rel=
"stylesheet"
href=
"css/base.css"
>
<link
rel=
"stylesheet"
href=
"css/layer.css"
>
<link
rel=
"stylesheet"
href=
"css/index.css?v='20210514'"
>
<link
rel=
"stylesheet"
href=
"css/index.css?v='20210514
01
'"
>
<script
src=
"lib/fsize.js"
></script>
<script>
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
...
...
@@ -44,21 +44,21 @@
<p
class=
"pay-tips"
>
选择支付方式
</p>
<ul
class=
"pay-ul clearfix"
>
<li
class=
"pay-click"
>
<img
class=
"pay-img1"
src=
"images/weipay.png
"
alt=
""
>
微信支付
<i
style=
"display: none"
>
weipay
</i><img
class=
"pay-icon"
src=
"images/pay-click.png
"
alt=
""
>
<img
class=
"pay-img1"
src=
"images/weipay.png
?v=20210514"
alt=
""
>
微信支付
<i
style=
"display: none"
>
weipay
</i><img
class=
"pay-icon"
src=
"images/pay-click.png?v=20210514
"
alt=
""
>
</li>
<li
>
<img
class=
"pay-img2"
src=
"images/alipay1.png
"
alt=
""
>
支付宝
<i
style=
"display: none"
>
alipay
</i><img
class=
"pay-icon"
src=
"images/pay-click.png
"
alt=
""
>
<img
class=
"pay-img2"
src=
"images/alipay1.png
?v=20210514"
alt=
""
>
支付宝
<i
style=
"display: none"
>
alipay
</i><img
class=
"pay-icon"
src=
"images/pay-click.png?v=20210514
"
alt=
""
>
</li>
</ul>
<!--<div class="taobao-Pay"><img style="margin-left: 0.1rem;" src="images/diamond.png" alt=""> 更多大额充值<span-->
<!--<div class="taobao-Pay"><img style="margin-left: 0.1rem;" src="images/diamond.png
?v=20210514
" alt=""> 更多大额充值<span-->
<!--style="float: right;margin-right: 0.2rem;">淘宝官方企业店 <img-->
<!--style="height: 0.28rem;vertical-align: middle;margin-top: -0.05rem;" src="images/right.png"-->
<!--style="height: 0.28rem;vertical-align: middle;margin-top: -0.05rem;" src="images/right.png
?v=20210514
"-->
<!--alt=""></span></div>-->
</div>
<div>
<button
class=
"pay-btn"
>
确认充值
</button>
</div>
<!-- <p class="b-tips">温馨提示:关注客服公众号<span style="color: #EEAE3F;">"奶茶娱乐"</span>也可以购买钻石,充值问题可点击 <img class="call" src="images/call.png" alt=""></p> -->
<!-- <p class="b-tips">温馨提示:关注客服公众号<span style="color: #EEAE3F;">"奶茶娱乐"</span>也可以购买钻石,充值问题可点击 <img class="call" src="images/call.png
?v=20210514
" alt=""></p> -->
</div>
<div
style=
"display: none;"
class=
"alipay"
></div>
</body>
...
...
@@ -149,26 +149,26 @@ try{
if
(
msg
.
data
.
third
[
i
].
diamond
==
1000
)
html
+=
'
<
li
class
=
"li-click"
>
';
else html += '
<
li
>
';
if (msg.data.third[i].addnum == 0) {
if(msg.data.third[i].coinnum==0) html += '
<
p
class
=
"diamond-p"
><
img
src
=
"images/diamond.png"
alt
=
""
>
' + msg.data.third[i].diamond + '
<
/p>'
;
else
html
+=
'
<
p
class
=
"diamond-p"
><
img
src
=
"images/diamond.png"
alt
=
""
>
' + msg.data.third[i].diamond + '
<
/p>'
;
if(msg.data.third[i].coinnum==0) html += '
<
p
class
=
"diamond-p"
><
img
src
=
"images/diamond.png
?v=20210514
"
alt
=
""
>
' + msg.data.third[i].diamond + '
<
/p>'
;
else
html
+=
'
<
p
class
=
"diamond-p"
><
img
src
=
"images/diamond.png
?v=20210514
"
alt
=
""
>
' + msg.data.third[i].diamond + '
<
/p>'
;
}
else
{
html
+=
'
<
div
class
=
hot
-
box
><
span
>
送
<
img
src
=
"images/diamond.png"
>
' + msg.data.third[i].addnum + '
<
/span></
div
>
'
html += '
<
p
class
=
"diamond-p"
><
img
src
=
"images/diamond.png"
alt
=
""
>
' + msg.data.third[i].diamond + '
<
span
style
=
"color: #645340;"
><
/span></
p
>
';
html
+=
'
<
div
class
=
hot
-
box
><
span
>
送
<
img
src
=
"images/diamond.png
?v=20210514
"
>
' + msg.data.third[i].addnum + '
<
/span></
div
>
'
html += '
<
p
class
=
"diamond-p"
><
img
src
=
"images/diamond.png
?v=20210514
"
alt
=
""
>
' + msg.data.third[i].diamond + '
<
span
style
=
"color: #645340;"
><
/span></
p
>
';
}
html += '
<
p
class
=
"money-p"
>
¥
<
span
class
=
"pay-money"
>
' + msg.data.third[i].amount + '
<
/span></
p
>
';
// if (msg.data.third[i].sale == 1) {
// if(i%2==0){
// html += '
<
img
class
=
"hot"
src
=
"images/hot.png"
alt
=
""
>
';
// html += '
<
img
class
=
"hot"
src
=
"images/hot.png
?v=20210514
"
alt
=
""
>
';
// }else{
// html += '
<
img
class
=
"hot"
style
=
"left:3.6rem"
src
=
"images/hot.png"
alt
=
""
>
';
// html += '
<
img
class
=
"hot"
style
=
"left:3.6rem"
src
=
"images/hot.png
?v=20210514
"
alt
=
""
>
';
// }
// }
html += '
<
/li>'
;
}
// html+='
<
li
class
=
"rich-god"
style
=
"height: 1.7rem;"
><
p
class
=
"diamond-p"
style
=
"margin-top: 0.3rem;"
><
img
src
=
"images/diamond.png"
alt
=
""
>
100000
<
span
style
=
"color: #ff6600;"
>
(
送
10000
钻石
)
<
/span></
p
><
p
class
=
"money-p"
>
¥
<
span
class
=
"pay-money"
>
10000
<
/span></
p
><
/li>
'
// html+='
<
li
class
=
"rich-god"
style
=
"height: 1.7rem;"
><
p
class
=
"diamond-p"
style
=
"margin-top: 0.3rem;"
><
img
src
=
"images/diamond.png
?v=20210514
"
alt
=
""
>
100000
<
span
style
=
"color: #ff6600;"
>
(
送
10000
钻石
)
<
/span></
p
><
p
class
=
"money-p"
>
¥
<
span
class
=
"pay-money"
>
10000
<
/span></
p
><
/li>
'
$
(
".content"
).
html
(
html
);
var
k
=
$
(
window
).
height
()
/
$
(
window
).
width
();
if
(
k
<
1.8
){
...
...
@@ -196,12 +196,12 @@ try{
sessionStorage
.
pay
=
$
(
this
).
children
(
"i"
).
text
()
if
(
sessionStorage
.
pay
==
"alipay"
){
$
(
".pay-img1"
).
attr
(
"src"
,
"images/weipay1.png"
)
$
(
".pay-img2"
).
attr
(
"src"
,
"images/alipay.png"
)
$
(
".pay-img1"
).
attr
(
"src"
,
"images/weipay1.png
?v=20210514
"
)
$
(
".pay-img2"
).
attr
(
"src"
,
"images/alipay.png
?v=20210514
"
)
}
else
{
$
(
".pay-img1"
).
attr
(
"src"
,
"images/weipay.png"
)
$
(
".pay-img2"
).
attr
(
"src"
,
"images/alipay1.png"
)
$
(
".pay-img1"
).
attr
(
"src"
,
"images/weipay.png
?v=20210514
"
)
$
(
".pay-img2"
).
attr
(
"src"
,
"images/alipay1.png
?v=20210514
"
)
}
})
$
(
".pay-btn"
).
on
(
"click"
,
function
()
{
...
...
guodongRecharge/index2.html
View file @
c353ebc2
...
...
@@ -18,39 +18,39 @@
<p
class=
"title-p"
>
充值
<span>
联系客服
</span></p>
<ul
class=
"reg-ul clearfix"
>
<!-- <li class="reg-click">
<p><img src="images/diamond.png">300</p>
<p><img src="images/diamond.png
?v=20210514
">300</p>
<p>¥30</p>
</li>
<li>
<p><img src="images/diamond.png">300</p>
<p><img src="images/diamond.png
?v=20210514
">300</p>
<p>¥30</p>
</li>
<li>
<p><img src="images/diamond.png">300</p>
<p><img src="images/diamond.png
?v=20210514
">300</p>
<p>¥30</p>
<img class="hot" src="images/hot.png" alt="">
<img class="hot" src="images/hot.png
?v=20210514
" alt="">
</li>
<li>
<p><img src="images/diamond.png">300</p>
<p><img src="images/diamond.png
?v=20210514
">300</p>
<p>¥30</p>
<img class="hot" src="images/hot.png" alt="">
<img class="hot" src="images/hot.png
?v=20210514
" alt="">
</li>
<li>
<p><img src="images/diamond.png">300</p>
<p><img src="images/diamond.png
?v=20210514
">300</p>
<p>¥30</p>
</li>
<li>
<p><img src="images/diamond.png">300</p>
<p><img src="images/diamond.png
?v=20210514
">300</p>
<p>¥30</p>
</li> -->
</ul>
<p
class=
"pay-title"
>
选择支付方式
</p>
<ul
class=
"pay-ul"
>
<li
data-type=
'weipay'
class=
"pay-click"
><img
src=
"images/weipay2.png
"
alt=
""
><span>
微信支付
</p><img
class=
"pay-icon"
src=
"images/pay-click.png
"
alt=
""
></li>
<li
data-type=
'alipay'
><img
src=
"images/alipay2.png
"
alt=
""
><span>
支付宝
</p><img
class=
"pay-icon"
src=
"images/pay-click.png
"
alt=
""
></li>
<li
data-type=
'weipay'
class=
"pay-click"
><img
src=
"images/weipay2.png
?v=20210514"
alt=
""
><span>
微信支付
</p><img
class=
"pay-icon"
src=
"images/pay-click.png?v=20210514
"
alt=
""
></li>
<li
data-type=
'alipay'
><img
src=
"images/alipay2.png
?v=20210514"
alt=
""
><span>
支付宝
</p><img
class=
"pay-icon"
src=
"images/pay-click.png?v=20210514
"
alt=
""
></li>
</ul>
<div
class=
"bottom-box"
>
余额 :
<img
src=
"images/diamond.png"
><span>
25
</span>
余额 :
<img
src=
"images/diamond.png
?v=20210514
"
><span>
25
</span>
<div
class=
"reg-btn"
>
确认充值
</div>
</div>
</div>
...
...
@@ -115,10 +115,10 @@
for
(
var
i
=
0
;
i
<
msg
.
data
.
third
.
length
;
i
++
){
if
(
msg
.
data
.
third
[
i
].
amount
==
100
)
html
+=
'
<
li
class
=
"reg-click"
data
-
type
=
'+msg.data.third[i].amount+'
>
';
else html+='
<
li
data
-
type
=
'+msg.data.third[i].amount+'
>
';
html+='
<
p
><
img
src
=
"images/diamond.png"
>
'+msg.data.third[i].diamond+'
<
/p>'
;
html+='
<
p
><
img
src
=
"images/diamond.png
?v=20210514
"
>
'+msg.data.third[i].diamond+'
<
/p>'
;
html
+=
'
<
p
>
¥
'+msg.data.third[i].amount+'
<
/p>'
;
if
(
msg
.
data
.
third
[
i
].
addnum
!=
0
)
html
+=
'
<
div
class
=
hot
-
box
><
span
>
送
<
img
src
=
"images/diamond.png"
>
' + msg.data.third[i].addnum + '
<
/span></
div
>
'
// if(msg.data.third[i].sale==1)html+='
<
img
class
=
"hot"
src
=
"images/hot.png"
alt
=
""
>
'
if
(
msg
.
data
.
third
[
i
].
addnum
!=
0
)
html
+=
'
<
div
class
=
hot
-
box
><
span
>
送
<
img
src
=
"images/diamond.png
?v=20210514
"
>
' + msg.data.third[i].addnum + '
<
/span></
div
>
'
// if(msg.data.third[i].sale==1)html+='
<
img
class
=
"hot"
src
=
"images/hot.png
?v=20210514
"
alt
=
""
>
'
html+='
<
/li>'
;
}
$
(
".reg-ul"
).
html
(
html
);
...
...
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