You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
2.7 KiB
HTML
123 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
|
|
<title>游戏物品购买</title>
|
|
<style>
|
|
* {
|
|
padding: 10px;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
form {
|
|
max-width: 500px;
|
|
margin: auto;
|
|
padding: 20px;
|
|
|
|
border-radius: 10px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.btn {
|
|
background-color: #07c160;
|
|
color: #fff;
|
|
height: 13.333vw;
|
|
width: 92vw;
|
|
border-radius: 1.867vw;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 20px;
|
|
justify-content: center;
|
|
border: none;
|
|
}
|
|
|
|
.tip-middle {
|
|
margin-top: 14.667vw;
|
|
text-align: center;
|
|
color: #333;
|
|
line-height: 2;
|
|
content: "viewport-units-buggyfill; margin-top: 14.667vw; margin-bottom: 6.667vw";
|
|
}
|
|
|
|
.tip-bottom {
|
|
margin-top: 12vw;
|
|
font-size: 3.733vw;
|
|
text-align: center;
|
|
color: #777;
|
|
content: "viewport-units-buggyfill; margin-top: 12vw; font-size: 3.733vw";
|
|
display: block;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.formbox {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 4vh;
|
|
|
|
}
|
|
|
|
.labelname {
|
|
width: 20vw;
|
|
|
|
}
|
|
|
|
.gameid {}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="box">
|
|
<div class="formbox">
|
|
<div class="labelname">游戏:</div>
|
|
<div class="gameid">别惹三国</div>
|
|
</div>
|
|
|
|
<div class="formbox">
|
|
<div class="labelname">金额:</div>
|
|
<div class="gameid" id="amount">-</div>
|
|
</div>
|
|
<div class="formbox">
|
|
<div class="labelname">物品:</div>
|
|
<div class="gameid" id="item">-</div>
|
|
</div>
|
|
|
|
<div class="tip-middle">
|
|
请稍候。如未拉起支付, 请手动点击下方
|
|
<br />
|
|
<span>确认支付按钮</span>
|
|
</div>
|
|
<button class="btn" id="paycomplete" style="display:none;">支付成功</button>
|
|
<button class="btn" id="wxpay" style="display:none;" onclick="payBtn()">立即支付</button>
|
|
<button class="btn" id="paying">正在拉起微信支付...</button>
|
|
<div class="tip-bottom">*温馨提示: 如无法拉起支付, 请在客服会话中联系客服</div>
|
|
</div>
|
|
|
|
<script src="js/jquery-1.11.2.min.js"></script>
|
|
<script src="layui/layui.all.js"></script>
|
|
<script src="js/md5.js"></script>
|
|
<script src="js/login.js"></script>
|
|
<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
|
|
|
</body>
|
|
<script>
|
|
wxlogin()
|
|
</script>
|
|
|
|
</html> |