Skip to content

Commit 68a2c7f

Browse files
committed
Add renew ci page
1 parent dd0a8d6 commit 68a2c7f

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed

www/cart/ci-renew.html

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
5+
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<head>
7+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8+
<meta name="description" content="A tool used to obfuscate python scripts." />
9+
<meta name="Keywords" content="Python, 加密, 源代码, 混淆, 保护" />
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
11+
<title>Pyarmor 电子订单</title>
12+
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
13+
<link rel="stylesheet" href="css/loader.css" type="text/css" />
14+
<script type="text/javascript" src="js/jquery.min.js"></script>
15+
<script type="text/javascript" src="js/bootstrap.min.js"></script>
16+
<style>
17+
body {
18+
background-color: #f5f5f5;
19+
}
20+
.container {
21+
padding: 2px 30px 30px 30px;
22+
margin-top: 16px;
23+
margin-bottom: 16px;
24+
border: 1px #ccc solid;
25+
background-color: #fff;
26+
}
27+
</style>
28+
</head>
29+
30+
<body role="document">
31+
32+
<div class="container">
33+
<div class="page-header">
34+
<h3>Pyarmor 管道版许可证续约订单</h3>
35+
</div>
36+
<div class="row">
37+
<div class="col-md-6">
38+
<div class="panel panel-default">
39+
<div class="panel-heading">
40+
<p>尊敬的用户,您购买的管道版许可证即将过期,如果需要继续使用该许可证,请在到期之前扫码续费,支付成功之后有效期将延长一年(365天)</p>
41+
<p>如果到期没有续费,则该许可证将自动失效,无法使用</p>
42+
</div>
43+
<div class="panel-body">
44+
<form>
45+
<p><input id="checkbox-tax" type="checkbox" checked> <strong>需要电子发票</strong>,点击查看<a target="_pyarmordoc" href="CN_INV_PYARMOR.png">增值税普通发票样例</a> (目前不提供增值税专用发票)</p>
46+
<p class="help-block">
47+
发票信息将使用第一次购买管道版许可证时候提交的发票信息
48+
</p>
49+
<p>选择支付方式,并扫码支付</p>
50+
<label class="radio-inline">
51+
<input type="radio" name="inlineRadioOptions" id="radio-weixin" value="weixin" checked/>微信
52+
</label>
53+
<label class="radio-inline">
54+
<input type="radio" name="inlineRadioOptions" id="radio-alipay" value="alipay"/>支付宝
55+
</label>
56+
<div class="panel panel-default" style="margin: 1.6em; border: 0;">
57+
<img class="img-responsive" id="payment-img" src="weixin-569.jpg"/>
58+
</div>
59+
</form>
60+
</div>
61+
</div>
62+
</div>
63+
</div>
64+
</div>
65+
66+
<script>
67+
window.addEventListener('DOMContentLoaded', () => {
68+
const wxpay = document.getElementById('radio-weixin');
69+
const alpay = document.getElementById('radio-alipay');
70+
const taxflag = document.getElementById('checkbox-tax');
71+
const reset_paylink = (e) => {
72+
const price = taxflag.checked ? "569" : "520";
73+
const method = wxpay.checked ? "weixin" : "alipay";
74+
const href = `${method}-${price}.jpg`;
75+
console.log(href);
76+
document.getElementById('payment-img').src = href;
77+
}
78+
wxpay.addEventListener('click', reset_paylink);
79+
alpay.addEventListener('click', reset_paylink);
80+
taxflag.addEventListener('click', reset_paylink);
81+
})
82+
</script>
83+
84+
</body>
85+
</html>

0 commit comments

Comments
 (0)