1 Star 0 Fork 646

MrLsss/Light Year Admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lyear_ui_other.html 37.18 KB
一键复制 编辑 原始数据 按行查看 历史
笔下光年 提交于 2020-08-28 11:31 . 增加两项示例
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
<!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="css/bootstrap.min.css" rel="stylesheet">
<link href="css/materialdesignicons.min.css" rel="stylesheet">
<link href="css/style.min.css" rel="stylesheet">
</head>
<body>
<div class="lyear-layout-web">
<div class="lyear-layout-container">
<!--左侧导航-->
<aside class="lyear-layout-sidebar">
<!-- logo -->
<div id="logo" class="sidebar-header">
<a href="index.html"><img src="images/logo-sidebar.png" title="LightYear" alt="LightYear" /></a>
</div>
<div class="lyear-layout-sidebar-scroll">
<nav class="sidebar-main">
<ul class="nav nav-drawer">
<li class="nav-item"> <a href="index.html"><i class="mdi mdi-home"></i> 后台首页</a> </li>
<li class="nav-item nav-item-has-subnav active open">
<a href="javascript:void(0)"><i class="mdi mdi-palette"></i> UI 元素</a>
<ul class="nav nav-subnav">
<li> <a href="lyear_ui_buttons.html">按钮</a> </li>
<li> <a href="lyear_ui_cards.html">卡片</a> </li>
<li> <a href="lyear_ui_grid.html">格栅</a> </li>
<li> <a href="lyear_ui_icons.html">图标</a> </li>
<li> <a href="lyear_ui_tables.html">表格</a> </li>
<li> <a href="lyear_ui_modals.html">模态框</a> </li>
<li> <a href="lyear_ui_tooltips_popover.html">提示 / 弹出框</a> </li>
<li> <a href="lyear_ui_alerts.html">警告框</a> </li>
<li> <a href="lyear_ui_pagination.html">分页</a> </li>
<li> <a href="lyear_ui_progress.html">进度条</a> </li>
<li> <a href="lyear_ui_tabs.html">标签页</a> </li>
<li> <a href="lyear_ui_typography.html">排版</a> </li>
<li> <a href="lyear_ui_step.html">步骤</a> </li>
<li class="active"> <a href="lyear_ui_other.html">其他</a> </li>
</ul>
</li>
<li class="nav-item nav-item-has-subnav">
<a href="javascript:void(0)"><i class="mdi mdi-format-align-justify"></i> 表单</a>
<ul class="nav nav-subnav">
<li> <a href="lyear_forms_elements.html">基本元素</a> </li>
<li> <a href="lyear_forms_radio.html">单选框</a> </li>
<li> <a href="lyear_forms_checkbox.html">复选框</a> </li>
<li> <a href="lyear_forms_switch.html">开关</a> </li>
</ul>
</li>
<li class="nav-item nav-item-has-subnav">
<a href="javascript:void(0)"><i class="mdi mdi-file-outline"></i> 示例页面</a>
<ul class="nav nav-subnav">
<li> <a href="lyear_pages_doc.html">文档列表</a> </li>
<li> <a href="lyear_pages_gallery.html">图库列表</a> </li>
<li> <a href="lyear_pages_config.html">网站配置</a> </li>
<li> <a href="lyear_pages_rabc.html">设置权限</a> </li>
<li> <a href="lyear_pages_add_doc.html">新增文档</a> </li>
<li> <a href="lyear_pages_guide.html">表单向导</a> </li>
<li> <a href="lyear_pages_login.html">登录页面</a> </li>
<li> <a href="lyear_pages_login_2.html">登录页面2</a> </li>
<li> <a href="lyear_pages_login_3.html">登录页面3</a> </li>
<li> <a href="lyear_pages_login_4.html">登录页面4</a> </li>
<li> <a href="lyear_pages_error.html">错误页面</a> </li>
</ul>
</li>
<li class="nav-item nav-item-has-subnav">
<a href="javascript:void(0)"><i class="mdi mdi-language-javascript"></i> JS 插件</a>
<ul class="nav nav-subnav">
<li> <a href="lyear_js_datepicker.html">日期选取器</a> </li>
<li> <a href="lyear_js_sliders.html">滑块</a> </li>
<li> <a href="lyear_js_colorpicker.html">选色器</a> </li>
<li> <a href="lyear_js_chartjs.html">Chart.js</a> </li>
<li> <a href="lyear_js_jconfirm.html">对话框</a> </li>
<li> <a href="lyear_js_tags_input.html">标签插件</a> </li>
<li> <a href="lyear_js_notify.html">通知消息</a> </li>
</ul>
</li>
</ul>
</nav>
<div class="sidebar-footer">
<p class="copyright">Copyright &copy; 2019. <a target="_blank" href="http://lyear.itshubao.com">IT书包</a> All rights reserved.</p>
</div>
</div>
</aside>
<!--End 左侧导航-->
<!--头部信息-->
<header class="lyear-layout-header">
<nav class="navbar navbar-default">
<div class="topbar">
<div class="topbar-left">
<div class="lyear-aside-toggler">
<span class="lyear-toggler-bar"></span>
<span class="lyear-toggler-bar"></span>
<span class="lyear-toggler-bar"></span>
</div>
<span class="navbar-page-title"> UI元素 - 其他 </span>
</div>
<ul class="topbar-right">
<li class="dropdown dropdown-profile">
<a href="javascript:void(0)" data-toggle="dropdown">
<img class="img-avatar img-avatar-48 m-r-10" src="images/users/avatar.jpg" alt="笔下光年" />
<span>笔下光年 <span class="caret"></span></span>
</a>
<ul class="dropdown-menu dropdown-menu-right">
<li> <a href="lyear_pages_profile.html"><i class="mdi mdi-account"></i> 个人信息</a> </li>
<li> <a href="lyear_pages_edit_pwd.html"><i class="mdi mdi-lock-outline"></i> 修改密码</a> </li>
<li> <a href="javascript:void(0)"><i class="mdi mdi-delete"></i> 清空缓存</a></li>
<li class="divider"></li>
<li> <a href="lyear_pages_login.html"><i class="mdi mdi-logout-variant"></i> 退出登录</a> </li>
</ul>
</li>
<!--切换主题配色-->
<li class="dropdown dropdown-skin">
<span data-toggle="dropdown" class="icon-palette"><i class="mdi mdi-palette"></i></span>
<ul class="dropdown-menu dropdown-menu-right" data-stopPropagation="true">
<li class="drop-title"><p>主题</p></li>
<li class="drop-skin-li clearfix">
<span class="inverse">
<input type="radio" name="site_theme" value="default" id="site_theme_1" checked>
<label for="site_theme_1"></label>
</span>
<span>
<input type="radio" name="site_theme" value="dark" id="site_theme_2">
<label for="site_theme_2"></label>
</span>
<span>
<input type="radio" name="site_theme" value="translucent" id="site_theme_3">
<label for="site_theme_3"></label>
</span>
</li>
<li class="drop-title"><p>LOGO</p></li>
<li class="drop-skin-li clearfix">
<span class="inverse">
<input type="radio" name="logo_bg" value="default" id="logo_bg_1" checked>
<label for="logo_bg_1"></label>
</span>
<span>
<input type="radio" name="logo_bg" value="color_2" id="logo_bg_2">
<label for="logo_bg_2"></label>
</span>
<span>
<input type="radio" name="logo_bg" value="color_3" id="logo_bg_3">
<label for="logo_bg_3"></label>
</span>
<span>
<input type="radio" name="logo_bg" value="color_4" id="logo_bg_4">
<label for="logo_bg_4"></label>
</span>
<span>
<input type="radio" name="logo_bg" value="color_5" id="logo_bg_5">
<label for="logo_bg_5"></label>
</span>
<span>
<input type="radio" name="logo_bg" value="color_6" id="logo_bg_6">
<label for="logo_bg_6"></label>
</span>
<span>
<input type="radio" name="logo_bg" value="color_7" id="logo_bg_7">
<label for="logo_bg_7"></label>
</span>
<span>
<input type="radio" name="logo_bg" value="color_8" id="logo_bg_8">
<label for="logo_bg_8"></label>
</span>
</li>
<li class="drop-title"><p>头部</p></li>
<li class="drop-skin-li clearfix">
<span class="inverse">
<input type="radio" name="header_bg" value="default" id="header_bg_1" checked>
<label for="header_bg_1"></label>
</span>
<span>
<input type="radio" name="header_bg" value="color_2" id="header_bg_2">
<label for="header_bg_2"></label>
</span>
<span>
<input type="radio" name="header_bg" value="color_3" id="header_bg_3">
<label for="header_bg_3"></label>
</span>
<span>
<input type="radio" name="header_bg" value="color_4" id="header_bg_4">
<label for="header_bg_4"></label>
</span>
<span>
<input type="radio" name="header_bg" value="color_5" id="header_bg_5">
<label for="header_bg_5"></label>
</span>
<span>
<input type="radio" name="header_bg" value="color_6" id="header_bg_6">
<label for="header_bg_6"></label>
</span>
<span>
<input type="radio" name="header_bg" value="color_7" id="header_bg_7">
<label for="header_bg_7"></label>
</span>
<span>
<input type="radio" name="header_bg" value="color_8" id="header_bg_8">
<label for="header_bg_8"></label>
</span>
</li>
<li class="drop-title"><p>侧边栏</p></li>
<li class="drop-skin-li clearfix">
<span class="inverse">
<input type="radio" name="sidebar_bg" value="default" id="sidebar_bg_1" checked>
<label for="sidebar_bg_1"></label>
</span>
<span>
<input type="radio" name="sidebar_bg" value="color_2" id="sidebar_bg_2">
<label for="sidebar_bg_2"></label>
</span>
<span>
<input type="radio" name="sidebar_bg" value="color_3" id="sidebar_bg_3">
<label for="sidebar_bg_3"></label>
</span>
<span>
<input type="radio" name="sidebar_bg" value="color_4" id="sidebar_bg_4">
<label for="sidebar_bg_4"></label>
</span>
<span>
<input type="radio" name="sidebar_bg" value="color_5" id="sidebar_bg_5">
<label for="sidebar_bg_5"></label>
</span>
<span>
<input type="radio" name="sidebar_bg" value="color_6" id="sidebar_bg_6">
<label for="sidebar_bg_6"></label>
</span>
<span>
<input type="radio" name="sidebar_bg" value="color_7" id="sidebar_bg_7">
<label for="sidebar_bg_7"></label>
</span>
<span>
<input type="radio" name="sidebar_bg" value="color_8" id="sidebar_bg_8">
<label for="sidebar_bg_8"></label>
</span>
</li>
</ul>
</li>
<!--切换主题配色-->
</ul>
</div>
</nav>
</header>
<!--End 头部信息-->
<!--页面主要内容-->
<main class="lyear-layout-content">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header"><h4>标签</h4></div>
<div class="card-body">
<span class="label label-default">青春校园</span>
<span class="label label-primary">历史小说</span>
<span class="label label-success">当代小说</span>
<span class="label label-info">都市小说</span>
<span class="label label-warning">科幻小说</span>
<span class="label label-danger">名人传记</span>
<span class="label label-dark">悬疑小说</span>
<span class="label label-secondary">古文典籍</span>
<span class="label label-purple">玄幻仙侠</span>
<span class="label label-pink">言情小说</span>
<span class="label label-cyan">国外名著</span>
<span class="label label-yellow">武侠小说</span>
<span class="label label-brown">儿童文学</span>
<div class="m-t-10">
<span class="label label-outline-default">青春校园</span>
<span class="label label-outline-primary">历史小说</span>
<span class="label label-outline-success">当代小说</span>
<span class="label label-outline-info">都市小说</span>
<span class="label label-outline-warning">科幻小说</span>
<span class="label label-outline-danger">名人传记</span>
<span class="label label-outline-dark">悬疑小说</span>
<span class="label label-outline-secondary">古文典籍</span>
<span class="label label-outline-purple">玄幻仙侠</span>
<span class="label label-outline-pink">言情小说</span>
<span class="label label-outline-cyan">国外名著</span>
<span class="label label-outline-yellow">武侠小说</span>
<span class="label label-outline-brown">儿童文学</span>
</div>
<div class="m-t-10">
<span class="label label-primary-light">历史小说</span>
<span class="label label-success-light">当代小说</span>
<span class="label label-info-light">都市小说</span>
<span class="label label-warning-light">科幻小说</span>
<span class="label label-danger-light">名人传记</span>
<span class="label label-purple-light">玄幻仙侠</span>
<span class="label label-brown-light">儿童文学</span>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header"><h4>按钮效果</h4></div>
<div class="card-body">
<button type="button" id="myButton" data-loading-text="处理中..." class="btn btn-primary" autocomplete="off">
等待状态
</button>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header"><h4>折叠效果</h4></div>
<div class="card-body">
<h5>普通折叠效果</h5>
<!--折叠效果-->
<a class="btn btn-primary" role="button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
点击链接
</a>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
带data-target的按钮
</button>
<div class="collapse m-t-10" id="collapseExample">
<div class="well">
笑谈渴饮匈奴血,壮志饥餐胡虏肉。
</div>
</div>
<!--折叠效果 End-->
<hr>
<h5>手风琴效果</h5>
<!--手风琴效果-->
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-primary">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
第一回 赈民饥包公奉旨 图谋害庞相施计
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
话说大宋开基之主太祖赵匡胤,此位天子,原乃上界赤龙临凡,英雄猛勇,豪侠情怀,创开四百年天下。陈桥兵变,黄袍加身,代位于后周而归一统。前书已有《两宋》表明,兹不絮谈。且说大宋相传继统四世仁宗嘉佑王,当时天子英明,群臣为国,四方宁靖,百姓安康。前者宋太祖既殁之后,杨家父子众英雄相继而亡。今者人得五虎,英雄佐粥,保护江山,扫除国敌。后话休题多表。忽一日,仁宗天子临朝。但见祥光灿烂,瑞色辉煌。
</div>
</div>
</div>
<div class="panel panel-cyan">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
第二回 孙兵部到关权理 狄元帅奉旨征西
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
且说三关狄元帅平生梗直,铁性无私,智勇双全。自从幼年山西家乡遭逢水难,王禅老祖救了他,带上水帘洞传授兵书武略,知他仙道无缘,王侯有位。学艺数年,命他下山扶助宋君,原是一条国栋金梁,与单单赛花公主有宿世良缘。自从押送征衣,上年大破西辽,仁宗天子知他英勇,杨宗保败亡,便封他镇守此关。号令威严,兵遵将应,就是朝中文武,何人不看重这小英雄?
</div>
</div>
</div>
<div class="panel panel-danger">
<div class="panel-heading" role="tab" id="headingThree">
<h4 class="panel-title">
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
第三回 火叉岗焦先锋问路 安平关秃总兵阵亡
</a>
</h4>
</div>
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="panel-body">
话说狄元帅奉旨征代西辽,以为本事高强,所以只带得五万雄兵,四员虎将。点兵三千,令焦廷贵为前部先锋,点孟定国领兵三千为后队解粮官,大队人马排开行伍向西辽大道而行。且喜天色晴明,风和日暖,正是行兵的时候。一自出了雄关,行有十余天,人烟稠密地方还属中原辖管,也有文官武职接送,纷纷不绝不断。元帅一路甚是安然,日行程夜睡宿,不再烦谈。
</div>
</div>
</div>
</div>
<!--手风琴效果 End-->
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-header"><h4>幻灯片一</h4></div>
<div class="card-body">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="item active"><img src="images/img-slide-1.jpg" alt="图片一"></div>
<div class="item"><img src="images/img-slide-2.jpg" alt="图片二"></div>
<div class="item"><img src="images/img-slide-3.jpg" alt="图片三"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-header"><h4>幻灯片二</h4></div>
<div class="card-body">
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active"><img src="images/img-slide-2.jpg" alt="图片一"></div>
<div class="item"><img src="images/img-slide-3.jpg" alt="图片二"></div>
<div class="item"><img src="images/img-slide-4.jpg" alt="图片三"></div>
</div>
<a class="left carousel-control" href="#carouselExampleControls" role="button" data-slide="prev"><span class="icon-left-open-big icon-prev" aria-hidden="true"></span><span class="sr-only">Previous</span></a>
<a class="right carousel-control" href="#carouselExampleControls" role="button" data-slide="next"><span class="icon-right-open-big icon-next" aria-hidden="true"></span><span class="sr-only">Next</span></a>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-header"><h4>幻灯片三</h4></div>
<div class="card-body">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="item active"><img src="images/img-slide-3.jpg" alt="图片一"></div>
<div class="item"><img src="images/img-slide-4.jpg" alt="图片二"></div>
<div class="item"><img src="images/img-slide-5.jpg" alt="图片三"></div>
</div>
<a class="left carousel-control" href="#carouselExampleIndicators" role="button" data-slide="prev"><span class="icon-left-open-big icon-prev" aria-hidden="true"></span><span class="sr-only">Previous</span></a>
<a class="right carousel-control" href="#carouselExampleIndicators" role="button" data-slide="next"><span class="icon-right-open-big icon-next" aria-hidden="true"></span><span class="sr-only">Next</span></a>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header"><h4>列表组</h4></div>
<div class="card-body">
<ul class="list-group">
<li class="list-group-item">神箭连飞,穿云惊小侠 飞刀一掷,劈果救佳人</li>
<li class="list-group-item">峻岭飞骑,仇家窥帐幕 金针解穴,医道配神功</li>
<li class="list-group-item">为避强仇 逃生来塞外 欲寻侠士 冒险上冰峰</li>
<li class="list-group-item">湖畔寄情 拐仙施妙手 冰河怪影 天女慑群豪</li>
<li class="list-group-item">流水落花 深仇伤寂寞 珠宫贝阙 往事诉辛酸</li>
</ul>
<p>给列表组加入徽章组件,它会自动被放在右边。</p>
<ul class="list-group">
<li class="list-group-item">
<span class="badge">14</span>
天女飞花 仙姝应有恨 冰川映月 骚客动芳心
</li>
<li class="list-group-item">
<span class="badge">2</span>
剑气射珠宫 亦真亦幻 柔情联彩笔 宜喜宜嗔
</li>
<li class="list-group-item">
<span class="badge">1</span>
沧海桑田 仙山伤劫后 白云苍狗 侍女话前因
</li>
</ul>
<p><code>&lt;a&gt;</code> 标签代替 <code>&lt;li&gt;</code> 标签可以组成一个全部是链接的列表组(还要注意的是,我们需要将 <code>&lt;ul&gt;</code> 标签替换为 <code>&lt;div&gt;</code> 标签)。没必要给列表组中的每个元素都加一个父元素。</p>
<div class="list-group">
<a href="#!" class="list-group-item active">
《冰川天女传》
</a>
<a href="#!" class="list-group-item">妙境华严 艳说神仙侣 仙音玉笛 喜联异国情</a>
<a href="#!" class="list-group-item">漠外隐神龙 高深莫测 荒山逢异士 虚实难知</a>
<a href="#!" class="list-group-item">峻岭飞骑 书生施妙手 神弹却敌 天女护金瓶</a>
<a href="#!" class="list-group-item">琴韵寄深心 尘缘未了 边城窥隐秘 旧地重来</a>
</div>
<p>列表组中的元素也可以直接就是按钮(也同时意味着父元素必须是 <code>&lt;div&gt;</code> 而不能用 <code>&lt;ul&gt;</code> 了),并且无需为每个按钮单独包裹一个父元素。<strong class="text-danger">注意不要使用标准的 <code>.btn</code> 类!</strong></p>
<div class="list-group">
<button type="button" class="list-group-item">第一回 张天师祈禳瘟疫 洪太尉误走妖魔</button>
<button type="button" class="list-group-item">第二回 王教头私走延安府 九纹龙大闹史家村</button>
<button type="button" class="list-group-item">第三回 史大郎夜走华阴县 鲁提辖拳打镇关西</button>
<button type="button" class="list-group-item">第四回 赵员外重修文殊院 鲁智深大闹五台山</button>
<button type="button" class="list-group-item">第五回 小霸王醉入销金帐 花和尚大闹桃花村</button>
</div>
<p><code>.list-group-item</code> 添加 <code>.disabled</code> 类可以让单个条目显示为灰色,表现出被禁用的效果。</p>
<div class="list-group">
<a href="#!" class="list-group-item disabled">
Cras justo odio
</a>
<a href="#!" class="list-group-item">第六回 九纹龙剪径赤松林 鲁智深火烧瓦罐寺</a>
<a href="#!" class="list-group-item">第七回 花和尚倒拔垂杨柳 豹子头误入白虎堂</a>
<a href="#!" class="list-group-item">第八回 林教头刺配沧州道 鲁智深大闹野猪林</a>
<a href="#!" class="list-group-item">第九回 柴进门招天下客 林冲棒打洪教头</a>
</div>
<p>为列表中的条目添加情境类,默认样式或链接列表都可以。还可以为列表中的条目设置 <code>.active</code> 状态。</p>
<ul class="list-group">
<li class="list-group-item list-group-item-success">第十回 林教头风雪山神庙 陆虞候火烧草料场</li>
<li class="list-group-item list-group-item-info">第十一回 朱贵水亭施号箭 林冲雪夜上梁山</li>
<li class="list-group-item list-group-item-warning">第十二回 梁山泊林冲落草 汴京城杨志卖刀</li>
<li class="list-group-item list-group-item-danger">第十三回 急先锋东郭争功 青面兽北京斗武</li>
</ul>
<div class="list-group">
<a href="#!" class="list-group-item list-group-item-success">第十四回 赤发鬼醉卧灵官殿 晁天王认义东溪村</a>
<a href="#!" class="list-group-item list-group-item-info">第十五回 吴学究说三阮撞筹 公孙胜应七星聚义</a>
<a href="#!" class="list-group-item list-group-item-warning">第十六回 杨志押送金银担 吴用智取生辰纲</a>
<a href="#!" class="list-group-item list-group-item-danger">第十七回 花和尚单打二龙山 青面兽双夺宝珠寺</a>
</div>
<p>列表组中的每个元素都可以是任何 HTML 内容,甚至是像下面的带链接的列表组。</p>
<div class="list-group">
<a href="#!" class="list-group-item active">
<h4 class="list-group-item-heading">第十八回 美髯公智稳插翅虎 宋公明私放晁天王</h4>
<p class="list-group-item-text">当时何观察与兄弟何清道:“这锭银子,是官司信赏的,非是我把来赚你,后头再有重赏。</p>
</a>
<a href="#!" class="list-group-item">
<h4 class="list-group-item-heading">第十九回 林冲水寨大?火 晁盖梁山小夺泊</h4>
<p class="list-group-item-text">话说当下何观察领了知府台旨下厅来,随即到机密房里,与众人商议。</p>
</a>
<a href="#!" class="list-group-item">
<h4 class="list-group-item-heading">第二十回 梁山泊义士尊晁盖 郓城县月夜走刘唐</h4>
<p class="list-group-item-text">话说林冲杀了王伦,手拿尖刀,指着众人说道:“据林冲虽系禁军遭配到此,今日为众豪杰至此相聚,争奈王伦心胸狭隘,嫉贤妒能,推故不纳,因此火并了这厮,非林冲要图此位。</p>
</a>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card">
<div class="card-header"><h4>徽章</h4></div>
<div class="card-body">
<a href="#!">收件箱 <span class="badge">42</span></a>
<br/><br/>
<button class="btn btn-primary" type="button">
消息 <span class="badge">4</span>
</button>
<p class="m-t-10">使用颜色</p>
<span class="badge bg-primary">0</span>
<span class="badge bg-success">5</span>
<span class="badge bg-info">10</span>
<p class="m-t-10">圆点</p>
<span class="badge badge-dot-sm badge-dot bg-primary"></span>
<span class="badge badge-dot-sm badge-dot bg-success"></span>
<span class="badge badge-dot-sm badge-dot bg-info"></span>
<span class="badge badge-dot-sm badge-dot bg-warning"></span>
<span class="badge badge-dot-sm badge-dot bg-danger"></span>
<span class="badge badge-dot-sm badge-dot bg-dark"></span>
<span class="badge badge-dot-sm badge-dot bg-secondary"></span>
<span class="badge badge-dot-sm badge-dot bg-purple"></span>
<span class="badge badge-dot-sm badge-dot bg-pink"></span>
<span class="badge badge-dot-sm badge-dot bg-cyan"></span>
<span class="badge badge-dot-sm badge-dot bg-yellow"></span>
<span class="badge badge-dot-sm badge-dot bg-brown"></span>
<br/>
<span class="badge badge-dot bg-primary"></span>
<span class="badge badge-dot bg-success"></span>
<span class="badge badge-dot bg-info"></span>
<span class="badge badge-dot bg-warning"></span>
<span class="badge badge-dot bg-danger"></span>
<span class="badge badge-dot bg-dark"></span>
<span class="badge badge-dot bg-secondary"></span>
<span class="badge badge-dot bg-purple"></span>
<span class="badge badge-dot bg-pink"></span>
<span class="badge badge-dot bg-cyan"></span>
<span class="badge badge-dot bg-yellow"></span>
<span class="badge badge-dot bg-brown"></span>
<br/>
<span class="badge badge-dot-lg badge-dot bg-primary"></span>
<span class="badge badge-dot-lg badge-dot bg-success"></span>
<span class="badge badge-dot-lg badge-dot bg-info"></span>
<span class="badge badge-dot-lg badge-dot bg-warning"></span>
<span class="badge badge-dot-lg badge-dot bg-danger"></span>
<span class="badge badge-dot-lg badge-dot bg-dark"></span>
<span class="badge badge-dot-lg badge-dot bg-secondary"></span>
<span class="badge badge-dot-lg badge-dot bg-purple"></span>
<span class="badge badge-dot-lg badge-dot bg-pink"></span>
<span class="badge badge-dot-lg badge-dot bg-cyan"></span>
<span class="badge badge-dot-lg badge-dot bg-yellow"></span>
<span class="badge badge-dot-lg badge-dot bg-brown"></span>
<br/>
<span class="badge badge-dot-xl badge-dot bg-primary"></span>
<span class="badge badge-dot-xl badge-dot bg-success"></span>
<span class="badge badge-dot-xl badge-dot bg-info"></span>
<span class="badge badge-dot-xl badge-dot bg-warning"></span>
<span class="badge badge-dot-xl badge-dot bg-danger"></span>
<span class="badge badge-dot-xl badge-dot bg-dark"></span>
<span class="badge badge-dot-xl badge-dot bg-secondary"></span>
<span class="badge badge-dot-xl badge-dot bg-purple"></span>
<span class="badge badge-dot-xl badge-dot bg-pink"></span>
<span class="badge badge-dot-xl badge-dot bg-cyan"></span>
<span class="badge badge-dot-xl badge-dot bg-yellow"></span>
<span class="badge badge-dot-xl badge-dot bg-brown"></span>
</div>
</div>
</div>
<!--end 徽章-->
</div>
</div>
</main>
<!--End 页面主要内容-->
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="js/main.min.js"></script>
<script>
// 按钮示例
$('#myButton').on('click', function () {
var $btn = $(this).button('loading');
setTimeout(function() {
$btn.button("reset")
}, 3e3)
});
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/MrLsss/Light-Year-Admin-Template.git
git@gitee.com:MrLsss/Light-Year-Admin-Template.git
MrLsss
Light-Year-Admin-Template
Light Year Admin
master

搜索帮助