mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-10 13:00:49 +08:00
feat(notice): 我的消息与订阅设置个人域页面
This commit is contained in:
52
extend/base/admin/view/notice/subscribe.html
Normal file
52
extend/base/admin/view/notice/subscribe.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<div class="layuimini-container">
|
||||
<form id="app-form" class="layui-form layuimini-form">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">订阅设置</label>
|
||||
<div class="layui-input-block">
|
||||
<div style="color:#999;font-size:12px;line-height:20px;padding:4px 0 8px 0;">
|
||||
选择每类通知通过哪个渠道发送给您;未保存过的组合默认为订阅。标注「必选」的场景为系统强制通知,不可关闭。
|
||||
</div>
|
||||
<table class="layui-table" lay-size="sm" id="subscribe-matrix">
|
||||
<colgroup>
|
||||
<col>
|
||||
{volist name="channels" id="channelTitle"}
|
||||
<col width="180">
|
||||
{/volist}
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>场景</th>
|
||||
{volist name="channels" id="channelTitle"}
|
||||
<th class="text-center">{$channelTitle}</th>
|
||||
{/volist}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{volist name="matrix" id="sceneRow"}
|
||||
<tr>
|
||||
<td>
|
||||
{$sceneRow.title}
|
||||
{if condition="$sceneRow.locked"}
|
||||
<span class="layui-badge layui-bg-gray">必选</span>
|
||||
{/if}
|
||||
</td>
|
||||
{volist name="sceneRow.cells" id="cell"}
|
||||
<td class="text-center">
|
||||
<input type="checkbox" name="{$cell.name}" value="1" lay-skin="switch" lay-text="开|关" lay-filter="subscribe-switch" {$cell.checked} {$cell.disabled}>
|
||||
</td>
|
||||
{/volist}
|
||||
</tr>
|
||||
{/volist}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hr-line"></div>
|
||||
<div class="layui-form-item text-center">
|
||||
<button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="notice/save_subscribe" data-close="false" data-refresh="false">保存设置</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user