userCenter.jsp
9.15 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<?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"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<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/easyDialog.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/VIP.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/detail.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/home.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.bootcss.com/zeroclipboard/2.2.0/ZeroClipboard.js"></script>
<style>
.bdshare_popup_box{
width: 515px !important;
top: 752px !important;
left: 40% !important;
}
.bdshare_popup_list li {
width: 92px !important;
}
.bdshare_popup_top{
display:none !important;
}
.bdshare_popup_bottom{
display:none !important;
}
.bdshare_popup_box .bdshare_popup_list {
padding:0 0;
}
.userratebt {
text-align: center;
display: inline-block;
width: 120px;
height: 26px;
margin-top: 10px;
margin-left: 650px;
background-color: rgb(231, 36, 38);
font-size: 14px;
color: #fff;
border-radius: 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-top: 28px; margin-left: -50px;">
<h2 style="text-align: left;font-weight:600;margin-left: 100px;">会员体系</h2>
<div class="crossline" style="margin-left: 100px;"></div>
<div class="clear"></div>
<a href="${ctx }/user/rate/queryByUserId" class="userratebt" style=" height: 35px; line-height: 35px; border: 0; font-weight: 600;">申请年佣</a>
<div class="user_msg">
<!--<img src="${ctx }/resource/images/userLevel/tongpai.png" alt="" /> -->
<div class="user_msg_txt">
<div class="img" style="background: url(${ctx }/resource/images/userLevel/img${userCenter.userLevel.level}.png); background-size: 100% 100%;">
<p style=" margin: 91px 0 0; color: #d81e31; font-weight: 600; font-size: 18px;">${userCenter.userLevel.levelName}</p>
</div>
<div class="msg_rightbox">
<h3>Hi,${userCenter.userInfo.client_name}(${userCenter.userInfo.client_id})</h3>
<c:choose>
<c:when test="${userCenter.userLevel.level == 4}">
<p style="padding: 15px 0 0;">恭喜您成为赵涌牛等级最高的会员。</p>
</c:when>
<c:otherwise>
<p style="padding: 15px 0 0;"><b>升级到${userCenter.aboveLevelInfo.levelName }:</b>还需要直推<span>${userCenter.userLevel.levelName}${userCenter.underUserNum}名</span></p>
</c:otherwise>
</c:choose>
</div>
<a href="${ctx }/user/userChangeReferee" >变更推荐人</a>
<%-- <a href="${ctx }/user/promotions">查看推荐人详情</a> --%>
<div class="clear"></div>
</div>
</div>
<%-- <div class="ration_reward">
<h3>交易奖励</h3>
<p>
截至${currentDate },直推交易奖励核算人数${userCenter.promotionCount },3月内到期${userCenter.dateOutCount}人。
<a href="${ctx }/user/rebateReward">查看奖励详情</a>
</p>
<div class="">
<b>前一交易日获得奖励 </b>
<p style="margin:0 5px 0 120px;" >
<c:if test="${pastDeal.rebate_balance == null }">0.00</c:if>
<c:if test="${pastDeal.rebate_balance != null }">
<fmt:formatNumber type="number" maxFractionDigits="2" minFractionDigits="2" value="${current.rebate_balance }" />
</c:if>
</p>元
</div>
<div>
<b>累计获得奖励 </b>
<p style="margin:0 5px 0 165px;">
<fmt:formatNumber type="number" maxFractionDigits="2" minFractionDigits="2" value="${rebateTotal }" />
</p>元
</div>
</div> --%>
<div class="recommend_VIP">
<h3>直推会员</h3>
<%-- <div class="ration_reward" style="border-bottom: 0px;">
<a href="${ctx }/user/userChangeReferee">变更推荐人</a>
</div> --%>
<div class="recommend_way">
<div class="item way1">
<p><b>方法一:</b>
</p>
<P>好友开户时填入您的会员号</P>
<P>推荐人<input type="text" value="${sessionScope.USER_INFO.client_id }" readonly="readonly"/></P>
</div>
<div class="item way2">
<p><b>方法二:</b></p>
<p>发送您的链接</p>
<!-- <p><input value="http://www.zhao.com"/><input class="button" type="button" value="复制链接"/></p>-->
<p>
<a id="refereeshareUrl" href="http://www.zhao.com/register?referee=${sessionScope.USER_INFO.client_id }"
class="blue onlylink">www.zhao.com/register?referee=${sessionScope.USER_INFO.client_id }</a>
<input id="refereelinkCopy" class="button" type="button" data-clipboard-target="refereeshareUrl" value="复制链接"/></p>
</p>
<script>
ZeroClipboard.config( { swfPath: 'https://cdn.bootcss.com/zeroclipboard/2.2.0/ZeroClipboard.swf' } );
var clip = new ZeroClipboard($("#refereelinkCopy"));
clip.on('aftercopy', function (event) {
console.log(event)
alert("以下内容已经复制到剪贴板\n" +event.data['text/plain']);
});
window._bd_share_config = {
common : {
bdText : '偷偷告诉你哦,我在赵涌牛上大赚了一笔,推荐你也试试',
bdDesc : '偷偷告诉你哦,我在赵涌牛上大赚了一笔,推荐你也试试',
bdUrl : "http://www.zhao.com/register?referee=${sessionScope.USER_INFO.client_id}",
bdPic : '自定义分享图片'
},
share : [{
"bdSize" :16
}]
}
with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='https://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
</script>
</div>
<!-- <div class="item way3">
<p><b>方法三:</b></p>
<div >
<div>
<p>点击图标,立即分享 </p>
<div class="tgdbtb" >
<div class="bdsharebuttonbox" data-tag="share_1" style="padding:0;">
<a class="bds_mshare" data-cmd="mshare"></a>
<a class="bds_qzone" data-cmd="qzone" href="#"></a>
<a class="bds_tsina" data-cmd="tsina"></a>
<a class="bds_baidu" data-cmd="baidu"></a>
<a class="bds_renren" data-cmd="renren"></a>
<a class="bds_tqq" data-cmd="tqq"></a>
<a class="bds_more" data-cmd="more">更多</a>
</div>
</div>
</div>
</div>
</p>
</div> -->
<div class="clear"></div>
</div>
</div>
<!-- <div class="VIP_power">
<h3>会员特权</h3>
<p class="biaozhu">新会员体系与平台各类营销活动挂钩,不同级别会员将于活动期间享受不同特权。</p>
<table border="0" cellpadding="0" cellspacing="0" class="entrust">
<thead>
<td><b>会员特权</b></td>
<td><b>普通会员</b></td>
<td><b>铜牌会员</b></td>
<td><b>银牌会员</b></td>
<td><b>金牌会员</b></td>
<td><b>钻石会员</b></td>
</thead>
<tbody>
<tr>
<td>开户奖励</td>
<td>享</td>
<td>享</td>
<td>享</td>
<td>享</td>
<td>享</td>
</tr>
<tr>
<td>直推送礼</td>
<td>享</td>
<td>享</td>
<td>享</td>
<td>享</td>
<td>享</td>
</tr>
<tr>
<td>配售资格</td>
<td>〇</td>
<td>〇</td>
<td>享</td>
<td>享</td>
<td>享</td>
</tr>
<tr>
<td>交易奖励</td>
<td>享</td>
<td>享</td>
<td>享</td>
<td>享</td>
<td>享</td>
</tr>
</tbody>
</table>
<div style="padding:10px 0;">
<p>1、开户奖励:所有新开户会员均有机会享受开户奖励。</p>
<p>2、直推送礼:所有级别会员直推下级会员均有机会享受直推送礼。</p>
<p>
3、配售资格:银牌以上级别会员享受上市藏品配售资格。</p>
<p>
(1)原则上,配售比率与会员级别成正比;</br>
(2)直接上市藏品不用作配售。</p>
<p>
4、交易奖励:所有级别会员参与交易均有机会享受交易奖励。</br>
5、各类特权细则请持续关注赵涌牛官网与微信活动。
</p>
</div>
</div> -->
</div>
</div>
</div>
<div class="clear"></div>
</div>
<jsp:include page="${ctx }/view/common/bottom.jsp" />
</body>
</html>
<script>