2019.05.08 70週年社慶 封面修改
修改功能:
1、集團動態新聞由滾動變成不滾動
2、增加官網皮膚管理,背景渲染
實現效果:
修改位置:
<!-- index.html-->
<div class="index_all">
<div class="seven_zjdaily">
<img src="assets/images/tj/seven.png" alt="70週年圖片">
</div>
<!--增加一層div,直接位於body下面,增加index_all類,設置它的樣式background-->
/* base.css*/
.index_all{
width: 100%;
height: 100%;
background-color: red;/*2019-05.08*/
background:url('../images/tj/seven_bg.png') no-repeat;
background-size: 100% 100%;
}
.contener {
width: 1080px;
/*height: 800px;*/
height: 100%;
margin: 0 auto;
position: relative;
padding-top: 10px;
padding-left: 42px;
background-color: #fff;
}
.seven_zjdaily{
width: 1080px;
text-align: center;
margin: 0 auto;
}
.seven_zjdaily img{
width: 70%;
}
// base.js
//開始文字滾動
if(gnFlowTextTimer==null){
setTimeout(gnFlowText,40);
}
//將以上文字滾動部分註釋掉
2019.05.20 恢復頁面
修改功能:
1、去掉70週年的背景
2、添加回集團動態新聞滾動
實現效果
修改位置:
<!-- index.html-->
<div class="seven_zjdaily">
<img src="assets/images/tj/seven.png" alt="70週年圖片">
</div>
<!--去掉以上部分,‘index_all’依然保留這個div-->
/* index.html*/
.index_all{
width: 100%;
height: 100%;
/*background-color: red;*//*2019-05.08*/
/*background:url('../images/tj/seven_bg.png') no-repeat;*/
background-size: 100% 100%;
}
/* 註釋掉backgroud部分,其它的保留*/
// base.js
//開始文字滾動
if(gnFlowTextTimer==null){
setTimeout(gnFlowText,40);
}
//去掉以上文字的註釋,打開功能