Commit 55da5a14 authored by 刘丹's avatar 刘丹

pc后台前端

parent a7037589
<script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=11555' charset='utf-8'></script> <script src='/resource/lib/js/require.min.js' data-main='/resource/js/main?version=1122555' charset='utf-8'></script>
\ No newline at end of file \ No newline at end of file
...@@ -18,17 +18,17 @@ ...@@ -18,17 +18,17 @@
<!--<li><a href="#">One more separated link</a></li>--> <!--<li><a href="#">One more separated link</a></li>-->
<!--</ul>--> <!--</ul>-->
<!--</li>--> <!--</li>-->
<li> <li role="presentation" class="active">
<a href="preview_list.html"><span class="glyphicon glyphicon-search" aria-hidden="true"></span> 预约看铺列表</a> <a href="preview_list.html" class="active"><span class="glyphicon glyphicon-search" aria-hidden="true"></span> 预约看铺列表</a>
</li> </li>
<li> <li role="presentation" class="active">
<a href="entrust_list.html"><i class="fa fa-fw fa-folder"></i> 委托转铺列表</a> <a href="entrust_list.html"> 委托转铺列表</a>
</li> </li>
<li> <li role="presentation" class="active">
<a href="consumer_list.html"><i class="fa fa-fw fa-file-o"></i> 用户列表</a> <a href="consumer_list.html"> 用户列表</a>
</li> </li>
<li> <li role="presentation" class="active">
<a href="diagram_list.html"><i class="fa fa-fw fa-file-o"></i> 首页轮播图</a> <a href="diagram_list.html"> 首页轮播图</a>
</li> </li>
</ul> </ul>
</nav> </nav>
...@@ -11,8 +11,9 @@ ...@@ -11,8 +11,9 @@
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-0"> <div class="col-lg-10 col-lg-offset-0">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading breadcrumb">
用户列表 <li><a href="#">用户列表</a></li>
<li class="active">添加用户</li>
<div class="pull-right"> <div class="pull-right">
<ul class="bread_btn"> <ul class="bread_btn">
<li> <li>
......
...@@ -11,8 +11,9 @@ ...@@ -11,8 +11,9 @@
<div class="row"> <div class="row">
<div class="col-lg-10 col-lg-offset-0"> <div class="col-lg-10 col-lg-offset-0">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading breadcrumb">
首页轮播图 <li><a href="#">首页轮播图</a></li>
<li class="active">新增广告</li>
<div class="pull-right"> <div class="pull-right">
<ul class="bread_btn"> <ul class="bread_btn">
<li> <li>
......
...@@ -128,6 +128,7 @@ body { ...@@ -128,6 +128,7 @@ body {
width: 3px; width: 3px;
z-index: -1; z-index: -1;
} }
.sidebar-nav li:first-child a { .sidebar-nav li:first-child a {
background-color: #1a1a1a; background-color: #1a1a1a;
color: #ffffff; color: #ffffff;
...@@ -135,6 +136,7 @@ body { ...@@ -135,6 +136,7 @@ body {
.sidebar-nav li:nth-child(2):before { .sidebar-nav li:nth-child(2):before {
background-color: #ff9419; background-color: #ff9419;
} }
.sidebar-nav li:nth-child(3):before { .sidebar-nav li:nth-child(3):before {
background-color: #ff9419; background-color: #ff9419;
} }
...@@ -197,4 +199,7 @@ body { ...@@ -197,4 +199,7 @@ body {
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: 1; z-index: 1;
}
.clickbg{
background: #ff9419!important;
} }
\ No newline at end of file
...@@ -3,16 +3,28 @@ ...@@ -3,16 +3,28 @@
*/ */
define (['css!style/home.css','bootstrapJs'], function () { define (['css!style/home.css','bootstrapJs'], function () {
var home = { var home = {
urls: '',
init: function () { init: function () {
//初始化dot //初始化dot
home.ldClick=sessionStorage.getItem("navclick");
home.event (); home.event ();
}, },
event: function () { event: function () {
} if(home.ldClick!==null){
$('#sidebar-wrapper ul li:nth-child('+(Number(home.ldClick)+1)+') a').addClass("clickbg");
$('#sidebar-wrapper ul li:nth-child('+(Number(home.ldClick)+1)+')').siblings().find("a").removeClass("clickbg");
}else{
$('#sidebar-wrapper ul li:nth-child(1) a').addClass("clickbg");
$('#sidebar-wrapper ul li:nth-child(1)').siblings().find("a").removeClass("clickbg");
}
$('#sidebar-wrapper ul li').click(function () {
sessionStorage.setItem("navclick",$(this).index());
});
}
} }
return home; return home;
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment