Files
addons
extend
hyhproject
admin
app
common
home
home2
behavior
common
conf
controller
model
validate
view
default
articles
css
img
js
shops
sql
users
cashdraws
favorites
informs
logmoneys
messages
orders
recharge
security
index.html
security.js
user_edit_email.html
user_edit_pay.html
user_edit_phone.html
user_email.html
user_pass.html
user_pay_pass.html
user_phone.html
useraddress
userscores
base.html
index.html
my_consult.html
user.js
user_edit.html
base.html
base_js.html
box_login.html
brands_list.html
carts.html
error_lost.html
error_msg.html
error_switch.html
error_sys.html
footer.html
forget_pass.html
forget_pass2.html
forget_pass3.html
forget_pass4.html
goods_contrast.html
goods_detail.html
goods_list.html
goods_search.html
header.html
header_lite.html
index.html
invoices.html
order_pay.html
order_pay_step1.html
order_pay_step2.html
order_pay_step3.html
order_pay_wallets.html
order_success.html
regist.html
right_cart.html
self_shop.html
self_shop_header.html
settlement.html
settlement2.html
settlement_quick.html
shop_apply.html
shop_home.html
shop_join.html
shop_join_step1.html
shop_join_step2.html
shop_join_step3.html
shop_join_step35.html
shop_join_step4.html
shop_join_step5.html
shop_join_success.html
shop_login.html
shop_street.html
top.html
user_login.html
user_protocol.html
mobile2
wechat2
.htaccess
command.php
mobile
oss
static
thinkphp
upload
vendor
wxtmp
.gitignore
.htaccess
.user.ini
404.html
H5B854518.wgt
admin.php
app-release.apk
cash.lock
demo.php
get_startup.php
get_version.php
get_version_new.php
index.html
index.php
reg.lock
robots.txt
qlg.tsgz.moe/hyhproject/home2/view/default/users/security/index.html
2019-09-06 23:53:10 +08:00

59 lines
4.7 KiB
HTML
Executable File

