12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('新增推荐位')" />
- </head>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form class="form-horizontal m" id="form-notice-add">
- <div class="form-group" id="chargeErBanNo">
- <label class="col-sm-2 control-label">卿卿号:</label>
- <div class="col-sm-10">
- <input name="uid" id="uid" class="form-control" type="text" placeholder="请输入卿卿号"/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">排列序号:</label>
- <div class="col-sm-10">
- <input id="seqNo" name="seqNo" class="form-control" type="text" placeholder="请输入排列序号" required/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">显示位置:</label>
- <div class="col-sm-10">
- <select name="viewType" id="viewType" class="form-control m-b" th:with="type=${@dict.getType('recomm_view_position')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
- </select>
- </div>
- </div>
- <div class="form-group select-time" >
- <label class="col-sm-2 control-label">开始时间:</label>
- <div class="col-sm-10">
- <input id="startDate" name="startValidTime" class="form-control time-input" type="text" placeholder="请输入开始时间"/>
- </div>
- </div>
- <div class="form-group select-time" >
- <label class="col-sm-2 control-label">结束时间:</label>
- <div class="col-sm-10">
- <input id="endDate" name="endValidTime" class="form-control time-input" type="text" placeholder="请输入结束时间"/>
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <th:block th:include="include :: summernote-js" />
- <script type="text/javascript">
- var prefix = ctx + "operation/home/recomm";
- $("#form-notice-add").validate({
- focusCleanup: true
- });
- function submitHandler() {
- if ($.validate.form()) {
- $.operate.save(prefix + "/add", $('#form-notice-add').serialize());
- }
- }
- </script>
- </body>
- </html>
|