|
@@ -0,0 +1,202 @@
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
+<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
|
|
|
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
|
+<%@ taglib prefix="input" uri="/struts-tags" %>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>关键词库编辑</title>
|
|
|
+ <meta name="decorator" content="default"/>
|
|
|
+ <style>
|
|
|
+ .red {
|
|
|
+ color: red;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .blue {
|
|
|
+ color: rgb(0, 100, 180);
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm {
|
|
|
+ max-width: 1200px;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm table {
|
|
|
+ width: 100%;
|
|
|
+ line-height: 18px;
|
|
|
+ margin-bottom: 50px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm th, #inputForm td {
|
|
|
+ font-weight: normal;
|
|
|
+ text-align: left;
|
|
|
+ padding: 8px 5px;
|
|
|
+ border-bottom: 1px solid rgb(238, 238, 238);
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm th {
|
|
|
+ width: 15%;
|
|
|
+ text-align: right;
|
|
|
+ white-space: nowrap;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm td input[type="text"] {
|
|
|
+ width: 320px;
|
|
|
+ height: 16px;
|
|
|
+ line-height: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm td input.short {
|
|
|
+ width: 110px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm td b.line {
|
|
|
+ margin: 0 15px 0 20px;
|
|
|
+ font-weight: normal
|
|
|
+ }
|
|
|
+
|
|
|
+ #allAreaInput {
|
|
|
+ padding: 10px 0 0 100px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #inputForm .item {
|
|
|
+ line-height: 28px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #ladderPriceBox {
|
|
|
+ border-top: 1px solid rgb(238, 238, 238);
|
|
|
+ margin-top: 8px;
|
|
|
+ padding-top: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #ladderPriceBox > div {
|
|
|
+ margin-bottom: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .priceIcon:before {
|
|
|
+ content: '\2729';
|
|
|
+ color: #aaa;
|
|
|
+ font-size: 18px;
|
|
|
+ font-style: normal;
|
|
|
+ }
|
|
|
+
|
|
|
+ .priceIcon.full:before {
|
|
|
+ content: '\272E';
|
|
|
+ color: #ffbd14;
|
|
|
+ }
|
|
|
+
|
|
|
+ #slider {
|
|
|
+ width: 335px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .skword input {
|
|
|
+ margin: 2px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .skword p {
|
|
|
+ margin: 2px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .params input {
|
|
|
+ margin: 2px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .tags input {
|
|
|
+ margin: 2px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ #tagsList {
|
|
|
+ margin: 2px 0;
|
|
|
+ display: none;
|
|
|
+ width: 600px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .tags-li {
|
|
|
+ margin: 10px;
|
|
|
+ display: inline-block;
|
|
|
+ padding: 5px 10px;
|
|
|
+ line-height: 16px;
|
|
|
+ text-align: center;
|
|
|
+ position: relative;
|
|
|
+ font-size: 12px;
|
|
|
+ border: 1px solid #EBEBEB;
|
|
|
+ border-radius: 4px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .tags-li i {
|
|
|
+ font-style: normal;
|
|
|
+ line-height: 20px;
|
|
|
+ display: block;
|
|
|
+ position: absolute;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ text-align: center;
|
|
|
+ background: rgba(0, 0, 0, 0.2);
|
|
|
+ border-radius: 50%;
|
|
|
+ top: -8px;
|
|
|
+ right: -7px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
+ .tags-li .tags-s {
|
|
|
+ background: #FFF;
|
|
|
+ width: auto !important;
|
|
|
+ outline: none;
|
|
|
+ border: none;
|
|
|
+ }
|
|
|
+ label
|
|
|
+ {
|
|
|
+ display: inline-block;
|
|
|
+ width: 60px;
|
|
|
+ text-align: justify;
|
|
|
+ text-align-last: justify;
|
|
|
+ margin-right: 270px;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<ul class="nav nav-tabs">
|
|
|
+ <li><a href="${ctx}/new/user/agency/regist">已注册用户咨询记录</a></li>
|
|
|
+ <li><a href="${ctx}/new/user/visit/unregist">未注册用户咨询记录</a></li>
|
|
|
+ <li><a href="${ctx}/consult/type/cmConsulttype/">咨询类别设置</a></li>
|
|
|
+ <li class="active"><a href="${ctx}/new/user/agency/cmrenaksForm">添加关键词库</a></li>
|
|
|
+</ul>
|
|
|
+<form:form id="inputForm" modelAttribute="list" onsubmit="return um()" action="${ctx}/new/user/agency/addcmrenaksForm" method="post" class="form-horizontal">
|
|
|
+ <table align = "center" border="0" cellspacing="0" cellpadding="20" width="100%">
|
|
|
+ <tr>
|
|
|
+ <th><span style="color: red">*</span> 关键词:</th>
|
|
|
+ <td colspan="3">
|
|
|
+<%-- <input:form path="remarks" name="remarks" value=" ${empty list.remarks ? '' : list.remarks}" class="short input-small required" maxlength="50"/>--%>
|
|
|
+ <input id="remarks" placeholder="最多输入10个字符。" name="remarks" class="short input-small required" type="text" value="${remaks}" maxlength="10"/>   <span class="red" id="bt">*必填</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="5" style="text-align:center;">
|
|
|
+ <shiro:hasPermission name="product:product:edit">
|
|
|
+ <input id="btnSave" class="btn btn-primary" onsubmit="return um()" type="submit" value="保 存"/>
|
|
|
+ </shiro:hasPermission>
|
|
|
+ <input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ </table>
|
|
|
+</form:form>
|
|
|
+<sys:message content="${message}"/>
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+<div class="pagination">${page}</div>
|
|
|
+<script type="text/javascript">
|
|
|
+ function um() {
|
|
|
+ // debugger
|
|
|
+ var remarks = document.getElementById("remarks").value.length;
|
|
|
+ var bt = document.getElementById("bt");
|
|
|
+ console.log('2222222222222', remarks);
|
|
|
+ if (remarks <= 0) {
|
|
|
+ bt.style.display = "inline-block";
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|