userRate.jsp
7.42 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!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>
<jsp:include page="${ctx }/view/common/meta.jsp" />
<link href="${ctx }/resource/css/member.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/userAdress.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/entrust.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx }/resource/js/address.js?r=${random}"></script>
<script type="text/javascript" src="${ctx }/resource/js/user/userRate.js?r=${random}"></script>
<link href="${ctx }/resource/css/detail.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/home.css" rel="stylesheet" type="text/css" />
<style type="text/css">
p {
margin-top: 10px;
text-align: left;
}
.userratebt {
text-align: center;
display: inline-block;
width: 190px;
height: 26px;
margin-top: 10px;
background-color: rgb(231, 36, 38);
font-size: 14px;
color: #fff;
border-radius: 5px;
}
.winbt {
text-align: center;
display: inline-block;
width: 135px;
height: 26px;
margin-top: 10px;
background-color: rgb(231, 36, 38);
font-size: 14px;
color: #fff;
border-radius: 5px;
}
.timep {
margin-top: 20px;
text-align: center;
font-size: 19px;
color: rgb(231, 36, 38);
background-color: #EED5D2;
border-radius: 5px;
vertical-align: middle;
line-height: 40px;
}
.contantp {
color: black;
text-align: center;
font-size: 17px;
}
.little_border {
/* font-weight: 900; */
width: 5px;
height: 5px;
background: #000;
display: inline-block;
border-radius: 50%;
margin: 0 5px;
}
</style>
</head>
<body>
<jsp:include page="${ctx }/view/common/header.jsp" />
<div class="bigbox">
<jsp:include page="${ctx }/view/common/menu.jsp" />
<div class="etlist rightbox0" style="margin: 0 0 0 40px;">
<h2 style="text-align: left;">申请年佣</h2>
<div class="crossline"></div>
<div class="clear"></div>
<form name="subform">
<input type="hidden" id="enableBalance" name="enableBalance" value="${balance.enable_balance }"></input>
<div style="padding: 0px; width: 712px; margin-top: 25px;">
<div class="urserate" style="padding: 0px; width: 200px; float: left; display: inline">
<c:if test="${rate==null||rate.rateResult=='2'}">
<p style="font-size: 17px;">
<b>交易佣金年费制:</b>
</p>
<p>
<span class="little_border"></span>交易佣金年费制,即以年为单位,向交易会员一次性收取固定金额交易佣金(包含买卖双边佣金);
</p>
<p>
<span class="little_border"></span>交易佣金年费计算时间为从系统起确认申请日起一年内;
</p>
<p>
<span class="little_border"></span>交易佣金年费以账户为计算单位,活动推广期,暂定每个账户交易佣金为人民币伍仟元整(平台有权根据实际运行情况随时调整收费);
</p>
<p style="text-align: center">
<c:if test="${rate==null}">
<a href="javascript:applyUserRate('0')" class="userratebt" style="height: 35px; line-height: 35px; border: 0; font-weight: 600;">申请开通</a>
</c:if>
<c:if test="${rate.rateResult=='2'}">
<button class="userratebt" style="background-color: #B2B2B2; height: 35px; border: 0; font-weight: 600;" disabled="disabled">申请审核中</button>
</c:if>
</p>
</c:if>
<c:if test="${rate.rateResult=='1' ||rate.rateResult=='3' }">
<p style="font-size: 17px; color: #DB3143">
<b>HI,亲爱的${rate.userName}</b>
</p>
<p style="color: #DB3143; margin-bottom: 20px; margin-left: 20px">恭喜您已经开通交易佣金年费制,申请年度内,平台不再收取任何交易费用!</p>
<p class="contantp">
<b>年费特权开始时间</b>
</p>
<p class="timep">
<b> ${rate.rateStart}</b>
</p>
<p class="contantp">
<b>年费特权结束时间</b>
</p>
<p class="timep" <c:if test="${rate.dayCount<=30 }">style="background-color: #D52237;color:white"</c:if>>
<b>${rate.rateEnd}</b>
</p>
<br></br>
<c:if test="${rate.rateResult=='1'}">
<c:if test="${rate.dayCount<=30 }">
<a href="javascript:applyUserRate('1')" style="margin-top: -15px" class="userratebt">申请续费</a>
</c:if>
</c:if>
<c:if test="${rate.rateResult=='3'}">
<button class="userratebt" style="background-color: #B2B2B2;; height: 26px; margin-top: -15px" disabled="disabled">续费审核中</button>
</c:if>
</c:if>
</div>
<div style="float: left; display: inline; margin-left: 10px">
<img src="/resource/images/rate/userrate.jpg" alt="" width="500px" height="356px" />
</div>
</div>
</form>
</div>
<div class="clear"></div>
</div>
<!-- 弹窗 -->
<div class="easyDialog_wrapper" id="easyDialogWrapper" style="width: 400px">
<div class="easyDialog_content" style="width: 410px; height: 270px; border-top: 3px solid rgb(222, 69, 86);">
<h4 class="easyDialog_title" id="easyDialogTitle" align="center"
style="border: 0; line-height: 50px; height: 50px; font-size: 19px; background: white; color: #DE4556; padding-top: 22px;">
<a href="javascript:void(0)" title="关闭窗口" class="close_btn" id="closeBtn">×</a> 消息
</h4>
<div class="easyDialog_text" id="dialog-content" style="padding: 15px 35px 10px 35px;">
<font style="font-size: 16px">本人已了解及同意赵涌牛年佣收取方式,并授权赵涌牛从本人账户中扣除相应年佣金。</font> <br></br> <font color='#0061AC'>我们会在申请后3个交易日内完成审核,请您耐心等待!</font>
</div>
<div class="easyDialog_footer" style="text-align: center;">
<button class="winbt" id="easyDialogConfirmBtn" onclick="insertOrUpdate()" style="float: none; border: 0;">提交</button>
<button class="winbt" id="easyDialogYesBtn" onclick="easyDialog.close();" style="float: none; border: 0; margin-left: 15px;">取消</button>
</div>
</div>
</div>
<!-- 余额不足弹窗-->
<div class="easyDialog_wrapper" id="easyDialogBalanceWrapper">
<div class="easyDialog_content" style="width: 325px; height: 215px; border-top: 3px solid rgb(222, 69, 86);">
<h4 class="easyDialog_title wintit" id="easyDialogBalanceTitle"
style="border: 0; line-height: 50px; text-align: center; height: 50px; font-size: 19px; background: white; color: #DE4556; padding-top: 22px;">
<a href="javascript:void(0)" title="关闭窗口" class="close_btn" id="closeBtn">×</a> 消息
</h4>
<div class="easyDialog_text" id="dialog-balance-content" style="padding: 15px 45px 10px 45px;">欢迎使用easyDialog : )</div>
<div class="easyDialog_footer" style="text-align: center;">
<button class="winbt" id="easyDialogBalanceBtn" onclick="payButton()" style="border: 0;">立即充值</button>
<button class="winbt" id="easyDialogYesBtn" onclick="easyDialog.close();" style="float: none; border: 0; margin-left: 8px;">取消</button>
</div>
</div>
</div>
<jsp:include page="${ctx }/view/common/bottom.jsp" />
</body>
</html>