TaoLer/view/admin/set/system/email.html

66 lines
2.7 KiB
HTML
Raw Normal View History

2020-01-01 13:17:19 +08:00
{extend name="public/base" /}
{block name="body"}
<div class="layui-fluid">
<div class="layui-row layui-col-space15">
<div class="layui-col-md12">
<div class="layui-card">
<div class="layui-card-header">邮件服务</div>
<div class="layui-card-body">
<div class="layui-form" wid100 lay-filter="">
<div class="layui-form-item">
<label class="layui-form-label">SMTP服务器</label>
<div class="layui-input-inline">
<input type="text" name="host" value="{$mailserver.host}" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">smtp.163.com</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SMTP端口号</label>
<div class="layui-input-inline" style="width: 80px;">
<input type="text" name="port" lay-verify="number" value="{$mailserver.port}" class="layui-input">
</div>
<div class="layui-form-mid layui-word-aux">一般为 25 或 465</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">发件人邮箱</label>
<div class="layui-input-inline">
<input type="text" name="mail" value="{$mailserver.mail}" lay-verify="email" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">发件人昵称</label>
<div class="layui-input-inline">
<input type="text" name="nickname" value="{$mailserver.nickname}" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">邮箱登入密码</label>
<div class="layui-input-inline">
2020-01-15 10:52:57 +08:00
<input type="password" name="password" value="{$mailserver.password}" autocomplete="off" class="layui-input">
2020-01-01 13:17:19 +08:00
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="set_system_email">确认保存</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/block}
{block name="js"}
<script>
layui.config({
base: '/static/admin/' //静态资源所在路径
}).extend({
index: 'lib/index' //主入口模块
}).use(['index', 'set']);
</script>
{/block}