subscription.html.html
4.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/base.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/tanchu.css" />
<script src="js/base.js" type="text/javascript" charset="utf-8"></script>c
<script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<title>认购</title>
<script>
$(function(){
$(".add").click(function(){
var t = $(this).parent().find('input[class*=text_box]');
t.val(parseInt(t.val())+1);
setTotal();
})
$(".min").click(function(){
var t = $(this).parent().find("input[class*=text_box]");
t.val(parseInt(t.val())-1);
if(parseInt(t.val())<0){
t.val(0);
}
setTotal()
})
function setTotal(){
var sum = 0;
$("#tab").each(function(){
var num = parseInt($(this).find("input[class*=text_box]").val());
var price = parseFloat($(this).find("span[class*=price]").text());
sum += num*price;
})
$("#total").html(sum.toFixed(2));
}
setTotal();
})
</script>
<style>
.vipinput {
border: none;
font-size: 0.24rem;
text-align: right;
margin-top: 0.25rem;
margin-right: 0.1rem;
color:#424242;
width: 3rem;
}
</style>
</head>
<body>
<div class="seheader center">
<div class="left seback"><a href="#" onClick="javascript:history.back(-1);"><img src="images/care_03.jpg"/></a></div>
<div class="headertext">认购</div>
</div>
<!--subpart1 -->
<div class="paypart1 center">
<div class="subcase">
<span>VIP权益方案</span>
<span class="right subgo"><input type="text" class="select-value21 vipinput" placeholder="VIP权益方案" /><span style="vertical-align: middle;"><img src="images/pergo_03.jpg"/></span></span>
</div>
<div class="subcase">
<div>选择金额<span class="kucun">:(单位:万元)</span>
<div class="right" id="tab">
<div style="display:none;"><span>单价:</span><span class="price">1.50</span></div>
<input class="min" name="" type="button" value="-" />
<input class="text_box" name="" type="text" value="1" />
<input class="add" name="" type="button" value="+" />
</div>
</div>
</div>
</div>
<!--subpart1 end-->
<!--subpart2 -->
<div class="paypart2 center">
<div class="paybox">
<ul class="subul">
<li>权益人信息</li>
<li>
<span><img src="images/subli_03.png"/>姓名</span>
<span class="right"><input type="text" placeholder="请输入姓名" /></span>
</li>
<li>
<span><img src="images/subli_04.png"/>身份证号</span>
<span class="right"><input type="text" placeholder="请输入身份证号码" /></span>
</li>
<li>
<span><img src="images/subli_05.png"/>联系电话</span>
<span class="right"><input type="text" placeholder="请输入联系电话" /></span>
</li>
<li>
<span><img src="images/subli_06.png"/>地址</span>
<span class="right"><input type="text" placeholder="请选择服务地址" /></span>
</li>
</ul>
</div>
</div>
<!--subpart3-->
<div class="laba paybox textleft"><img src="images/subli_18.jpg"/>请正确填写权益人信息,以便给您发送相关协议等文件</div>
<!--subpart3 end-->
<div id="check_css4" class="check subpart3">
<span><input type="checkbox"class="input_check" id="check3"><label for="check3"></label>
<div class="aread">
我已阅读并同意<a href="#">《投资协议》</a>及其他相关条款协议,本人已充分知晓认购后不可随意退出,愿意为投资存在的失败风险自行承担法律后果。
</div>
</span>
</div>
<!--trfooter-->
<div id="trfooter">
<div id="trlprice" class="left"><span class="trmoney" >¥<span id="total"></span></span></div>
<div id="trsub" class="right"><a href="pay.html.html">认购</a></div>
</div>
<!--trfooter end-->
<script src="js/deposit.js"></script><div class="mPicker hide"><div class="mPicker-mask hide"></div></div>
</body>