src/main/resources/static/home/assets/js/slider-bg.js
(完整代码) 731B $(document).ready(function() {
if ($('[data-background]').length > 0) {
$('[data-background]').each(function() {
var $background, $backgroundmobile, $this;
$this = $(this);
$background = $(this).attr('data-background');
$backgroundmobile = $(this).attr('data-background-mobile');
if ($this.attr('data-background').substr(0, 1) === '#') {
return $this.css('background-color', $background);
} else if ($this.attr('data-background-mobile') && device.mobile()) {
return $this.css('background-image', 'url(' + $backgroundmobile + ')');
} else {
return $this.css('background-image', 'url(' + $background + ')');
}
});
}
});
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。