{extend name="default/users/base" /}
{block name="title"}安全设置 - 买家中心{__block__}{/block}
{block name="css"}
<link href="__STYLE__/css/security.css?v={$v}" rel="stylesheet">
{/block}
{block name="content"}
<div class="wst-sec-info">
<img class="wst-lfloat usersImg" data-original='__IMGURL__{:WSTUserPhoto($data['userPhoto'])}' width='100' height='100' title="{$data['loginName']}"/>
<div class="wst-sec-infor">
<span class="wst-sec-na wst-lfloat">{$data['loginName']}</span>
{if($data['ranks']['rankId'])}
<span class="wst-sec-grade"><img class="wst-lfloat" src="__IMGURL__/{$data['ranks']['userrankImg']}"/><span class="wst-lfloat">{$data['ranks']['rankName']}</span></span>
{/if}
<div style='clear:both;'></div>
<div style="margin-top:6px;">
<span class="wst-sec-infoi" id="level"></span>
<div class="wst-sec-infoi" style="margin-top:5px;">
<span class="wst-sec-strip wst-lfloat">{if ($data['loginPwd'])}<span class="wst-sec-strip2 wst-lfloat"></span>{/if}{if ($data['userEmail'])}<span class="wst-sec-strip2 wst-lfloat"></span>{/if}{if ($data['userPhone'])}<span class="wst-sec-strip2 wst-lfloat"></span>{/if}</span>
</div>
<div class="wst-sec-infoi" style="margin-top:5px;">
<span>上次登录时间:{php}echo date("Y年m月d日 H:i:s",strtotime($data['lastTime']));{/php}</span><br/>
<span>上次登录IP:{$data['lastIP']}</span>
</div>
</div>
</div>
<div style='clear:both;'></div>
</div>
<div class="wst-sec-s">
<div class="wst-sec-lists">{if ($data['loginPwd'])}<span class="wst-sec-green"><img src="__STYLE__/img/user_icon_yyz.png"/>已设置</span>{else}<span class="wst-sec-ash"><img src="__STYLE__/img/icon_wyz.png"/>未设置</span>{/if}
<span class="wst-sec-w">&nbsp;登录密码</span>&nbsp;&nbsp;登录密码用于会员的登录以及进行登录的一系列操作,{if ($data['loginPwd'])}建议您定期更改密码{else}您还没有设置密码{/if}
<a class="wst-user-buta wst-rfloat" onclick="location.href=WST.U('home/users/editPass')">{if ($data['loginPwd'])}修改密码{else}立即设置{/if}</a></div>
<div class="wst-sec-lists">{if ($data['payPwd'])}<span class="wst-sec-green"><img src="__STYLE__/img/user_icon_yyz.png"/>已设置</span>{else}<span class="wst-sec-ash"><img src="__STYLE__/img/icon_wyz.png"/>未设置</span>{/if}
<span class="wst-sec-w">&nbsp;支付密码</span>&nbsp;&nbsp;支付密码用于会员的提现账号设置及提现申请操作,{if ($data['payPwd'])}建议您定期更改支付密码{else}您还没有设置支付密码{/if}
<a class="wst-user-buta wst-rfloat" onclick="location.href=WST.U('home/users/editPayPass')">{if ($data['payPwd'])}修改密码{else}立即设置{/if}</a></div>
<div class="wst-sec-lists">{if ($data['userEmail'])}<span class="wst-sec-green"><img src="__STYLE__/img/user_icon_yyz.png"/>已验证</span>{else}<span class="wst-sec-ash"><img src="__STYLE__/img/icon_wyz.png"/>未验证</span>{/if}
<span class="wst-sec-w">&nbsp;邮箱验证</span>&nbsp;&nbsp;邮箱验证方便您及时接收优惠促销信息,以及积分、优惠卷和账户余额变动的提醒。{if ($data['userEmail'])}您的绑定邮箱:{$data['userEmail']}{else}您还没有验证邮箱{/if}
<a class="wst-user-buta wst-rfloat" onclick="location.href=WST.U('home/users/editEmail')">{if ($data['userEmail'])}修改邮箱{else}立即验证{/if}</a></div>
<div class="wst-sec-lists">{if ($data['userPhone'])}<span class="wst-sec-green"><img src="__STYLE__/img/user_icon_yyz.png"/>已验证</span>{else}<span class="wst-sec-ash"><img src="__STYLE__/img/icon_wyz.png"/>未验证</span>{/if}
<span class="wst-sec-w">&nbsp;手机验证</span>&nbsp;&nbsp;手机验证方便您及时接收优惠促销信息,以及积分、优惠卷和账户余额变动的提醒。{if ($data['userPhone'])}您的绑定手机:{$data['userPhone']}{else}您还没有验证手机{/if}
<a class="wst-user-buta wst-rfloat" onclick="location.href=WST.U('home/users/editPhone')">{if ($data['userPhone'])}修改手机{else}立即验证{/if}</a></div>
<div style='clear:both;'></div>
</div>
{/block}
{block name="js"}
<script>
$(function(){
var securityCount = $('.wst-sec-strip2').length;
if(securityCount==1){
$('#level').html('安全级别(较低级)&nbsp; &nbsp; &nbsp;<span class="wst-sec-infoin">建议提升安全</span>');
}else if(securityCount==2){
$('#level').html('安全级别(中级)&nbsp; &nbsp; &nbsp;<span class="wst-sec-infoin">建议提升安全</span>');
}else if(securityCount==3){
$('#level').html('安全级别(高级)&nbsp; &nbsp; &nbsp;<span class="wst-sec-infoin">建议定期更改密码</span>');
}else{
$('#level').html('安全级别(低级)&nbsp; &nbsp; &nbsp;<span class="wst-sec-infoin">账号有风险</span>');
}
});
</script>
{/block}