Commit d4b4031e authored by 刘丹's avatar 刘丹

qianduan

parent 714a4ef9
...@@ -180,8 +180,9 @@ ...@@ -180,8 +180,9 @@
</div><!-- /.modal-content --> </div><!-- /.modal-content -->
</div><!-- /.modal --> </div><!-- /.modal -->
</div> </div>
<!-- /#新增广告模态框 --> <!-- /#新增广告模态框 -->
<div class="modal fade" id="modal-add-do" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="modal-add-do" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
<div class="modal-dialog"> <div class="modal-dialog">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
......
...@@ -74,3 +74,9 @@ ...@@ -74,3 +74,9 @@
height: 60px; height: 60px;
margin: 0 auto; margin: 0 auto;
} }
body{
padding-right: 0!important;
}
.modal{
padding-right: 0!important;
}
\ No newline at end of file
body { body {
width: 1335px; width: 1335px;
padding: 0;
margin: 0; margin: 0;
margin: 0 auto; margin: 0 auto;
background-color: #F2F2F2; background-color: #F2F2F2;
list-style:none list-style:none
padding-right:0px!important;
} }
a:hover{ a:hover{
text-decoration:none; text-decoration:none;
...@@ -49,10 +49,6 @@ body { ...@@ -49,10 +49,6 @@ body {
position: relative; position: relative;
overflow-x: hidden; overflow-x: hidden;
} }
body,
html {
height: 100%;
}
.nav .open > a { .nav .open > a {
background-color: transparent; background-color: transparent;
} }
...@@ -70,7 +66,7 @@ html { ...@@ -70,7 +66,7 @@ html {
-o-transition: all 0.5s ease; -o-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease; -webkit-transition: all 0.5s ease;
padding-left: 0; padding-left: 0;
height: 97%; height: 770px;
transition: all 0.5s ease; transition: all 0.5s ease;
} }
#wrapper.toggled { #wrapper.toggled {
...@@ -96,7 +92,7 @@ html { ...@@ -96,7 +92,7 @@ html {
display: block; display: block;
} }
#page-content-wrapper { #page-content-wrapper {
width: 101%; width: 100%;
} }
.navbar{ .navbar{
border: none; border: none;
......
...@@ -4,33 +4,15 @@ ...@@ -4,33 +4,15 @@
define (['css!style/home.css','bootstrapJs'], function () { define (['css!style/home.css','bootstrapJs'], function () {
var home = { var home = {
urls: '', urls: '',
isClosed : false,
init: function () { init: function () {
//初始化dot //初始化dot
home.event (); home.event ();
}, },
event: function () { event: function () {
$('.hamburger').click(function () {
home.hamburger_cross();
});
$('[data-toggle="offcanvas"]').click(function () {
$('#wrapper').toggleClass('toggled');
});
},
hamburger_cross : function(){
if (home.isClosed == true) {
$('.overlay').hide();
$('.hamburger').removeClass('is-open');
$('.hamburger').addClass('is-closed');
home.isClosed = false;
} else {
$('.overlay').show();
$('.hamburger').removeClass('is-closed');
$('.hamburger').addClass('is-open');
home.isClosed = true;
}
} }
} }
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