PageSourceSearch

https://ayaneo.com/ayaneo/js/layer-custom.js?ver=1.20250124

js ayaneo.com collected 2026-10-02 05:08:29 UTC 1,242 bytes, 47 lines download raw bytes

1layer.openCustom = function(options){
2    var options_ = Object.assign({},{
3        type: 1,
4        title: null,
5        area: 'auto',
6        maxWidth: '100%',
7        shadeClose: true, //点击遮罩关闭
8        scrollbar:false
9    },options)
10    console.log(options_)
11    return layer.open(options_)
12}
13
14layer.error = function(msg,options){
15    const template = `
16    <div class="error layer-message">
17        <span class="icon"></span>
18        ${ msg ? `<p class="msg">${msg}</p>` : ''}
19    </div>
20    `
21    var options_ = Object.assign({},{
22        content:template,
23        success($el,index){
24            setTimeout(()=>{
25                layer.close(index)
26            },2000)
27        }
28    },options)
29    return layer.openCustom(options_)
30}
31layer.success = function(msg,options){
32    const template = `
33    <div class="success layer-message">
34        <span class="icon"></span>
35        ${ msg ? `<p class="msg">${msg}</p>` : ''}
36    </div>
37    `
38    var options_ = Object.assign({},{
39        content:template,
40        success($el,index){
41            setTimeout(()=>{
42                layer.close(index)
43            },1500)
44        }
45    },options)
46    return layer.openCustom(options_)
47}

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.