//返回顶部
$(".fixed_top").click(function(){
var body = $("html, body");
body.stop().animate({scrollTop:0}, 500, 'swing',function(){ $(".fixed_top").hide(); });
})
var currentPosition,timer;
function GoTop(){
timer=setInterval("runToTop()",1);
}
window.onmousewheel=function(){
t=document.documentElement.scrollTop || document.body.scrollTop;
if (t > 400) {
$(".fixed_top").show();
} else {
$(".fixed_top").hide();
}
}
function runToTop(){
currentPosition=document.documentElement.scrollTop || document.body.scrollTop;
currentPosition-=10;
if(currentPosition>0)
{
window.scrollTo(0,currentPosition);
}
else
{
很多人都爱穿的洞洞鞋,真的是“脚气培养皿”吗?
家中养鸟需注意!羽毛、病原体或诱发过敏性肺炎
全球人工智能安全事件引关注
为什么中国大模型便宜又好用?
中国开源AI,正在惠及全球
中国美妆加速全球“落子”
新型储能成为第一大调节性资源
上半年新改建农村公路3.4万公里
以金融之力 织密养老保障网
前7月国开行发放养老产业贷款增长超50%
物流领域释放积极信号
暑期文旅市场人气旺、新意足
打卡“龙餐馆” 读懂一座西北矿区的光影新生
入境游保持高增长态势
国产大模型改写全球AI调用版图
中国全方位推动人工智能全球治理走深走实
//返回顶部
$(".fixed_top").click(function(){
var body = $("html, body");
body.stop().animate({scrollTop:0}, 500, 'swing',function(){ $(".fixed_top").hide(); });
})
var currentPosition,timer;
function GoTop(){
timer=setInterval("runToTop()",1);
}
window.onmousewheel=function(){
t=document.documentElement.scrollTop || document.body.scrollTop;
if (t > 400) {
$(".fixed_top").show();
} else {
$(".fixed_top").hide();
}
}
function runToTop(){
currentPosition=document.documentElement.scrollTop || document.body.scrollTop;
currentPosition-=10;
if(currentPosition>0)
{
window.scrollTo(0,currentPosition);
}
else
{