From 7a7db74fd3c9d818d52613d56c8721041a8d61f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Sun, 19 Jul 2020 04:23:33 +0800 Subject: [PATCH] add Notice Document --- view/document/notice.html | 66 +++++++++++++++++++++++++++++++++++---- 1 file changed, 60 insertions(+), 6 deletions(-) diff --git a/view/document/notice.html b/view/document/notice.html index 6d2509f..3bbc7f2 100644 --- a/view/document/notice.html +++ b/view/document/notice.html @@ -18,6 +18,24 @@ +
+
+
+

显示代码

+
+
+									
+									 或
+									
+									 并
+									
+									 并
+									
+								
+
+
+
+
消息提醒
@@ -43,6 +61,25 @@
+
+
+
+

显示代码

+
+
+									layui.use(['notice', 'jquery', 'layer', 'code'], function() {
+									    var notice = layui.notice;
+										                         
+									    notice.success("成功消息")
+									    notice.error("危险消息")
+									    notice.warning("警告消息")
+									    notice.info("通用消息")
+									})
+								
+
+
+
+
@@ -53,21 +90,39 @@
+
+
+
+

显示代码

+
+
+									layui.use(['notice', 'jquery', 'layer', 'code'], function() {
+									    var notice = layui.notice;
+										                         
+									    notice.clear();
+									})
+								
+
+
+
+