You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.2 KiB
61 lines
2.2 KiB
{template 'header', 'member'}
|
|
<div id="head-bar">
|
|
<div class="head-bar">
|
|
<div class="head-bar-back"><a href="{if $back_link}{$back_link}{else}javascript:Dback();" id="back-{$js_pageid}{/if}" data-direction="reverse"><img src="{DT_MOB}static/img/icon-back.png" width="24" height="24"/></a></div>
|
|
<div class="head-bar-title">{$head_name}</div>
|
|
{if $W}
|
|
<div class="head-bar-right"><a href="javascript:Dsheet('{$js_pageid}','<a href="?action=unbind"><span style="color:red">解除绑定</span></a>', '取消', '确定要解除微信绑定吗?');"><img src="{DT_MOB}static/img/icon-sheet.png" width="24" height="24"/></a></div>
|
|
{/if}
|
|
</div>
|
|
<div class="head-bar-fix" id="load-fix-{$js_pageid}" style="height:0;"></div>
|
|
<div class="head-bar-fix" id="head-fix-{$js_pageid}"></div>
|
|
</div>
|
|
{if $W}
|
|
<div class="list-img">
|
|
<img src="{$W[headimgurl]}" width="60" height="60" alt="" onerror="{DT_PATH}api/avatar/default.jpg';" class="img-circle"/>
|
|
<ul>
|
|
<li><span class="f_r">已绑定</span><strong>{if $W[nickname]}{$W[nickname]}{else}未填写{/if}</strong></li>
|
|
<li><em>上次访问:{timetodate($W[visittime], 5)}</em></li>
|
|
</ul>
|
|
</div>
|
|
{else}
|
|
<div class="list-img">
|
|
<img src="{DT_PATH}api/avatar/default.jpg" width="60" height="60" alt="" class="img-circle"/>
|
|
<ul>
|
|
<li><span class="f_r">待绑定</span><strong>微信昵称</strong></li>
|
|
<li><em>N/A</em></li>
|
|
</ul>
|
|
</div>
|
|
{/if}
|
|
<div class="content t_c">
|
|
{if $W}
|
|
<center><img src="{DT_PATH}api/weixin/qrcode.php" width="150" height="150" style="margin:20px;"/></center>
|
|
{if $DT_MBS == 'weixin'}
|
|
长按识别上图二维码,进入公众号
|
|
{else}
|
|
扫一扫上图二维码,进入公众号
|
|
{/if}
|
|
{else}
|
|
<center><img src="{DT_PATH}api/weixin/qrcode_bind.php?auth={$auth}" width="150" height="150" style="margin:20px;"/></center>
|
|
{if $DT_MBS == 'weixin'}
|
|
长按识别上图二维码,添加关注并绑定
|
|
{else}
|
|
扫一扫上图二维码,添加关注并绑定
|
|
{/if}
|
|
<script type="text/javascript">
|
|
var interval = window.setInterval(
|
|
function() {
|
|
$.post('?', 'action=ajax', function(data) {
|
|
if(data == 'ok') {
|
|
clearInterval(interval);
|
|
Go('?action=index');
|
|
}
|
|
});
|
|
},
|
|
3000);
|
|
</script>
|
|
{/if}
|
|
<br/>
|
|
<br/>
|
|
</div>
|
|
{template 'footer', 'member'}
|