3 Star 40 Fork 14

笔下光年/Light Year Admin Using v5 For Example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lyear_layout_search_2.html 9.18 KB
一键复制 编辑 原始数据 按行查看 历史
笔下光年 提交于 2022-12-10 17:27 . feat:代码上传
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="keywords" content="LightYear,LightYearAdmin,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="Light Year Admin V5是一个基于Bootstrap v5.1.3的后台管理系统的HTML模板。">
<title>搜索布局2 - 光年(Light Year Admin V4)后台管理系统模板</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="stylesheet" type="text/css" href="css/materialdesignicons.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<!--日期选择插件-->
<link href="js/bootstrap-datepicker/bootstrap-datepicker3.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
<style>
/*示例*/
.w-120 {
width: 120px;
}
.w-120-calc {
width: -moz-calc(100% - 120px);
width: -webkit-calc(100% - 120px);
width: calc(100% - 120px);
padding-right: 15px;
}
.col-md-offset-120 {
margin-left: 120px;
}
@media (max-width: 768px) {
.form-search .control-label {
padding-top: 7px;
margin-bottom: 0;
text-align: right;
}
}
@media (max-width: 360px) {
.form-search .control-label,
.form-search .w-120-calc{
float: none!important;
width: auto!important;
padding-left: 15px;
}
.form-search .control-label {
margin-bottom: 5px;
}
}
/*搜索条件二*/
.has-feedback {
position: relative;
}
.has-feedback .form-control {
padding-right: 42.5px;
}
.form-control-feedback {
position: absolute;
top: 0;
right: 0;
z-index: 2;
display: block;
width: 38px;
height: 38px;
line-height: 38px;
text-align: center;
pointer-events: none;
}
</style>
</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">
<p>特别多搜索条件时,也可将所有搜索条件放到 <code>card-body</code> 中。</p>
<form action="#!" method="post" class="form-search">
<div class="row">
<div class="col-md-4">
<div class="mb-3 clearfix">
<label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 任务名称</label>
<div class="float-start w-120-calc">
<input type="text" class="form-control pull-left" name="name" value="" placeholder="请输入任务名称" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="mb-3 clearfix">
<label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 任务类型</label>
<div class="float-start w-120-calc">
<select name="type" class="form-select" id="type">
<option value="1">小说</option>
<option value="2">古籍</option>
<option value="3">专辑</option>
<option value="4">自传</option>
</select>
</div>
</div>
</div>
<div class="col-md-4">
<div class="mb-3 clearfix">
<label class="w-120 float-start col-form-label">任务描述</label>
<div class="float-start w-120-calc">
<input type="text" class="form-control pull-left" name="name" value="" placeholder="任务描述" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="mb-3 clearfix">
<label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 责任人</label>
<div class="float-start w-120-calc">
<input type="text" class="form-control pull-left" name="name" value="" placeholder="责任人" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="mb-3 clearfix">
<label class="w-120 float-start col-form-label"><span class="text-danger">*</span> 提醒时间</label>
<div class="float-start w-120-calc">
<input class="form-control" type="text" name="example-datepicker" data-provide = 'datepicker' placeholder="yyyy-mm-dd" value="" date-date-format="yyyy-mm-dd" data-autoclose="true" />
</div>
</div>
</div>
<div class="col-md-4">
<div class="mb-3 clearfix">
<label class="w-120 float-start col-form-label">执行人</label>
<div class="float-start w-120-calc">
<select name="type" class="form-select">
<option value="1">马小云</option>
<option value="2">马小腾</option>
<option value="3">张小阳</option>
<option value="4">唐小磊</option>
</select>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-header">搜索条件二</div>
<div class="card-body">
<div class="row clearfix my-search-box">
<form action="#!" method="post" class="col-sm-7 col-md-6">
<div class="row gy-2 gx-3 align-items-center">
<lable class="col-auto">起始时间:</lable>
<div class="col-auto">
<div class="input-group">
<select name="type" class="form-select">
<option value="2020">2020</option>
<option value="2019">2019</option>
<option value="2018">2018</option>
<option value="2017">2017</option>
</select>
<span class="input-group-text"></span>
</div>
</div>
<div class="col-auto">
<div class="input-group">
<select name="type" class="form-select">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
<span class="input-group-text"></span>
</div>
</div>
<div class="col-auto">
<div class="input-group">
<select name="type" class="form-select">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
<span class="input-group-text"></span>
</div>
</div>
</div>
</form>
<div class="col-sm-5 col-md-6">
<div class="mb-3 has-feedback mb-0">
<input class="form-control" type="text" name="keywords" value="" />
<span class="mdi mdi-magnify form-control-feedback" aria-hidden="true"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/popper.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!--日期选择插件-->
<script type="text/javascript" src="js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script type="text/javascript" src="js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="js/main.min.js"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/yinqi/light-year-admin-using-v5-for-example.git
[email protected]:yinqi/light-year-admin-using-v5-for-example.git
yinqi
light-year-admin-using-v5-for-example
Light Year Admin Using v5 For Example
master

搜索帮助