PC官网修改

master
zhengchanglong 5 years ago
parent 0b8dfcdc89
commit 00858df9fb

@ -63,13 +63,12 @@
<div class="service_swiper">
<img src="__IMG__/lunbo3.png" alt="">
<a href="{:U('Index/index')}" style="z-index: 9999" id="back_to_index" class="back_to_index">
<img src="__IMG__/black.png" alt=""></a>
</div>
<a href="{:U('Index/index')}" style="z-index: 9999" id="back_to_index" class="back_to_index"><img src="__IMG__/black.png" alt=""></a>
<div class="service_info">
<div class="service_left">
<div class="list">
<li class="selected" >监护工程概述</li>
<li class="selected" onclick="javascript:void (alert('123'))">监护工程概述</li>
<li class="" >申请服务流程</li>
<li class="" >监护工程概述</li>
<li class="" >健康提示</li>
@ -253,83 +252,82 @@
<div class="foot_bom">抵制不良网页游戏拒绝盗版游戏。注意自我保护谨防受骗上当。适度游戏益脑沉迷游戏伤身。合理安排时间享受健康生活。适龄提示适合12周岁以上使用。</div>
</div>
</div>
<!----中间---->
<script type="text/javascript" src="__JS__/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="__JS__/jquery.SuperSlide.2.1.1.js"></script>
<!----中间---->
<script type="text/javascript" src="__JS__/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="__JS__/jquery.SuperSlide.2.1.1.js"></script>
<script src="__JS__/service.js"></script>
<script type="text/javascript">
<script type="text/javascript">
// jQuery("#header_1_p").slide({
// type:"menu",// 效果类型,针对菜单/导航而引入的参数(默认slide)
// titCell:".nLi", //鼠标触发对象
// targetCell:".sub", //titCell里面包含的要显示/消失的对象
// effect:"slideDown", //targetCell下拉效果
// delayTime:300 , //效果时间
// triggerTime:0, //鼠标延迟触发时间(默认150)
// returnDefault:true //鼠标移走后返回默认状态,例如默认频道是"预告片",鼠标移走后会返回"预告片"(默认false)
// });
// jQuery("#header_1_p").slide({
// type:"menu",// 效果类型,针对菜单/导航而引入的参数(默认slide)
// titCell:".nLi", //鼠标触发对象
// targetCell:".sub", //titCell里面包含的要显示/消失的对象
// effect:"slideDown", //targetCell下拉效果
// delayTime:300 , //效果时间
// triggerTime:0, //鼠标延迟触发时间(默认150)
// returnDefault:true //鼠标移走后返回默认状态,例如默认频道是"预告片",鼠标移走后会返回"预告片"(默认false)
// });
//添加收藏夹
function addBookmark(url,title){
url = url || window.location.href;;
title = title || document.title;
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else {
alert('加入收藏失败,请使用 Ctrl+D 进行添加');
return true;
}
}
$(".collect").click(function(){addBookmark();})
$(function(){
setTimeout(function(){
jQuery(".sideMenu").slide({
titCell:"h3", //鼠标触发对象
targetCell:"ul", //与titCell一一对应第n个titCell控制第n个targetCell的显示隐藏
effect:"slideDown", //targetCell下拉效果
delayTime:200 , //效果时间
triggerTime:150, //鼠标延迟触发时间默认150
defaultPlay:true,//默认是否执行效果默认true
returnDefault:false //鼠标从.sideMen移走后返回默认状态默认false
});
},500);
//添加收藏夹
function addBookmark(url,title){
url = url || window.location.href;;
title = title || document.title;
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else {
alert('加入收藏失败,请使用 Ctrl+D 进行添加');
return true;
}
}
$(".collect").click(function(){addBookmark();})
$(function(){
setTimeout(function(){
jQuery(".sideMenu").slide({
titCell:"h3", //鼠标触发对象
targetCell:"ul", //与titCell一一对应第n个titCell控制第n个targetCell的显示隐藏
effect:"slideDown", //targetCell下拉效果
delayTime:200 , //效果时间
triggerTime:150, //鼠标延迟触发时间默认150
defaultPlay:true,//默认是否执行效果默认true
returnDefault:false //鼠标从.sideMen移走后返回默认状态默认false
});
},500);
$('.float_contact_position').on('click','.top',function(){
$('body,html').animate({"scrollTop":0},500);
});
// var e = $('.newshot'),o = e.offset().top,s = e.siblings('.newcon').height();
var h = parseInt($('.aside1').height())+parseInt($('.aside2').height());
$(window).scroll(function() {
var c = $(this).scrollTop();
// var t = $('.jsfb').offset().top-c;
// if (h<s) {
// if (c>=o) {
// if (h>t) {
// e.css({'position':'absolute','top':'auto','bottom':'20px','background':'#FFFFFF','z-index':1000});
//
// } else {
// e.css({'position':'fixed','top':0,'background':'#FFFFFF','z-index':1000});
//
// }
// } else {
// e.removeAttr('style');
// }
// }
});
$('.float_contact_position').on('click','.top',function(){
$('body,html').animate({"scrollTop":0},500);
});
// var e = $('.newshot'),o = e.offset().top,s = e.siblings('.newcon').height();
var h = parseInt($('.aside1').height())+parseInt($('.aside2').height());
$(window).scroll(function() {
var c = $(this).scrollTop();
// var t = $('.jsfb').offset().top-c;
// if (h<s) {
// if (c>=o) {
// if (h>t) {
// e.css({'position':'absolute','top':'auto','bottom':'20px','background':'#FFFFFF','z-index':1000});
//
// } else {
// e.css({'position':'fixed','top':0,'background':'#FFFFFF','z-index':1000});
//
// }
// } else {
// e.removeAttr('style');
// }
// }
});
});
});
</script>
<script>
$('.tab_head ul li').click(function(){
var that = $(this);
that.siblings('li').removeClass('current');
var index= that.addClass('current').index();
$('.tab_content').find('.content_det').addClass('hidden').eq(index).removeClass('hidden');
});
</script>
</script>
<script>
$('.tab_head ul li').click(function(){
var that = $(this);
that.siblings('li').removeClass('current');
var index= that.addClass('current').index();
$('.tab_content').find('.content_det').addClass('hidden').eq(index).removeClass('hidden');
});
</script>
</block>

@ -90,7 +90,7 @@
<script type="text/javascript" src="__JS__/jquery.zclip.js"></script>
<script type="text/javascript" src="__JS__/get_cdk_index.js"></script>
<script type="text/javascript" src="__JS__/main.js"></script>
<!--<script type="text/javascript" src="__JS__/main.js"></script>-->
</head>
<body>

@ -19,6 +19,7 @@
}
.heard_tabbar ul{
display: flex;
align-items: center;
font-size: 0.24rem;
color: #5B5B5B;
margin-top: 0.54rem;

@ -2,6 +2,7 @@
width: 100%;
height: 8rem;
position: relative;
z-index: -1;
}
.service_swiper>img:first-child{
width: 100%;
@ -9,7 +10,7 @@
position: relative;
z-index: -1;
}
.service_swiper>a{
.back_to_index{
position: absolute;
width: 1.20rem;
height: 0.4rem;
@ -18,7 +19,7 @@
font-size: 0.2rem;
cursor: pointer;
}
.service_swiper> a img{
.back_to_index img{
width: 100%;
height: 100%;
}

Loading…
Cancel
Save