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 @@
++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: "我是消息提示消息提示消息提示消息提示" + }); +