From 9dc6c9678cdff4efada16c7275e98d69d03ebcba Mon Sep 17 00:00:00 2001 From: bobi Date: Tue, 17 Dec 2019 10:24:03 +0800 Subject: [PATCH] =?UTF-8?q?impr:=E5=AE=8C=E5=96=84okLayx=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tripartite/okLayx.html | 46 ++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/pages/tripartite/okLayx.html b/pages/tripartite/okLayx.html index 376c533..9ff2e12 100644 --- a/pages/tripartite/okLayx.html +++ b/pages/tripartite/okLayx.html @@ -3,14 +3,48 @@ okLayx + - - - - - +
+
+

Layx 新一代Web弹窗组件。

+
+
+			// Step1. 引入依赖
+			let okLayx = layui.okLayx;.
+			
+			
+ // Step2. 使用 + okLayx.notice({ + title: "消息提示", + message: "我是消息提示消息提示消息提示消息提示" + }); + + okLayx.notice({ + title: "成功提示", + type: "success", + message: "我是消息提示消息提示消息提示消息提示" + }); + + okLayx.notice({ + title: "警告提示", + type: "warning", + message: "我是消息提示消息提示消息提示消息提示" + }); + + okLayx.notice({ + title: "错误提示", + type: "error", + message: "我是消息提示消息提示消息提示消息提示" + }); +
+ + + + +