From b0bb09a45b6d27dd89ee60aaa2ebddb74bd2e158 Mon Sep 17 00:00:00 2001 From: chf <156704883@qq.com> Date: Wed, 10 Aug 2022 10:56:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=B7=E5=BC=8F=E5=AF=B9?= =?UTF-8?q?=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/document/fullscreen.html | 19 +++++++++---------- view/document/popover.html | 26 +++++++++++++------------- view/document/watermark.html | 23 ++++++++++++----------- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/view/document/fullscreen.html b/view/document/fullscreen.html index 927f755..ad625aa 100644 --- a/view/document/fullscreen.html +++ b/view/document/fullscreen.html @@ -49,17 +49,16 @@

显示代码

-
-								layui.use(['fullscreen'], function() {
-								    var fullscreen = layui.fullscreen;
-
-								    fullscreen.fullScreen();
-                                    fullscreen.fullClose();
-                                    fullscreen.fullScreen("#fulltarget");
-                                    fullscreen.isFullscreen();
+			
+				layui.use(['fullscreen'], function() {
+    var fullscreen = layui.fullscreen;
+     fullscreen.fullScreen();
+	    fullscreen.fullClose();
+	    fullscreen.fullScreen("#fulltarget");
+	    fullscreen.isFullscreen();
 
-								})
-							
+ }) +
diff --git a/view/document/popover.html b/view/document/popover.html index 7be4125..5f27eac 100644 --- a/view/document/popover.html +++ b/view/document/popover.html @@ -51,8 +51,8 @@
 									layui.use(['popover', 'jquery', 'layer', 'code'], function() {
 									   var popover = layui.popover;
-                                        popover.show('#el1');
-                                        popover.hide('#el1'); //或 $('#el1').webuiPopover('hide');
+    popover.show('#el1');
+    popover.hide('#el1'); //或 $('#el1').webuiPopover('hide');
 
 
 									})
@@ -81,17 +81,17 @@
 								
 									layui.use(['toast', 'jquery', 'layer', 'code'], function() {
 									    var popover = layui.popover;
-                                        popover.create('#el1',{title:' hello popover-manual',content:'这里显示内容',trigger:'manual',placement:'auto',
-                                            animation:'pop',
-                                            closeable:true,
-                                            delay: {
-                                                //show and hide delay time of the popover, works only when trigger is 'hover',the value can be number or object
-                                                show: null,
-                                                hide: 100
-                                            },
-                                            opacity:0.98,
-                                            type:'html',//content type, values:'html','iframe','async'
-                                        });
+    popover.create('#el1',{title:' hello popover-manual',content:'这里显示内容',trigger:'manual',placement:'auto',
+        animation:'pop',
+        closeable:true,
+        delay: {
+            //show and hide delay time of the popover, works only when trigger is 'hover',the value can be number or object
+            show: null,
+            hide: 100
+        },
+        opacity:0.98,
+        type:'html',//content type, values:'html','iframe','async'
+    });
 
 									})
 								
diff --git a/view/document/watermark.html b/view/document/watermark.html index 858b0ca..5d67a7d 100644 --- a/view/document/watermark.html +++ b/view/document/watermark.html @@ -49,19 +49,20 @@
 								layui.use(['watermark'], function() {
 								    var watermark = layui.watermark;
-                                    var mark_node=new watermark({
-                                        content: "单行水印"
-                                    });
 
-								    new watermark({
-                                        content: "多行水印1
多行水印2", - height:40 - }); + var mark_node=new watermark({ + content: "单行水印" + }); - new watermark({ - content: "指定容器上", - appendTo:'#water_div', - }); + new watermark({ + content: "多行水印1
多行水印2", + height:40 + }); + + new watermark({ + content: "指定容器上", + appendTo:'#water_div', + }); })
-- Gitee