2019-09-06 23:53:10 +08:00

52 lines
2.4 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__ADMIN__/js/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="js"}
<script src="__ADMIN__/js/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/goodsclassify/goodsclassify.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="wst-toolbar">
{$classify} : 查看活动分类页
<input type="hidden" value="{$classifyId}" id="classifyId">
<button class="btn btn-primary f-right btn-mright" onclick='javascript:toAddCats(0,{$classifyId})'><i class='fa'></i>新增活动</button>
<button class="btn btn-info f-right btn-mright" onclick='javascript:history.back()'><i class='fa'></i>返回</button>
<div style='clear:both'></div>
</div>
<div class='wst-grid'>
<div id="mmg" class="mmg layui-form"></div>
<div id="pg" style="text-align: right;"></div>
</div>
<div id='attrBox' style='display:none'>
<form id="attrForm">
<table class='wst-form wst-box-top'>
<tr>
<th width='150'>
活动名称<font color='red'>*</font></th>
<td>
<input type="text" name="recomName" id="recomName" placeholder="填写分类名称" class="jipt">
</td></tr>
<tr >
<th width='150' >排序号码<font color='red'>*</font></th>
<td >
<input type="text" name="recomOrder" class="jipt" id="recomOrder" placeholder="填写排序序号" style="margin-top: 20px;">
<p>排序号越大越靠前</p>
</td>
</tr>
<tr class="wst-order-rate" >
<th width='120'>有效时间<font color='red'>*</font></th>
<td colspan='3'>
<input type='text' id='startTime' name='startTime' class='jipt laydate-icon' onclick="laydate({format: 'YYYY-MM-DD hh:mm:ss',istime:true})" data-rule="开始日期: required;datetime;"/>
<input type='text' id='endTime' name='endTime' class='jipt laydate-icon' onclick="laydate({format: 'YYYY-MM-DD hh:mm:ss',istime:true})" data-rule="结束日期: required;datetime;match(gt, startTime, datetime)"/>
</td>
</tr>
</table>
</form>
</div>
<script>
$(function(){initCatsGrid();})
</script>
{/block}