PageSourceSearch

https://www.ubackup.com/resource/js/business.js

js ubackup.com collected 2026-09-24 06:23:46 UTC 1,695 bytes, 41 lines download raw bytes

1/*
2 * @Author: error: git config user.name && git config user.email & please set dead value or install git
3 * @Date: 2022-10-27 11:43:04
4 * @LastEditors: error: git config user.name && git config user.email & please set dead value or install git
5 * @LastEditTime: 2022-10-27 11:44:19
6 * @FilePath: \ACBN\resource\js\business.js
7 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8 */
9function slick(elem) {
10    $.getScript("/resource/lib/slick.min.js", function () {
11        var $elem = elem;
12        var $slickWrap = $elem.parents('[data-slick="closest"]');
13        var $nav = $slickWrap.find('[data-slick="nav"]');
14        var $navItem = $nav.find('[data-slick="nav-it"]');
15        $elem.slick(
16            $elem.data("options") ?
17            new Function("return " + $elem.data("options"))() :
18            {}
19        ); //
20
21        if ($nav.length > 0) {
22            $elem.on(
23                "beforeChange",
24                function (event, slick, currentSlide, nextSlide) {
25                    $navItem
26                        .eq(nextSlide)
27                        .addClass("active")
28                        .siblings()
29                        .removeClass("active");
30                }
31            );
32            $navItem.click(function () {
33                var $this = $(this);
34                console.log($this.index());
35                $this.addClass("active").siblings().removeClass("active");
36                $elem.slick("slickGoTo", $this.index());
37            });
38        }
39    });
40}
41slick($("[data-slick='content1']"));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.