newhome.html
12.8 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title>个人中心</title>
<link rel="stylesheet" type="text/css" href="{WWX_FXXT_ROOT}/style/new/foundation.css?v={WWX_FXXT_VERSION}">
<link rel="stylesheet" type="text/css" href="{WWX_FXXT_ROOT}/recouse/css/bottom.css?x={WWX_FXXT_VERSION}" />
<link rel="stylesheet" type="text/css" href="{WWX_FXXT_ROOT}/style/new/common-v4.0.css?v={WWX_FXXT_VERSION}">
<link rel="stylesheet" type="text/css" href="{WWX_FXXT_ROOT}/recouse/css/wwx.css">
<script src="{WWX_FXXT_ROOT}/style/new/jquery.js?v={WWX_FXXT_VERSION}"></script>
<script src="{WWX_FXXT_ROOT}/style/new/func.js?v={WWX_FXXT_VERSION}"></script>
</head>
<body class="body-gray" style="padding-top:0px; padding-bottom:0px;">
<div class="panel memberhead">
<div class="header-l"><a href="{php echo $this->createMobileUrl('HomeHead')}" data-href="###" ptag="37080.1.1" class="nav_index on"><img class="icon-level-p1" src="{php echo tomedia($profile['avatar']);}" onerror="this.src='{$_W["siteroot"]}{WWX_FXXT_BASE}/images/no.png'"/></a></div>
<div class="header-r">
<ul class="distributor-infor">
<li><span class="distributor-infor-label">昵称:</span><span class="distributor-infor-c">{if empty($profile)}游客{else}{$profile['nickname']}{/if}</span></li>
<li><span class="distributor-infor-label">等级:</span><span class="distributor-infor-c">{php echo $this->getLevel($profile['id'],2)}<a class="txt-link">(Lv.{if empty($profile['usergrade'])}0{else}{$profile['usergrade']}{/if})</a></span></li>
<li><span class="distributor-infor-label">资质:</span><span class="distributor-infor-c">{php echo $this->getLevel($profile['id'],1)}<a href="javascript:;" class="txt-link" onClick="document.getElementById('mcover').style.display='block';" >({if empty($profile)}登陆后获得更好的服务{elseif $profile['flag']==0}{$tmsg}{else}分享微店赚佣金{/if})</a></span></li>
<li><span class="distributor-infor-label">关注:</span><span class="distributor-infor-c">{if $profile['followtime']==''}无{else}{php echo date('Y-m-d', $profile['followtime'])}{/if}<a class="txt-link">(点击头像同步)</a></span></li>
</ul>
</div>
</div>
<!--head end-->
<!--count begin-->
<div class="row count">
<div class="small-4 large-3 columns mid">
{if $profile['flag']==1}
<a href="{php echo $this->createMobileUrl('commission')}" class="count-a">
<p class="count-dis-mony">{$zong['priceTotal']}</p>
<span class="count-title">销售总额</span>
</a>
{else}
<a href="{php echo $this->createMobileUrl('award')}" class="count-a">
<p class="count-dis-mony">{if $profile['credit1']==''}0{else}{$profile['credit1']}{/if}</p>
<span class="count-title">总积分</span>
</a>
{/if}
</div>
<div class="small-4 large-3 columns mid">
{if $profile['flag']==1}
<a href="{php echo $this->createMobileUrl('commission')}" class="count-a">
<p class="count-dis-mony">{$zong['commissionTotal']}</p>
<span class="count-title">分销佣金</span>
</a>
{else}
<a href="{php echo $this->createMobileUrl('recharge', array('id'=>$profile['id'], 'opp'=>'complate'))}" class="count-a">
<p class="count-dis-mony">{if $profile['credit2']==''}0{else}{$profile['credit2']}{/if}</p>
<span class="count-title">账户余额</span>
</a>
{/if}
</div>
<div class="small-4 large-3 columns last">
<a href="#" class="count-a">
<p class="count-dis-mony">{if $profile['commission']==''}0{else}{$profile['commission']}{/if}</p>
<span class="count-title">已结佣金</span>
</a>
</div>
</div>
<div class="text-center" style=" margin-top:5px;margin-bottom:5px; font-size:14px;">
{if !empty($profile['sharename'])}
你是由【{$profile['sharename']}】推荐
{else}
你是由【{$_W['account']['name']}】推荐
{/if}
</div>
{if $profile['flag']==1 || empty($profile)}
<div class="panel member-nav">
<ul class="side-nav">
<li><a href="{php echo $this->createMobileUrl('Erwema')}"><i class="icon-friends"></i><span class="text">我的二维码</span><i class="arrow"></i></a></li>
{if $signPackage['dzdischeck'] == 2}
<li><a href="{php echo $this->createMobileUrl('dzd',array('op'=>'setting'))}"><i class="icon-set"></i><span class="text">设置店中店</span><i class="arrow"></i></a></li>
{/if}
<li>
<a href="{php echo $this->createMobileUrl('bang',array('op'=>'mobile'))}"><i class="icon-dis"></i>
<span class="text">{if !empty($profile['mobile'])}{php echo mb_substr($profile['mobile'],0,3,'utf-8')} ***** {php echo mb_substr($profile['mobile'],8,4,'utf-8')}{else}绑定手机号{/if}</span><i class="arrow"></i>
<span class="pull-right">{if !empty($profile['mobile'])}修改{else}绑定{/if}</span>
</a>
</li>
<li>
<a id="disstroe" href="javascript:void(0)"><i class="icon-lowLevel"></i>
<span class="text">{if $profile['dzdflag'] == 1 && $signPackage['dzdischeck'] == 2}小店会员{else}我的会员{/if}</span><i class="arrow"></i> <span class="tip-number">{$zong['huiyuan_daili']}</span>
</a>
<div id="disstroe-sub" class="member-nav-sub" style="display: none;">
<ul class="member-nav-sub-ul">
<li class="member-nav-sub-li" id="shop">
<a href="{php echo $this->createMobileUrl('myfansDetail',array('level'=>1))}">
<span class="text">一级会员/代理</span><i class="arrow"></i>
<span class="tip-number">{php echo $zong['count_huiyuan_1'] + $zong['count_daili_1']}</span>
</a>
</li>
{if $cfg['globalCommissionLevel']>=2}
<li class="member-nav-sub-li" id="subShop">
<a href="{php echo $this->createMobileUrl('myfansDetail',array('level'=>2))}">
<span class="text">二级会员/代理</span><i class="arrow"></i>
<span class="tip-number">{php echo $zong['count_huiyuan_2'] + $zong['count_daili_2']}</span>
</a>
</li>
{/if}
{if $cfg['globalCommissionLevel']>=3}
<li class="member-nav-sub-li" id="subShop1">
<a href="{php echo $this->createMobileUrl('myfansDetail',array('level'=>3))}">
<span class="text">三级会员/代理</span><i class="arrow"></i>
<span class="tip-number">{php echo $zong['count_huiyuan_3'] + $zong['count_daili_3']}</span>
</a>
</li>
{/if}
</ul>
</div>
</li>
<li>
<a id="disstroe1" href="javascript:void(0)"><i class="icon-qrcode"></i>
<span class="text">{if $profile['dzdflag'] == 1 && $signPackage['dzdischeck'] == 2}小店推广{else}我的推广{/if}</span><i class="arrow"></i><span class="tip-number">{php echo ($clickcount+$zong['followcount'])}</span>
</a>
<div id="disstroe-sub1" class="member-nav-sub" style="display: none;">
<ul class="member-nav-sub-ul">
<li class="member-nav-sub-li" id="subShop2">
<a href="{php echo $this->createMobileUrl('fansorder')}"><span class="text">{if $profile['dzdflag'] == 1 && $signPackage['dzdischeck'] == 2}小店订单{else}推广订单{/if}</span><i class="arrow"></i><span class="tip-number">{$allcount}</span></a>
</li>
<li class="member-nav-sub-li" id="subShop3">
<a href="{php echo $this->createMobileUrl('myfansDetail',array('level'=>4))}"><span class="text">推广点击</span><i class="arrow"></i> <span class="tip-number">{$clickcount}</span></a>
</li>
<li class="member-nav-sub-li" id="subShop4">
<a href="{php echo $this->createMobileUrl('myfansDetail',array('level'=>5))}"><span class="text">成功关注</span><i class="arrow"></i><span class="tip-number">{$zong['followcount']}</span></a>
</li>
</ul>
</div>
</li>
<li class="last">
<a href="{php echo $this->createMobileUrl('commission')}">
<i class="icon-commission"></i><span class="text">佣金提现</span><i class="arrow"></i>
</a>
</li>
</ul>
</div>
{/if}
<div class="panel member-nav">
<ul class="side-nav">
<li><a href="{php echo $this->createMobileUrl('mymessage')}"><i class="icon-ratio"></i><span class="text">我的短消息</span><i class="arrow"></i> <span class="tip-number">{$msgcount}</span></a></li>
<li><a href="{php echo $this->createMobileUrl('recharge', array('id'=>$profile['id'], 'opp'=>'complate'))}"><i class="icon-employee"></i><span class="text">余额充值</span><i class="arrow"></i></a></li>
<li><a href="{php echo $this->createMobileUrl('profile', array('id'=>$profile['id'], 'opp'=>'complate'))}"><i class="icon-account"></i><span class="text">完善资料</span><i class="arrow"></i></a></li>
<li><a href="{php echo $this->createMobileUrl('address', array('from'=>'$confirm','returnurl'=>urlencode($returnurl)))}"><i class="icon-product"></i><span class="text">收货地址</span><i class="arrow"></i></a></li>
<li id="brokerage"><a id="disstroe2" href="javascript:void(0)"><i class="icon-passowrd"></i><span class="text">积分兑换</span><i class="arrow"></i></a>
<div id="disstroe-sub2" class="member-nav-sub" style="display: none;">
<ul class="member-nav-sub-ul">
<li class="member-nav-sub-li" id="shop3"><a href="{php echo $this->createMobileUrl('award')}"><span class="text">奖品列表</span><i class="arrow"></i></a></li>
<li class="member-nav-sub-li" id="subShop5"><a href="{php echo $this->createMobileUrl('Mycredit')}"><span class="text">成功兑换</span><i class="arrow"></i></a></li>
</ul>
</div>
</li>
<li><a href="{php echo $this->createMobileUrl('phb', array('opp'=>'fensi'))}"><i class="icon-card"></i><span class="text">各项排行</span><i class="arrow"></i></a></li>
<li><a href="{php echo $this->createMobileUrl('rule')}"><i class="icon-shop"></i><span class="text">帮助说明</span><i class="arrow"></i></a></li>
{if !empty($_W['openid']) && !empty($signPackage['wxcookie'])}
<li><a href="{php echo $this->createMobileUrl('signout')}"><i class="icon-client"></i><span class="text">退出登录</span><i class="arrow"></i></a></li>
{/if}
<!--<li><a href="{php echo $this->createMobileUrl('Qcookie')}"><i class="icon-client"></i><span class="text">清空COOKIE(调试之用)</span><i class="arrow"></i></a></li> -->
</ul>
</div>
<style>
#mcover {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);display:none;z-index:20000;}
.qrcode-box .commentf{position:relative;margin:120px 10% 10% 10%;color:#ffffff;z-index: 200;}
.qrcode-box .commentf ul{list-style:none;width:100%;margin:20px 10px 10px 10px;padding:0;z-index: 200}
.qrcode-box .commentf ul li{height:28px;line-height:28px;margin:5px;z-index: 200}
.qrcode-box .commentf ul li img{ position: fixed;right: 18px;top: 5px;width: 260px!important;height: 180px!important;z-index: 20001;}
.qrcode-box .commentf ul li.friend img{margin:0 0.5em 0 1.5em}
.qrcode-box .commentf .qrcodef{text-align:center;z-index: 200}
.qrcode-box .commentf .qrcodef img{position:relative;display:inline-block;width:180px;z-index: 9999;}
.qrcode-box .commentf .know{text-align:center}
.qrcode-box .commentf .know .btn-know{position:relative;margin:20px 10% 0 10%;text-shadow:none;font-weight:normal;text-decoration:none;font-size:16px;padding:0.5em 1.5em;display:inline-block;cursor:pointer;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;*zoom:1;filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF08B12D', endColorstr='#FF044F14');background-color:#08b12d;border:0;color:white;text-shadow:#02370e 0 -1px 0}
.qrcode-box .commentf .know .btn-know:hover{text-decoration:none}
.qrcode-box .commentf .know .btn-know:hover{background-color:#079927}
.qrcode-box .commentf .know .btn-know:active{background-color:#068a23}
.qrcode-box .commentf .know .btn-know.disabled,.qrcode-box .comment .know .btn-know[disabled]{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6;background:false;cursor:default;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}
.qrcode-box .commentf .know .btn-know::-moz-focus-inner{padding:0 !important;margin:-1px !important}
</style>
<div id="mcover" onclick="document.getElementById('mcover').style.display='';" style="display:none;">
<div class="qrcode-box" >
<div class="commentf" >
<ul>
<li><img alt="Wxmenu" src="{WWX_FXXT_ROOT}/recouse/images/guide.png" style="height:264px;width:182px"/> </li>
<li><br/></li>
<li>或者: 邀请好友扫二维码</li>
</ul>
<div class="qrcodef"><img src="{WWX_FXXT_ROOT}/style/images/share/share_qrx{$profile['id']}.png" style="height:180px;width:180px"/></div>
<div class="know"><a class="btn-know">知道了</a></div>
</div>
</div>
</div>
{template 'wx_nav'}
<div style="height:20px;"></div>
{template 'footer'}
</body>
</html>