You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
5.6 KiB
131 lines
5.6 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title></title>
|
|
<meta name="renderer" content="webkit" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="format-detection" content="telephone=no" />
|
|
<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
|
|
<link rel="stylesheet" href="../../css/public.css" media="all" />
|
|
<link href="../../css/newtheme/layerextend.css" rel="stylesheet" media="all" />
|
|
<link rel="stylesheet" href="../../iconfont/iconfont.css" media="all" />
|
|
<link href="../../js/kindeditor/themes/default/default.css" rel="stylesheet" />
|
|
<link href="../../js/kindeditor/plugins/code/prettify.css" rel="stylesheet" />
|
|
<script src="../../js/kindeditor/kindeditor-all.js"></script>
|
|
<script src="../../js/kindeditor/lang/zh-CN.js"></script>
|
|
<script src="../../js/kindeditor/plugins/code/prettify.js"></script>
|
|
<style type="text/css">
|
|
.file {
|
|
position: relative;
|
|
display: inline-block;
|
|
background: #2dadb9;
|
|
border: 1px solid #2dadb9;
|
|
border-radius: 4px;
|
|
padding: 4px 12px;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
text-indent: 0;
|
|
line-height: 30px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.file input {
|
|
position: absolute;
|
|
font-size: 100px;
|
|
right: 0;
|
|
top: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.file:hover {
|
|
background: #2fb7c3;
|
|
border-color: #2dadb9;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body class="childrenBody">
|
|
<form class="layui-form" style="width: 95%; height:90%; margin-top:15px">
|
|
<input class="layui-input ID" type="hidden" />
|
|
<input class="layui-input Action" type="hidden" />
|
|
<div class="layui-form-item layui-row">
|
|
<label class="layui-form-label label-required-next">
|
|
标题
|
|
</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" class="layui-input" id="art_title" placeholder="请输入标题" lay-verify="required" autocomplete="off" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item layui-row">
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label label-required-next">
|
|
类别
|
|
</label>
|
|
<div class="layui-input-inline" style="margin-left:0px">
|
|
<select id="cls" lay-filter="cls" lay-verify="required">
|
|
</select>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label label-required-next">
|
|
类型
|
|
</label>
|
|
<div class="layui-input-inline" style="margin-left:20px">
|
|
<select id="ntype" lay-filter="ntype" lay-verify="required">
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="layui-form-item layui-row ">
|
|
<label class="layui-form-label">
|
|
来源
|
|
</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" class="layui-input" id="art_come" placeholder="请输入来源" autocomplete="off" />
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item layui-row ">
|
|
<label class="layui-form-label">
|
|
文件类型
|
|
</label>
|
|
<div class="layui-input-block">
|
|
<select id="file_type" lay-filter="file_type" lay-verify="required">
|
|
<option value="">请选择文件类型</option>
|
|
<option value="0">视频</option>
|
|
<option value="1">音频</option>
|
|
<option value="2">其它</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item layui-row layui-col-xs12">
|
|
<label class="layui-form-label">
|
|
文件上传
|
|
</label>
|
|
<div class="layui-input-block">
|
|
<button type="button" class="layui-btn" id="uploadFile"><i class="layui-icon"></i>上传文件</button>
|
|
<a id="checkFile" href="" style="color: rgb(254, 253, 255) !important;display:none;">查看文件</a>
|
|
<input id="file_url" type="hidden" value="" />
|
|
<div style="color:#ffffff;">允许文件上传格式:视频(mp4)音频(mp3)其他(xls、xlsx、doc、docx、pdf、pptx、ppt)</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-center">
|
|
<a class="layui-btn layui-btn-normal add_btn" style="margin-bottom:15px; width:100px;font-size: 17px;" lay-filter="AddEdit" lay-submit=lay-submit>提 交</a>
|
|
</div>
|
|
</form>
|
|
<script src="../../js/jquery-2.1.3.min.js" type="text/javascript"></script>
|
|
<script type="text/javascript" src="../../layui/layui.js"></script>
|
|
<script type="text/javascript" src="../../js/jq_extend.js"></script>
|
|
<script src="edit.js" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|
|
|