layer弹出框中icon数字参数
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script> <script src="./layer-v3.5.1/layer/layer.js"></script> </head> <body> <script>
layer.msg('layer icon类型 0 ', { icon: 0});
</script> </body> </html>
icon参数为0,运行结果如图:
icon参数为1,运行结果如图:
icon参数为2,运行结果如图:
icon参数为3,运行结果如图:
icon参数为4,运行结果如图:
icon参数为5,运行结果如图:
icon参数为6,运行结果如图: