소스 검색

荣成产交banner修改 导航栏靠左

RongCheng
庞东旭 1 년 전
부모
커밋
e533b2c4d6
3개의 변경된 파일8개의 추가작업 그리고 7개의 파일을 삭제
  1. +6
    -1
      static/css/index.css
  2. BIN
      static/images/banner320.jpg
  3. +2
    -6
      static/js/project/index.js

+ 6
- 1
static/css/index.css 파일 보기

@@ -168,6 +168,10 @@
background: var(--color); background: var(--color);
} }


.top .container {
text-align: left;
}

.top ul { .top ul {
/*padding-bottom: 5px;*/ /*padding-bottom: 5px;*/
cursor: pointer; cursor: pointer;
@@ -177,6 +181,7 @@
/*border-radius: 20px;*/ /*border-radius: 20px;*/
display: inline-block; display: inline-block;
padding: 15px 0; padding: 15px 0;
margin-right: 15px;
} }


.top ul li a { .top ul li a {
@@ -371,7 +376,7 @@


.bannerRight { .bannerRight {
width: 100%; width: 100%;
height: 500px;
height: 320px;
} }


.nav_main{ .nav_main{


BIN
static/images/banner320.jpg 파일 보기

Before After
Width: 1920  |  Height: 320  |  Size: 154 KiB

+ 2
- 6
static/js/project/index.js 파일 보기

@@ -210,11 +210,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa


if(data.data.length<1){ if(data.data.length<1){
focusArray.push({ focusArray.push({
img:'../static/images/banner1.png'
},{
img:'../static/images/banner2.png'
},{
img:'../static/images/banner3.png'
img:'../static/images/banner320.jpg'
}) })
}else{ }else{
data.data.forEach(res=>{ data.data.forEach(res=>{
@@ -230,7 +226,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
new Swiper('#bannerFocusWrap', { new Swiper('#bannerFocusWrap', {
pagination: '.page-pagination', pagination: '.page-pagination',
paginationClickable: true, paginationClickable: true,
autoplay : 2000,
autoplay : 5000,
loop:true loop:true
}) })




불러오는 중...
취소
저장