TaoLer/view/taoler/index/user/activate.html

42 lines
1.5 KiB
HTML
Raw Normal View History

{extend name="public/user" /}
<!--{layout name="public:layout" /} -->
{block name="content"}
2021-12-15 15:46:04 +08:00
<div class="layui-tab layui-tab-brief" lay-filter="user">
<ul class="layui-tab-title">
<li class="layui-this">激活邮箱</li>
</ul>
<div class="layui-tab-content" id="LAY_ucm" style="padding: 20px 0">
<ul class="layui-form">
<li class="layui-form-li">
<label for="activate">您的邮箱:</label>
<span class="layui-form-text">{$user.email} {if ($user.active == 1)}
<em style="color: #999">(已成功激活)</em>
{else /}
<em style="color: #c00">(尚未激活)</em>
{/if}
</span>
</li>
{if($user.active == 0)}
<li class="layui-form-li" style="margin-top: 20px; line-height: 26px">
<div>
1. 如果您未收到邮件,或激活链接失效,您可以
<a class="layui-form-a" style="color: #4f99cf" id="LAY-activate" href="javascript:;" email="{$user.email}">重新发送邮件</a>,或者
<a class="layui-form-a" style="color: #4f99cf" href="set.html">更换邮箱</a>
</div>
<div>
2. 如果您始终没有收到发送的邮件,请注意查看您邮箱中的垃圾邮件;
</div>
<div>
3. 如果你实在无法激活邮件,您还可以联系管理员: {$adminEmail}
</div>
</li>
{/if}
</ul>
</div>
</div>
{/block} {block name="script"}
<script>
2021-12-15 15:46:04 +08:00
var actvateEmaiUrl = "{:url('User/active')}";
</script>
{/block}