init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,154 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>服务商管理后台</title>
|
||||
<link href="__PUBLIC__/user/css/base.css" rel="stylesheet">
|
||||
<link href="__PUBLIC__/user/css/jquery.validate.unobtrusive.popstyle.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="__PUBLIC__/user/css/yuangongguanli_edit/layer.css" id="layuicss-skinlayercss">
|
||||
<script src="__PUBLIC__/user/js/jquery-2.0.3.min.js"></script>
|
||||
<script src="__PUBLIC__/user/js/jquery.validate.js"></script>
|
||||
<script src="__PUBLIC__/user/js/jquery.validate.unobtrusive.js"></script>
|
||||
<script src="__PUBLIC__/user/js/jquery.form.js"></script>
|
||||
<script src="__PUBLIC__/user/js/layer.js"></script>
|
||||
<script src="__PUBLIC__/user/js/post.loading.js"></script>
|
||||
<!--上传图片-->
|
||||
<link rel="stylesheet" href="__THEME__/usertpl/common/bootstrap/bootstrap.min.css">
|
||||
<link href="__PUBLIC__/plugin/file_upload/css/fileinput.min.css" media="all"
|
||||
rel="stylesheet" type="text/css" />
|
||||
<link href="__PUBLIC__/plugin/file_upload/css/default.css" media="all"
|
||||
rel="stylesheet" type="text/css" />
|
||||
<script src="__PUBLIC__/plugin/file_upload/js/fileinput.min.js"></script>
|
||||
<script src="__PUBLIC__/plugin/file_upload/js/fileinput_locale_zh.js"></script>
|
||||
<style>
|
||||
.form-control {
|
||||
margin-bottom: 20px;
|
||||
background-color: #fff;
|
||||
height: 34px;
|
||||
line-height: 30px;
|
||||
width: 100px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
|
||||
text-indent: 1em;
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.box-content2 .radio {
|
||||
float: left;
|
||||
margin: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.box-content2 label{
|
||||
vertical-align: middle;
|
||||
line-height: 35px;
|
||||
}
|
||||
.box-content2 div{
|
||||
overflow: hidden;
|
||||
}
|
||||
.radio input {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.file {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border: 1px solid #ccc;
|
||||
outline: 0;
|
||||
width: 250px;
|
||||
}
|
||||
.box-content2 .img_upload_wrp span{
|
||||
width:auto;
|
||||
}
|
||||
.box-content2 .img_upload_wrp div{
|
||||
margin: 0;
|
||||
}
|
||||
.fileinput-upload-button{
|
||||
display: none;
|
||||
}
|
||||
.box-content2 .img_upload_wrp .kv-fileinput-caption{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.form-actions input{
|
||||
line-height: normal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="hold-transition skin-blue sidebar-mini" style="cursor: pointer;">
|
||||
<link href="__PUBLIC__/user/css/yuangongguanli_edit/store.css" rel="stylesheet">
|
||||
|
||||
<div class="box-content2">
|
||||
<h3>添加关键字</h3>
|
||||
<form id="addform" class="mi-form" novalidate="novalidate" enctype="multipart/form-data"
|
||||
action="{:U('user/Wxconfig/addkeyword')}" method="post" >
|
||||
<div>
|
||||
<span><i>*</i>关键字:</span>
|
||||
<input data-val="true" type="text" value="" name="keyword" id="addkeyword_keyword" >
|
||||
</div>
|
||||
<div>
|
||||
<span><i>*</i>关键字描述:</span>
|
||||
<input data-val="true" type="text" value="" name="summary" id="addkeyword_summary" >
|
||||
</div>
|
||||
<div>
|
||||
<span><i>*</i>回复标题:</span>
|
||||
<input data-val="true" type="text" value="" name="name" id="addkeyword_name" >
|
||||
</div>
|
||||
<div style="overflow: auto" class="file_ipt_box">
|
||||
<span><i>*</i>回复图片:<br/>(图片格式)</span>
|
||||
<div class="img_upload_wrp group" style="max-width: 250px;margin-left: 120px;">
|
||||
<input type="file" id="uploadfile" name="uploadfile" class="file" style="line-height: 28px">
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span><i></i>超链接:</span>
|
||||
<input data-val="true" type="text" value="" name="url" id="addkeyword_url" >
|
||||
</div>
|
||||
<div>
|
||||
<span><i>*</i>回复样式:</span>
|
||||
<select class="form-control" name="type" id="addkeyword_type">
|
||||
<option value="请选择">请选择</option>
|
||||
<option value="1">纯文本</option>
|
||||
<option value="2">图文</option>
|
||||
<!--<option value="3">多图文</option>-->
|
||||
</select>
|
||||
</div>
|
||||
<center class="form-actions">
|
||||
<a href="javascript:history.back(-1)" class="historyback" >返回</a>
|
||||
<input type="button" class="submit" value="保 存">
|
||||
</center>
|
||||
</form>
|
||||
</div>
|
||||
<script>
|
||||
$(".submit").click(function() {
|
||||
// console.log($("#addkeyword_keyword").val());
|
||||
if (!$("#addkeyword_keyword").val()) {
|
||||
top.layer.msg('关键字',{icon:3,time:1000});
|
||||
return false;
|
||||
}
|
||||
if (!$("#addkeyword_name").val()) {
|
||||
top.layer.msg('回复标题',{icon:3,time:1000});
|
||||
return false;
|
||||
}
|
||||
if (!$("#addkeyword_summary").val()) {
|
||||
top.layer.msg('关键字描述',{icon:3,time:1000});
|
||||
return false;
|
||||
}
|
||||
if ($("#addkeyword_type").val()=="请选择") {
|
||||
top.layer.msg('回复样式',{icon:3,time:1000});
|
||||
return false;
|
||||
}
|
||||
if ($("#addkeyword_type").val()=="2") {
|
||||
if(!$("#uploadfile")[0].files[0]){
|
||||
top.layer.msg('图文回复需上传图片',{icon:3,time:1000});
|
||||
return false;
|
||||
}
|
||||
}
|
||||
$("#addform").submit();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
在新工单中引用
屏蔽一个用户