代码拉取完成,页面将自动刷新
同步操作将从 笔下光年/Light Year Example 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>搜索布局 - 光年(Light Year Admin)后台管理系统模板</title>
<link rel="icon" href="favicon.ico" type="image/ico">
<meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
<meta name="author" content="yinqi">
<link href="http://lyear.itshubao.com/iframe/v4/css/bootstrap.min.css" rel="stylesheet">
<link href="http://lyear.itshubao.com/iframe/v4/css/materialdesignicons.min.css" rel="stylesheet">
<!--日期选择插件-->
<link rel="stylesheet" href="http://lyear.itshubao.com/iframe/v4/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
<link href="http://lyear.itshubao.com/iframe/v4/css/style.min.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="card">
<header class="card-header"><div class="card-title">搜索条件</div></header>
<!--默认使用-->
<div class="card-body clearfix">
<form>
<div class="form-group row">
<label for="inputEmail3" class="col-md-2 col-form-label">范围</label>
<div class="col-md-10">
<div class="input-group" data-date-format="yyyy-mm-dd">
<input class="form-control" type="text" name="start_time" value="" placeholder="开始时间">
<div class="input-group-prepend input-group-append"><span class="input-group-text">~</span></div>
<input class="form-control" type="text" name="end_time" value="" placeholder="结束时间">
</div>
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-md-2 col-form-label">单选框</label>
<div class="col-md-10 pt-2">
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="customRadioInline1" name="customRadioInline" class="custom-control-input">
<label class="custom-control-label" for="customRadioInline1">羽毛球</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="customRadioInline2" name="customRadioInline" class="custom-control-input">
<label class="custom-control-label" for="customRadioInline2">冰球</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="customRadioInline3" name="customRadioInline" class="custom-control-input">
<label class="custom-control-label" for="customRadioInline3">网球</label>
</div>
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-md-2 col-form-label">复选框</label>
<div class="col-md-10 pt-2">
<div class="custom-control custom-checkbox custom-control-inline">
<input type="checkbox" id="customCheckboxInline1" name="customCheckboxInline1" class="custom-control-input">
<label class="custom-control-label" for="customCheckboxInline1">篮球</label>
</div>
<div class="custom-control custom-checkbox custom-control-inline">
<input type="checkbox" id="customCheckboxInline2" name="customCheckboxInline2" class="custom-control-input">
<label class="custom-control-label" for="customCheckboxInline2">足球</label>
</div>
<div class="custom-control custom-checkbox custom-control-inline">
<input type="checkbox" id="customCheckboxInline3" name="customCheckboxInline2" class="custom-control-input">
<label class="custom-control-label" for="customCheckboxInline3">排球</label>
</div>
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-md-2 col-form-label">下拉列表</label>
<div class="col-md-10 row">
<div class="col-sm-3">
<select name="type" class="form-control">
<option value="1">小说</option>
<option value="2">古籍</option>
<option value="3">专辑</option>
<option value="4">自传</option>
</select>
</div>
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-md-2 col-form-label">联动下拉</label>
<div class="col-md-10 row">
<div class="col-sm-3 m-b-5">
<select name="one" class="form-control">
<option value="0">请选择省份</option>
<option value="1">北京</option>
<option value="2">上海</option>
<option value="3">天津</option>
</select>
</div>
<div class="col-sm-3 m-b-5">
<select name="two" class="form-control">
<option value="0">选择市</option>
</select>
</div>
<div class="col-sm-3 m-b-5">
<select name="three" class="form-control">
<option value="0">选择区县</option>
</select>
</div>
</div>
</div>
<div class="form-group row">
<div class="col-md-12">
<button type="submit" class="btn btn-default">确认选择</button>
</div>
</div>
</form>
</div>
</div>
</div>
<!--单行条件搜索-->
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<form class="form-inline">
<div class="form-group m-b-5">
<div class="input-group">
<div class="input-group-prepend search-bar">
<input type="hidden" name="search_field" id="search-field" value="title">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="search-btn">标题</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="javascript:void(0)" data-field="title">标题</a>
<a class="dropdown-item" href="javascript:void(0)" data-field="author">作者</a>
</div>
</div>
<input type="text" class="form-control" value="" name="keyword" placeholder="请输入关键词">
</div>
</div>
<div class="form-group m-b-5 m-l-10">
<label for="start_time" class="m-r-5">时间</label>
<div class="input-group">
<input class="form-control" type="text" name="start_time" value="" placeholder="开始时间">
<div class="input-group-prepend input-group-append"><span class="input-group-text">~</span></div>
<input class="form-control" type="text" name="end_time" value="" placeholder="结束时间">
</div>
</div>
<div class="form-group m-b-5 m-l-10">
<label for="type" class="m-r-5">分类</label>
<select name="type" class="form-control">
<option value="1">小说</option>
<option value="2">古籍</option>
<option value="3">专辑</option>
<option value="4">自传</option>
</select>
</div>
<div class="form-group m-b-5 m-l-10">
<button type="submit" class="btn btn-default">查询</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="http://lyear.itshubao.com/iframe/v4/js/jquery.min.js"></script>
<script type="text/javascript" src="http://lyear.itshubao.com/iframe/v4/js/popper.min.js"></script>
<script type="text/javascript" src="http://lyear.itshubao.com/iframe/v4/js/bootstrap.min.js"></script>
<script type="text/javascript">
;
$(function(){
// 下拉选择
$('.search-bar .dropdown-menu a').click(function() {
var field = $(this).data('field') || '';
$('#search-field').val(field);
$('#search-btn').html($(this).text());
});
});
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。