Web/!/auto-generate/js/switch-style.js
(完整代码) 1KB(function ($j) {
switch_style = {
onReady: function () {
this.switch_style_click();
},
switch_style_click: function(){
$(".color").click(function(){
var id = $(this).attr("id");
$("#switch_style").attr("href", "/!/auto-generate/css/color/" + id + ".css");
return false;
});
}
};
$j().ready(function () {
switch_style.onReady();
});
})(jQuery);
// EXPAND COLLAPSE
$(document).ready(function(){
$('#toggle-switcher').click(function(){
if($(this).hasClass('open')){
$(this).removeClass('open');
if($('#switch-style').hasClass('right')){
$('#switch-style').animate({'right': '-152px'});
}else{
$('#switch-style').animate({'left': '-152px'});
}
}else{
$(this).addClass('open');
if($('#switch-style').hasClass('right')){
$('#switch-style').animate({'right': '0'});
}else{
$('#switch-style').animate({'left': '0'});
}
}
});
});
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。