Commit 00e820faeca5781b11bf16f4ff8078518e735c04
1 parent
a50bbd27
集合平台 导航
Showing
5 changed files
with
31 additions
and
9 deletions
css/index.css
... | ... | @@ -1251,15 +1251,33 @@ header{ |
1251 | 1251 | |
1252 | 1252 | /*底部_______________________________________________*/ |
1253 | 1253 | .footer-nav{ |
1254 | - width: 1270px; | |
1254 | + max-width: 1270px; | |
1255 | 1255 | height: 130px; |
1256 | 1256 | margin: 0 auto; |
1257 | - background: url("../img/footer-bg.png") no-repeat center bottom; | |
1258 | - display: flex; | |
1257 | + background: url("../img/footer-bg-1.png") repeat-x center bottom; | |
1258 | + display: inline-flex; | |
1259 | + position: relative; | |
1260 | +} | |
1261 | +.footer-nav:before,.footer-nav:after{ | |
1262 | + content: ''; | |
1263 | + position: absolute; | |
1264 | + top:0; | |
1265 | + width: 100px; | |
1266 | + height: 130px; | |
1267 | +} | |
1268 | +.footer-nav:before{ | |
1269 | + left: -100px; | |
1270 | + background: url("../img/footer-bg-2.png") no-repeat center bottom; | |
1271 | +} | |
1272 | +.footer-nav:after{ | |
1273 | + right: -100px; | |
1274 | + background: url("../img/footer-bg-3.png") no-repeat center bottom; | |
1259 | 1275 | } |
1260 | 1276 | .footer-nav li{ |
1261 | - flex: 1; | |
1262 | - width: 76px; | |
1277 | + /*flex: 1;*/ | |
1278 | + float: left; | |
1279 | + min-width: 200px; | |
1280 | + max-width: 300px; | |
1263 | 1281 | height: 130px; |
1264 | 1282 | padding-top: 86px; |
1265 | 1283 | cursor: pointer; | ... | ... |
img/footer-bg-1.png
0 → 100644
351 Bytes
img/footer-bg-2.png
0 → 100644
4.01 KB
img/footer-bg-3.png
0 → 100644
4.1 KB
js/index.js
... | ... | @@ -51,8 +51,9 @@ var fun={ |
51 | 51 | var imgList=''; |
52 | 52 | var sysOpList=sessionStorage.getItem("sysOpProjectDTOList"); |
53 | 53 | if(sysOpList=='' ||sysOpList==null ||sysOpList==undefined){ |
54 | - menuList='<li class="parking-nav active" data-slideindex="6">任你停官网</li>'; | |
54 | + menuList+='<li class="parking-nav active" data-slideindex="6">任你停官网</li>'; | |
55 | 55 | imgList='<li class="parking-wrap" data-link="http://www.renniting.cn"></li>'; |
56 | + // menuList+='<li class="clearfix"></li>'; | |
56 | 57 | $('#box').html(imgList); |
57 | 58 | $('#controls').html(menuList); |
58 | 59 | } |
... | ... | @@ -102,12 +103,15 @@ var fun={ |
102 | 103 | menuList+='<li class="gprmxc-nav" data-slideindex="4">'+sysOpProList[i].projectName+'</li>'; |
103 | 104 | imgList+='<li class="gprmxc-wrap" data-link="http://gprmxc.renniting.cn/home/home.html"></li>'; |
104 | 105 | }else if(sysOpProList[i].projectCode==''||sysOpProList[i].projectCode==null||sysOpProList[i].projectCode==undefined){ |
105 | - menuList='<li class="parking-nav active" data-slideindex="5">任你停官网</li>'; | |
106 | + menuList+='<li class="parking-nav active" data-slideindex="5">任你停官网</li>'; | |
106 | 107 | imgList='<li class="parking-wrap" data-link="http://www.renniting.cn"></li>'; |
107 | 108 | } |
108 | - $('#box').html(imgList); | |
109 | - $('#controls').html(menuList); | |
109 | + | |
110 | + | |
110 | 111 | } |
112 | + menuList+='<div class="clearfix"></div>'; | |
113 | + $('#box').append(imgList); | |
114 | + $('#controls').append(menuList); | |
111 | 115 | }, |
112 | 116 | //用户退出登录 |
113 | 117 | loginOut:function () { | ... | ... |