├── 2A03 Presets for FL Studio (11.1.0)
├── 2A03 (Oversampling).fst
├── DPCM 2.fst
├── FDS & N163 MML2FNV.fst
├── FDS PWM.fst
├── FNV shapes
│ ├── FDS_Default.fnv
│ ├── FDS_Saw.fnv
│ ├── FDS_Sine.fnv
│ ├── FDS_Tri.fnv
│ ├── N163_Saw.fnv
│ ├── N163_Sine.fnv
│ └── N163_Tri.fnv
├── Free PWM.fst
├── MML2FNV.exe
├── Namco 163 PWM.fst
├── Noise L (Free).fst
├── Noise L (Sytrus x16 in Patcher).fst
├── Noise S (Free).fst
├── Noise S (Sytrus x16 in Patcher).fst
├── RJDMC
│ ├── HA_RJDMC_105.exe
│ └── ssrc
│ │ └── ssrc.exe
├── Solutions
│ └── event snap
│ │ ├── 128 steps.png
│ │ ├── 128 steps.txt
│ │ ├── 16 steps.png
│ │ ├── 16 steps.txt
│ │ ├── 256 steps - C.png
│ │ ├── 256 steps - C.txt
│ │ ├── 32 steps.png
│ │ ├── 32 steps.txt
│ │ ├── 64 steps.png
│ │ ├── 64 steps.txt
│ │ ├── 96 steps - C.png
│ │ ├── 96 steps - C.txt
│ │ ├── 96 steps.png
│ │ └── 96 steps.txt
├── Sunsoft 2
│ ├── Sunsoft Bass.fst
│ └── Sunsoft Bass.wav
├── Tutorials
│ ├── 16s_env.flp
│ ├── Ascending the Tower.flp
│ ├── City Connection - Stage 1.flp
│ ├── Contra Force - Stage 1.zip
│ ├── Daredevil (Dual C64 Simulate).flp
│ ├── Doki! Doki! Yuuenchi - Chamber of Horrors.zip
│ ├── Ferrari Grand Prix Challenge - Race Theme 1.flp
│ ├── Ferrari Grand Prix Challenge - Race Theme 3.flp
│ ├── Ferrari Grand Prix Challenge - Title.flp
│ ├── Gimmick! - Good Weather.zip
│ ├── Keygen style drums.flp
│ ├── Kirby's Adventure - Green Fields.zip
│ ├── Metal Max - Caterpillar Village.zip
│ ├── Metal Max - Metallic Shaker.zip
│ ├── Metal Max - Tank Vodka.zip
│ ├── Monster in My Pocket - Stage 4
│ │ ├── kick_DMC.wav
│ │ ├── snare_DMC.wav
│ │ └── tom_DMC.wav
│ ├── Moster in My Pocket - Stage 4.flp
│ ├── RAF World - Stage 2.flp
│ ├── RAF World - Stage 2
│ │ └── Sunsoft Bass.wav
│ ├── Silver Surfer - Title.flp
│ ├── Space War - Next Stage.zip
│ ├── Summer Carnival '92 Recca - JETTER.zip
│ ├── Teenage Mutant Ninja Turtles - Tournament Fighters - Staff.zip
│ ├── Teenage Mutant Ninja Turtles - Tournament Fighters - Story.flp
│ ├── Teenage Mutant Ninja Turtles - Tournament Fighters - Story
│ │ ├── ripped00_dmc.wav
│ │ └── ripped01_dmc.wav
│ ├── Terminator 2 - Judgement Day - Stage 1.flp
│ ├── The Jungle Book - Title.flp
│ ├── Treasure Master - Title.flp
│ ├── Untitled Music.{FA31B481-7E39-4545-BF9A-3F5D2256D3D3}.flp
│ ├── arp.flp
│ ├── envcprbl.flp
│ ├── flanger.flp
│ ├── noise_drum.flp
│ ├── slide.flp
│ ├── {844E57FB-D205-45AF-8AF9-49736965C51A}.flp
│ └── 送别 (学习卡风格).flp
├── VRC7.fst
└── n163.ny
├── README.md
└── help
├── 0001.html
├── 0002.html
├── 0003.html
├── 0004.html
├── 0006.html
├── 0007.html
├── 0008.html
├── 0009.html
├── 0010.html
├── 0011.html
├── 0012.html
├── 001301.html
├── 001302.html
├── 001303.html
├── 001304.html
├── 001305.html
├── 001306.html
├── 001307.html
├── 001308.html
├── 2a03presetsforflstudio.html
├── layui
├── css
│ ├── layui.css
│ ├── layui.mobile.css
│ └── modules
│ │ ├── code.css
│ │ ├── laydate
│ │ └── default
│ │ │ └── laydate.css
│ │ └── layer
│ │ └── default
│ │ ├── icon-ext.png
│ │ ├── icon.png
│ │ ├── layer.css
│ │ ├── loading-0.gif
│ │ ├── loading-1.gif
│ │ └── loading-2.gif
├── font
│ ├── iconfont.eot
│ ├── iconfont.svg
│ ├── iconfont.ttf
│ └── iconfont.woff
├── lay
│ └── modules
│ │ ├── carousel.js
│ │ ├── code.js
│ │ ├── element.js
│ │ ├── flow.js
│ │ ├── form.js
│ │ ├── jquery.js
│ │ ├── laydate.js
│ │ ├── layedit.js
│ │ ├── layer.js
│ │ ├── laypage.js
│ │ ├── laytpl.js
│ │ ├── mobile.js
│ │ ├── table.js
│ │ ├── tree.js
│ │ ├── upload.js
│ │ └── util.js
├── layui.all.js
└── layui.js
└── res
├── {1CC5434B-F56F-436D-858C-2C5A57E3057F}.png
├── {5A8396E7-A032-4804-AE15-A662347E1031}.png
├── {838B4E2F-0828-41B1-B586-34AA5A377318}.png
├── {8844D36A-F309-4213-B9F3-4BECDAC9F8C8}.png
├── {AD0A53A0-BE47-4D5E-A6C3-ECD50B1E58CB}.png
├── {C2D72BAE-4BDF-4680-99B2-22FCAF997681}.png
├── {D81EDDD7-FC1D-455B-A064-7B5FCB887327}.png
└── {E21EB934-41D4-4CBF-89D4-AC443F523128}.png
/2A03 Presets for FL Studio (11.1.0)/2A03 (Oversampling).fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/2A03 (Oversampling).fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/DPCM 2.fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/DPCM 2.fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FDS & N163 MML2FNV.fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FDS & N163 MML2FNV.fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FDS PWM.fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FDS PWM.fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Default.fnv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Default.fnv
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Saw.fnv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Saw.fnv
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Sine.fnv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Sine.fnv
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Tri.fnv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FNV shapes/FDS_Tri.fnv
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FNV shapes/N163_Saw.fnv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FNV shapes/N163_Saw.fnv
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FNV shapes/N163_Sine.fnv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FNV shapes/N163_Sine.fnv
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/FNV shapes/N163_Tri.fnv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/FNV shapes/N163_Tri.fnv
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Free PWM.fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Free PWM.fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/MML2FNV.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/MML2FNV.exe
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Namco 163 PWM.fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Namco 163 PWM.fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Noise L (Free).fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Noise L (Free).fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Noise L (Sytrus x16 in Patcher).fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Noise L (Sytrus x16 in Patcher).fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Noise S (Free).fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Noise S (Free).fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Noise S (Sytrus x16 in Patcher).fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Noise S (Sytrus x16 in Patcher).fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/RJDMC/HA_RJDMC_105.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/RJDMC/HA_RJDMC_105.exe
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/RJDMC/ssrc/ssrc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/RJDMC/ssrc/ssrc.exe
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/128 steps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/128 steps.png
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/128 steps.txt:
--------------------------------------------------------------------------------
1 | 0x01 (1)
2 | 0x02 (2)
3 | 0x03 (3)
4 | 0x04 (4)
5 | 0x05 (5)
6 | 0x06 (6)
7 | 0x07 (7)
8 | 0x08 (8)
9 | 0x09 (9)
10 | 0x0A (10)
11 | 0x0B (11)
12 | 0x0C (12)
13 | 0x0D (13)
14 | 0x0E (14)
15 | 0x0F (15)
16 | 0x10 (16)
17 | 0x11 (17)
18 | 0x12 (18)
19 | 0x13 (19)
20 | 0x14 (20)
21 | 0x15 (21)
22 | 0x16 (22)
23 | 0x17 (23)
24 | 0x18 (24)
25 | 0x19 (25)
26 | 0x1A (26)
27 | 0x1B (27)
28 | 0x1C (28)
29 | 0x1D (29)
30 | 0x1E (30)
31 | 0x1F (31)
32 | 0x20 (32)
33 | 0x21 (33)
34 | 0x22 (34)
35 | 0x23 (35)
36 | 0x24 (36)
37 | 0x25 (37)
38 | 0x26 (38)
39 | 0x27 (39)
40 | 0x28 (40)
41 | 0x29 (41)
42 | 0x2A (42)
43 | 0x2B (43)
44 | 0x2C (44)
45 | 0x2D (45)
46 | 0x2E (46)
47 | 0x2F (47)
48 | 0x30 (48)
49 | 0x31 (49)
50 | 0x32 (50)
51 | 0x33 (51)
52 | 0x34 (52)
53 | 0x35 (53)
54 | 0x36 (54)
55 | 0x37 (55)
56 | 0x38 (56)
57 | 0x39 (57)
58 | 0x3A (58)
59 | 0x3B (59)
60 | 0x3C (60)
61 | 0x3D (61)
62 | 0x3E (62)
63 | 0x3F (63)
64 | 0x40 (64)
65 | 0x41 (65)
66 | 0x42 (66)
67 | 0x43 (67)
68 | 0x44 (68)
69 | 0x45 (69)
70 | 0x46 (70)
71 | 0x47 (71)
72 | 0x48 (72)
73 | 0x49 (73)
74 | 0x4A (74)
75 | 0x4B (75)
76 | 0x4C (76)
77 | 0x4D (77)
78 | 0x4E (78)
79 | 0x4F (79)
80 | 0x50 (80)
81 | 0x51 (81)
82 | 0x52 (82)
83 | 0x53 (83)
84 | 0x54 (84)
85 | 0x55 (85)
86 | 0x56 (86)
87 | 0x57 (87)
88 | 0x58 (88)
89 | 0x59 (89)
90 | 0x5A (90)
91 | 0x5B (91)
92 | 0x5C (92)
93 | 0x5D (93)
94 | 0x5E (94)
95 | 0x5F (95)
96 | 0x60 (96)
97 | 0x61 (97)
98 | 0x62 (98)
99 | 0x63 (99)
100 | 0x64 (100)
101 | 0x65 (101)
102 | 0x66 (102)
103 | 0x67 (103)
104 | 0x68 (104)
105 | 0x69 (105)
106 | 0x6A (106)
107 | 0x6B (107)
108 | 0x6C (108)
109 | 0x6D (109)
110 | 0x6E (110)
111 | 0x6F (111)
112 | 0x70 (112)
113 | 0x71 (113)
114 | 0x72 (114)
115 | 0x73 (115)
116 | 0x74 (116)
117 | 0x75 (117)
118 | 0x76 (118)
119 | 0x77 (119)
120 | 0x78 (120)
121 | 0x79 (121)
122 | 0x7A (122)
123 | 0x7B (123)
124 | 0x7C (124)
125 | 0x7D (125)
126 | 0x7E (126)
127 | 0x7F (127)
128 | 0x80 (128)
129 | 0x81 (129)
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/16 steps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/16 steps.png
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/16 steps.txt:
--------------------------------------------------------------------------------
1 | 0x1 (1)
2 | 0x2 (2)
3 | 0x3 (3)
4 | 0x4 (4)
5 | 0x5 (5)
6 | 0x6 (6)
7 | 0x7 (7)
8 | 0x8 (8)
9 | 0x9 (9)
10 | 0xA (10)
11 | 0xB (11)
12 | 0xC (12)
13 | 0xD (13)
14 | 0xE (14)
15 | 0xF (15)
16 | 0x10 (16)
17 | 0x11 (17)
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/256 steps - C.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/256 steps - C.png
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/256 steps - C.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/256 steps - C.txt
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/32 steps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/32 steps.png
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/32 steps.txt:
--------------------------------------------------------------------------------
1 | 0x01 (1)
2 | 0x02 (2)
3 | 0x03 (3)
4 | 0x04 (4)
5 | 0x05 (5)
6 | 0x06 (6)
7 | 0x07 (7)
8 | 0x08 (8)
9 | 0x09 (9)
10 | 0x0A (10)
11 | 0x0B (11)
12 | 0x0C (12)
13 | 0x0D (13)
14 | 0x0E (14)
15 | 0x0F (15)
16 | 0x10 (16)
17 | 0x11 (17)
18 | 0x12 (18)
19 | 0x13 (19)
20 | 0x14 (20)
21 | 0x15 (21)
22 | 0x16 (22)
23 | 0x17 (23)
24 | 0x18 (24)
25 | 0x19 (25)
26 | 0x1A (26)
27 | 0x1B (27)
28 | 0x1C (28)
29 | 0x1D (29)
30 | 0x1E (30)
31 | 0x1F (31)
32 | 0x20 (32)
33 | 0x21 (33)
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/64 steps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/64 steps.png
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/64 steps.txt:
--------------------------------------------------------------------------------
1 | 0x01 (1)
2 | 0x02 (2)
3 | 0x03 (3)
4 | 0x04 (4)
5 | 0x05 (5)
6 | 0x06 (6)
7 | 0x07 (7)
8 | 0x08 (8)
9 | 0x09 (9)
10 | 0x0A (10)
11 | 0x0B (11)
12 | 0x0C (12)
13 | 0x0D (13)
14 | 0x0E (14)
15 | 0x0F (15)
16 | 0x10 (16)
17 | 0x11 (17)
18 | 0x12 (18)
19 | 0x13 (19)
20 | 0x14 (20)
21 | 0x15 (21)
22 | 0x16 (22)
23 | 0x17 (23)
24 | 0x18 (24)
25 | 0x19 (25)
26 | 0x1A (26)
27 | 0x1B (27)
28 | 0x1C (28)
29 | 0x1D (29)
30 | 0x1E (30)
31 | 0x1F (31)
32 | 0x20 (32)
33 | 0x21 (33)
34 | 0x22 (34)
35 | 0x23 (35)
36 | 0x24 (36)
37 | 0x25 (37)
38 | 0x26 (38)
39 | 0x27 (39)
40 | 0x28 (40)
41 | 0x29 (41)
42 | 0x2A (42)
43 | 0x2B (43)
44 | 0x2C (44)
45 | 0x2D (45)
46 | 0x2E (46)
47 | 0x2F (47)
48 | 0x30 (48)
49 | 0x31 (49)
50 | 0x32 (50)
51 | 0x33 (51)
52 | 0x34 (52)
53 | 0x35 (53)
54 | 0x36 (54)
55 | 0x37 (55)
56 | 0x38 (56)
57 | 0x39 (57)
58 | 0x3A (58)
59 | 0x3B (59)
60 | 0x3C (60)
61 | 0x3D (61)
62 | 0x3E (62)
63 | 0x3F (63)
64 | 0x40 (64)
65 | 0x41 (65)
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/96 steps - C.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/96 steps - C.png
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/96 steps - C.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/96 steps - C.txt
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/96 steps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/96 steps.png
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Solutions/event snap/96 steps.txt:
--------------------------------------------------------------------------------
1 | 0x01 (1)
2 | 0x02 (2)
3 | 0x03 (3)
4 | 0x04 (4)
5 | 0x05 (5)
6 | 0x06 (6)
7 | 0x07 (7)
8 | 0x08 (8)
9 | 0x09 (9)
10 | 0x0A (10)
11 | 0x0B (11)
12 | 0x0C (12)
13 | 0x0D (13)
14 | 0x0E (14)
15 | 0x0F (15)
16 | 0x10 (16)
17 | 0x11 (17)
18 | 0x12 (18)
19 | 0x13 (19)
20 | 0x14 (20)
21 | 0x15 (21)
22 | 0x16 (22)
23 | 0x17 (23)
24 | 0x18 (24)
25 | 0x19 (25)
26 | 0x1A (26)
27 | 0x1B (27)
28 | 0x1C (28)
29 | 0x1D (29)
30 | 0x1E (30)
31 | 0x1F (31)
32 | 0x20 (32)
33 | 0x21 (33)
34 | 0x22 (34)
35 | 0x23 (35)
36 | 0x24 (36)
37 | 0x25 (37)
38 | 0x26 (38)
39 | 0x27 (39)
40 | 0x28 (40)
41 | 0x29 (41)
42 | 0x2A (42)
43 | 0x2B (43)
44 | 0x2C (44)
45 | 0x2D (45)
46 | 0x2E (46)
47 | 0x2F (47)
48 | 0x30 (48)
49 | 0x31 (49)
50 | 0x32 (50)
51 | 0x33 (51)
52 | 0x34 (52)
53 | 0x35 (53)
54 | 0x36 (54)
55 | 0x37 (55)
56 | 0x38 (56)
57 | 0x39 (57)
58 | 0x3A (58)
59 | 0x3B (59)
60 | 0x3C (60)
61 | 0x3D (61)
62 | 0x3E (62)
63 | 0x3F (63)
64 | 0x40 (64)
65 | 0x41 (65)
66 | 0x42 (66)
67 | 0x43 (67)
68 | 0x44 (68)
69 | 0x45 (69)
70 | 0x46 (70)
71 | 0x47 (71)
72 | 0x48 (72)
73 | 0x49 (73)
74 | 0x4A (74)
75 | 0x4B (75)
76 | 0x4C (76)
77 | 0x4D (77)
78 | 0x4E (78)
79 | 0x4F (79)
80 | 0x50 (80)
81 | 0x51 (81)
82 | 0x52 (82)
83 | 0x53 (83)
84 | 0x54 (84)
85 | 0x55 (85)
86 | 0x56 (86)
87 | 0x57 (87)
88 | 0x58 (88)
89 | 0x59 (89)
90 | 0x5A (90)
91 | 0x5B (91)
92 | 0x5C (92)
93 | 0x5D (93)
94 | 0x5E (94)
95 | 0x5F (95)
96 | 0x60 (96)
97 | 0x61 (97)
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Sunsoft 2/Sunsoft Bass.fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Sunsoft 2/Sunsoft Bass.fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Sunsoft 2/Sunsoft Bass.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Sunsoft 2/Sunsoft Bass.wav
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/16s_env.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/16s_env.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ascending the Tower.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ascending the Tower.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/City Connection - Stage 1.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/City Connection - Stage 1.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Contra Force - Stage 1.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Contra Force - Stage 1.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Daredevil (Dual C64 Simulate).flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Daredevil (Dual C64 Simulate).flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Doki! Doki! Yuuenchi - Chamber of Horrors.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Doki! Doki! Yuuenchi - Chamber of Horrors.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ferrari Grand Prix Challenge - Race Theme 1.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ferrari Grand Prix Challenge - Race Theme 1.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ferrari Grand Prix Challenge - Race Theme 3.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ferrari Grand Prix Challenge - Race Theme 3.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ferrari Grand Prix Challenge - Title.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Ferrari Grand Prix Challenge - Title.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Gimmick! - Good Weather.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Gimmick! - Good Weather.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Keygen style drums.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Keygen style drums.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Kirby's Adventure - Green Fields.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Kirby's Adventure - Green Fields.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Metal Max - Caterpillar Village.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Metal Max - Caterpillar Village.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Metal Max - Metallic Shaker.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Metal Max - Metallic Shaker.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Metal Max - Tank Vodka.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Metal Max - Tank Vodka.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Monster in My Pocket - Stage 4/kick_DMC.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Monster in My Pocket - Stage 4/kick_DMC.wav
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Monster in My Pocket - Stage 4/snare_DMC.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Monster in My Pocket - Stage 4/snare_DMC.wav
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Monster in My Pocket - Stage 4/tom_DMC.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Monster in My Pocket - Stage 4/tom_DMC.wav
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Moster in My Pocket - Stage 4.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Moster in My Pocket - Stage 4.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/RAF World - Stage 2.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/RAF World - Stage 2.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/RAF World - Stage 2/Sunsoft Bass.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/RAF World - Stage 2/Sunsoft Bass.wav
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Silver Surfer - Title.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Silver Surfer - Title.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Space War - Next Stage.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Space War - Next Stage.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Summer Carnival '92 Recca - JETTER.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Summer Carnival '92 Recca - JETTER.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Staff.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Staff.zip
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Story.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Story.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Story/ripped00_dmc.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Story/ripped00_dmc.wav
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Story/ripped01_dmc.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Teenage Mutant Ninja Turtles - Tournament Fighters - Story/ripped01_dmc.wav
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Terminator 2 - Judgement Day - Stage 1.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Terminator 2 - Judgement Day - Stage 1.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/The Jungle Book - Title.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/The Jungle Book - Title.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Treasure Master - Title.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Treasure Master - Title.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/Untitled Music.{FA31B481-7E39-4545-BF9A-3F5D2256D3D3}.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/Untitled Music.{FA31B481-7E39-4545-BF9A-3F5D2256D3D3}.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/arp.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/arp.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/envcprbl.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/envcprbl.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/flanger.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/flanger.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/noise_drum.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/noise_drum.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/slide.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/slide.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/{844E57FB-D205-45AF-8AF9-49736965C51A}.flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/{844E57FB-D205-45AF-8AF9-49736965C51A}.flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/Tutorials/送别 (学习卡风格).flp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/Tutorials/送别 (学习卡风格).flp
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/VRC7.fst:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/2A03 Presets for FL Studio (11.1.0)/VRC7.fst
--------------------------------------------------------------------------------
/2A03 Presets for FL Studio (11.1.0)/n163.ny:
--------------------------------------------------------------------------------
1 | ;nyquist plug-in
2 | ;version 3
3 | ;type analyze
4 | ;name "N163/FDS waveform..."
5 | ;action "Calculating N163/FDS waveform..."
6 |
7 | ;control mode "Mode" choice "Namco 163,Famicom Disk System" 0
8 | ;control wavesize-choice "Wave size (N163 only)" choice "4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240" 7
9 | ;control normalize-choice "Normalize result" choice "yes,no" 0
10 |
11 | ; **********************************************************************
12 | ; Namco 163/Famicom Disk System waveform tool
13 | ; By Kef Schecter
14 | ; Public domain
15 | ; **********************************************************************
16 |
17 | (setf *gc-flag* nil)
18 |
19 | (setf mode-n163 0)
20 | (setf mode-fds 1)
21 |
22 | (setf normalize-yes 0)
23 | (setf normalize-no 1)
24 |
25 | (cond
26 | ((= mode mode-n163) ; Convert from wavesize-choice table to actual
27 | ; wave size (4, 8, 12...)
28 | (setf wavesize (* 4 (1+ wavesize-choice)))
29 | (setf max-volume 15))
30 | (t (setf wavesize 64) ; FDS mode
31 | (setf max-volume 63)))
32 |
33 | (setf half-max-volume (/ (+ max-volume 1) 2.0))
34 |
35 | (setf new-old-ratio (/ (float wavesize) len))
36 |
37 | (setf resample-rate (truncate (* *sound-srate* new-old-ratio)))
38 |
39 |
40 | (defmacro push (item lst)
41 | `(setq ,lst (cons ,item ,lst)))
42 |
43 |
44 | (defun process ()
45 | (let* ((resampled (resample s resample-rate))
46 | (normalized (if (= normalize-choice normalize-yes)
47 | (normalize resampled)
48 | resampled))
49 | (samples-array (snd-samples normalized wavesize))
50 | (samples-list '()))
51 |
52 | (dotimes (index wavesize)
53 | (push (n163-adjust (aref samples-array index)) samples-list))
54 |
55 | (reverse samples-list)
56 | )
57 | )
58 |
59 |
60 | (defun normalize (snd)
61 | (let ((maximum (peak snd NY:ALL)))
62 | (scale (/ 1.0 maximum) snd)))
63 |
64 |
65 | ; Converts value in range from -1.0 to 1.0 into an integer from 0 to max-volume
66 | ; Does not bother range-checking input
67 | (defun n163-adjust (value)
68 | (min (float max-volume) (truncate (* (+ value 1.0) half-max-volume))))
69 |
70 |
71 | (defun run ()
72 | (list (list 0 (string-trim "()" (format nil "~a" (process))))))
73 |
74 |
75 | ; Execution begins here
76 | (if (arrayp s)
77 | "Stereo tracks are not supported at this time."
78 | (run))
79 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 关于本项目
2 | * 本框架提供了一些预置; 工具和示例工程, 可以让创作者在 FL Studio 中不依赖第三方插件制作 8-Bit (Famicom 类型) 音乐.
3 | * 预置已初步整理完毕, 预置文件见 2A03 Presets for FL Studio (11.1.0) 文件夹.
4 | * exe 可能会被一些杀毒软件报毒, 如有顾虑请在虚拟机下使用.
5 | * 帮助文档地址: https://yamatoryou.github.io/2a03presetsforflstudio/help/2a03presetsforflstudio.html
6 |
7 | # 示例工程
8 | * 在线观看:
9 | #1: https://www.bilibili.com/video/av711030011
10 | #2: https://www.bilibili.com/video/av706403992
11 | * 直接获取: https://github.com/YamatoRyou/2a03presetsforflstudio/tree/master/2A03%20Presets%20for%20FL%20Studio%20(11.1.0)/Tutorials
12 |
--------------------------------------------------------------------------------
/help/0001.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 文档信息 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | 文档信息
13 |
14 |
作者: Yamato Ryou
15 |
预置最低支持的 FL Studio 版本: 11.1.0 (不适用于面向 macOS 的 FL Studio)
16 |
17 |
本文档使用 LayUI 作为界面.
18 |
19 |
要开始浏览, 请在左侧选择项目.
20 |
21 |
22 |
--------------------------------------------------------------------------------
/help/0002.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 简述 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | 简述
13 |
14 |
本框架提供了一些预置和工具, 可以让创作者在 FL Studio 中不依赖第三方插件制作 8-Bit (Famicom 类型) 音乐.
15 |
选择器链接
16 |
17 |
18 |
--------------------------------------------------------------------------------
/help/0003.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 技术要求 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | 技术要求
13 |
14 |
熟悉 Sytrus 的内部运作逻辑, 熟悉 FM 合成的基本概念.
15 |
熟悉 DirectWave 的基本用法.
16 |
熟悉 FL Studio 钢琴窗; 乐谱; 通道设置及自动化.
17 |
基本了解 Famicom 风格音乐的组成部分.
18 |
了解 FamiTracker 乐器的组成及其短板.
19 |
选择器链接
20 |
21 |
22 |
--------------------------------------------------------------------------------
/help/0004.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 组件列表 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
13 |
14 | 主要组件
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | 文件名
24 | 插件
25 | 插件平台
26 | 说明与发生器规则
27 |
28 | 支持的音符属性; 事件或自动化
29 | ♫ 在音符中有效
30 | ◢ 可以在音符中滑行
31 | ● 支持事件或 MIDI 控制器
32 | ☍ 支持 FL Studio 自动控制剪辑
33 |
34 |
35 |
36 |
37 |
38 | 2A03 (Oversampling).fst
39 | Sytrus
40 | FLi/VSTi
41 |
42 | 模拟 2A03 芯片 12.5% 矩形波; 25% 矩形波; 50% 方波; 75% 矩形波; 三角波.
43 | ■ 全局使用 Oversampling, 避免了滑音过程中丢失谐波;
44 | ■ 将原生三角波发送到 WS 进行实时合成;
45 | ■ 添加了 75% 矩形波.
46 | -----------------
47 | ■ 音量 / 音高包络调整分别位于 OP 1 ~ OP 4 ---> VOL / PITCH ---> ENV.
48 | ■ OP 5 为三角波发生器, 不允许调节音量包络. 若三角波作为独立通道, 则只能调节插件主控音量.
49 | ■ OP 6 为调制器, 不允许调整音量 / 音高包络.
50 | ■ 占空比 / 波形与 MOD X 旋钮值范围的关系:
51 |
52 |
53 |
54 | 音符力度 ♫ ◢
55 | 音符音高 ♫ ◢
56 | 通道音量 ● ☍
57 | 通道音高 ● ☍
58 | MOD X (占空比 / 音色切换) ● ☍
59 | MOD Y (Vibrato 效果) ● ☍
60 |
61 |
62 |
63 | Noise L (Sytrus x16 in Patcher).fst
64 |
65 | Patcher
66 | Sytrus
67 |
68 |
69 | FLi
70 | FLi/VSTi
71 |
72 |
73 | 模拟 2A03 芯片噪波 (long cycle 类型, 32767 个采样点).
74 | ■ 定义波形的矫音器位于 FILT 1 ---> WS.
75 | ■ 定义音量包络的矫音器位于 FILT 2 ---> VOL ---> ENV.
76 | ■ 定义音高包络的矫音器位于 OP 1 ---> PITCH ---> ENV.
77 | ■ 为了在每首歌曲中产生听觉上的差异, 用户需要创建不同的噪波外形. 可以使用 MML2FNV 完成需求.
78 | ■ 该预置包含 16 个 Sytrus 的设置, 上述调整需分别为这些插件设置.
79 |
80 |
81 | 音符力度 ♫ ◢
82 | 音符音高 ♫ ◢
83 | 通道音量 ● ☍
84 | 通道音高 ● ☍
85 |
86 |
87 |
88 | Noise S (Sytrus x16 in Patcher).fst
89 |
90 | Patcher
91 | Sytrus
92 |
93 |
94 | FLi
95 | FLi/VSTi
96 |
97 |
98 | 模拟 2A03 芯片噪波 (short cycle 类型, 93 个采样点).
99 | ■ 定义波形的矫音器位于 FILT 1 ---> WS.
100 | ■ 定义音量包络的矫音器位于 FILT 2 ---> VOL ---> ENV.
101 | ■ 定义音高包络的矫音器位于 OP 1 ---> PITCH ---> ENV.
102 | ■ 为了在每首歌曲中产生听觉上的差异, 用户需要创建不同的噪波外形. 可以使用 MML2FNV 完成需求.
103 | ■ 该预置包含 16 个 Sytrus 的设置, 上述调整需分别为这些插件设置.
104 |
105 |
106 | 音符力度 ♫ ◢
107 | 音符音高 ♫ ◢
108 | 通道音量 ● ☍
109 | 通道音高 ● ☍
110 |
111 |
112 |
113 | Noise L (Free).fst
114 |
115 | Sytrus
116 |
117 |
118 | FLi/VSTi
119 |
120 |
121 | 模拟 2A03 芯片噪波 (long cycle 类型, 32767 个采样点).
122 | ■ 定义波形的矫音器位于 FILT 1 ---> WS.
123 | ■ 定义音量包络的矫音器位于 FILT 2 ---> VOL ---> ENV.
124 | ■ 定义音高包络的矫音器位于 OP 1 ---> PITCH ---> ENV.
125 | ■ 为了在每首歌曲中产生听觉上的差异, 用户需要创建不同的噪波外形. 可以使用 MML2FNV 完成需求.
126 | ■ 此预置适用于需要手动滑音的场合, 频率与键位相关映射见 "噪波预置键位; 音高与事件编辑器对照表".
127 |
128 |
129 | 音符力度 ♫ ◢
130 | 音符音高 ♫ ◢
131 | 通道音量 ● ☍
132 | 通道音高 ● ☍
133 |
134 |
135 |
136 | Noise S (Free).fst
137 | Sytrus
138 | FLi/VSTi
139 |
140 | 模拟 2A03 芯片噪波 (short cycle 类型, 93 个采样点).
141 | ■ 定义波形的矫音器位于 FILT 1 ---> WS.
142 | ■ 定义音量包络的矫音器位于 FILT 2 ---> VOL ---> ENV.
143 | ■ 定义音高包络的矫音器位于 OP 1 ---> PITCH ---> ENV.
144 | ■ 为了在每首歌曲中产生听觉上的差异, 用户需要创建不同的噪波外形. 可以使用 MML2FNV 完成需求.
145 | ■ 此预置适用于需要手动滑音的场合, 频率与键位相关映射见 "噪波预置键位; 音高与事件编辑器对照表".
146 |
147 |
148 | 音符力度 ♫ ◢
149 | 音符音高 ♫ ◢
150 | 通道音量 ● ☍
151 | 通道音高 ● ☍
152 |
153 |
154 |
155 | DPCM 2.fst
156 | DirectWave
157 | FLi/VSTi
158 |
159 | 组合用户导入的 DPCM 采样.
160 | ■ 支持循环标记
161 | ■ 减少高频损失
162 | ■ 支持限制最大复音数 (需要使用 Delta 计数器效果的, 则设置最大复音数为 2)
163 | -----------------
164 | ■ 每个键位可以导入多个采样, 但为了后期修改, 建议每个采样只覆盖 1 个键位. 请注意单独调整采样音量.
165 | ■ DPCM Delta 计数器效果已位于 C#5 预置.
166 |
167 |
168 | 音符微调音高 ♫
169 | 音符音高 ♫ ◢
170 | 通道音量 ● ☍
171 | 通道音高 ● ☍
172 |
173 |
174 |
175 |
176 | Free PWM.fst
177 | Namco 163 PWM.fst
178 | FDS PWM.fst
179 |
180 | Sytrus
181 | FLi/VSTi
182 |
183 | 允许无级 / 16 / 32 级 (外形的 50%) 相位调节矩形波的占空比.
184 | ■ 音量 / 音高包络调整分别位于 OP 1 ~ OP 2 ---> VOL / PITCH ---> ENV.
185 | ■ OP 3 为调制器, 不允许调整音量 / 音高包络.
186 | 兼容 Konami VRC6 矩形波 / 方波音色.
187 |
188 |
189 | 音符力度 ♫ ◢
190 | 音符音高 ♫ ◢
191 | 通道音量 ● ☍
192 | 通道音高 ● ☍
193 | MOD X (占空比切换) ● ☍
194 | MOD Y (Vibrato 效果) ● ☍
195 |
196 |
197 |
198 |
199 | FDS & N163 MML2FNV.fst
200 |
201 | Sytrus
202 | FLi/VSTi
203 |
204 | 通过 MML2FNV 导入波形, 以模拟 N163 & FDS 芯片任意波形音色.
205 | ■ 定义波形的矫音器位于 FILT 1 ---> WS.
206 | ■ 定义音量包络的矫音器位于 FILT 2 ---> VOL ---> ENV.
207 | ■ 定义音高包络的矫音器位于 OP 1 ---> PITCH ---> ENV.
208 | 兼容 Konami VRC6 矩形波 / 方波 / 锯齿波音色.
209 |
210 |
211 | 音符力度 ♫ ◢
212 | 音符音高 ♫ ◢
213 | 通道音量 ● ☍
214 | 通道音高 ● ☍
215 | MOD Y (Vibrato 效果) ● ☍
216 |
217 |
218 |
219 |
220 | VRC7.fst
221 |
222 | Sytrus
223 | FLi/VSTi
224 |
225 | 模拟 Konami VRC7 FM 芯片音色.
226 | ■ 定义载波器波形位于 OP 1.
227 | ■ 定义载波器音量包络的矫音器位于 OP 1 ---> VOL ---> ENV.
228 | ■ 定义载波器音量包络的矫音器位于 OP 1 --->PITCH ---> ENV.
229 | ■ 定义调制器波形位于 OP 2.
230 | ■ 定义调制器音量包络的矫音器位于 OP 2 ---> VOL ---> ENV.
231 | ■ 定义调制器音高包络的矫音器位于 OP 2 ---> PITCH ---> ENV.
232 | ■ 要正确应用音量 / 音高包络, 需要同时启用 OP 1 / OP 2 的音量 / 音高包络并使两者外形完全一致.
233 | ■ 当前预置并不能正确模拟 VRC7 音色.
234 |
235 |
236 | 音符力度 ♫ ◢
237 | 音符音高 ♫ ◢
238 | 通道音量 ● ☍
239 | 通道音高 ● ☍
240 | 通道音高 ● ☍
241 | MOD X (调制数量) ● ☍
242 | MOD Y (Vibrato 效果) ● ☍
243 |
244 |
245 |
246 |
247 | Sunsoft 2\Sunsoft.fst
248 |
249 | DirectWave
250 | FLi/VSTi
251 |
252 | 模拟 Sunsoft 风格 BASS 音色 (DPCM, 支持循环标记).
253 | ■ 微调采样音高的参数位于 ZONE ---> Pitch Tune (1 半音 = 100 Cents)
254 |
255 |
256 | 音符力度 (不推荐) ♫ ◢
257 | 音符音高 ♫ ◢
258 | 通道音量 ● ☍
259 | 通道音高 ● ☍
260 |
261 |
262 |
263 |
264 | Solutions\Event Snap\16 steps.png
265 | Solutions\Event Snap\32 steps.png
266 | Solutions\Event Snap\64 steps.png
267 | Solutions\Event Snap\96 steps - C.png
268 | Solutions\Event Snap\128 steps.png
269 | Solutions\Event Snap\256 steps - C.png
270 |
271 | Fruity Dance
272 | FLi
273 |
274 | 强制使事件编辑器模拟 MML 量化值, 并使编辑器中的值与事件编辑器显示的栅格对齐.
275 | ■ 不同的动作表将决定 "跳舞动作" 拥有不同的量化值.
276 | ■ "跳舞动作" 将不显示任何有效动画.
277 | ■ 在 FL Studio 中与事件编辑器的栅格显示对齐, 例如音量 MML 的量化范围为 0 ~ 15, 则事件编辑器中将始终得到 0 ~ 16.
278 |
279 |
280 |
281 |
282 |
283 |
284 |
选择器链接
285 |
286 |
287 |
--------------------------------------------------------------------------------
/help/0006.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 工具与其它 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
13 |
14 | 工具与其它
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | 文件名
25 | SHA-1
26 | 操作系统
27 | 说明
28 |
29 |
30 |
31 |
32 | MML2FNV.exe
33 | f15d1f1c824e524e2aa5bccb9b9551bb13494253
34 | Windows
35 |
36 | 允许 FL Studio 模拟 FamiTracker 中 N163 / FDS 波形或包络的 MML 字串.
37 | ■ 作者: Yamato Ryou
38 |
39 |
40 |
41 | RJDMC\HA_RJDMC_105.exe
42 | 0dd2b06657173a0b3e446a90d53158c5cd368e05
43 | Windows
44 |
45 | 转换 PCM 编码 WAV 格式音频到 DPCM 格式 (dmc 或 wav 文件).
46 | ■ 作者: RushJet1
47 | ■ 本程序已经过汉化及用户界面修正.
48 |
49 |
50 |
51 | N163.ny
52 | 4136e91bb2971f6bd61d2e3c69b058dcffdaf451
53 |
54 |
55 | 将原始单循环波形 (WAV) 转换为 N163 / FDS 音质 (MML 形式) 的脚本.
56 | ■ 作者: Kef Schecter
57 | ■ 需要在 Audacity 下使用.
58 |
59 |
60 |
61 |
62 |
选择器链接
63 |
64 |
65 |
--------------------------------------------------------------------------------
/help/0007.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 示例工程 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
14 |
15 | 示例工程
16 |
17 | 这些工程用于演示部分可用效果及推荐的制作手法, 位于 tutorials 文件夹.
18 | 请使用 FL Studio 11.1.0 或更高版本打开这些工程.
19 | 文件夹可能存在未在本列表列出的工程.
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | 文件名
31 | 工程信息
32 | 注释
33 |
34 |
35 |
36 |
37 | RAF World - Stage 2.flp
38 | FLP by Yamato Ryou
39 |
40 | 暂缺
41 |
42 |
43 |
44 | Terminator 2 - Judgement Day - Stage 1.flp
45 | FLP by Yamato Ryou
46 |
47 | 暂缺
48 |
49 |
50 |
51 | Daredevil (Dual C64 Simulate).flp
52 | FLP by Yamato Ryou
53 |
54 | 暂缺
55 |
56 |
57 |
58 | Ascending the Tower.flp
59 | FLP by Yamato Ryou
60 |
61 | 暂缺
62 |
63 |
64 |
65 | 送别 (学习卡风格).flp
66 | FLP by Yamato Ryou
67 |
68 | 使用了不推荐的制作手法.
69 |
70 |
71 |
72 | City Connection - Stage 1.flp
73 | FLP by Yamato Ryou
74 |
75 | 暂缺
76 |
77 |
78 |
79 | Teenage Mutant Ninja Turtles - Tournament Fighters - Story.flp
80 | FLP by Yamato Ryou
81 |
82 | 使用了不推荐的制作手法.
83 |
84 |
85 |
86 | Untitled Music.{FA31B481-7E39-4545-BF9A-3F5D2256D3D3}.flp
87 | FLP by Yamato Ryou
88 |
89 | 暂缺
90 |
91 |
92 |
93 | Treasure Master - Title.flp
94 | FLP by Yamato Ryou
95 |
96 | 暂缺
97 |
98 |
99 |
100 | Moster in My Pocket - Stage 4.flp
101 | FLP by Yamato Ryou
102 |
103 | 暂缺
104 |
105 |
106 |
107 |
108 |
选择器链接
109 |
110 |
111 |
--------------------------------------------------------------------------------
/help/0008.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 成品演示工程 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | 成品演示工程
13 |
14 |
■ 这些工程用于展示预置的最终能力, 请访问此链接 以获取工程.
15 |
■ 请使用 FL Studio 11.1.0 或更高版本打开这些工程, 并跳过所有信息框.
16 |
■ 若无法打开, 请先解压压缩包内容到任意位置, 并打开 FLP 文件.
17 |
选择器链接
18 |
19 |
20 |
--------------------------------------------------------------------------------
/help/0009.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 使用方法 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | 使用方法
13 |
14 |
■ 在 FL Studio 中按下 F10 转到 File 标签.
15 |
■ 在列表中的任意空闲项目处指定 2A03 预置文件夹.
16 |
■ 若添加的文件夹仍然没有出现, 在浏览器顶端单击 按钮以刷新浏览器视图.
17 |
■ 现在可以从浏览器将预置文件拖动到通道机架上, FL Studio 将载入预置文件中的插件设置和通道设置.
18 |
■ 要获得更多文档中未说明的预置应用细节, 请参考示例工程及成品演示工程.
19 |
选择器链接
20 |
21 |
22 |
--------------------------------------------------------------------------------
/help/0010.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 其它说明 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | 其它说明
13 |
14 |
■ FST 文件均为通道预置, 内部限制通道最大复音数为 1 (DirectWave 除外, 详见此处 . 有效音符在同一起始时间内达到 2 个或以上则只回放其中 1 个, 且被播放的一定是最近添加的音符).
15 |
■ 音符微调音高用于单独调整 1 个音符的音高 (不支持滑行, 范围 -1200 ~ 1200 音分).
16 |
■ 所有使用 MOD Y 产生的 Vibrato 效果都需要根据音符音高调节深度.
17 |
■ 所有包络编辑器并不完全适用 MML 包络规则, 音符力度; 通道音量等因素都将影响单个音符的 MML 结果. 工程开始前应定义相对一致的通道音量及音符力度才是正确方法. 详见 "因素相乘".
18 |
■ 由于 FL Studio 限制, 2 个或以上滑行属性在同一通道; 同一乐谱; 同一时间内触发将产生冲突.
19 |
■ 如果你的作品倾向原汁原味, 请尽量不使用那些有破坏性的效果器 (如均衡器; 滤波器; 混响; 失真), 应替换为在 FamiTracker 或其它 NSF 编译工具能做到的效果.
20 |
选择器链接
21 |
22 |
23 |
--------------------------------------------------------------------------------
/help/0011.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 预置其它细节 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
13 |
14 | 预置其它细节
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | 插件
25 | 重要参数
26 | 注释
27 |
28 |
29 |
30 |
31 | Sytrus
32 | DECLICK
33 |
34 | ■ 移除音符起始嘀嗒声 (起始软化).
35 |
36 |
37 |
38 | B.LIMIT
39 |
40 | ■ 波段限制波形, 用于获得更干净的声音.
41 |
42 |
43 |
44 | OVERSAMPLING
45 |
46 | ■ 超采样系数, 用于提升波形成型质量, 有效降低 WS 模块产生的噪音, 但会增加 CPU 占用. 通常不超过 16x.
47 |
48 |
49 |
50 | ENV / LFO
51 |
52 | ■ 音量包络: ATTACK 与 DECAY 处于同一时间可进一步移除音符起始嘀嗒声.
53 | ■ 长度一致原则: 若其中一个包络 / LFO 已启用, 且它的长度超出其它所有包络 / LFO 的每个原始长度, 则所有 OP 的包络 / LFO 长度与该包络的长度相同. 不再需要该包络 / LFO 或发现音符长度异常应及时禁用.
54 | ■ 谐波丢失与 B.LIMIT 失效: 当使用通道音高事件; 滑行属性改变音高时, 大幅度滑行将丢失部分谐波; 反之 B.LIMIT 将失效 (除非停用 B.LIMIT 并启用 OVERSAMPLING).
55 | ■ 以 MML 规则启用音量包络时, 建议酌情减小插件主控音量.
56 |
57 |
58 |
59 | MOD X / Y
60 |
61 | ■ 主控面板上的 MOD X / Y 参数值会与音符中的 MOD X / Y 属性值相乘 (例如一个音符的 MOD Y 属性值为 -50%, MOD Y 参数值为 100%, 则最终效果等同于 MOD Y 属性值为 0%, MOD Y 参数值为 50%). 该通道中若只有少数音符应用这些效果, 则应将主控面板上的 MOD X / Y 归零.
62 |
63 |
64 |
65 | Patcher
66 |
67 |
68 |
69 |
70 |
71 |
72 | DirectWave
73 | 最大复音数 (通道设置)
74 |
75 | ■ 在该插件中, 限制最大复音数的情况下快速连奏可能会导致部分音符不响应, 请设置通道最大复音数为允许值的 2 倍. 原因可能是 Native 版本的 DirectWave 存在 Bug.
76 |
77 |
78 |
79 | Dance
80 | 跳舞动作
81 |
82 | ■ 该参数在事件编辑器中会随动作表中定义的动作数量产生不平滑的阶梯, 利用此特性可以模拟 MML.
83 |
84 |
85 |
86 |
87 |
选择器链接
88 |
89 |
90 |
--------------------------------------------------------------------------------
/help/0012.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 避免因素相乘 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
13 |
14 | 因素相乘
15 |
16 |
17 |
18 |
19 | 类别
20 |
21 | 在 FL Studio 中有多种因素共同决定音符的音量或音高. 要使某种因素成为决定音量或音高的唯一因素, 请将除此之外的因素设为默认或最大值.
22 | 简而言之, 此处表格遵循的是 FamiTracker 的思维, 例如一个音符的最终音量为 50%, 决定该结果的只能是一种因素.
23 | 算法示例 1: 最终音量 50% = 音符力度 (50%) * 插件主音量 (100%) * 通道音量 (100%) * 混音器输出音量 (100%) * 主控音量 (工程全局, 100%)
24 | 算法示例 2: 最终音高 C5 = 音符音高 (C5) * 音符微调音高 (50%, 0 音分, 居中) * 插件主音高 (50%, 0 音分, 居中) * 通道音高 (50%, 0 音分, 居中) * 主控音高 (工程全局, 50%, 0 音分, 居中)
25 |
26 |
27 |
28 |
29 |
30 | 音量
31 | 音符力度
32 | 音量包络 / LFO (矫音器)
33 | 插件主音量
34 | 通道音量
35 | 混音器输出音量 (效果器)
36 | 混音器输出音量 (Master)
37 | 主控音量 (工程全局)
38 |
39 |
40 | 音高
41 | 音符音高及音符微调音高
42 | 音高包络 / LFO (矫音器)
43 | 插件主音高
44 | 通道音高
45 | ----
46 | ----
47 | 主控音高 (工程全局)
48 |
49 |
50 |
51 |
选择器链接
52 |
53 |
54 |
--------------------------------------------------------------------------------
/help/001301.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | MML2FNV 简述 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | MML2FNV 简述
13 |
14 |
■ 将 FamiTracker 中使用 MML 定义的包络 / 波形等信息转换为 FL Studio 可用的等价矫音目标, 用于模拟 FamiTracker 下可变波形与包络.
15 |
■ "随机噪波 S" 按钮用于为 Noise S (Free).fst 或 Noise S (Sytrus x16 in Patcher).fst 提供一个随机的噪波外形.
16 |
■ 包络模拟并非绝对准确, 请酌情使用.
17 |
■ 运行时指定以下参数可启用特殊功能:
18 |
-large: 长模式, 允许处理长度超过 512 个元素的 MML 字串, "随机噪波 L" 按钮将启用, 用于为 Noise L (Free).fst 或 Noise L (Sytrus x16 in Patcher).fst 提供一个随机的噪波外形. 但此模式下无法预览, 且处理过长的 MML 会使程序无响应.
19 |
选择器链接
20 |
21 |
22 |
--------------------------------------------------------------------------------
/help/001302.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 处理负值并在 MML2FNV 中转换 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | 处理负值并在 MML2FNV 中转换
13 |
14 |
■ 需要准备以下软件:
15 |
1. Notepad2 等文本编辑器
16 |
2. Excel
17 |
18 |
■ 步骤:
19 |
1. 将得到的 MML 字串粘贴到 Notepad2 等文本编辑器中;
20 |
2. 将所有空格 (16 进制: 20) 替换为 Windows 回车符 (16 进制: 0D0A; 转义: \r\n), 处理完成后每个元素占用 1 行;
21 |
3. 将处理后的文本粘贴到 Excel 中第 A 列;
22 |
4. 选中第 B 列的所有单元格 (具体数量取决于第 A 列的有效单元格数量. 例如第 A 列从 A1 ~ A253 共填充了 253 个单元格, 则选择第 B 列选择 B1 ~ B253);
23 |
5. 请先确定这些数值的范围, 然后在公式栏键入能容纳这些数值的最大值 (例如 MML范围从-128 ~ 127, 则公式栏填 127), 并按 Ctrl + 回车键, 第 B 列的每个被选择的单元格将会被刚才键入的值填充;
24 |
6. 复制第 B 列的单元格, 并再次选中第 A 列的所有有效单元格. 鼠标右键菜单上选择 "选择性粘贴";
25 |
7. 弹出的窗口中, 运算部分选择 "加", 单击 "确定";
26 |
8. 再次复制处理后的第 A 列,粘贴到 Notepad2;
27 |
9. 将所有 Windows 平台回车符 (16 进制: 0D0A; 转义: \r\n) 替换为空格 (16 进制: 20);
28 |
10. 粘贴到 MML2FNV, 单击 "开始".
29 |
选择器链接
30 |
31 |
32 |
--------------------------------------------------------------------------------
/help/001303.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | RJDMC 简述 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
11 |
12 | RJDMC 简述
13 |
14 |
■ 将 FamiTracker 中使用的 dmc 文件转换为 FL Studio 可用的 PCM 编码 wav 文件, 同时保留 DPCM 编码的音质.
15 |
■ 要一次转换多个, 请在菜单中依次选择 "编辑 (E)" ---> "批量导出选项...", 在对话框中选择 "自动转换到 WAV", 单击 "确定".
16 |
■ RJDMC 仅支持 PCM 编码的 WAV 文件, 如无法确认请使用 GoldWave 打开该文件并检查窗口左下角给出的文件信息.
17 |
选择器链接
18 |
19 |
20 |
--------------------------------------------------------------------------------
/help/001304.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 使用 Adobe Audition修复带杂音的采样 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
12 |
13 | 使用 Adobe Audition修复带杂音的采样
14 |
15 |
■ 当你对 DPCM 采样的原始音频 不满意时可使用声谱图编辑模式 (框选或画笔工具) 对不需要的部分进行衰减或去除. 处理完成后使用 RJDMC 转换.
16 |
17 |
18 |
19 | 1.
20 |
21 | 2.
22 |
23 | 3.
24 |
25 |
26 |
27 |
28 |
■ 请勿直接编辑经 RJDMC 转换后的音频.
29 |
■ 由于 DPCM 编码特性, 转换后的音频将衰减大部分中高频段, 且最高采样率为 33144 Hz.
30 |
选择器链接
31 |
32 |
33 |
--------------------------------------------------------------------------------
/help/001305.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | PPQ 的重要性 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
12 |
13 | PPQ 的重要性
14 |
15 |
■ PPQ 将决定以下参数的精确度 (可以理解为每拍的 "帧数").
16 |
1. 事件
17 |
2. 音符
18 |
3. Sytrus 中所有包络的时间精度
19 |
4. 一些未列出, 本框架不使用但事实存在的其它参数
20 |
■ PPQ 越高, 除上述参数外, CPU 占用也会越高.
21 |
■ 创作的第一步, 我推荐降低 PPQ 到 24, 这么做有助于最终作品听上去更像 Chiptune.
22 |
■ 当 PPQ 及 BPM 各为 60 时, 可以认为当前工程模拟了 2A03 的运行帧率 (2A07 为 50).
23 |
■ 然而现实并不会这么美好, 因为创作过程中 BPM 是创作者严重依赖的参数之一, 无法根据 BPM 确定绝对正确的 PPQ 而只能选择一个相对适合的值.
24 |
■ BPM 还会决定 "每帧" 的持续时间, 例如 PPQ 及 BPM 各为 60 时, 每帧时间为 16.6666666666667 毫秒.
25 |
■ 对帧率的绝对模拟可以参考示例工程 Moster in My Pocket - Stage 4.flp, 当然非常不推荐这种手法, 除非创作者确定当前歌曲 BPM 为 60 (或等效的 120), 否则整个工程的节拍与 FL Studio 中显示的栅格无法对齐.
26 |
选择器链接
27 |
28 |
29 |
--------------------------------------------------------------------------------
/help/001306.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 使用参数事件模拟 MML - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
12 |
13 | 使用参数事件模拟 MML
14 |
15 |
■ 由于 MML 无法完美移植到 FL Studio, 预置提供了方法进行模拟.
16 |
0. 所需的动作信息全部位于 Solutions\Event Snap.
17 |
1. 使用 Fruity Dance 加载自定义动作表 (PNG 图像), 预置分别提供了 6 种不同量化值的动作表.
18 |
2. 常用的为 16 步, 用于模拟淡入淡出或音量包络.
19 |
3. "跳舞动作" 在本节定义为不同的量化值, 将不显示任何有意义的动画.
20 |
4. 编辑 "跳舞动作" 的参数事件, 完成后将事件粘贴到所选通道的音量或音高等需要进行模拟的参数事件.
21 |
5. 所有事件移动完毕后可以从工程中删除 Fruity Dance.
22 |
23 |
■ 不同量化值普遍适用的目标参数:
24 |
16: 通道音量
25 |
32: N163 相位调整 (相当于 Sytrus 的 X 调制)
26 |
64: 自由
27 |
96 C: 通道音高调整 (分度值为 100 音分 = 1 半音)
28 |
128: 通道音高调整 (1/2 MML 规则)
29 |
256 C: 通道音高调整 (MML 规则)
30 |
选择器链接
31 |
32 |
33 |
--------------------------------------------------------------------------------
/help/001307.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 词汇表 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
13 |
14 | 词汇表
15 |
16 |
17 |
18 |
19 | 单词
20 | 说明
21 |
22 |
23 |
24 |
25 | BPM (Beats per Minute)
26 | 每分钟的节拍数.
27 |
28 |
29 | PPQ (Pulses Per Quarter-note)
30 | 每节拍的精度, 默认为 96. PPQ 的其它说明详见此处
31 |
32 |
33 | OP (Operator)
34 | 运算器, Sytrus 中的基本发生器单位, 可产生波形信号或经过 FM (Frequency Modulation, 频率调制) 或 RM (Ring Modulation, 环形调制) 后的波形信号.
35 |
36 |
37 | WS (Wave Shaper)
38 | 波形整形, Sytrus 中的 WS 模块可以将原始波形进行重塑. 与其相似的插件为 Fruity WaveShaper.
39 |
40 |
41 | Click / Declick
42 | 一个波形的起始触发电平不等于 0db 时会产生不同程度的咔哒声, 它可能会影响瞬时动态范围. 音频流中出现一段恒定的波形偏上或偏下则称为直流偏移 (DCO: Direct Current Offset). Sytrus 的每个 OP 都具备 Declick 开关以尽可能避免此问题.
43 |
44 |
45 | Center
46 | Sytrus 的每个 OP 都具备 Center 开关以去除直流偏移使波形居中. 请注意: 它并不能使波形的起始处 居中, 因此触发时可能仍然会出现咔哒声.
47 |
48 |
49 | FILT (Filter)
50 | 滤波器, Sytrus 具备 3 个滤波器对上游信号进行过滤.
51 |
52 |
53 | ENV (Envelope)
54 | 包络, 使用线段 (直线或曲线) 对波形的指定目标随时间流逝进行增大或减小; 升高或降低; 偏左或偏右, 包络可以作用于音量 / 音高 / 声像等.
55 |
56 |
57 | ADSR (Attack / Decay / Sustain / Release)
58 | 分别包括 "起始" / "衰减" / "持续" / "释放", 它们是一个完整包络的组成部分.
59 |
60 |
61 | MML (Music Macro Language)
62 | 音乐宏语言, 使用特定格式的字符描述音符长度 / 音量 / 音高, 还可以用一串不连续的数字表示包络或波形. 在本文档中的 MML 仅用于描述包络或波形. 使用 MML 描述的包络或波形是不连续的, 这种需求劣化了之前相对的连续性. 假设 FL Stdio 中某个参数的真实值从 0 到 1 共有 65536 个步进 (0 到 1 之间平均分割成 65536 个, 可以理解为 "分辨率"), 将其 MML 化之后, 步进数将缩减到 16; 32; 64; 128 或 256.
63 |
64 |
65 |
66 |
选择器链接
67 |
68 |
69 |
--------------------------------------------------------------------------------
/help/001308.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 噪波预置键位; 音高与事件编辑器对照表 - 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
15 |
16 | 噪波预置键位; 音高与事件编辑器对照表
17 |
18 |
19 |
20 |
21 | 类型
22 | 频率标识符
23 | 对应的音高键 根键位 (以钢琴窗计)
24 | 事件编辑器相对上一个键的增量 (音分) 100 音分 = 1 半音
25 | 事件编辑器相对居中的增量 (音分) 100 音分 = 1 半音
26 |
27 |
28 |
29 |
30 | Long cycle 32767
31 | 0
32 | E2
33 | 0
34 | 0
35 |
36 |
37 | 1
38 | E3
39 | + 1200
40 | + 1200
41 |
42 |
43 | 2
44 | E4
45 | + 1200
46 | + 2400
47 |
48 |
49 | 3
50 | A4
51 | + 500
52 | + 2900
53 |
54 |
55 | 4
56 | E5
57 | + 700
58 | + 3600
59 |
60 |
61 | 5
62 | A5
63 | + 500
64 | + 4100
65 |
66 |
67 | 6
68 | E6
69 | + 700
70 | + 4800
71 |
72 |
73 | 7
74 | A6
75 | + 500
76 | 0
77 |
78 |
79 | 8
80 | E7
81 | + 700
82 | + 700
83 |
84 |
85 | 9
86 | A7
87 | + 500
88 | + 1200
89 |
90 |
91 | A
92 | E8
93 | + 700
94 | + 1900
95 |
96 |
97 | B
98 | A8
99 | + 500
100 | + 2400
101 |
102 |
103 | C
104 | E9
105 | + 700
106 | + 2900
107 |
108 |
109 | D
110 | A9
111 | + 500
112 | + 3400
113 |
114 |
115 | E
116 | E10
117 | + 700
118 | + 4100
119 |
120 |
121 | F
122 | A10
123 | + 500
124 | + 4600
125 |
126 |
127 | Short cycle 93
128 | 0
129 | D0
130 | 0
131 | 0
132 |
133 |
134 | 1
135 | A0
136 | + 700
137 | + 700
138 |
139 |
140 | 2
141 | A1
142 | + 1200
143 | + 1900
144 |
145 |
146 | 3
147 | D2
148 | + 400
149 | + 2300
150 |
151 |
152 | 4
153 | D3
154 | + 1200
155 | + 3500
156 |
157 |
158 | 5
159 | G3
160 | + 500
161 | + 4000
162 |
163 |
164 | 6
165 | D4
166 | + 700
167 | + 4700
168 |
169 |
170 | 7
171 | F#4
172 | + 400
173 | 0
174 |
175 |
176 | 8
177 | A#4
178 | + 400
179 | + 400
180 |
181 |
182 | 9
183 | D5
184 | + 400
185 | + 800
186 |
187 |
188 | A
189 | G5
190 | + 500
191 | + 1300
192 |
193 |
194 | B
195 | D6
196 | + 700
197 | + 2000
198 |
199 |
200 | C
201 | D7
202 | + 1200
203 | + 3200
204 |
205 |
206 | D
207 | D8
208 | + 1200
209 | + 4400
210 |
211 |
212 | E
213 | D9
214 | + 1200
215 | 0
216 |
217 |
218 | F
219 | D10
220 | + 1200
221 | + 1200
222 |
223 |
224 |
225 |
选择器链接
226 |
227 |
228 |
--------------------------------------------------------------------------------
/help/2a03presetsforflstudio.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | 2A03 预置 for FL Studio 帮助文档
4 |
5 |
6 |
7 |
19 |
20 |
21 |
37 |
38 |
66 |
67 |
为保证网页能正常显示, 请使用桌面浏览器. 文档版本: 0.0.14 最后更新日期: 2020 / 06 / 25
68 |
69 |
70 |
71 |
72 |
73 |
76 |
77 |
83 |
94 |
95 |
--------------------------------------------------------------------------------
/help/layui/css/layui.mobile.css:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | blockquote,body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,td,textarea,th,ul{margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}html{font:12px 'Helvetica Neue','PingFang SC',STHeitiSC-Light,Helvetica,Arial,sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0)}a{text-decoration:none;background:0 0}a:active,a:hover{outline:0}table{border-collapse:collapse;border-spacing:0}li{list-style:none}b,strong{font-weight:700}h1,h2,h3,h4,h5,h6{font-weight:500}address,cite,dfn,em,var{font-style:normal}dfn{font-style:italic}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}img{border:0;vertical-align:bottom}.layui-inline,input,label{vertical-align:middle}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;outline:0}button,select{text-transform:none}select{-webkit-appearance:none;border:none}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}@font-face{font-family:layui-icon;src:url(../font/iconfont.eot?v=1.0.7);src:url(../font/iconfont.eot?v=1.0.7#iefix) format('embedded-opentype'),url(../font/iconfont.woff?v=1.0.7) format('woff'),url(../font/iconfont.ttf?v=1.0.7) format('truetype'),url(../font/iconfont.svg?v=1.0.7#iconfont) format('svg')}.layui-icon{font-family:layui-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.layui-box,.layui-box *{-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important}.layui-border-box,.layui-border-box *{-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.layui-inline{position:relative;display:inline-block;*display:inline;*zoom:1}.layui-edge,.layui-upload-iframe{position:absolute;width:0;height:0}.layui-edge{border-style:dashed;border-color:transparent;overflow:hidden}.layui-elip{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-unselect{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-disabled,.layui-disabled:active{background-color:#d2d2d2!important;color:#fff!important;cursor:not-allowed!important}.layui-circle{border-radius:100%}.layui-show{display:block!important}.layui-hide{display:none!important}.layui-upload-iframe{border:0;visibility:hidden}.layui-upload-enter{border:1px solid #009E94;background-color:#009E94;color:#fff;-webkit-transform:scale(1.1);transform:scale(1.1)}@-webkit-keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layui-m-anim-scale{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.layui-m-anim-scale{animation-name:layui-m-anim-scale;-webkit-animation-name:layui-m-anim-scale}@-webkit-keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layui-m-anim-up{0%{opacity:0;-webkit-transform:translateY(800px);transform:translateY(800px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.layui-m-anim-up{-webkit-animation-name:layui-m-anim-up;animation-name:layui-m-anim-up}@-webkit-keyframes layui-m-anim-left{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes layui-m-anim-left{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.layui-m-anim-left{-webkit-animation-name:layui-m-anim-left;animation-name:layui-m-anim-left}@-webkit-keyframes layui-m-anim-right{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes layui-m-anim-right{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.layui-m-anim-right{-webkit-animation-name:layui-m-anim-right;animation-name:layui-m-anim-right}@-webkit-keyframes layui-m-anim-lout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes layui-m-anim-lout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.layui-m-anim-lout{-webkit-animation-name:layui-m-anim-lout;animation-name:layui-m-anim-lout}@-webkit-keyframes layui-m-anim-rout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes layui-m-anim-rout{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}.layui-m-anim-rout{-webkit-animation-name:layui-m-anim-rout;animation-name:layui-m-anim-rout}.layui-m-layer{position:relative;z-index:19891014}.layui-m-layer *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.layui-m-layermain,.layui-m-layershade{position:fixed;left:0;top:0;width:100%;height:100%}.layui-m-layershade{background-color:rgba(0,0,0,.7);pointer-events:auto}.layui-m-layermain{display:table;font-family:Helvetica,arial,sans-serif;pointer-events:none}.layui-m-layermain .layui-m-layersection{display:table-cell;vertical-align:middle;text-align:center}.layui-m-layerchild{position:relative;display:inline-block;text-align:left;background-color:#fff;font-size:14px;border-radius:5px;box-shadow:0 0 8px rgba(0,0,0,.1);pointer-events:auto;-webkit-overflow-scrolling:touch;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}.layui-m-layer0 .layui-m-layerchild{width:90%;max-width:640px}.layui-m-layer1 .layui-m-layerchild{border:none;border-radius:0}.layui-m-layer2 .layui-m-layerchild{width:auto;max-width:260px;min-width:40px;border:none;background:0 0;box-shadow:none;color:#fff}.layui-m-layerchild h3{padding:0 10px;height:60px;line-height:60px;font-size:16px;font-weight:400;border-radius:5px 5px 0 0;text-align:center}.layui-m-layerbtn span,.layui-m-layerchild h3{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-m-layercont{padding:50px 30px;line-height:22px;text-align:center}.layui-m-layer1 .layui-m-layercont{padding:0;text-align:left}.layui-m-layer2 .layui-m-layercont{text-align:center;padding:0;line-height:0}.layui-m-layer2 .layui-m-layercont i{width:25px;height:25px;margin-left:8px;display:inline-block;background-color:#fff;border-radius:100%;-webkit-animation:layui-m-anim-loading 1.4s infinite ease-in-out;animation:layui-m-anim-loading 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-m-layerbtn,.layui-m-layerbtn span{position:relative;text-align:center;border-radius:0 0 5px 5px}.layui-m-layer2 .layui-m-layercont p{margin-top:20px}@-webkit-keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}@keyframes layui-m-anim-loading{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.layui-m-layer2 .layui-m-layercont i:first-child{margin-left:0;-webkit-animation-delay:-.32s;animation-delay:-.32s}.layui-m-layer2 .layui-m-layercont i.layui-m-layerload{-webkit-animation-delay:-.16s;animation-delay:-.16s}.layui-m-layer2 .layui-m-layercont>div{line-height:22px;padding-top:7px;margin-bottom:20px;font-size:14px}.layui-m-layerbtn{display:box;display:-moz-box;display:-webkit-box;width:100%;height:50px;line-height:50px;font-size:0;border-top:1px solid #D0D0D0;background-color:#F2F2F2}.layui-m-layerbtn span{display:block;-moz-box-flex:1;box-flex:1;-webkit-box-flex:1;font-size:14px;cursor:pointer}.layui-m-layerbtn span[yes]{color:#40AFFE}.layui-m-layerbtn span[no]{border-right:1px solid #D0D0D0;border-radius:0 0 0 5px}.layui-m-layerbtn span:active{background-color:#F6F6F6}.layui-m-layerend{position:absolute;right:7px;top:10px;width:30px;height:30px;border:0;font-weight:400;background:0 0;cursor:pointer;-webkit-appearance:none;font-size:30px}.layui-m-layerend::after,.layui-m-layerend::before{position:absolute;left:5px;top:15px;content:'';width:18px;height:1px;background-color:#999;transform:rotate(45deg);-webkit-transform:rotate(45deg);border-radius:3px}.layui-m-layerend::after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}body .layui-m-layer .layui-m-layer-footer{position:fixed;width:95%;max-width:100%;margin:0 auto;left:0;right:0;bottom:10px;background:0 0}.layui-m-layer-footer .layui-m-layercont{padding:20px;border-radius:5px 5px 0 0;background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn{display:block;height:auto;background:0 0;border-top:none}.layui-m-layer-footer .layui-m-layerbtn span{background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn span[no]{color:#FD482C;border-top:1px solid #c2c2c2;border-radius:0 0 5px 5px}.layui-m-layer-footer .layui-m-layerbtn span[yes]{margin-top:10px;border-radius:5px}body .layui-m-layer .layui-m-layer-msg{width:auto;max-width:90%;margin:0 auto;bottom:-150px;background-color:rgba(0,0,0,.7);color:#fff}.layui-m-layer-msg .layui-m-layercont{padding:10px 20px}
--------------------------------------------------------------------------------
/help/layui/css/modules/code.css:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}
--------------------------------------------------------------------------------
/help/layui/css/modules/laydate/default/laydate.css:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | .laydate-set-ym,.layui-laydate,.layui-laydate *,.layui-laydate-list{box-sizing:border-box}html #layuicss-laydate{display:none;position:absolute;width:1989px}.layui-laydate *{margin:0;padding:0}.layui-laydate{position:absolute;z-index:66666666;margin:5px 0;border-radius:2px;font-size:14px;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:laydate-upbit;animation-name:laydate-upbit}.layui-laydate-main{width:272px}.layui-laydate-content td,.layui-laydate-header *,.layui-laydate-list li{transition-duration:.3s;-webkit-transition-duration:.3s}@-webkit-keyframes laydate-upbit{from{-webkit-transform:translate3d(0,20px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes laydate-upbit{from{transform:translate3d(0,20px,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-laydate-static{position:relative;z-index:0;display:inline-block;margin:0;-webkit-animation:none;animation:none}.laydate-ym-show .laydate-next-m,.laydate-ym-show .laydate-prev-m{display:none!important}.laydate-ym-show .laydate-next-y,.laydate-ym-show .laydate-prev-y{display:inline-block!important}.laydate-time-show .laydate-set-ym span[lay-type=month],.laydate-time-show .laydate-set-ym span[lay-type=year],.laydate-time-show .layui-laydate-header .layui-icon,.laydate-ym-show .laydate-set-ym span[lay-type=month]{display:none!important}.layui-laydate-header{position:relative;line-height:30px;padding:10px 70px 5px}.laydate-set-ym span,.layui-laydate-header i{padding:0 5px;cursor:pointer}.layui-laydate-header *{display:inline-block;vertical-align:bottom}.layui-laydate-header i{position:absolute;top:10px;color:#999;font-size:18px}.layui-laydate-header i.laydate-prev-y{left:15px}.layui-laydate-header i.laydate-prev-m{left:45px}.layui-laydate-header i.laydate-next-y{right:15px}.layui-laydate-header i.laydate-next-m{right:45px}.laydate-set-ym{width:100%;text-align:center;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.laydate-time-text{cursor:default!important}.layui-laydate-content{position:relative;padding:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-laydate-content table{border-collapse:collapse;border-spacing:0}.layui-laydate-content td,.layui-laydate-content th{width:36px;height:30px;padding:5px;text-align:center}.layui-laydate-content td{position:relative;cursor:pointer}.laydate-day-mark{position:absolute;left:0;top:0;width:100%;height:100%;line-height:30px;font-size:12px;overflow:hidden}.laydate-day-mark::after{position:absolute;content:'';right:2px;top:2px;width:5px;height:5px;border-radius:50%}.layui-laydate-footer{position:relative;height:46px;line-height:26px;padding:10px 20px}.layui-laydate-footer span{margin-right:15px;display:inline-block;cursor:pointer;font-size:12px}.layui-laydate-footer span:hover{color:#5FB878}.laydate-footer-btns{position:absolute;right:10px;top:10px}.laydate-footer-btns span{height:26px;line-height:26px;margin:0 0 0 -1px;padding:0 10px;border:1px solid #C9C9C9;background-color:#fff;white-space:nowrap;vertical-align:top;border-radius:2px}.layui-laydate-list>li,.layui-laydate-range .layui-laydate-main{display:inline-block;vertical-align:middle}.layui-laydate-list{position:absolute;left:0;top:0;width:100%;height:100%;padding:10px;background-color:#fff}.layui-laydate-list>li{position:relative;width:33.3%;height:36px;line-height:36px;margin:3px 0;text-align:center;cursor:pointer}.laydate-month-list>li{width:25%;margin:17px 0}.laydate-time-list>li{height:100%;margin:0;line-height:normal;cursor:default}.laydate-time-list p{position:relative;top:-4px;line-height:29px}.laydate-time-list ol{height:181px;overflow:hidden}.laydate-time-list>li:hover ol{overflow-y:auto}.laydate-time-list ol li{width:130%;padding-left:33px;line-height:30px;text-align:left;cursor:pointer}.layui-laydate-hint{position:absolute;top:115px;left:50%;width:250px;margin-left:-125px;line-height:20px;padding:15px;text-align:center;font-size:12px}.layui-laydate-range{width:546px}.layui-laydate-range .laydate-main-list-0 .laydate-next-m,.layui-laydate-range .laydate-main-list-0 .laydate-next-y,.layui-laydate-range .laydate-main-list-1 .laydate-prev-m,.layui-laydate-range .laydate-main-list-1 .laydate-prev-y{display:none}.layui-laydate-range .laydate-main-list-1 .layui-laydate-content{border-left:1px solid #e2e2e2}.layui-laydate,.layui-laydate-hint{border:1px solid #d2d2d2;box-shadow:0 2px 4px rgba(0,0,0,.12);background-color:#fff;color:#666}.layui-laydate-header{border-bottom:1px solid #e2e2e2}.layui-laydate-header i:hover,.layui-laydate-header span:hover{color:#5FB878}.layui-laydate-content{border-top:none 0;border-bottom:none 0}.layui-laydate-content th{font-weight:400;color:#333}.layui-laydate-content td{color:#666}.layui-laydate-content td.laydate-selected{background-color:#00F7DE}.laydate-selected:hover{background-color:#00F7DE!important}.layui-laydate-content td:hover,.layui-laydate-list li:hover{background-color:#eaeaea;color:#333}.laydate-time-list li ol{margin:0;padding:0;border:1px solid #e2e2e2;border-left-width:0}.laydate-time-list li:first-child ol{border-left-width:1px}.laydate-time-list>li:hover{background:0 0}.layui-laydate-content .laydate-day-next,.layui-laydate-content .laydate-day-prev{color:#d2d2d2}.laydate-selected.laydate-day-next,.laydate-selected.laydate-day-prev{background-color:#f8f8f8!important}.layui-laydate-footer{border-top:1px solid #e2e2e2}.layui-laydate-hint{color:#FF5722}.laydate-day-mark::after{background-color:#5FB878}.layui-laydate-content td.layui-this .laydate-day-mark::after{display:none}.layui-laydate-footer span[lay-type=date]{color:#5FB878}.layui-laydate .layui-this{background-color:#009688!important;color:#fff!important}.layui-laydate .laydate-disabled,.layui-laydate .laydate-disabled:hover{background:0 0!important;color:#d2d2d2!important;cursor:not-allowed!important;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.laydate-theme-molv{border:none}.laydate-theme-molv.layui-laydate-range{width:548px}.laydate-theme-molv .layui-laydate-main{width:274px}.laydate-theme-molv .layui-laydate-header{border:none;background-color:#009688}.laydate-theme-molv .layui-laydate-header i,.laydate-theme-molv .layui-laydate-header span{color:#f6f6f6}.laydate-theme-molv .layui-laydate-header i:hover,.laydate-theme-molv .layui-laydate-header span:hover{color:#fff}.laydate-theme-molv .layui-laydate-content{border:1px solid #e2e2e2;border-top:none;border-bottom:none}.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left:none}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li,.laydate-theme-grid .layui-laydate-content td,.laydate-theme-grid .layui-laydate-content thead,.laydate-theme-molv .layui-laydate-footer{border:1px solid #e2e2e2}.laydate-theme-grid .laydate-selected,.laydate-theme-grid .laydate-selected:hover{background-color:#f2f2f2!important;color:#009688!important}.laydate-theme-grid .laydate-selected.laydate-day-next,.laydate-theme-grid .laydate-selected.laydate-day-prev{color:#d2d2d2!important}.laydate-theme-grid .laydate-month-list,.laydate-theme-grid .laydate-year-list{margin:1px 0 0 1px}.laydate-theme-grid .laydate-month-list>li,.laydate-theme-grid .laydate-year-list>li{margin:0 -1px -1px 0}.laydate-theme-grid .laydate-year-list>li{height:43px;line-height:43px}.laydate-theme-grid .laydate-month-list>li{height:71px;line-height:71px}
--------------------------------------------------------------------------------
/help/layui/css/modules/layer/default/icon-ext.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/css/modules/layer/default/icon-ext.png
--------------------------------------------------------------------------------
/help/layui/css/modules/layer/default/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/css/modules/layer/default/icon.png
--------------------------------------------------------------------------------
/help/layui/css/modules/layer/default/layer.css:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | .layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .layui-layer-title span,.layui-layer-title{text-overflow:ellipsis;white-space:nowrap}html #layuicss-layer{display:none;position:absolute;width:1989px}.layui-layer,.layui-layer-shade{position:fixed;_position:absolute;pointer-events:auto}.layui-layer-shade{top:0;left:0;width:100%;height:100%;_height:expression(document.body.offsetHeight+"px")}.layui-layer{-webkit-overflow-scrolling:touch;top:150px;left:0;margin:0;padding:0;background-color:#fff;-webkit-background-clip:content;border-radius:2px;box-shadow:1px 1px 50px rgba(0,0,0,.3)}.layui-layer-close{position:absolute}.layui-layer-content{position:relative}.layui-layer-border{border:1px solid #B2B2B2;border:1px solid rgba(0,0,0,.1);box-shadow:1px 1px 5px rgba(0,0,0,.2)}.layui-layer-load{background:url(loading-1.gif) center center no-repeat #eee}.layui-layer-ico{background:url(icon.png) no-repeat}.layui-layer-btn a,.layui-layer-dialog .layui-layer-ico,.layui-layer-setwin a{display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-move{display:none;position:fixed;*position:absolute;left:0;top:0;width:100%;height:100%;cursor:move;opacity:0;filter:alpha(opacity=0);background-color:#fff;z-index:2147483647}.layui-layer-resize{position:absolute;width:15px;height:15px;right:0;bottom:0;cursor:se-resize}.layer-anim{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes layer-bounceIn{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layer-bounceIn{0%{opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-00{-webkit-animation-name:layer-bounceIn;animation-name:layer-bounceIn}@-webkit-keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-01{-webkit-animation-name:layer-zoomInDown;animation-name:layer-zoomInDown}@-webkit-keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.layer-anim-02{-webkit-animation-name:layer-fadeInUpBig;animation-name:layer-fadeInUpBig}@-webkit-keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-03{-webkit-animation-name:layer-zoomInLeft;animation-name:layer-zoomInLeft}@-webkit-keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}@keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);-ms-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}.layer-anim-04{-webkit-animation-name:layer-rollIn;animation-name:layer-rollIn}@keyframes layer-fadeIn{0%{opacity:0}100%{opacity:1}}.layer-anim-05{-webkit-animation-name:layer-fadeIn;animation-name:layer-fadeIn}@-webkit-keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.layer-anim-06{-webkit-animation-name:layer-shake;animation-name:layer-shake}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.layui-layer-title{padding:0 80px 0 20px;height:42px;line-height:42px;border-bottom:1px solid #eee;font-size:14px;color:#333;overflow:hidden;background-color:#F8F8F8;border-radius:2px 2px 0 0}.layui-layer-setwin{position:absolute;right:15px;*right:0;top:15px;font-size:0;line-height:initial}.layui-layer-setwin a{position:relative;width:16px;height:16px;margin-left:10px;font-size:12px;_overflow:hidden}.layui-layer-setwin .layui-layer-min cite{position:absolute;width:14px;height:2px;left:0;top:50%;margin-top:-1px;background-color:#2E2D3C;cursor:pointer;_overflow:hidden}.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2D93CA}.layui-layer-setwin .layui-layer-max{background-position:-32px -40px}.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px}.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px}.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px}.layui-layer-setwin .layui-layer-close1{background-position:1px -40px;cursor:pointer}.layui-layer-setwin .layui-layer-close1:hover{opacity:.7}.layui-layer-setwin .layui-layer-close2{position:absolute;right:-28px;top:-28px;width:30px;height:30px;margin-left:0;background-position:-149px -31px;*right:-18px;_display:none}.layui-layer-setwin .layui-layer-close2:hover{background-position:-180px -31px}.layui-layer-btn{text-align:right;padding:0 15px 12px;pointer-events:auto;user-select:none;-webkit-user-select:none}.layui-layer-btn a{height:28px;line-height:28px;margin:5px 5px 0;padding:0 15px;border:1px solid #dedede;background-color:#fff;color:#333;border-radius:2px;font-weight:400;cursor:pointer;text-decoration:none}.layui-layer-btn a:hover{opacity:.9;text-decoration:none}.layui-layer-btn a:active{opacity:.8}.layui-layer-btn .layui-layer-btn0{border-color:#1E9FFF;background-color:#1E9FFF;color:#fff}.layui-layer-btn-l{text-align:left}.layui-layer-btn-c{text-align:center}.layui-layer-dialog{min-width:260px}.layui-layer-dialog .layui-layer-content{position:relative;padding:20px;line-height:24px;word-break:break-all;overflow:hidden;font-size:14px;overflow-x:hidden;overflow-y:auto}.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute;top:16px;left:15px;_left:-40px;width:30px;height:30px}.layui-layer-ico1{background-position:-30px 0}.layui-layer-ico2{background-position:-60px 0}.layui-layer-ico3{background-position:-90px 0}.layui-layer-ico4{background-position:-120px 0}.layui-layer-ico5{background-position:-150px 0}.layui-layer-ico6{background-position:-180px 0}.layui-layer-rim{border:6px solid #8D8D8D;border:6px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:none}.layui-layer-msg{min-width:180px;border:1px solid #D3D4D3;box-shadow:none}.layui-layer-hui{min-width:100px;background-color:#000;filter:alpha(opacity=60);background-color:rgba(0,0,0,.6);color:#fff;border:none}.layui-layer-hui .layui-layer-content{padding:12px 25px;text-align:center}.layui-layer-dialog .layui-layer-padding{padding:20px 20px 20px 55px;text-align:left}.layui-layer-page .layui-layer-content{position:relative;overflow:auto}.layui-layer-iframe .layui-layer-btn,.layui-layer-page .layui-layer-btn{padding-top:10px}.layui-layer-nobg{background:0 0}.layui-layer-iframe iframe{display:block;width:100%}.layui-layer-loading{border-radius:100%;background:0 0;box-shadow:none;border:none}.layui-layer-loading .layui-layer-content{width:60px;height:24px;background:url(loading-0.gif) no-repeat}.layui-layer-loading .layui-layer-loading1{width:37px;height:37px;background:url(loading-1.gif) no-repeat}.layui-layer-ico16,.layui-layer-loading .layui-layer-loading2{width:32px;height:32px;background:url(loading-2.gif) no-repeat}.layui-layer-tips{background:0 0;box-shadow:none;border:none}.layui-layer-tips .layui-layer-content{position:relative;line-height:22px;min-width:12px;padding:8px 15px;font-size:12px;_float:left;border-radius:2px;box-shadow:1px 1px 3px rgba(0,0,0,.2);background-color:#000;color:#fff}.layui-layer-tips .layui-layer-close{right:-2px;top:-1px}.layui-layer-tips i.layui-layer-TipsG{position:absolute;width:0;height:0;border-width:8px;border-color:transparent;border-style:dashed;*overflow:hidden}.layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT{left:5px;border-right-style:solid;border-right-color:#000}.layui-layer-tips i.layui-layer-TipsT{bottom:-8px}.layui-layer-tips i.layui-layer-TipsB{top:-8px}.layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR{top:5px;border-bottom-style:solid;border-bottom-color:#000}.layui-layer-tips i.layui-layer-TipsR{left:-8px}.layui-layer-tips i.layui-layer-TipsL{right:-8px}.layui-layer-lan[type=dialog]{min-width:280px}.layui-layer-lan .layui-layer-title{background:#4476A7;color:#fff;border:none}.layui-layer-lan .layui-layer-btn{padding:5px 10px 10px;text-align:right;border-top:1px solid #E9E7E7}.layui-layer-lan .layui-layer-btn a{background:#fff;border-color:#E9E7E7;color:#333}.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#C9C5C5}.layui-layer-molv .layui-layer-title{background:#009f95;color:#fff;border:none}.layui-layer-molv .layui-layer-btn a{background:#009f95;border-color:#009f95}.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92B8B1}.layui-layer-iconext{background:url(icon-ext.png) no-repeat}.layui-layer-prompt .layui-layer-input{display:block;width:230px;height:36px;margin:0 auto;line-height:30px;padding-left:10px;border:1px solid #e6e6e6;color:#333}.layui-layer-prompt textarea.layui-layer-input{width:300px;height:100px;line-height:20px;padding:6px 10px}.layui-layer-prompt .layui-layer-content{padding:20px}.layui-layer-prompt .layui-layer-btn{padding-top:0}.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4)}.layui-layer-tab .layui-layer-title{padding-left:0;overflow:visible}.layui-layer-tab .layui-layer-title span{position:relative;float:left;min-width:80px;max-width:260px;padding:0 20px;text-align:center;overflow:hidden;cursor:pointer}.layui-layer-tab .layui-layer-title span.layui-this{height:43px;border-left:1px solid #eee;border-right:1px solid #eee;background-color:#fff;z-index:10}.layui-layer-tab .layui-layer-title span:first-child{border-left:none}.layui-layer-tabmain{line-height:24px;clear:both}.layui-layer-tabmain .layui-layer-tabli{display:none}.layui-layer-tabmain .layui-layer-tabli.layui-this{display:block}.layui-layer-photos{-webkit-animation-duration:.8s;animation-duration:.8s}.layui-layer-photos .layui-layer-content{overflow:hidden;text-align:center}.layui-layer-photos .layui-layer-phimg img{position:relative;width:100%;display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-imgbar,.layui-layer-imguide{display:none}.layui-layer-imgnext,.layui-layer-imgprev{position:absolute;top:50%;width:27px;_width:44px;height:44px;margin-top:-22px;outline:0;blr:expression(this.onFocus=this.blur())}.layui-layer-imgprev{left:10px;background-position:-5px -5px;_background-position:-70px -5px}.layui-layer-imgprev:hover{background-position:-33px -5px;_background-position:-120px -5px}.layui-layer-imgnext{right:10px;_right:8px;background-position:-5px -50px;_background-position:-70px -50px}.layui-layer-imgnext:hover{background-position:-33px -50px;_background-position:-120px -50px}.layui-layer-imgbar{position:absolute;left:0;bottom:0;width:100%;height:32px;line-height:32px;background-color:rgba(0,0,0,.8);background-color:#000\9;filter:Alpha(opacity=80);color:#fff;overflow:hidden;font-size:0}.layui-layer-imgtit *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:12px}.layui-layer-imgtit a{max-width:65%;overflow:hidden;color:#fff}.layui-layer-imgtit a:hover{color:#fff;text-decoration:underline}.layui-layer-imgtit em{padding-left:10px;font-style:normal}@-webkit-keyframes layer-bounceOut{100%{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes layer-bounceOut{100%{opacity:0;-webkit-transform:scale(.7);-ms-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-close{-webkit-animation-name:layer-bounceOut;animation-name:layer-bounceOut;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}@media screen and (max-width:1100px){.layui-layer-iframe{overflow-y:auto;-webkit-overflow-scrolling:touch}}
--------------------------------------------------------------------------------
/help/layui/css/modules/layer/default/loading-0.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/css/modules/layer/default/loading-0.gif
--------------------------------------------------------------------------------
/help/layui/css/modules/layer/default/loading-1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/css/modules/layer/default/loading-1.gif
--------------------------------------------------------------------------------
/help/layui/css/modules/layer/default/loading-2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/css/modules/layer/default/loading-2.gif
--------------------------------------------------------------------------------
/help/layui/font/iconfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/font/iconfont.eot
--------------------------------------------------------------------------------
/help/layui/font/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/font/iconfont.ttf
--------------------------------------------------------------------------------
/help/layui/font/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/YamatoRyou/2a03presetsforflstudio/f3aa3f3fbd3ad6f2af21d71038e9daba1f50e0b9/help/layui/font/iconfont.woff
--------------------------------------------------------------------------------
/help/layui/lay/modules/carousel.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i([''+("updown"===n.anim?"":"")+" ",''+("updown"===n.anim?"":"")+" "].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['',function(){var i=[];return layui.each(e.elemItem,function(e){i.push(" ")}),i.join("")}()," "].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html(''+o.replace(/[\r\t\n]+/g," ")+" "),c.find(">.layui-code-h3")[0]||c.prepend(''+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code ':"")+" ");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss");
--------------------------------------------------------------------------------
/help/layui/lay/modules/element.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define("jquery",function(i){"use strict";var t=layui.$,a=(layui.hint(),layui.device()),e="element",l="layui-this",n="layui-show",s=function(){this.config={}};s.prototype.set=function(i){var a=this;return t.extend(!0,a.config,i),a},s.prototype.on=function(i,t){return layui.onevent.call(this,e,i,t)},s.prototype.tabAdd=function(i,a){var e=".layui-tab-title",l=t(".layui-tab[lay-filter="+i+"]"),n=l.children(e),s=n.children(".layui-tab-bar"),o=l.children(".layui-tab-content"),c=''+(a.title||"unnaming")+" ";return s[0]?s.before(c):n.append(c),o.append(''+(a.content||"")+"
"),y.hideTabMore(!0),y.tabAuto(),this},s.prototype.tabDelete=function(i,a){var e=".layui-tab-title",l=t(".layui-tab[lay-filter="+i+"]"),n=l.children(e),s=n.find('>li[lay-id="'+a+'"]');return y.tabDelete(null,s),this},s.prototype.tabChange=function(i,a){var e=".layui-tab-title",l=t(".layui-tab[lay-filter="+i+"]"),n=l.children(e),s=n.find('>li[lay-id="'+a+'"]');return y.tabClick.call(s[0],null,null,s),this},s.prototype.tab=function(i){i=i||{},v.on("click",i.headerElem,function(a){var e=t(this).index();y.tabClick.call(this,a,e,null,i)})},s.prototype.progress=function(i,a){var e="layui-progress",l=t("."+e+"[lay-filter="+i+"]"),n=l.find("."+e+"-bar"),s=n.find("."+e+"-text");return n.css("width",a),s.text(a),this};var o=".layui-nav",c="layui-nav-item",r="layui-nav-bar",u="layui-nav-tree",d="layui-nav-child",h="layui-nav-more",f="layui-anim layui-anim-upbit",y={tabClick:function(i,a,s,o){o=o||{};var c=s||t(this),a=a||c.parent().children("li").index(c),r=o.headerElem?c.parent():c.parents(".layui-tab").eq(0),u=o.bodyElem?t(o.bodyElem):r.children(".layui-tab-content").children(".layui-tab-item"),d=c.find("a"),h=r.attr("lay-filter");"javascript:;"!==d.attr("href")&&"_blank"===d.attr("target")||(c.addClass(l).siblings().removeClass(l),u.eq(a).addClass(n).siblings().removeClass(n)),layui.event.call(this,e,"tab("+h+")",{elem:r,index:a})},tabDelete:function(i,a){var n=a||t(this).parent(),s=n.index(),o=n.parents(".layui-tab").eq(0),c=o.children(".layui-tab-content").children(".layui-tab-item"),r=o.attr("lay-filter");n.hasClass(l)&&(n.next()[0]?y.tabClick.call(n.next()[0],null,s+1):n.prev()[0]&&y.tabClick.call(n.prev()[0],null,s-1)),n.remove(),c.eq(s).remove(),setTimeout(function(){y.tabAuto()},50),layui.event.call(this,e,"tabDelete("+r+")",{elem:o,index:s})},tabAuto:function(){var i="layui-tab-more",e="layui-tab-bar",l="layui-tab-close",n=this;t(".layui-tab").each(function(){var s=t(this),o=s.children(".layui-tab-title"),c=(s.children(".layui-tab-content").children(".layui-tab-item"),'lay-stope="tabmore"'),r=t(' ');if(n===window&&8!=a.ie&&y.hideTabMore(!0),s.attr("lay-allowClose")&&o.find("li").each(function(){var i=t(this);if(!i.find("."+l)[0]){var a=t('ဆ ');a.on("click",y.tabDelete),i.append(a)}}),o.prop("scrollWidth")>o.outerWidth()+1){if(o.find("."+e)[0])return;o.append(r),s.attr("overflow",""),r.on("click",function(t){o[this.title?"removeClass":"addClass"](i),this.title=this.title?"":"收缩"})}else o.find("."+e).remove(),s.removeAttr("overflow")})},hideTabMore:function(i){var a=t(".layui-tab-title");i!==!0&&"tabmore"===t(i.target).attr("lay-stope")||(a.removeClass("layui-tab-more"),a.find(".layui-tab-bar").attr("title",""))},clickThis:function(){var i=t(this),a=i.parents(o),n=a.attr("lay-filter"),s=i.find("a"),c="string"==typeof i.attr("lay-unselect");i.find("."+d)[0]||("javascript:;"!==s.attr("href")&&"_blank"===s.attr("target")||c||(a.find("."+l).removeClass(l),i.addClass(l)),layui.event.call(this,e,"nav("+n+")",i))},clickChild:function(){var i=t(this),a=i.parents(o),n=a.attr("lay-filter");a.find("."+l).removeClass(l),i.addClass(l),layui.event.call(this,e,"nav("+n+")",i)},showChild:function(){var i=t(this),a=i.parents(o),e=i.parent(),l=i.siblings("."+d);a.hasClass(u)&&(l.removeClass(f),e["none"===l.css("display")?"addClass":"removeClass"](c+"ed"))},collapse:function(){var i=t(this),a=i.find(".layui-colla-icon"),l=i.siblings(".layui-colla-content"),s=i.parents(".layui-collapse").eq(0),o=s.attr("lay-filter"),c="none"===l.css("display");if("string"==typeof s.attr("lay-accordion")){var r=s.children(".layui-colla-item").children("."+n);r.siblings(".layui-colla-title").children(".layui-colla-icon").html(""),r.removeClass(n)}l[c?"addClass":"removeClass"](n),a.html(c?"":""),layui.event.call(this,e,"collapse("+o+")",{title:i,content:l,show:c})}};s.prototype.init=function(i,e){var l=function(){return e?'[lay-filter="'+e+'"]':""}(),s={tab:function(){y.tabAuto.call({})},nav:function(){var i=200,e={},s={},p={},v=function(l,o,c){var r=t(this),y=r.find("."+d);o.hasClass(u)?l.css({top:r.position().top,height:r.children("a").height(),opacity:1}):(y.addClass(f),l.css({left:r.position().left+parseFloat(r.css("marginLeft")),top:r.position().top+r.height()-l.height()}),e[c]=setTimeout(function(){l.css({width:r.width(),opacity:1})},a.ie&&a.ie<10?0:i),clearTimeout(p[c]),"block"===y.css("display")&&clearTimeout(s[c]),s[c]=setTimeout(function(){y.addClass(n),r.find("."+h).addClass(h+"d")},300))};t(o+l).each(function(a){var l=t(this),o=t(' '),f=l.find("."+c);l.find("."+r)[0]||(l.append(o),f.on("mouseenter",function(){v.call(this,o,l,a)}).on("mouseleave",function(){l.hasClass(u)||(clearTimeout(s[a]),s[a]=setTimeout(function(){l.find("."+d).removeClass(n),l.find("."+h).removeClass(h+"d")},300))}),l.on("mouseleave",function(){clearTimeout(e[a]),p[a]=setTimeout(function(){l.hasClass(u)?o.css({height:0,top:o.position().top+o.height()/2,opacity:0}):o.css({width:0,left:o.position().left+o.width()/2,opacity:0})},i)})),f.each(function(){var i=t(this),a=i.find("."+d);if(a[0]&&!i.find("."+h)[0]){var e=i.children("a");e.append(' ')}i.off("click",y.clickThis).on("click",y.clickThis),i.children("a").off("click",y.showChild).on("click",y.showChild),a.children("dd").off("click",y.clickChild).on("click",y.clickChild)})})},breadcrumb:function(){var i=".layui-breadcrumb";t(i+l).each(function(){var i=t(this),a="lay-separator",e=i.attr(a)||"/",l=i.find("a");l.next("span["+a+"]")[0]||(l.each(function(i){i!==l.length-1&&t(this).after(""+e+" ")}),i.css("visibility","visible"))})},progress:function(){var i="layui-progress";t("."+i+l).each(function(){var a=t(this),e=a.find(".layui-progress-bar"),l=e.attr("lay-percent");e.css("width",function(){return/^.+\/.+$/.test(l)?100*new Function("return "+l)()+"%":l}()),a.attr("lay-showPercent")&&setTimeout(function(){e.html(''+l+" ")},350)})},collapse:function(){var i="layui-collapse";t("."+i+l).each(function(){var i=t(this).find(".layui-colla-item");i.each(function(){var i=t(this),a=i.find(".layui-colla-title"),e=i.find(".layui-colla-content"),l="none"===e.css("display");a.find(".layui-colla-icon").remove(),a.append(''+(l?"":"")+" "),a.off("click",y.collapse).on("click",y.collapse)})})}};return s[i]?s[i]():layui.each(s,function(i,t){t()})},s.prototype.render=s.prototype.init;var p=new s,v=t(document);p.render();var b=".layui-tab-title li";v.on("click",b,y.tabClick),v.on("click",y.hideTabMore),t(window).on("resize",y.tabAuto),i(e,p)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/flow.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t=' ';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多 ",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/form.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define("layer",function(e){"use strict";var t=layui.$,i=layui.layer,a=layui.hint(),n=layui.device(),l="form",r=".layui-form",s="layui-this",o="layui-hide",u="layui-disabled",c=function(){this.config={verify:{required:[/[\S]+/,"必填项不能为空"],phone:[/^1\d{10}$/,"请输入正确的手机号"],email:[/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,"邮箱格式不正确"],url:[/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,"链接格式不正确"],number:function(e){if(!e||isNaN(e))return"只能填写数字"},date:[/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,"日期格式不正确"],identity:[/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,"请输入正确的身份证号"]}}};c.prototype.set=function(e){var i=this;return t.extend(!0,i.config,e),i},c.prototype.verify=function(e){var i=this;return t.extend(!0,i.config.verify,e),i},c.prototype.on=function(e,t){return layui.onevent.call(this,l,e,t)},c.prototype.render=function(e,i){var n=this,c=t(r+function(){return i?'[lay-filter="'+i+'"]':""}()),d={select:function(){var e,i="请选择",a="layui-form-select",n="layui-select-title",r="layui-select-none",d="",f=c.find("select"),y=function(i,l){t(i.target).parent().hasClass(n)&&!l||(t("."+a).removeClass(a+"ed "+a+"up"),e&&d&&e.val(d)),e=null},h=function(i,c,f){var h=t(this),p=i.find("."+n),m=p.find("input"),k=i.find("dl"),g=k.children("dd");if(!c){var x=function(){var e=i.offset().top+i.outerHeight()+5-v.scrollTop(),t=k.outerHeight();i.addClass(a+"ed"),g.removeClass(o),e+t>v.height()&&e>=t&&i.addClass(a+"up")},b=function(e){i.removeClass(a+"ed "+a+"up"),m.blur(),e||C(m.val(),function(e){e&&(d=k.find("."+s).html(),m&&m.val(d))})};p.on("click",function(e){i.hasClass(a+"ed")?b():(y(e,!0),x()),k.find("."+r).remove()}),p.find(".layui-edge").on("click",function(){m.focus()}),m.on("keyup",function(e){var t=e.keyCode;9===t&&x()}).on("keydown",function(e){var t=e.keyCode;9===t?b():13===t&&e.preventDefault()});var C=function(e,i,a){var n=0;layui.each(g,function(){var i=t(this),l=i.text(),r=l.indexOf(e)===-1;(""===e||"blur"===a?e!==l:r)&&n++,"keyup"===a&&i[r?"addClass":"removeClass"](o)});var l=n===g.length;return i(l),l},w=function(e){var t=this.value,i=e.keyCode;return 9!==i&&13!==i&&37!==i&&38!==i&&39!==i&&40!==i&&(C(t,function(e){e?k.find("."+r)[0]||k.append('无匹配项
'):k.find("."+r).remove()},"keyup"),void(""===t&&k.find("."+r).remove()))};f&&m.on("keyup",w).on("blur",function(t){e=m,d=k.find("."+s).html(),setTimeout(function(){C(m.val(),function(e){d||m.val("")},"blur")},200)}),g.on("click",function(){var e=t(this),a=e.attr("lay-value"),n=h.attr("lay-filter");return!e.hasClass(u)&&(e.hasClass("layui-select-tips")?m.val(""):(m.val(e.text()),e.addClass(s)),e.siblings().removeClass(s),h.val(a).removeClass("layui-form-danger"),layui.event.call(this,l,"select("+n+")",{elem:h[0],value:a,othis:i}),b(!0),!1)}),i.find("dl>dt").on("click",function(e){return!1}),t(document).off("click",y).on("click",y)}};f.each(function(e,l){var r=t(this),o=r.next("."+a),c=this.disabled,d=l.value,f=t(l.options[l.selectedIndex]),y=l.options[0];if("string"==typeof r.attr("lay-ignore"))return r.show();var v="string"==typeof r.attr("lay-search"),p=y?y.value?i:y.innerHTML||i:i,m=t(['','
','
','
'+function(e){var t=[];return layui.each(e,function(e,a){0!==e||a.value?"optgroup"===a.tagName.toLowerCase()?t.push(""+a.label+" "):t.push(''+a.innerHTML+" "):t.push(''+(a.innerHTML||i)+" ")}),0===t.length&&t.push('没有选项 '),t.join("")}(r.find("*"))+" ","
"].join(""));o[0]&&o.remove(),r.after(m),h.call(this,m,c,v)})},checkbox:function(){var e={checkbox:["layui-form-checkbox","layui-form-checked","checkbox"],_switch:["layui-form-switch","layui-form-onswitch","switch"]},i=c.find("input[type=checkbox]"),a=function(e,i){var a=t(this);e.on("click",function(){var t=a.attr("lay-filter"),n=(a.attr("lay-text")||"").split("|");a[0].disabled||(a[0].checked?(a[0].checked=!1,e.removeClass(i[1]).find("em").text(n[1])):(a[0].checked=!0,e.addClass(i[1]).find("em").text(n[0])),layui.event.call(a[0],l,i[2]+"("+t+")",{elem:a[0],value:a[0].value,othis:e}))})};i.each(function(i,n){var l=t(this),r=l.attr("lay-skin"),s=(l.attr("lay-text")||"").split("|"),o=this.disabled;"switch"===r&&(r="_"+r);var c=e[r]||e.checkbox;if("string"==typeof l.attr("lay-ignore"))return l.show();var d=l.next("."+c[0]),f=t(['',{_switch:""+((n.checked?s[0]:s[1])||"")+" "}[r]||(n.title.replace(/\s/g,"")?""+n.title+" ":"")+''+(r?"":"")+" ","
"].join(""));d[0]&&d.remove(),l.after(f),a.call(this,f,c)})},radio:function(){var e="layui-form-radio",i=["",""],a=c.find("input[type=radio]"),n=function(a){var n=t(this),s="layui-anim-scaleSpring";a.on("click",function(){var o=n[0].name,u=n.parents(r),c=n.attr("lay-filter"),d=u.find("input[name="+o.replace(/(\.|#|\[|\])/g,"\\$1")+"]");n[0].disabled||(layui.each(d,function(){var a=t(this).next("."+e);this.checked=!1,a.removeClass(e+"ed"),a.find(".layui-icon").removeClass(s).html(i[1])}),n[0].checked=!0,a.addClass(e+"ed"),a.find(".layui-icon").addClass(s).html(i[0]),layui.event.call(n[0],l,"radio("+c+")",{elem:n[0],value:n[0].value,othis:a}))})};a.each(function(a,l){var r=t(this),s=r.next("."+e),o=this.disabled;if("string"==typeof r.attr("lay-ignore"))return r.show();s[0]&&s.remove();var c=t(['','
'+i[l.checked?0:1]+" ","
"+function(){var e=l.title||"";return"string"==typeof r.next().attr("lay-radio")&&(e=r.next().html(),r.next().remove()),e}()+"
","
"].join(""));r.after(c),n.call(this,c)})}};return e?d[e]?d[e]():a.error("不支持的"+e+"表单渲染"):layui.each(d,function(e,t){t()}),n};var d=function(){var e=t(this),a=f.config.verify,s=null,o="layui-form-danger",u={},c=e.parents(r),d=c.find("*[lay-verify]"),y=e.parents("form")[0],v=c.find("input,select,textarea"),h=e.attr("lay-filter");if(layui.each(d,function(e,l){var r=t(this),u=r.attr("lay-verify").split("|"),c=r.attr("lay-verType"),d=r.val();if(r.removeClass(o),layui.each(u,function(e,t){var u,f="",y="function"==typeof a[t];if(a[t]){var u=y?f=a[t](d,l):!a[t][0].test(d);if(f=f||a[t][1],u)return"tips"===c?i.tips(f,function(){return"string"==typeof r.attr("lay-ignore")||"select"!==l.tagName.toLowerCase()&&!/^checkbox|radio$/.test(l.type)?r:r.next()}(),{tips:1}):"alert"===c?i.alert(f,{title:"提示",shadeClose:!0}):i.msg(f,{icon:5,shift:6}),n.android||n.ios||l.focus(),r.addClass(o),s=!0}}),s)return s}),s)return!1;var p={};return layui.each(v,function(e,t){if(t.name=(t.name||"").replace(/^\s*|\s*&/,""),t.name){if(/^.*\[\]$/.test(t.name)){var i=t.name.match(/^(.*)\[\]$/g)[0];p[i]=0|p[i],t.name=t.name.replace(/^(.*)\[\]$/,"$1["+p[i]++ +"]")}/^checkbox|radio$/.test(t.type)&&!t.checked||(u[t.name]=t.value)}}),layui.event.call(this,l,"submit("+h+")",{elem:this,form:y,field:u})},f=new c,y=t(document),v=t(window);f.render(),y.on("reset",r,function(){var e=t(this).attr("lay-filter");setTimeout(function(){f.render(null,e)},50)}),y.on("submit",r,d).on("click","*[lay-submit]",d),e(l,f)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/layedit.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define(["layer","form"],function(t){"use strict";var e=layui.$,i=layui.layer,a=layui.form,l=(layui.hint(),layui.device()),n="layedit",o="layui-show",r="layui-disabled",c=function(){var t=this;t.index=0,t.config={tool:["strong","italic","underline","del","|","left","center","right","|","link","unlink","face","image"],hideTool:[],height:280}};c.prototype.set=function(t){var i=this;return e.extend(!0,i.config,t),i},c.prototype.on=function(t,e){return layui.onevent(n,t,e)},c.prototype.build=function(t,i){i=i||{};var a=this,n=a.config,r="layui-layedit",c=e("#"+t),u="LAY_layedit_"+ ++a.index,d=c.next("."+r),y=e.extend({},n,i),f=function(){var t=[],e={};return layui.each(y.hideTool,function(t,i){e[i]=!0}),layui.each(y.tool,function(i,a){C[a]&&!e[a]&&t.push(C[a])}),t.join("")}(),m=e(['"].join(""));return l.ie&&l.ie<8?c.removeClass("layui-hide").addClass(o):(d[0]&&d.remove(),s.call(a,m,c[0],y),c.addClass("layui-hide").after(m),a.index)},c.prototype.getContent=function(t){var e=u(t);if(e[0])return d(e[0].document.body.innerHTML)},c.prototype.getText=function(t){var i=u(t);if(i[0])return e(i[0].document.body).text()},c.prototype.setContent=function(t,i,a){var l=u(t);l[0]&&(a?e(l[0].document.body).append(i):e(l[0].document.body).html(i),layedit.sync(t))},c.prototype.sync=function(t){var i=u(t);if(i[0]){var a=e("#"+i[1].attr("textarea"));a.val(d(i[0].document.body.innerHTML))}},c.prototype.getSelection=function(t){var e=u(t);if(e[0]){var i=m(e[0].document);return document.selection?i.text:i.toString()}};var s=function(t,i,a){var l=this,n=t.find("iframe");n.css({height:a.height}).on("load",function(){var o=n.contents(),r=n.prop("contentWindow"),c=o.find("head"),s=e([""].join("")),u=o.find("body");c.append(s),u.attr("contenteditable","true").css({"min-height":a.height}).html(i.value||""),y.apply(l,[r,n,i,a]),g.call(l,r,t,a)})},u=function(t){var i=e("#LAY_layedit_"+t),a=i.prop("contentWindow");return[a,i]},d=function(t){return 8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),t},y=function(t,a,n,o){var r=t.document,c=e(r.body);c.on("keydown",function(t){var e=t.keyCode;if(13===e){var a=m(r),l=p(a),n=l.parentNode;if("pre"===n.tagName.toLowerCase()){if(t.shiftKey)return;return i.msg("请暂时用shift+enter"),!1}r.execCommand("formatBlock",!1,"")}}),e(n).parents("form").on("submit",function(){var t=c.html();8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),n.value=t}),c.on("paste",function(e){r.execCommand("formatBlock",!1,"
"),setTimeout(function(){f.call(t,c),n.value=c.html()},100)})},f=function(t){var i=this;i.document;t.find("*[style]").each(function(){var t=this.style.textAlign;this.removeAttribute("style"),e(this).css({"text-align":t||""})}),t.find("table").addClass("layui-table"),t.find("script,link").remove()},m=function(t){return t.selection?t.selection.createRange():t.getSelection().getRangeAt(0)},p=function(t){return t.endContainer||t.parentElement().childNodes[0]},v=function(t,i,a){var l=this.document,n=document.createElement(t);for(var o in i)n.setAttribute(o,i[o]);if(n.removeAttribute("text"),l.selection){var r=a.text||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.pasteHTML(e(n).prop("outerHTML")),a.select()}else{var r=a.toString()||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.deleteContents(),a.insertNode(n)}},h=function(t,i){var a=this.document,l="layedit-tool-active",n=p(m(a)),o=function(e){return t.find(".layedit-tool-"+e)};i&&i[i.hasClass(l)?"removeClass":"addClass"](l),t.find(">i").removeClass(l),o("unlink").addClass(r),e(n).parents().each(function(){var t=this.tagName.toLowerCase(),e=this.style.textAlign;"b"!==t&&"strong"!==t||o("b").addClass(l),"i"!==t&&"em"!==t||o("i").addClass(l),"u"===t&&o("u").addClass(l),"strike"===t&&o("d").addClass(l),"p"===t&&("center"===e?o("center").addClass(l):"right"===e?o("right").addClass(l):o("left").addClass(l)),"a"===t&&(o("link").addClass(l),o("unlink").removeClass(r))})},g=function(t,a,l){var n=t.document,o=e(n.body),c={link:function(i){var a=p(i),l=e(a).parent();b.call(o,{href:l.attr("href"),target:l.attr("target")},function(e){var a=l[0];"A"===a.tagName?a.href=e.url:v.call(t,"a",{target:e.target,href:e.url,text:e.url},i)})},unlink:function(t){n.execCommand("unlink")},face:function(e){x.call(this,function(i){v.call(t,"img",{src:i.src,alt:i.alt},e)})},image:function(a){var n=this;layui.use("upload",function(o){var r=l.uploadImage||{};o.render({url:r.url,method:r.type,elem:e(n).find("input")[0],done:function(e){0==e.code?(e.data=e.data||{},v.call(t,"img",{src:e.data.src,alt:e.data.title},a)):i.msg(e.msg||"上传失败")}})})},code:function(e){k.call(o,function(i){v.call(t,"pre",{text:i.code,"lay-lang":i.lang},e)})},help:function(){i.open({type:2,title:"帮助",area:["600px","380px"],shadeClose:!0,shade:.1,skin:"layui-layer-msg",content:["http://www.layui.com/about/layedit/help.html","no"]})}},s=a.find(".layui-layedit-tool"),u=function(){var i=e(this),a=i.attr("layedit-event"),l=i.attr("lay-command");if(!i.hasClass(r)){o.focus();var u=m(n);u.commonAncestorContainer;l?(n.execCommand(l),/justifyLeft|justifyCenter|justifyRight/.test(l)&&n.execCommand("formatBlock",!1,"
"),setTimeout(function(){o.focus()},10)):c[a]&&c[a].call(this,u),h.call(t,s,i)}},d=/image/;s.find(">i").on("mousedown",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)||u.call(this)}).on("click",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)&&u.call(this)}),o.on("click",function(){h.call(t,s),i.close(x.index)})},b=function(t,e){var l=this,n=i.open({type:1,id:"LAY_layedit_link",area:"350px",shade:.05,shadeClose:!0,moveType:1,title:"超链接",skin:"layui-layer-msg",content:['
"].join(""),success:function(t,n){var o="submit(layedit-link-yes)";a.render("radio"),t.find(".layui-btn-primary").on("click",function(){i.close(n),l.focus()}),a.on(o,function(t){i.close(b.index),e&&e(t.field)})}});b.index=n},x=function(t){var a=function(){var t=["[微笑]","[嘻嘻]","[哈哈]","[可爱]","[可怜]","[挖鼻]","[吃惊]","[害羞]","[挤眼]","[闭嘴]","[鄙视]","[爱你]","[泪]","[偷笑]","[亲亲]","[生病]","[太开心]","[白眼]","[右哼哼]","[左哼哼]","[嘘]","[衰]","[委屈]","[吐]","[哈欠]","[抱抱]","[怒]","[疑问]","[馋嘴]","[拜拜]","[思考]","[汗]","[困]","[睡]","[钱]","[失望]","[酷]","[色]","[哼]","[鼓掌]","[晕]","[悲伤]","[抓狂]","[黑线]","[阴险]","[怒骂]","[互粉]","[心]","[伤心]","[猪头]","[熊猫]","[兔子]","[ok]","[耶]","[good]","[NO]","[赞]","[来]","[弱]","[草泥马]","[神马]","[囧]","[浮云]","[给力]","[围观]","[威武]","[奥特曼]","[礼物]","[钟]","[话筒]","[蜡烛]","[蛋糕]"],e={};return layui.each(t,function(t,i){e[i]=layui.cache.dir+"images/face/"+t+".gif"}),e}();return x.hide=x.hide||function(t){"face"!==e(t.target).attr("layedit-event")&&i.close(x.index)},x.index=i.tips(function(){var t=[];return layui.each(a,function(e,i){t.push(' ')}),'"}(),this,{tips:1,time:0,skin:"layui-box layui-util-face",maxWidth:500,success:function(l,n){l.css({marginTop:-4,marginLeft:-10}).find(".layui-clear>li").on("click",function(){t&&t({src:a[this.title],alt:this.title}),i.close(n)}),e(document).off("click",x.hide).on("click",x.hide)}})},k=function(t){var e=this,l=i.open({type:1,id:"LAY_layedit_code",area:"550px",shade:.05,shadeClose:!0,moveType:1,title:"插入代码",skin:"layui-layer-msg",content:['"].join(""),success:function(l,n){var o="submit(layedit-code-yes)";a.render("select"),l.find(".layui-btn-primary").on("click",function(){i.close(n),e.focus()}),a.on(o,function(e){i.close(k.index),t&&t(e.field)})}});k.index=l},C={html:' ',strong:' ',italic:' ',underline:' ',del:' ',"|":' ',left:' ',center:' ',right:' ',link:' ',unlink:' ',face:' ',image:' ',code:' ',help:' '},w=new c;t(n,w)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/layer.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;!function(e,t){"use strict";var i,n,a=e.layui&&layui.define,o={getPath:function(){var e=document.currentScript?document.currentScript.src:function(){for(var e,t=document.scripts,i=t.length-1,n=i;n>0;n--)if("interactive"===t[n].readyState){e=t[n].src;break}return e||t[i].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],btn:["确定","取消"],type:["dialog","page","iframe","loading","tips"],getStyle:function(t,i){var n=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](i)},link:function(t,i,n){if(r.path){var a=document.getElementsByTagName("head")[0],s=document.createElement("link");"string"==typeof i&&(n=i);var l=(n||t).replace(/\.|\//g,""),f="layuicss-"+l,c=0;s.rel="stylesheet",s.href=r.path+t,s.id=f,document.getElementById(f)||a.appendChild(s),"function"==typeof i&&!function u(){return++c>80?e.console&&console.error("layer.css: Invalid"):void(1989===parseInt(o.getStyle(document.getElementById(f),"width"))?i():setTimeout(u,100))}()}}},r={v:"3.1.1",ie:function(){var t=navigator.userAgent.toLowerCase();return!!(e.ActiveXObject||"ActiveXObject"in e)&&((t.match(/msie\s(\d+)/)||[])[1]||"11")}(),index:e.layer&&e.layer.v?1e5:0,path:o.getPath,config:function(e,t){return e=e||{},r.cache=o.config=i.extend({},o.config,e),r.path=o.config.path||r.path,"string"==typeof e.extend&&(e.extend=[e.extend]),o.config.path&&r.ready(),e.extend?(a?layui.addcss("modules/layer/"+e.extend):o.link("theme/"+e.extend),this):this},ready:function(e){var t="layer",i="",n=(a?"modules/layer/":"theme/")+"default/layer.css?v="+r.v+i;return a?layui.addcss(n,e,t):o.link(n,e,t),this},alert:function(e,t,n){var a="function"==typeof t;return a&&(n=t),r.open(i.extend({content:e,yes:n},a?{}:t))},confirm:function(e,t,n,a){var s="function"==typeof t;return s&&(a=n,n=t),r.open(i.extend({content:e,btn:o.btn,yes:n,btn2:a},s?{}:t))},msg:function(e,n,a){var s="function"==typeof n,f=o.config.skin,c=(f?f+" "+f+"-msg":"")||"layui-layer-msg",u=l.anim.length-1;return s&&(a=n),r.open(i.extend({content:e,time:3e3,shade:!1,skin:c,title:!1,closeBtn:!1,btn:!1,resize:!1,end:a},s&&!o.config.skin?{skin:c+" layui-layer-hui",anim:u}:function(){return n=n||{},(n.icon===-1||n.icon===t&&!o.config.skin)&&(n.skin=c+" "+(n.skin||"layui-layer-hui")),n}()))},load:function(e,t){return r.open(i.extend({type:3,icon:e||0,resize:!1,shade:.01},t))},tips:function(e,t,n){return r.open(i.extend({type:4,content:[e,t],closeBtn:!1,time:3e3,shade:!1,resize:!1,fixed:!1,maxWidth:210},n))}},s=function(e){var t=this;t.index=++r.index,t.config=i.extend({},t.config,o.config,e),document.body?t.creat():setTimeout(function(){t.creat()},30)};s.pt=s.prototype;var l=["layui-layer",".layui-layer-title",".layui-layer-main",".layui-layer-dialog","layui-layer-iframe","layui-layer-content","layui-layer-btn","layui-layer-close"];l.anim=["layer-anim-00","layer-anim-01","layer-anim-02","layer-anim-03","layer-anim-04","layer-anim-05","layer-anim-06"],s.pt.config={type:0,shade:.3,fixed:!0,move:l[1],title:"信息",offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,isOutAnim:!0,icon:-1,moveType:1,resize:!0,scrollbar:!0,tips:2},s.pt.vessel=function(e,t){var n=this,a=n.index,r=n.config,s=r.zIndex+a,f="object"==typeof r.title,c=r.maxmin&&(1===r.type||2===r.type),u=r.title?''+(f?r.title[0]:r.title)+"
":"";return r.zIndex=s,t([r.shade?'
':"",''+(e&&2!=r.type?"":u)+'
'+(0==r.type&&r.icon!==-1?' ':"")+(1==r.type&&e?"":r.content||"")+'
'+function(){var e=c?' ':"";return r.closeBtn&&(e+=' '),e}()+" "+(r.btn?function(){var e="";"string"==typeof r.btn&&(r.btn=[r.btn]);for(var t=0,i=r.btn.length;t
'+r.btn[t]+"";return' '+e+"
"}():"")+(r.resize?' ':"")+" "],u,i('
')),n},s.pt.creat=function(){var e=this,t=e.config,a=e.index,s=t.content,f="object"==typeof s,c=i("body");if(!t.id||!i("#"+t.id)[0]){switch("string"==typeof t.area&&(t.area="auto"===t.area?["",""]:[t.area,""]),t.shift&&(t.anim=t.shift),6==r.ie&&(t.fixed=!1),t.type){case 0:t.btn="btn"in t?t.btn:o.btn[0],r.closeAll("dialog");break;case 2:var s=t.content=f?t.content:[t.content||"http://layer.layui.com","auto"];t.content='';break;case 3:delete t.title,delete t.closeBtn,t.icon===-1&&0===t.icon,r.closeAll("loading");break;case 4:f||(t.content=[t.content,"body"]),t.follow=t.content[1],t.content=t.content[0]+' ',delete t.title,t.tips="object"==typeof t.tips?t.tips:[t.tips,!0],t.tipsMore||r.closeAll("tips")}if(e.vessel(f,function(n,r,u){c.append(n[0]),f?function(){2==t.type||4==t.type?function(){i("body").append(n[1])}():function(){s.parents("."+l[0])[0]||(s.data("display",s.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]),i("#"+l[0]+a).find("."+l[5]).before(r))}()}():c.append(n[1]),i(".layui-layer-move")[0]||c.append(o.moveElem=u),e.layero=i("#"+l[0]+a),t.scrollbar||l.html.css("overflow","hidden").attr("layer-full",a)}).auto(a),i("#layui-layer-shade"+e.index).css({"background-color":t.shade[1]||"#000",opacity:t.shade[0]||t.shade}),2==t.type&&6==r.ie&&e.layero.find("iframe").attr("src",s[0]),4==t.type?e.tips():e.offset(),t.fixed&&n.on("resize",function(){e.offset(),(/^\d+%$/.test(t.area[0])||/^\d+%$/.test(t.area[1]))&&e.auto(a),4==t.type&&e.tips()}),t.time<=0||setTimeout(function(){r.close(e.index)},t.time),e.move().callback(),l.anim[t.anim]){var u="layer-anim "+l.anim[t.anim];e.layero.addClass(u).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){i(this).removeClass(u)})}t.isOutAnim&&e.layero.data("isOutAnim",!0)}},s.pt.auto=function(e){var t=this,a=t.config,o=i("#"+l[0]+e);""===a.area[0]&&a.maxWidth>0&&(r.ie&&r.ie<8&&a.btn&&o.width(o.innerWidth()),o.outerWidth()>a.maxWidth&&o.width(a.maxWidth));var s=[o.innerWidth(),o.innerHeight()],f=o.find(l[1]).outerHeight()||0,c=o.find("."+l[6]).outerHeight()||0,u=function(e){e=o.find(e),e.height(s[1]-f-c-2*(0|parseFloat(e.css("padding-top"))))};switch(a.type){case 2:u("iframe");break;default:""===a.area[1]?a.maxHeight>0&&o.outerHeight()>a.maxHeight?(s[1]=a.maxHeight,u("."+l[5])):a.fixed&&s[1]>=n.height()&&(s[1]=n.height(),u("."+l[5])):u("."+l[5])}return t},s.pt.offset=function(){var e=this,t=e.config,i=e.layero,a=[i.outerWidth(),i.outerHeight()],o="object"==typeof t.offset;e.offsetTop=(n.height()-a[1])/2,e.offsetLeft=(n.width()-a[0])/2,o?(e.offsetTop=t.offset[0],e.offsetLeft=t.offset[1]||e.offsetLeft):"auto"!==t.offset&&("t"===t.offset?e.offsetTop=0:"r"===t.offset?e.offsetLeft=n.width()-a[0]:"b"===t.offset?e.offsetTop=n.height()-a[1]:"l"===t.offset?e.offsetLeft=0:"lt"===t.offset?(e.offsetTop=0,e.offsetLeft=0):"lb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=0):"rt"===t.offset?(e.offsetTop=0,e.offsetLeft=n.width()-a[0]):"rb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=n.width()-a[0]):e.offsetTop=t.offset),t.fixed||(e.offsetTop=/%$/.test(e.offsetTop)?n.height()*parseFloat(e.offsetTop)/100:parseFloat(e.offsetTop),e.offsetLeft=/%$/.test(e.offsetLeft)?n.width()*parseFloat(e.offsetLeft)/100:parseFloat(e.offsetLeft),e.offsetTop+=n.scrollTop(),e.offsetLeft+=n.scrollLeft()),i.attr("minLeft")&&(e.offsetTop=n.height()-(i.find(l[1]).outerHeight()||0),e.offsetLeft=i.css("left")),i.css({top:e.offsetTop,left:e.offsetLeft})},s.pt.tips=function(){var e=this,t=e.config,a=e.layero,o=[a.outerWidth(),a.outerHeight()],r=i(t.follow);r[0]||(r=i("body"));var s={width:r.outerWidth(),height:r.outerHeight(),top:r.offset().top,left:r.offset().left},f=a.find(".layui-layer-TipsG"),c=t.tips[0];t.tips[1]||f.remove(),s.autoLeft=function(){s.left+o[0]-n.width()>0?(s.tipLeft=s.left+s.width-o[0],f.css({right:12,left:"auto"})):s.tipLeft=s.left},s.where=[function(){s.autoLeft(),s.tipTop=s.top-o[1]-10,f.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",t.tips[1])},function(){s.tipLeft=s.left+s.width+10,s.tipTop=s.top,f.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",t.tips[1])},function(){s.autoLeft(),s.tipTop=s.top+s.height+10,f.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",t.tips[1])},function(){s.tipLeft=s.left-o[0]-10,s.tipTop=s.top,f.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",t.tips[1])}],s.where[c-1](),1===c?s.top-(n.scrollTop()+o[1]+16)<0&&s.where[2]():2===c?n.width()-(s.left+s.width+o[0]+16)>0||s.where[3]():3===c?s.top-n.scrollTop()+s.height+o[1]+16-n.height()>0&&s.where[0]():4===c&&o[0]+16-s.left>0&&s.where[1](),a.find("."+l[5]).css({"background-color":t.tips[1],"padding-right":t.closeBtn?"30px":""}),a.css({left:s.tipLeft-(t.fixed?n.scrollLeft():0),top:s.tipTop-(t.fixed?n.scrollTop():0)})},s.pt.move=function(){var e=this,t=e.config,a=i(document),s=e.layero,l=s.find(t.move),f=s.find(".layui-layer-resize"),c={};return t.move&&l.css("cursor","move"),l.on("mousedown",function(e){e.preventDefault(),t.move&&(c.moveStart=!0,c.offset=[e.clientX-parseFloat(s.css("left")),e.clientY-parseFloat(s.css("top"))],o.moveElem.css("cursor","move").show())}),f.on("mousedown",function(e){e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],c.area=[s.outerWidth(),s.outerHeight()],o.moveElem.css("cursor","se-resize").show()}),a.on("mousemove",function(i){if(c.moveStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1],l="fixed"===s.css("position");if(i.preventDefault(),c.stX=l?0:n.scrollLeft(),c.stY=l?0:n.scrollTop(),!t.moveOut){var f=n.width()-s.outerWidth()+c.stX,u=n.height()-s.outerHeight()+c.stY;af&&(a=f),ou&&(o=u)}s.css({left:a,top:o})}if(t.resize&&c.resizeStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1];i.preventDefault(),r.style(e.index,{width:c.area[0]+a,height:c.area[1]+o}),c.isResize=!0,t.resizing&&t.resizing(s)}}).on("mouseup",function(e){c.moveStart&&(delete c.moveStart,o.moveElem.hide(),t.moveEnd&&t.moveEnd(s)),c.resizeStart&&(delete c.resizeStart,o.moveElem.hide())}),e},s.pt.callback=function(){function e(){var e=a.cancel&&a.cancel(t.index,n);e===!1||r.close(t.index)}var t=this,n=t.layero,a=t.config;t.openLayer(),a.success&&(2==a.type?n.find("iframe").on("load",function(){a.success(n,t.index)}):a.success(n,t.index)),6==r.ie&&t.IE6(n),n.find("."+l[6]).children("a").on("click",function(){var e=i(this).index();if(0===e)a.yes?a.yes(t.index,n):a.btn1?a.btn1(t.index,n):r.close(t.index);else{var o=a["btn"+(e+1)]&&a["btn"+(e+1)](t.index,n);o===!1||r.close(t.index)}}),n.find("."+l[7]).on("click",e),a.shadeClose&&i("#layui-layer-shade"+t.index).on("click",function(){r.close(t.index)}),n.find(".layui-layer-min").on("click",function(){var e=a.min&&a.min(n);e===!1||r.min(t.index,a)}),n.find(".layui-layer-max").on("click",function(){i(this).hasClass("layui-layer-maxmin")?(r.restore(t.index),a.restore&&a.restore(n)):(r.full(t.index,a),setTimeout(function(){a.full&&a.full(n)},100))}),a.end&&(o.end[t.index]=a.end)},o.reselect=function(){i.each(i("select"),function(e,t){var n=i(this);n.parents("."+l[0])[0]||1==n.attr("layer")&&i("."+l[0]).length<1&&n.removeAttr("layer").show(),n=null})},s.pt.IE6=function(e){i("select").each(function(e,t){var n=i(this);n.parents("."+l[0])[0]||"none"===n.css("display")||n.attr({layer:"1"}).hide(),n=null})},s.pt.openLayer=function(){var e=this;r.zIndex=e.config.zIndex,r.setTop=function(e){var t=function(){r.zIndex++,e.css("z-index",r.zIndex+1)};return r.zIndex=parseInt(e[0].style.zIndex),e.on("mousedown",t),r.zIndex}},o.record=function(e){var t=[e.width(),e.height(),e.position().top,e.position().left+parseFloat(e.css("margin-left"))];e.find(".layui-layer-max").addClass("layui-layer-maxmin"),e.attr({area:t})},o.rescollbar=function(e){l.html.attr("layer-full")==e&&(l.html[0].style.removeProperty?l.html[0].style.removeProperty("overflow"):l.html[0].style.removeAttribute("overflow"),l.html.removeAttr("layer-full"))},e.layer=r,r.getChildFrame=function(e,t){return t=t||i("."+l[4]).attr("times"),i("#"+l[0]+t).find("iframe").contents().find(e)},r.getFrameIndex=function(e){return i("#"+e).parents("."+l[4]).attr("times")},r.iframeAuto=function(e){if(e){var t=r.getChildFrame("html",e).outerHeight(),n=i("#"+l[0]+e),a=n.find(l[1]).outerHeight()||0,o=n.find("."+l[6]).outerHeight()||0;n.css({height:t+a+o}),n.find("iframe").css({height:t})}},r.iframeSrc=function(e,t){i("#"+l[0]+e).find("iframe").attr("src",t)},r.style=function(e,t,n){var a=i("#"+l[0]+e),r=a.find(".layui-layer-content"),s=a.attr("type"),f=a.find(l[1]).outerHeight()||0,c=a.find("."+l[6]).outerHeight()||0;a.attr("minLeft");s!==o.type[3]&&s!==o.type[4]&&(n||(parseFloat(t.width)<=260&&(t.width=260),parseFloat(t.height)-f-c<=64&&(t.height=64+f+c)),a.css(t),c=a.find("."+l[6]).outerHeight(),s===o.type[2]?a.find("iframe").css({height:parseFloat(t.height)-f-c}):r.css({height:parseFloat(t.height)-f-c-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom"))}))},r.min=function(e,t){var a=i("#"+l[0]+e),s=a.find(l[1]).outerHeight()||0,f=a.attr("minLeft")||181*o.minIndex+"px",c=a.css("position");o.record(a),o.minLeft[0]&&(f=o.minLeft[0],o.minLeft.shift()),a.attr("position",c),r.style(e,{width:180,height:s,left:f,top:n.height()-s,position:"fixed",overflow:"hidden"},!0),a.find(".layui-layer-min").hide(),"page"===a.attr("type")&&a.find(l[4]).hide(),o.rescollbar(e),a.attr("minLeft")||o.minIndex++,a.attr("minLeft",f)},r.restore=function(e){var t=i("#"+l[0]+e),n=t.attr("area").split(",");t.attr("type");r.style(e,{width:parseFloat(n[0]),height:parseFloat(n[1]),top:parseFloat(n[2]),left:parseFloat(n[3]),position:t.attr("position"),overflow:"visible"},!0),t.find(".layui-layer-max").removeClass("layui-layer-maxmin"),t.find(".layui-layer-min").show(),"page"===t.attr("type")&&t.find(l[4]).show(),o.rescollbar(e)},r.full=function(e){var t,a=i("#"+l[0]+e);o.record(a),l.html.attr("layer-full")||l.html.css("overflow","hidden").attr("layer-full",e),clearTimeout(t),t=setTimeout(function(){var t="fixed"===a.css("position");r.style(e,{top:t?0:n.scrollTop(),left:t?0:n.scrollLeft(),width:n.width(),height:n.height()},!0),a.find(".layui-layer-min").hide()},100)},r.title=function(e,t){var n=i("#"+l[0]+(t||r.index)).find(l[1]);n.html(e)},r.close=function(e){var t=i("#"+l[0]+e),n=t.attr("type"),a="layer-anim-close";if(t[0]){var s="layui-layer-wrap",f=function(){if(n===o.type[1]&&"object"===t.attr("conType")){t.children(":not(."+l[5]+")").remove();for(var a=t.find("."+s),r=0;r<2;r++)a.unwrap();a.css("display",a.data("display")).removeClass(s)}else{if(n===o.type[2])try{var f=i("#"+l[4]+e)[0];f.contentWindow.document.write(""),f.contentWindow.close(),t.find("."+l[5])[0].removeChild(f)}catch(c){}t[0].innerHTML="",t.remove()}"function"==typeof o.end[e]&&o.end[e](),delete o.end[e]};t.data("isOutAnim")&&t.addClass("layer-anim "+a),i("#layui-layer-moves, #layui-layer-shade"+e).remove(),6==r.ie&&o.reselect(),o.rescollbar(e),t.attr("minLeft")&&(o.minIndex--,o.minLeft.push(t.attr("minLeft"))),r.ie&&r.ie<10||!t.data("isOutAnim")?f():setTimeout(function(){f()},200)}},r.closeAll=function(e){i.each(i("."+l[0]),function(){var t=i(this),n=e?t.attr("type")===e:1;n&&r.close(t.attr("times")),n=null})};var f=r.cache||{},c=function(e){return f.skin?" "+f.skin+" "+f.skin+"-"+e:""};r.prompt=function(e,t){var a="";if(e=e||{},"function"==typeof e&&(t=e),e.area){var o=e.area;a='style="width: '+o[0]+"; height: "+o[1]+';"',delete e.area}var s,l=2==e.formType?'":function(){return' '}(),f=e.success;return delete e.success,r.open(i.extend({type:1,btn:["确定","取消"],content:l,skin:"layui-layer-prompt"+c("prompt"),maxWidth:n.width(),success:function(t){s=t.find(".layui-layer-input"),s.val(e.value||"").focus(),"function"==typeof f&&f(t)},resize:!1,yes:function(i){var n=s.val();""===n?s.focus():n.length>(e.maxlength||500)?r.tips("最多输入"+(e.maxlength||500)+"个字数",s,{tips:1}):t&&t(n,i,s)}},e))},r.tab=function(e){e=e||{};var t=e.tab||{},n="layui-this",a=e.success;return delete e.success,r.open(i.extend({type:1,skin:"layui-layer-tab"+c("tab"),resize:!1,title:function(){var e=t.length,i=1,a="";if(e>0)for(a=''+t[0].title+" ";i"+t[i].title+"";return a}(),content:''+function(){var e=t.length,i=1,a="";if(e>0)for(a=''+(t[0].content||"no content")+" ";i'+(t[i].content||"no content")+"";return a}()+" ",success:function(t){var o=t.find(".layui-layer-title").children(),r=t.find(".layui-layer-tabmain").children();o.on("mousedown",function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0;var a=i(this),o=a.index();a.addClass(n).siblings().removeClass(n),r.eq(o).show().siblings().hide(),"function"==typeof e.change&&e.change(o)}),"function"==typeof a&&a(t)}},e))},r.photos=function(t,n,a){function o(e,t,i){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,t(n)},void(n.onerror=function(e){n.onerror=null,i(e)}))}var s={};if(t=t||{},t.photos){var l=t.photos.constructor===Object,f=l?t.photos:{},u=f.data||[],d=f.start||0;s.imgIndex=(0|d)+1,t.img=t.img||"img";var y=t.success;if(delete t.success,l){if(0===u.length)return r.msg("没有图片")}else{var p=i(t.photos),h=function(){u=[],p.find(t.img).each(function(e){var t=i(this);t.attr("layer-index",e),u.push({alt:t.attr("alt"),pid:t.attr("layer-pid"),src:t.attr("layer-src")||t.attr("src"),thumb:t.attr("src")})})};if(h(),0===u.length)return;if(n||p.on("click",t.img,function(){var e=i(this),n=e.attr("layer-index");r.photos(i.extend(t,{photos:{start:n,data:u,tab:t.tab},full:t.full}),!0),h()}),!n)return}s.imgprev=function(e){s.imgIndex--,s.imgIndex<1&&(s.imgIndex=u.length),s.tabimg(e)},s.imgnext=function(e,t){s.imgIndex++,s.imgIndex>u.length&&(s.imgIndex=1,t)||s.tabimg(e)},s.keyup=function(e){if(!s.end){var t=e.keyCode;e.preventDefault(),37===t?s.imgprev(!0):39===t?s.imgnext(!0):27===t&&r.close(s.index)}},s.tabimg=function(e){if(!(u.length<=1))return f.start=s.imgIndex-1,r.close(s.index),r.photos(t,!0,e)},s.event=function(){s.bigimg.hover(function(){s.imgsee.show()},function(){s.imgsee.hide()}),s.bigimg.find(".layui-layer-imgprev").on("click",function(e){e.preventDefault(),s.imgprev()}),s.bigimg.find(".layui-layer-imgnext").on("click",function(e){e.preventDefault(),s.imgnext()}),i(document).on("keyup",s.keyup)},s.loadi=r.load(1,{shade:!("shade"in t)&&.9,scrollbar:!1}),o(u[d].src,function(n){r.close(s.loadi),s.index=r.open(i.extend({type:1,id:"layui-layer-photos",area:function(){var a=[n.width,n.height],o=[i(e).width()-100,i(e).height()-100];if(!t.full&&(a[0]>o[0]||a[1]>o[1])){var r=[a[0]/o[0],a[1]/o[1]];r[0]>r[1]?(a[0]=a[0]/r[0],a[1]=a[1]/r[0]):r[0] ",success:function(e,i){s.bigimg=e.find(".layui-layer-phimg"),s.imgsee=e.find(".layui-layer-imguide,.layui-layer-imgbar"),s.event(e),t.tab&&t.tab(u[d],e),"function"==typeof y&&y(e)},end:function(){s.end=!0,i(document).off("keyup",s.keyup)}},t))},function(){r.close(s.loadi),r.msg("当前图片地址异常 是否继续查看下一张?",{time:3e4,btn:["下一张","不看了"],yes:function(){u.length>1&&s.imgnext(!0,!0)}})})}},o.run=function(t){i=t,n=i(e),l.html=i("html"),r.open=function(e){var t=new s(e);return t.index}},e.layui&&layui.define?(r.ready(),layui.define("jquery",function(t){r.path=layui.cache.dir,o.run(layui.$),e.layer=r,t("layer",r)})):"function"==typeof define&&define.amd?define(["jquery"],function(){return o.run(e.jQuery),r}):function(){o.run(e.jQuery),r.ready()}()}(window);
--------------------------------------------------------------------------------
/help/layui/lay/modules/laypage.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?''+a.prev+" ":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push(''+(a.first||1)+" ");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r2&&e.push('… ');r<=u;r++)r===a.curr?e.push('"+r+" "):e.push(''+r+" ");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1…'),0!==t&&e.push(''+(a.last||a.pages)+" ")),e.join("")}(),next:function(){return a.next?''+a.next+" ":""}(),count:'共 '+a.count+" 条 ",limit:function(){var e=[''];return layui.each(a.limits,function(t,n){e.push('"+n+" 条/页 ")}),e.join("")+" "}(),skip:function(){return['到第',' ','页确定 '," "].join("")}()};return['',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"
"].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;oi.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/laytpl.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/table.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define(["laytpl","laypage","layer","form"],function(e){"use strict";var t=layui.$,i=layui.laytpl,a=layui.laypage,l=layui.layer,n=layui.form,o=layui.hint(),r=layui.device(),d={config:{checkName:"LAY_CHECKED",indexName:"LAY_TABLE_INDEX"},cache:{},index:layui.table?layui.table.index+1e4:0,set:function(e){var i=this;return i.config=t.extend({},i.config,e),i},on:function(e,t){return layui.onevent.call(this,s,e,t)}},c=function(){var e=this,t=e.config,i=t.id;return i&&(c.config[i]=t),{reload:function(t){e.reload.call(e,t)},config:t}},s="table",u=".layui-table",h="layui-hide",f="layui-none",y="layui-table-view",p=".layui-table-header",m=".layui-table-body",v=".layui-table-main",g=".layui-table-fixed",x=".layui-table-fixed-l",b=".layui-table-fixed-r",k=".layui-table-tool",C=".layui-table-page",w=".layui-table-sort",N="layui-table-edit",F="layui-table-hover",W=function(e){var t='{{#if(item2.colspan){}} colspan="{{item2.colspan}}"{{#} if(item2.rowspan){}} rowspan="{{item2.rowspan}}"{{#}}}';return e=e||{},['',"","{{# layui.each(d.data.cols, function(i1, item1){ }}","","{{# layui.each(item1, function(i2, item2){ }}",'{{# if(item2.fixed && item2.fixed !== "right"){ left = true; } }}','{{# if(item2.fixed === "right"){ right = true; } }}',function(){return e.fixed&&"right"!==e.fixed?'{{# if(item2.fixed && item2.fixed !== "right"){ }}':"right"===e.fixed?'{{# if(item2.fixed === "right"){ }}':""}(),'',' 1){ }}","group","{{# } else { }}","{{d.index}}-{{item2.field || i2}}",'{{# if(item2.type !== "normal"){ }}'," laytable-cell-{{ item2.type }}","{{# } }}","{{# } }}",'" {{#if(item2.align){}}align="{{item2.align}}"{{#}}}>','{{# if(item2.type === "checkbox"){ }}',' ',"{{# } else { }}",'{{item2.title||""}} ',"{{# if(!(item2.colspan > 1) && item2.sort){ }}",' ',"{{# } }}","{{# } }}","
"," ",e.fixed?"{{# }; }}":"","{{# }); }}"," ","{{# }); }}"," ","
"].join("")},z=['"].join(""),A=['"].join(""),T=t(window),M=t(document),S=function(e){var i=this;i.index=++d.index,i.config=t.extend({},i.config,d.config,e),i.render()};S.prototype.config={limit:10,loading:!0,cellMinWidth:60,text:{none:"无数据"}},S.prototype.render=function(){var e=this,a=e.config;if(a.elem=t(a.elem),a.where=a.where||{},a.id=a.id||a.elem.attr("id"),a.request=t.extend({pageName:"page",limitName:"limit"},a.request),a.response=t.extend({statusName:"code",statusCode:0,msgName:"msg",dataName:"data",countName:"count"},a.response),"object"==typeof a.page&&(a.limit=a.page.limit||a.limit,a.limits=a.page.limits||a.limits,e.page=a.page.curr=a.page.curr||1,delete a.page.elem,delete a.page.jump),!a.elem[0])return e;e.setArea();var l=a.elem,n=l.next("."+y),o=e.elem=t(i(A).render({VIEW_CLASS:y,data:a,index:e.index}));if(a.index=e.index,n[0]&&n.remove(),l.after(o),e.layHeader=o.find(p),e.layMain=o.find(v),e.layBody=o.find(m),e.layFixed=o.find(g),e.layFixLeft=o.find(x),e.layFixRight=o.find(b),e.layTool=o.find(k),e.layPage=o.find(C),e.layTool.html(i(t(a.toolbar).html()||"").render(a)),a.height&&e.fullSize(),a.cols.length>1){var r=e.layFixed.find(p).find("th");r.height(e.layHeader.height()-1-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom")))}e.pullData(e.page),e.events()},S.prototype.initOpts=function(e){var t=this,i=(t.config,{checkbox:48,space:15,numbers:40});e.checkbox&&(e.type="checkbox"),e.space&&(e.type="space"),e.type||(e.type="normal"),"normal"!==e.type&&(e.unresize=!0,e.width=e.width||i[e.type])},S.prototype.setArea=function(){var e=this,t=e.config,i=0,a=0,l=0,n=0,o=t.width||function(){var e=function(i){var a,l;i=i||t.elem.parent(),a=i.width();try{l="none"===i.css("display")}catch(n){}return!i[0]||a&&!l?a:e(i.parent())};return e()}();e.eachCols(function(){i++}),o-=function(){return"line"===t.skin||"nob"===t.skin?2:i+1}(),layui.each(t.cols,function(t,i){layui.each(i,function(t,l){var r;return l?(e.initOpts(l),r=l.width||0,void(l.colspan>1||(/\d+%$/.test(r)?l.width=r=Math.floor(parseFloat(r)/100*o):r||(l.width=r=0,a++),n+=r))):void i.splice(t,1)})}),e.autoColNums=a,o>n&&a&&(l=(o-n)/a),layui.each(t.cols,function(e,i){layui.each(i,function(e,i){var a=i.minWidth||t.cellMinWidth;i.colspan>1||0===i.width&&(i.width=Math.floor(l>=a?l:a))})}),t.height&&/^full-\d+$/.test(t.height)&&(e.fullHeightGap=t.height.split("-")[1],t.height=T.height()-e.fullHeightGap)},S.prototype.reload=function(e){var i=this;i.config.data&&i.config.data.constructor===Array&&delete i.config.data,i.config=t.extend({},i.config,e),i.render()},S.prototype.page=1,S.prototype.pullData=function(e,i){var a=this,n=a.config,o=n.request,r=n.response,d=function(){"object"==typeof n.initSort&&a.sort(n.initSort.field,n.initSort.type)};if(a.startTime=(new Date).getTime(),n.url){var c={};c[o.pageName]=e,c[o.limitName]=n.limit,t.ajax({type:n.method||"get",url:n.url,data:t.extend(c,n.where),dataType:"json",success:function(t){t[r.statusName]!=r.statusCode?(a.renderForm(),a.layMain.html(''+(t[r.msgName]||"返回的数据状态异常")+"
")):(a.renderData(t,e,t[r.countName]),d(),n.time=(new Date).getTime()-a.startTime+" ms"),i&&l.close(i),"function"==typeof n.done&&n.done(t,e,t[r.countName])},error:function(e,t){a.layMain.html('数据接口请求异常
'),a.renderForm(),i&&l.close(i)}})}else if(n.data&&n.data.constructor===Array){var s={},u=e*n.limit-n.limit;s[r.dataName]=n.data.concat().splice(u,n.limit),s[r.countName]=n.data.length,a.renderData(s,e,n.data.length),d(),"function"==typeof n.done&&n.done(s,e,s[r.countName])}},S.prototype.eachCols=function(e){var i=t.extend(!0,[],this.config.cols),a=[],l=0;layui.each(i,function(e,t){layui.each(t,function(t,n){if(n.colspan>1){var o=0;l++,n.CHILD_COLS=[],layui.each(i[e+1],function(e,t){t.PARENT_COL||o==n.colspan||(t.PARENT_COL=l,n.CHILD_COLS.push(t),o+=t.colspan>1?t.colspan:1)})}n.PARENT_COL||a.push(n)})});var n=function(t){layui.each(t||a,function(t,i){return i.CHILD_COLS?n(i.CHILD_COLS):void e(t,i)})};n()},S.prototype.renderData=function(e,n,o,r){var c=this,s=c.config,u=e[s.response.dataName]||[],y=[],p=[],m=[],v=function(){return!r&&c.sortKey?c.sort(c.sortKey.field,c.sortKey.sort,!0):(layui.each(u,function(e,a){var l=[],o=[],u=[],h=e+s.limit*(n-1)+1;0!==a.length&&(r||(a[d.config.indexName]=e),c.eachCols(function(e,n){var r=n.field||e,f=a[r];c.getColElem(c.layHeader,r);if(void 0!==f&&null!==f||(f=""),!(n.colspan>1)){var y=['",''+function(){var e=t.extend(!0,{LAY_INDEX:h},a);return"checkbox"===n.type?' ":"numbers"===n.type?h:n.toolbar?i(t(n.toolbar).html()||"").render(e):n.templet?function(){return"function"==typeof n.templet?n.templet(e):i(t(n.templet).html()||String(f)).render(e)}():f}(),"
"].join("");l.push(y),n.fixed&&"right"!==n.fixed&&o.push(y),"right"===n.fixed&&u.push(y)}}),y.push(''+l.join("")+" "),p.push(''+o.join("")+" "),m.push(''+u.join("")+" "))}),c.layBody.scrollTop(0),c.layMain.find("."+f).remove(),c.layMain.find("tbody").html(y.join("")),c.layFixLeft.find("tbody").html(p.join("")),c.layFixRight.find("tbody").html(m.join("")),c.renderForm(),c.syncCheckAll(),c.haveInit?c.scrollPatch():setTimeout(function(){c.scrollPatch()},50),c.haveInit=!0,void l.close(c.tipsIndex))};return c.key=s.id||s.index,d.cache[c.key]=u,c.layPage[0===u.length&&1==n?"addClass":"removeClass"](h),r?v():0===u.length?(c.renderForm(),c.layFixed.remove(),c.layMain.find("tbody").html(""),c.layMain.find("."+f).remove(),c.layMain.append(''+s.text.none+"
")):(v(),void(s.page&&(s.page=t.extend({elem:"layui-table-page"+s.index,count:o,limit:s.limit,limits:s.limits||[10,20,30,40,50,60,70,80,90],groups:3,layout:["prev","page","next","skip","count","limit"],prev:' ',next:' ',jump:function(e,t){t||(c.page=e.curr,s.limit=e.limit,c.pullData(e.curr,c.loading()))}},s.page),s.page.count=o,a.render(s.page))))},S.prototype.getColElem=function(e,t){var i=this,a=i.config;return e.eq(0).find(".laytable-cell-"+(a.index+"-"+t)+":eq(0)")},S.prototype.renderForm=function(e){n.render(e,"LAY-table-"+this.index)},S.prototype.sort=function(e,i,a,l){var n,r,c=this,u={},h=c.config,f=h.elem.attr("lay-filter"),y=d.cache[c.key];"string"==typeof e&&c.layHeader.find("th").each(function(i,a){var l=t(this),o=l.data("field");if(o===e)return e=l,n=o,!1});try{var n=n||e.data("field");if(c.sortKey&&!a&&n===c.sortKey.field&&i===c.sortKey.sort)return;var p=c.layHeader.find("th .laytable-cell-"+h.index+"-"+n).find(w);c.layHeader.find("th").find(w).removeAttr("lay-sort"),p.attr("lay-sort",i||null),c.layFixed.find("th")}catch(m){return o.error("Table modules: Did not match to field")}c.sortKey={field:n,sort:i},"asc"===i?r=layui.sort(y,n):"desc"===i?r=layui.sort(y,n,!0):(r=layui.sort(y,d.config.indexName),delete c.sortKey),u[h.response.dataName]=r,c.renderData(u,c.page,c.count,!0),l&&layui.event.call(e,s,"sort("+f+")",{field:n,type:i})},S.prototype.loading=function(){var e=this,t=e.config;if(t.loading&&t.url)return l.msg("数据请求中",{icon:16,offset:[e.elem.offset().top+e.elem.height()/2-35-T.scrollTop()+"px",e.elem.offset().left+e.elem.width()/2-90-T.scrollLeft()+"px"],time:-1,anim:-1,fixed:!1})},S.prototype.setCheckData=function(e,t){var i=this,a=i.config,l=d.cache[i.key];l[e]&&l[e].constructor!==Array&&(l[e][a.checkName]=t)},S.prototype.syncCheckAll=function(){var e=this,t=e.config,i=e.layHeader.find('input[name="layTableCheckbox"]'),a=function(i){return e.eachCols(function(e,a){"checkbox"===a.type&&(a[t.checkName]=i)}),i};i[0]&&(d.checkStatus(e.key).isAll?(i[0].checked||(i.prop("checked",!0),e.renderForm("checkbox")),a(!0)):(i[0].checked&&(i.prop("checked",!1),e.renderForm("checkbox")),a(!1)))},S.prototype.getCssRule=function(e,t){var i=this,a=i.elem.find("style")[0],l=a.sheet||a.styleSheet||{},n=l.cssRules||l.rules;layui.each(n,function(a,l){if(l.selectorText===".laytable-cell-"+i.index+"-"+e)return t(l),!0})},S.prototype.fullSize=function(){var e,t=this,i=t.config,a=i.height;t.fullHeightGap&&(a=T.height()-t.fullHeightGap,a<135&&(a=135),t.elem.css("height",a)),e=parseFloat(a)-parseFloat(t.layHeader.height())-1,i.toolbar&&(e-=t.layTool.outerHeight()),i.page&&(e=e-t.layPage.outerHeight()-1),t.layMain.css("height",e)},S.prototype.getScrollWidth=function(e){var t=0;return e?t=e.offsetWidth-e.clientWidth:(e=document.createElement("div"),e.style.width="100px",e.style.height="100px",e.style.overflowY="scroll",document.body.appendChild(e),t=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),t},S.prototype.scrollPatch=function(){var e=this,i=e.layMain.children("table"),a=e.layMain.width()-e.layMain.prop("clientWidth"),l=e.layMain.height()-e.layMain.prop("clientHeight"),n=e.getScrollWidth(e.layMain[0]),o=i.outerWidth()-e.layMain.width();if(e.autoColNums&&o<5&&!e.scrollPatchWStatus){var r=e.layHeader.eq(0).find("thead th:last-child"),d=r.data("field");e.getCssRule(d,function(t){var i=t.style.width||r.outerWidth();t.style.width=parseFloat(i)-n-o+"px",e.layMain.height()-e.layMain.prop("clientHeight")>0&&(t.style.width=parseFloat(t.style.width)-1+"px"),e.scrollPatchWStatus=!0})}if(a&&l){if(!e.elem.find(".layui-table-patch")[0]){var c=t('
');c.find("div").css({width:a}),e.layHeader.eq(0).find("thead tr").append(c)}}else e.layHeader.eq(0).find(".layui-table-patch").remove();var s=e.layMain.height(),u=s-l;e.layFixed.find(m).css("height",i.height()>u?u:"auto"),e.layFixRight[o>0?"removeClass":"addClass"](h),e.layFixRight.css("right",a-1)},S.prototype.events=function(){var e,a=this,n=a.config,o=t("body"),c={},u=a.layHeader.find("th"),h=".layui-table-cell",f=n.elem.attr("lay-filter");u.on("mousemove",function(e){var i=t(this),a=i.offset().left,l=e.clientX-a;i.attr("colspan")>1||i.data("unresize")||c.resizeStart||(c.allowResize=i.width()-l<=10,o.css("cursor",c.allowResize?"col-resize":""))}).on("mouseleave",function(){t(this);c.resizeStart||o.css("cursor","")}).on("mousedown",function(e){var i=t(this);if(c.allowResize){var l=i.data("field");e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],a.getCssRule(l,function(e){var t=e.style.width||i.outerWidth();c.rule=e,c.ruleWidth=parseFloat(t),c.minWidth=i.data("minwidth")||n.cellMinWidth})}}),M.on("mousemove",function(t){if(c.resizeStart){if(t.preventDefault(),c.rule){var i=c.ruleWidth+t.clientX-c.offset[0];i');d[0].value=e.data("content")||o.text(),e.find("."+N)[0]||e.append(d),d.focus()}else o.find(".layui-form-switch,.layui-form-checkbox")[0]||Math.round(o.prop("scrollWidth"))>Math.round(o.outerWidth())&&(a.tipsIndex=l.tips(['',o.html(),"
",'ဆ '].join(""),o[0],{tips:[3,""],time:-1,anim:-1,maxWidth:r.ios||r.android?300:600,isOutAnim:!1,skin:"layui-table-tips",success:function(e,t){e.find(".layui-table-tips-c").on("click",function(){l.close(t)})}}))}),a.layBody.on("click","*[lay-event]",function(){var e=t(this),l=e.parents("tr").eq(0).data("index"),n=a.layBody.find('tr[data-index="'+l+'"]'),o="layui-table-click",r=d.cache[a.key][l];layui.event.call(this,s,"tool("+f+")",{data:d.clearCacheKey(r),event:e.attr("lay-event"),tr:n,del:function(){d.cache[a.key][l]=[],n.remove(),a.scrollPatch()},update:function(e){e=e||{},layui.each(e,function(e,l){if(e in r){var o,d=n.children('td[data-field="'+e+'"]');r[e]=l,a.eachCols(function(t,i){i.field==e&&i.templet&&(o=i.templet)}),d.children(h).html(o?i(t(o).html()||l).render(r):l),d.data("content",l)}})}}),n.addClass(o).siblings("tr").removeClass(o)}),a.layMain.on("scroll",function(){var e=t(this),i=e.scrollLeft(),n=e.scrollTop();a.layHeader.scrollLeft(i),a.layFixed.find(m).scrollTop(n),l.close(a.tipsIndex)}),T.on("resize",function(){a.fullSize(),a.scrollPatch()})},d.init=function(e,i){i=i||{};var a=this,l=t(e?'table[lay-filter="'+e+'"]':u+"[lay-data]"),n="Table element property lay-data configuration item has a syntax error: ";return l.each(function(){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){o.error(n+l)}var c=[],s=t.extend({elem:this,cols:[],data:[],skin:a.attr("lay-skin"),size:a.attr("lay-size"),even:"string"==typeof a.attr("lay-even")},d.config,i,l);e&&a.hide(),a.find("thead>tr").each(function(e){s.cols[e]=[],t(this).children().each(function(i){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){return o.error(n+l)}var d=t.extend({title:a.text(),colspan:a.attr("colspan")||0,rowspan:a.attr("rowspan")||0},l);d.colspan<2&&c.push(d),s.cols[e].push(d)})}),a.find("tbody>tr").each(function(e){var i=t(this),a={};i.children("td").each(function(e,i){var l=t(this),n=l.data("field");if(n)return a[n]=l.html()}),layui.each(c,function(e,t){var l=i.children("td").eq(e);a[t.field]=l.html()}),s.data[e]=a}),d.render(s)}),a},d.checkStatus=function(e){var t=0,i=0,a=[],l=d.cache[e]||[];return layui.each(l,function(e,l){return l.constructor===Array?void i++:void(l[d.config.checkName]&&(t++,a.push(d.clearCacheKey(l))))}),{data:a,isAll:!!l.length&&t===l.length-i}},c.config={},d.reload=function(e,i){var a=c.config[e];return i=i||{},a?(i.data&&i.data.constructor===Array&&delete a.data,d.render(t.extend(!0,{},a,i))):o.error("The ID option was not found in the table instance")},d.render=function(e){var t=new S(e);return c.call(t)},d.clearCacheKey=function(e){return e=t.extend({},e),delete e[d.config.checkName],delete e[d.config.indexName],e},d.init(),e(s,d)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/tree.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o(''),s=o(["",function(){return l?''+(n.spread?t.arrow[1]:t.arrow[0])+" ":""}(),function(){return r.check?''+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+" ":""}(),function(){return'"+(''+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+" ")+(""+(n.name||"未命名")+" ")}()," "].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o('
'));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})});
--------------------------------------------------------------------------------
/help/layui/lay/modules/upload.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define("layer",function(e){"use strict";var i=layui.$,t=layui.layer,n=layui.hint(),a=layui.device(),o={config:{},set:function(e){var t=this;return t.config=i.extend({},t.config,e),t},on:function(e,i){return layui.onevent.call(this,r,e,i)}},l=function(){var e=this;return{upload:function(i){e.upload.call(e,i)},config:e.config}},r="upload",u="layui-upload-file",c="layui-upload-form",f="layui-upload-iframe",s="layui-upload-choose",p=function(e){var t=this;t.config=i.extend({},t.config,o.config,e),t.render()};p.prototype.config={accept:"images",exts:"",auto:!0,bindAction:"",url:"",field:"file",method:"post",data:{},drag:!0,size:0,number:0,multiple:!1},p.prototype.render=function(e){var t=this,e=t.config;e.elem=i(e.elem),e.bindAction=i(e.bindAction),t.file(),t.events()},p.prototype.file=function(){var e=this,t=e.config,n=e.elemFile=i([' "].join("")),o=t.elem.next();(o.hasClass(u)||o.hasClass(c))&&o.remove(),a.ie&&a.ie<10&&t.elem.wrap('
'),e.isFile()?(e.elemFile=t.elem,t.field=t.elem[0].name):t.elem.after(n),a.ie&&a.ie<10&&e.initIE()},p.prototype.initIE=function(){var e=this,t=e.config,n=i(''),a=i(['"].join(""));i("#"+f)[0]||i("body").append(n),t.elem.next().hasClass(f)||(e.elemFile.wrap(a),t.elem.next("."+f).append(function(){var e=[];return layui.each(t.data,function(i,t){e.push(' ')}),e.join("")}()))},p.prototype.msg=function(e){return t.msg(e,{icon:2,shift:6})},p.prototype.isFile=function(){var e=this.config.elem[0];if(e)return"input"===e.tagName.toLocaleLowerCase()&&"file"===e.type},p.prototype.preview=function(e){var i=this;window.FileReader&&layui.each(i.chooseFiles,function(i,t){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){e&&e(i,t,this.result)}})},p.prototype.upload=function(e,t){var n,o=this,l=o.config,r=o.elemFile[0],u=function(){var t=0,n=0,a=e||o.files||o.chooseFiles||r.files,u=function(){l.multiple&&t+n===o.fileLength&&"function"==typeof l.allDone&&l.allDone({total:o.fileLength,successful:t,aborted:n})};layui.each(a,function(e,a){var r=new FormData;r.append(l.field,a),layui.each(l.data,function(e,i){r.append(e,i)}),i.ajax({url:l.url,type:l.method,data:r,contentType:!1,processData:!1,dataType:"json",success:function(i){t++,d(e,i),u()},error:function(){n++,o.msg("请求上传接口出现异常"),m(e),u()}})})},c=function(){var e=i("#"+f);o.elemFile.parent().submit(),clearInterval(p.timer),p.timer=setInterval(function(){var i,t=e.contents().find("body");try{i=t.text()}catch(n){o.msg("获取上传后的响应信息出现异常"),clearInterval(p.timer),m()}i&&(clearInterval(p.timer),t.html(""),d(0,i))},30)},d=function(e,i){if(o.elemFile.next("."+s).remove(),r.value="","object"!=typeof i)try{i=JSON.parse(i)}catch(t){return i={},o.msg("请对上传接口返回有效JSON")}"function"==typeof l.done&&l.done(i,e||0,function(e){o.upload(e)})},m=function(e){l.auto&&(r.value=""),"function"==typeof l.error&&l.error(e||0,function(e){o.upload(e)})},h=l.exts,v=function(){var i=[];return layui.each(e||o.chooseFiles,function(e,t){i.push(t.name)}),i}(),g={preview:function(e){o.preview(e)},upload:function(e,i){var t={};t[e]=i,o.upload(t)},pushFile:function(){return o.files=o.files||{},layui.each(o.chooseFiles,function(e,i){o.files[e]=i}),o.files}},y=function(){return"choose"===t?l.choose&&l.choose(g):(l.before&&l.before(g),a.ie?a.ie>9?u():c():void u())};if(v=0===v.length?r.value.match(/[^\/\\]+\..+/g)||[]||"":v,0!==v.length){switch(l.accept){case"file":if(h&&!RegExp("\\w\\.("+h+")$","i").test(escape(v)))return o.msg("选择的文件中包含不支持的格式"),r.value="";break;case"video":if(!RegExp("\\w\\.("+(h||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(v)))return o.msg("选择的视频中包含不支持的格式"),r.value="";break;case"audio":if(!RegExp("\\w\\.("+(h||"mp3|wav|mid")+")$","i").test(escape(v)))return o.msg("选择的音频中包含不支持的格式"),r.value="";break;default:if(layui.each(v,function(e,i){RegExp("\\w\\.("+(h||"jpg|png|gif|bmp|jpeg$")+")","i").test(escape(i))||(n=!0)}),n)return o.msg("选择的图片中包含不支持的格式"),r.value=""}if(o.fileLength=function(){var i=0,t=e||o.files||o.chooseFiles||r.files;return layui.each(t,function(){i++}),i}(),l.number&&o.fileLength>l.number)return o.msg("同时最多只能上传的数量为:"+l.number);if(l.size>0&&!(a.ie&&a.ie<10)){var F;if(layui.each(o.chooseFiles,function(e,i){if(i.size>1024*l.size){var t=l.size/1024;t=t>=1?Math.floor(t)+(t%1>0?t.toFixed(1):0)+"MB":l.size+"KB",r.value="",F=t}}),F)return o.msg("文件不能超过"+F)}y()}},p.prototype.events=function(){var e=this,t=e.config,o=function(i){e.chooseFiles={},layui.each(i,function(i,t){var n=(new Date).getTime();e.chooseFiles[n+"-"+i]=t})},l=function(i,n){var a=e.elemFile,o=i.length>1?i.length+"个文件":(i[0]||{}).name||a[0].value.match(/[^\/\\]+\..+/g)||[]||"";a.next().hasClass(s)&&a.next().remove(),e.upload(null,"choose"),e.isFile()||t.choose||a.after(''+o+" ")};t.elem.off("upload.start").on("upload.start",function(){var a=i(this),o=a.attr("lay-data");if(o)try{o=new Function("return "+o)(),e.config=i.extend({},t,o)}catch(l){n.error("Upload element property lay-data configuration item has a syntax error: "+o)}e.config.item=a,e.elemFile[0].click()}),a.ie&&a.ie<10||t.elem.off("upload.over").on("upload.over",function(){var e=i(this);e.attr("lay-over","")}).off("upload.leave").on("upload.leave",function(){var e=i(this);e.removeAttr("lay-over")}).off("upload.drop").on("upload.drop",function(n,a){var r=i(this),u=a.originalEvent.dataTransfer.files||[];r.removeAttr("lay-over"),o(u),t.auto?e.upload(u):l(u)}),e.elemFile.off("upload.change").on("upload.change",function(){var i=this.files||[];o(i),t.auto?e.upload():l(i)}),t.bindAction.off("upload.action").on("upload.action",function(){e.upload()}),t.elem.data("haveEvents")||(e.elemFile.on("change",function(){i(this).trigger("upload.change")}),t.elem.on("click",function(){e.isFile()||i(this).trigger("upload.start")}),t.drag&&t.elem.on("dragover",function(e){e.preventDefault(),i(this).trigger("upload.over")}).on("dragleave",function(e){i(this).trigger("upload.leave")}).on("drop",function(e){e.preventDefault(),i(this).trigger("upload.drop",e)}),t.bindAction.on("click",function(){i(this).trigger("upload.action")}),t.elem.data("haveEvents",!0))},o.render=function(e){var i=new p(e);return l.call(i)},e(r,o)});
--------------------------------------------------------------------------------
/help/layui/lay/modules/util.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.5 MIT License By https://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,o,a="layui-fixbar",r="layui-fixbar-top",n=t(document),l=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['',e.bar1?''+c[0]+" ":"",e.bar2?''+c[1]+" ":"",''+c[2]+" "," "].join("")),s=g.find("."+r),u=function(){var t=n.scrollTop();t>=e.showHeight?i||(s.show(),i=1):i&&(s.hide(),i=0)};t("."+a)[0]||("object"==typeof e.css&&g.css(e.css),l.append(g),u(),g.find("li").on("click",function(){var i=t(this),o=i.attr("lay-type");"top"===o&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,o)}),n.on("scroll",function(){clearTimeout(o),o=setTimeout(function(){u()},100)}))},countdown:function(e,t,i){var o=this,a="function"==typeof t,r=new Date(e).getTime(),n=new Date(!t||a?(new Date).getTime():t).getTime(),l=r-n,c=[Math.floor(l/864e5),Math.floor(l/36e5)%24,Math.floor(l/6e4)%60,Math.floor(l/1e3)%60];a&&(i=t);var g=setTimeout(function(){o.countdown(e,n+1e3,i)},1e3);return i&&i(l>0?c:[0,0,0,0],t,g),l<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,o=[[],[]],a=(new Date).getTime()-new Date(e).getTime();return a>6912e5?(a=new Date(e),o[0][0]=i.digit(a.getFullYear(),4),o[0][1]=i.digit(a.getMonth()+1),o[0][2]=i.digit(a.getDate()),t||(o[1][0]=i.digit(a.getHours()),o[1][1]=i.digit(a.getMinutes()),o[1][2]=i.digit(a.getSeconds())),o[0].join("-")+" "+o[1].join(":")):a>=864e5?(a/1e3/60/60/24|0)+"天前":a>=36e5?(a/1e3/60/60|0)+"小时前":a>=12e4?(a/1e3/60|0)+"分钟前":a<0?"未来":"刚刚"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var o=e.length;o0;r--)if("interactive"===n[r].readyState){e=n[r].src;break}return e||n[o].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),a=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},i="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",table:"modules/table",element:"modules/element",util:"modules/util",flow:"modules/flow",carousel:"modules/carousel",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};o.prototype.cache=n,o.prototype.define=function(e,t){var o=this,r="function"==typeof e,a=function(){var e=function(e,t){layui[e]=t,n.status[e]=!0};return"function"==typeof t&&t(function(o,r){e(o,r),n.callback[o]=function(){t(e)}}),this};return r&&(t=e,e=[]),layui["layui.all"]||!layui["layui.all"]&&layui["layui.mobile"]?a.call(o):(o.use(e,a),o)},o.prototype.use=function(e,o,l){function s(e,t){var o="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||o.test((e.currentTarget||e.srcElement).readyState))&&(n.modules[f]=t,d.removeChild(v),function r(){return++m>1e3*n.timeout/4?a(f+" is not a valid module"):void(n.status[f]?c():setTimeout(r,4))}())}function c(){l.push(layui[f]),e.length>1?y.use(e.slice(1),o,l):"function"==typeof o&&o.apply(layui,l)}var y=this,p=n.dir=n.dir?n.dir:r,d=t.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(y.each(e,function(t,n){"jquery"===n&&e.splice(t,1)}),layui.jquery=layui.$=jQuery);var f=e[0],m=0;if(l=l||[],n.host=n.host||(p.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&u[f]||!layui["layui.all"]&&layui["layui.mobile"]&&u[f])return c(),y;if(n.modules[f])!function g(){return++m>1e3*n.timeout/4?a(f+" is not a valid module"):void("string"==typeof n.modules[f]&&n.status[f]?c():setTimeout(g,4))}();else{var v=t.createElement("script"),h=(u[f]?p+"lay/":/^\{\/\}/.test(y.modules[f])?"":n.base||"")+(y.modules[f]||f)+".js";h=h.replace(/^\{\/\}/,""),v.async=!0,v.charset="utf-8",v.src=h+function(){var e=n.version===!0?n.v||(new Date).getTime():n.version||"";return e?"?v="+e:""}(),d.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||i?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)}),n.modules[f]=h}return y},o.prototype.getStyle=function(t,n){var o=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return o[o.getPropertyValue?"getPropertyValue":"getAttribute"](n)},o.prototype.link=function(e,o,r){var i=this,u=t.createElement("link"),l=t.getElementsByTagName("head")[0];"string"==typeof o&&(r=o);var s=(r||e).replace(/\.|\//g,""),c=u.id="layuicss-"+s,y=0;return u.rel="stylesheet",u.href=e+(n.debug?"?v="+(new Date).getTime():""),u.media="all",t.getElementById(c)||l.appendChild(u),"function"!=typeof o?i:(function p(){return++y>1e3*n.timeout/100?a(e+" timeout"):void(1989===parseInt(i.getStyle(t.getElementById(c),"width"))?function(){o()}():setTimeout(p,100))}(),i)},n.callback={},o.prototype.factory=function(e){if(layui[e])return"function"==typeof n.callback[e]?n.callback[e]:null},o.prototype.addcss=function(e,t,o){return layui.link(n.dir+"css/"+e,t,o)},o.prototype.img=function(e,t,n){var o=new Image;return o.src=e,o.complete?t(o):(o.onload=function(){o.onload=null,t(o)},void(o.onerror=function(e){o.onerror=null,n(e)}))},o.prototype.config=function(e){e=e||{};for(var t in e)n[t]=e[t];return this},o.prototype.modules=function(){var e={};for(var t in u)e[t]=u[t];return e}(),o.prototype.extend=function(e){var t=this;e=e||{};for(var n in e)t[n]||t.modules[n]?a("模块名 "+n+" 已被占用"):t.modules[n]=e[n];return t},o.prototype.router=function(e){var t=this,e=e||location.hash,n={path:[],search:{},hash:(e.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(e)?(n.href=e=e.replace(/^#\//,""),e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],t.each(e,function(e,t){/^\w+=/.test(t)?function(){t=t.split("="),n.search[t[0]]=t[1]}():n.path.push(t)}),n):n},o.prototype.data=function(t,n,o){if(t=t||"layui",o=o||localStorage,e.JSON&&e.JSON.parse){if(null===n)return delete o[t];n="object"==typeof n?n:{key:n};try{var r=JSON.parse(o[t])}catch(a){var r={}}return"value"in n&&(r[n.key]=n.value),n.remove&&delete r[n.key],o[t]=JSON.stringify(r),n.key?r[n.key]:r}},o.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},o.prototype.device=function(t){var n=navigator.userAgent.toLowerCase(),o=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(n.match(t)||[])[1],e||!1},r={os:function(){return/windows/.test(n)?"windows":/linux/.test(n)?"linux":/iphone|ipod|ipad|ios/.test(n)?"ios":/mac/.test(n)?"mac":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((n.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:o("micromessenger")};return t&&!r[t]&&(r[t]=o(t)),r.android=/android/.test(n),r.ios="ios"===r.os,r},o.prototype.hint=function(){return{error:a}},o.prototype.each=function(e,t){var n,o=this;if("function"!=typeof t)return o;if(e=e||[],e.constructor===Object){for(n in e)if(t.call(e[n],n,e[n]))break}else for(n=0;na?1:r