#cate6 .mainmenu li.li0:nth-child(5) .menumesg {
background-color: #990000;
}
#cate6 .mainmenu li.li0:nth-child(1) .menumesg {
background-color: #01AA0A;
}
#cate6 .mainmenu li.li0:nth-child(9) .menumesg {
background-color: #8B4500;
}
#cate8 .mainmenu li .menubtn {
border-radius: 5px;
}
#cate8 .mainmenu li div img {
border-radius: 5px;
}
.themeStyle{background:#DE0C04}
var myScroll;
function loaded() {
myScroll = new iScroll('wrapper', {
snap: true,
momentum: false,
hScrollbar: false,
onScrollEnd: function () {
document.querySelector('#indicator > li.active').className = '';
document.querySelector('#indicator > li:nth-child(' + (this.currPageX+1) + ')').className = 'active';
}
});
}
document.addEventListener('DOMContentLoaded', loaded, false);
var count = document.getElementById("thelist").getElementsByTagName("img").length;
for(i=0;i
document.getElementById("thelist").getElementsByTagName("img").item(i).style.cssText = " width:"+document.body.clientWidth+"px";
}
document.getElementById("scroller").style.cssText = " width:"+document.body.clientWidth*count+"px";
setInterval(function(){
myScroll.scrollToPage('next', 0,400,count);
},3500 );
window.onresize = function(){
for(i=0;i
document.getElementById("thelist").getElementsByTagName("img").item(i).style.cssText = " width:"+document.body.clientWidth+"px";
}
document.getElementById("scroller").style.cssText = " width:"+document.body.clientWidth*count+"px";
}
echo htmlspecialchars_decode(C('copyright'))
window.shareData = {
"moduleName":"Index",
"moduleID": '0',
"imgUrl": "{pigcms:$homeInfo.picurl}",
"timeLineLink": "{pigcms::C('site_url')}{pigcms::U(Index/ACTION_NAME,array('token'=>$_GET['token']))}",
"sendFriendLink": "{pigcms::C('site_url')}{pigcms::U(Index/ACTION_NAME,array('token'=>$_GET['token']))}",
"weiboLink": "{pigcms::C('site_url')}{pigcms::U(Index/ACTION_NAME,array('token'=>$_GET['token']))}",
"tTitle": "{pigcms:$homeInfo.title}",
"tContent": "{pigcms:$homeInfo.info}"
};
window.shareData = {
"moduleName":"Index",
"moduleID": '1',
"imgUrl": "{pigcms:$homeInfo.picurl}",
"timeLineLink": "{pigcms::C('site_url')}{pigcms::U(Index/ACTION_NAME,array('token'=>$_GET['token'],'classid'=>$_GET['classid']))}",
"sendFriendLink": "{pigcms::C('site_url')}{pigcms::U(MODULE_NAME/ACTION_NAME,array('token'=>$_GET['token'],'classid'=>$_GET['classid']))}",
"weiboLink": "{pigcms::C('site_url')}{pigcms::U(MODULE_NAME/ACTION_NAME,array('token'=>$_GET['token'],'classid'=>$_GET['classid']))}",
"tTitle": "{pigcms:$homeInfo.title}",
"tContent": "{pigcms:$homeInfo.info}"
};
{pigcms:$shareScript}
一键复制
编辑
Web IDE
原始数据
按行查看
历史