|
@@ -0,0 +1,202 @@
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
|
|
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
|
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
|
|
|
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
|
+<%
|
|
|
+ String base = pageContext.getServletContext().getContextPath();
|
|
|
+%>
|
|
|
+<!--_meta 作为公共模版分离出去-->
|
|
|
+<!DOCTYPE HTML>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <script type="text/javascript">
|
|
|
+ window.UEDITOR_SERVER_URL = '<%=base%>';
|
|
|
+ </script>
|
|
|
+ <meta name="renderer" content="webkit|ie-comp|ie-stand">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="viewport"
|
|
|
+ content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
|
|
|
+ <meta http-equiv="Cache-Control" content="no-siteapp"/>
|
|
|
+ <LINK rel="Bookmark" href="/favicon.ico">
|
|
|
+ <LINK rel="Shortcut Icon" href="/favicon.ico"/>
|
|
|
+
|
|
|
+ <link rel="stylesheet" type="text/css"
|
|
|
+ href="${pageContext.request.contextPath}/static/admin/index/h-ui/css/H-ui.min.css"/>
|
|
|
+ <link rel="stylesheet" type="text/css"
|
|
|
+ href="${pageContext.request.contextPath}/static/admin/index/h-ui.admin/css/H-ui.admin.css"/>
|
|
|
+ <link rel="stylesheet" type="text/css"
|
|
|
+ href="${pageContext.request.contextPath}/static/admin/index/Hui-iconfont/1.0.8/iconfont.css"/>
|
|
|
+ <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/icheck/icheck.css"/>
|
|
|
+ <link rel="stylesheet" type="text/css"
|
|
|
+ href="${pageContext.request.contextPath}/static/admin/index/h-ui.admin/skin/default/skin.css" id="skin"/>
|
|
|
+ <link rel="stylesheet" type="text/css"
|
|
|
+ href="${pageContext.request.contextPath}/static/admin/index/h-ui.admin/css/style.css"/>
|
|
|
+
|
|
|
+ <script type="text/javascript"
|
|
|
+ src="${pageContext.request.contextPath}/static/admin/index/jquery/1.9.1/jquery.min.js"></script>
|
|
|
+ <script type="text/javascript" src="${pageContext.request.contextPath}/static/admin/index/layer/layer.js"></script>
|
|
|
+ <script type="text/javascript"
|
|
|
+ src="${pageContext.request.contextPath}/static/admin/js/jquery.validate.min.js"></script>
|
|
|
+ <script type="text/javascript"
|
|
|
+ src="${pageContext.request.contextPath}/static/admin/js/validate-methods.js"></script>
|
|
|
+ <script type="text/javascript" src="${pageContext.request.contextPath}/static/admin/js/messages_zh.min.js"></script>
|
|
|
+ <script type="text/javascript"
|
|
|
+ src="${pageContext.request.contextPath}/static/admin/icheck/jquery.icheck.min.js"></script>
|
|
|
+ <script src="${pageContext.request.contextPath}/static/admin/manage/js/WdatePicker.js"></script>
|
|
|
+
|
|
|
+ <script type="text/javascript">
|
|
|
+ $(function () {
|
|
|
+ $("#sub").click(function () {
|
|
|
+ /* var infotitle = $("input[name='infotitle']").val();
|
|
|
+ var helptypeid = $('#hsg option:selected').val();
|
|
|
+ var infosort = $("input[name='infosort']").val();
|
|
|
+
|
|
|
+ if (infotitle == null || infotitle == '') {
|
|
|
+ layer.msg("名称不能为空~");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if (infosort == null || infosort == '') {
|
|
|
+ layer.msg("排序不能为空~");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if (helptypeid == null || helptypeid == '') {
|
|
|
+ layer.msg("类型不能为空~");
|
|
|
+ return false;
|
|
|
+ }*/
|
|
|
+
|
|
|
+ $('#subform').submit();
|
|
|
+ });
|
|
|
+ });
|
|
|
+ </script>
|
|
|
+
|
|
|
+ <title>消息发布</title>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<nav class="breadcrumb">
|
|
|
+ <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
|
|
|
+ href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a>
|
|
|
+</nav>
|
|
|
+<article class="page-container">
|
|
|
+ <form action="messageReleases.html" method="post" enctype="multipart/form-data" class="form form-horizontal" id="subform">
|
|
|
+
|
|
|
+
|
|
|
+ <%--<div class="row cl">
|
|
|
+ <label class="form-label col-xs-4 col-sm-1"><span class="c-red">*</span>服务分类:</label>
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
+ <select name="pId" id="pId" class="input-text">
|
|
|
+ <option value="0">服务分类</option>
|
|
|
+ <c:forEach items="${findall}" var="newtype">
|
|
|
+ <option value="${newtype.id}">${newtype.name}</option>
|
|
|
+ </c:forEach>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>--%>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-xs-4 col-sm-1"><span class="c-red">*</span>发送对象:</label>
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
+ <select name="userType" id="hsg" class="select">
|
|
|
+ <option value="">请选择</option>
|
|
|
+ <option value="0">车主</option>
|
|
|
+ <option value="1">服务商</option>
|
|
|
+ <option value="2">经销商</option>
|
|
|
+ <option value="4">全部</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-xs-4 col-sm-1"><span class="c-red">*</span>消息类型:</label>
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
+ <select name="title" class="select">
|
|
|
+ <option value="">请选择</option>
|
|
|
+ <option value="系统消息">系统消息</option>
|
|
|
+ <option value="平台通知">平台通知</option>
|
|
|
+ <option value="支付消息">支付消息</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <div class="row cl">
|
|
|
+ <label class="form-label col-xs-4 col-sm-1"><span class="c-red"></span>消息内容:</label>
|
|
|
+ <div class="formControls col-xs-8 col-sm-9">
|
|
|
+ <textarea name="content" rows="5" cols="120">
|
|
|
+
|
|
|
+ </textarea>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="row cl">
|
|
|
+ <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-1">
|
|
|
+ <button type="button" class="btn btn-primary radius" id="sub" name="admin-role-save"><i class="Hui-iconfont"></i> 发布</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+</article>
|
|
|
+
|
|
|
+<!--请在下方写此页面业务相关的脚本-->
|
|
|
+<!-- 百度文本编辑器 引用文件 -->
|
|
|
+<link href="<%=base%>/static/ue/themes/default/css/ueditor.css" type="text/css" rel="stylesheet">
|
|
|
+<script src="<%=base%>/static/ue/ueditor.config.js" type="text/javascript"></script>
|
|
|
+<script src="<%=base%>/static/ue/ueditor.all.js" type="text/javascript"></script>
|
|
|
+<script type="text/javascript" src="<%=base%>/static/ue/lang/zh-cn/zh-cn.js"></script>
|
|
|
+
|
|
|
+<!-- 百度文本编辑器 js -->
|
|
|
+<script type="text/javascript">
|
|
|
+ $(function () {
|
|
|
+ var ue = UE.getEditor('introduction', {
|
|
|
+ //关闭字数统计
|
|
|
+ wordCount: false,
|
|
|
+ toolbars: [['fullscreen', 'source', '|', 'undo', 'redo', '|',
|
|
|
+ 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
|
|
|
+ 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
|
|
|
+ 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
|
|
|
+ 'directionalityltr', 'directionalityrtl', 'indent', '|',
|
|
|
+ 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
|
|
|
+ 'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
|
|
|
+ 'insertimage', 'emotion', 'insertvideo', 'attachment', 'map', 'template', 'background', '|',
|
|
|
+ 'horizontal', 'date', 'time', 'spechars', 'wordimage', '|',
|
|
|
+ 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
|
|
|
+ 'print', 'preview', 'searchreplace', 'help'
|
|
|
+ ]],
|
|
|
+ //关闭elementPath
|
|
|
+ elementPathEnabled: false,
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ var currentBrowserId;
|
|
|
+
|
|
|
+ function browserImage(targetId) {
|
|
|
+ currentBrowserId = targetId;
|
|
|
+ var weboxTemp = $.webox({
|
|
|
+ height: 600,
|
|
|
+ width: 1024,
|
|
|
+ bgvisibel: true,
|
|
|
+ title: '图片管理',
|
|
|
+ iframe: '<%=base%>/admin/image/imgbox.html?' + Math.random()
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function setImagepath(imgPath) {
|
|
|
+ $('#' + currentBrowserId).val(imgPath);
|
|
|
+ }
|
|
|
+
|
|
|
+ function closeFrame() {
|
|
|
+ $('#locked .span').click();
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+<!--请在下方写此页面业务相关的脚本-->
|
|
|
+<script type="text/javascript">
|
|
|
+</script>
|
|
|
+<!--/请在上方写此页面业务相关的脚本-->
|
|
|
+</body>
|
|
|
+</html>
|