-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdemo06.html
51 lines (48 loc) · 1.56 KB
/
demo06.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<button>点击</button>
<script src="https://cdn.jsdelivr.net/gh/meethigher/cdn@11/js/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/meethigher/cdn@11/js/particles.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/meethigher/cdn@11/js/app.js"></script>
<script src="https://cdn.jsdelivr.net/gh/meethigher/cdn@11/js/layer/layer.js"></script>
<script src="https://cdn.jsdelivr.net/gh/meethigher/cdn@11/js/template-web.js"></script>
<script>
/*layer.msg('你确定你很帅么?', {
time: 0, //不自动关闭
btn: ['播放', '外链'],
// closeBtn:true,
/!*yes: function(index){
layer.close(index);
layer.msg("你点击了播放按钮");
},
no:function(index){
// layer.close(index);
layer.msg("你点击了外链按钮");
}*!/
},function (){
layer.msg("嘎哈");
},function (){
layer.msg("草拟大爷");
});*/
// layer.confirm('请选择要执行的操作', {
// title:false,
// btn: ['播放','外链'] //按钮
// }, function(){
// // var index = parent.layer.getFrameIndex(window.name);
// // parent.layer.close(index);//关闭当前页
// layer.msg('点击了播放按钮');
// }, function(){
// layer.msg('点击了外链按钮');
// });
let arr=[1,2,3];
let arr2=[4,5,6];
arr=arr.concat(arr2);
console.log(arr);
</script>
</body>
</html>