From 89772f47da5b93ac0cf3907fcaaae9fbeaf27851 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?=
<3277200+sentsim@users.noreply.github.com>
Date: Wed, 10 May 2023 12:14:45 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20docs=20=E5=AD=90=E6=96=87?=
=?UTF-8?q?=E6=A1=A3=E7=9A=84=E5=BC=95=E7=94=A8=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/.layui/index.md | 4 ++--
docs/carousel/index.md | 4 ++--
docs/code/index.md | 2 +-
docs/colorpicker/index.md | 4 ++--
docs/dropdown/detail/demo.md | 14 +++++++-------
docs/dropdown/index.md | 10 +++++-----
docs/fixbar/index.md | 4 ++--
docs/flow/index.md | 4 ++--
docs/form/index.md | 16 ++++++++--------
docs/form/input.md | 6 +++---
docs/laydate/detail/demo.md | 22 +++++++++++-----------
docs/laydate/index.md | 4 ++--
docs/layer/detail/demo.md | 24 ++++++++++++------------
docs/layer/index.md | 4 ++--
docs/laypage/index.md | 4 ++--
docs/laytpl/index.md | 4 ++--
docs/menu/index.md | 2 +-
docs/nav/index.md | 2 +-
docs/rate/index.md | 4 ++--
docs/slider/index.md | 4 ++--
docs/tab/index.md | 2 +-
docs/table/detail/demo.md | 30 +++++++++++++++---------------
docs/table/index.md | 10 +++++-----
docs/transfer/index.md | 6 +++---
docs/tree/index.md | 6 +++---
docs/treeTable/detail/demo.md | 2 +-
docs/treeTable/index.md | 4 ++--
docs/upload/detail/demo.md | 14 +++++++-------
docs/upload/index.md | 8 ++++----
docs/util/index.md | 2 +-
30 files changed, 113 insertions(+), 113 deletions(-)
diff --git a/docs/.layui/index.md b/docs/.layui/index.md
index cc913bd9..10045b78 100644
--- a/docs/.layui/index.md
+++ b/docs/.layui/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/MOD_NAME/detail/demo.md") }}
+{{- d.include("/MOD_NAME/detail/demo.md") }}
API
@@ -30,5 +30,5 @@ toc: true
属性
-{{- d.include("docs/MOD_NAME/detail/options.md") }}
+{{- d.include("/MOD_NAME/detail/options.md") }}
\ No newline at end of file
diff --git a/docs/carousel/index.md b/docs/carousel/index.md
index f82c8c12..cecae0a6 100644
--- a/docs/carousel/index.md
+++ b/docs/carousel/index.md
@@ -17,7 +17,7 @@ div[carousel-item]>*:nth-child(2n+1){background-color: #16baaa;}
-{{- d.include("docs/carousel/detail/demo.md") }}
+{{- d.include("/carousel/detail/demo.md") }}
API
@@ -60,7 +60,7 @@ inst.reload(options); // 轮播重载
属性
-{{- d.include("docs/carousel/detail/options.md") }}
+{{- d.include("/carousel/detail/options.md") }}
diff --git a/docs/code/index.md b/docs/code/index.md
index ccf937d4..de989438 100644
--- a/docs/code/index.md
+++ b/docs/code/index.md
@@ -39,5 +39,5 @@ layui.use(function(){
属性
-{{- d.include("docs/code/detail/options.md") }}
+{{- d.include("/code/detail/options.md") }}
\ No newline at end of file
diff --git a/docs/colorpicker/index.md b/docs/colorpicker/index.md
index 9a07a310..957c57ed 100644
--- a/docs/colorpicker/index.md
+++ b/docs/colorpicker/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/colorpicker/detail/demo.md") }}
+{{- d.include("/colorpicker/detail/demo.md") }}
@@ -54,7 +54,7 @@ layui.use(function(){
属性
-{{- d.include("docs/colorpicker/detail/options.md") }}
+{{- d.include("/colorpicker/detail/options.md") }}
## 兼容性
diff --git a/docs/dropdown/detail/demo.md b/docs/dropdown/detail/demo.md
index 08cb32b0..363fcf7f 100644
--- a/docs/dropdown/detail/demo.md
+++ b/docs/dropdown/detail/demo.md
@@ -2,7 +2,7 @@
@@ -10,7 +10,7 @@
@@ -18,7 +18,7 @@
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -42,7 +42,7 @@
@@ -52,6 +52,6 @@
\ No newline at end of file
diff --git a/docs/dropdown/index.md b/docs/dropdown/index.md
index 58e3fb36..6e40b627 100644
--- a/docs/dropdown/index.md
+++ b/docs/dropdown/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/dropdown/detail/demo.md") }}
+{{- d.include("/dropdown/detail/demo.md") }}
在 `content` 属性中传入任意的 html 内容,可替代默认的下拉菜单结构,从而实现更丰富的弹出内容。
@@ -62,13 +62,13 @@ layui.use(function(){
属性
-{{- d.include("docs/dropdown/detail/options.md") }}
+{{- d.include("/dropdown/detail/options.md") }}
data 格式
-{{- d.include("docs/dropdown/detail/options.data.md") }}
+{{- d.include("/dropdown/detail/options.data.md") }}
@@ -95,7 +95,7 @@ layui.use(function(){
@@ -109,7 +109,7 @@ layui.use(function(){
diff --git a/docs/fixbar/index.md b/docs/fixbar/index.md
index 3362d140..2c18955d 100644
--- a/docs/fixbar/index.md
+++ b/docs/fixbar/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/fixbar/detail/demo.md") }}
+{{- d.include("/fixbar/detail/demo.md") }}
API
@@ -29,5 +29,5 @@ toc: true
属性
-{{- d.include("docs/fixbar/detail/options.md") }}
+{{- d.include("/fixbar/detail/options.md") }}
\ No newline at end of file
diff --git a/docs/flow/index.md b/docs/flow/index.md
index ed0453b1..3535f69a 100644
--- a/docs/flow/index.md
+++ b/docs/flow/index.md
@@ -18,7 +18,7 @@ toc: true
-{{- d.include("docs/flow/detail/demo.md") }}
+{{- d.include("/flow/detail/demo.md") }}
API
@@ -40,7 +40,7 @@ toc: true
属性
-{{- d.include("docs/flow/detail/options.md") }}
+{{- d.include("/flow/detail/options.md") }}
图片懒加载
diff --git a/docs/form/index.md b/docs/form/index.md
index ba8d509c..d663ae48 100644
--- a/docs/form/index.md
+++ b/docs/form/index.md
@@ -15,7 +15,7 @@ toc: true
obj.render()
}}">
@@ -25,7 +25,7 @@ toc: true
obj.render()
}}">
@@ -35,7 +35,7 @@ toc: true
obj.render()
}}">
@@ -45,7 +45,7 @@ toc: true
obj.render()
}}">
@@ -74,7 +74,7 @@ form 还可以借助*栅格*实现更灵活的响应式布局。
obj.render()
}}">
@@ -232,7 +232,7 @@ Layui 对表单做了相对巧妙的支持,只需在表单元素上设置 `lay
obj.render()
}}">
@@ -252,7 +252,7 @@ Layui 对表单做了相对巧妙的支持,只需在表单元素上设置 `lay
obj.render()
}}">
@@ -268,7 +268,7 @@ Layui 对表单做了相对巧妙的支持,只需在表单元素上设置 `lay
obj.render()
}}">
diff --git a/docs/form/input.md b/docs/form/input.md
index 36f84334..a716c421 100644
--- a/docs/form/input.md
+++ b/docs/form/input.md
@@ -66,7 +66,7 @@ toc: true
obj.render();
}}">
@@ -91,7 +91,7 @@ toc: true
obj.render();
}}">
@@ -175,7 +175,7 @@ input 放在前后缀容器中:
obj.render();
}}">
diff --git a/docs/laydate/detail/demo.md b/docs/laydate/detail/demo.md
index 494d905c..3593ddb9 100644
--- a/docs/laydate/detail/demo.md
+++ b/docs/laydate/detail/demo.md
@@ -2,7 +2,7 @@
@@ -12,7 +12,7 @@
@@ -20,7 +20,7 @@
@@ -28,7 +28,7 @@
@@ -37,7 +37,7 @@
@@ -46,7 +46,7 @@
@@ -55,7 +55,7 @@
@@ -64,7 +64,7 @@
@@ -75,7 +75,7 @@
obj.render();
}}">
@@ -84,7 +84,7 @@
@@ -92,6 +92,6 @@
\ No newline at end of file
diff --git a/docs/laydate/index.md b/docs/laydate/index.md
index b3966f2d..6768a17b 100644
--- a/docs/laydate/index.md
+++ b/docs/laydate/index.md
@@ -21,7 +21,7 @@ toc: true
-{{- d.include("docs/laydate/detail/demo.md") }}
+{{- d.include("/laydate/detail/demo.md") }}
@@ -69,7 +69,7 @@ layui.use(function(){
属性
-{{- d.include("docs/laydate/detail/options.md") }}
+{{- d.include("/laydate/detail/options.md") }}
弹出提示 2.8+
diff --git a/docs/layer/detail/demo.md b/docs/layer/detail/demo.md
index 09bc6f06..633993a6 100644
--- a/docs/layer/detail/demo.md
+++ b/docs/layer/detail/demo.md
@@ -2,7 +2,7 @@
@@ -10,7 +10,7 @@
@@ -18,7 +18,7 @@
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -44,7 +44,7 @@
@@ -52,7 +52,7 @@
@@ -60,7 +60,7 @@
@@ -68,19 +68,19 @@
@@ -89,7 +89,7 @@
diff --git a/docs/layer/index.md b/docs/layer/index.md
index 3bebe4cd..359d81d7 100644
--- a/docs/layer/index.md
+++ b/docs/layer/index.md
@@ -13,7 +13,7 @@ toc: true
点击下述按钮,查看每个示例对应的弹层效果。
-{{- d.include("docs/layer/detail/demo.md") }}
+{{- d.include("/layer/detail/demo.md") }}
API
@@ -71,7 +71,7 @@ var index = layer.open({
基础属性
-{{- d.include("docs/layer/detail/options.md") }}
+{{- d.include("/layer/detail/options.md") }}
弹出信息框
diff --git a/docs/laypage/index.md b/docs/laypage/index.md
index 90ec6522..b4bdefa9 100644
--- a/docs/laypage/index.md
+++ b/docs/laypage/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/laypage/detail/demo.md") }}
+{{- d.include("/laypage/detail/demo.md") }}
API
@@ -29,7 +29,7 @@ toc: true
属性
-{{- d.include("docs/laypage/detail/options.md") }}
+{{- d.include("/laypage/detail/options.md") }}
## 小贴士
diff --git a/docs/laytpl/index.md b/docs/laytpl/index.md
index 1f828608..5150be5d 100644
--- a/docs/laytpl/index.md
+++ b/docs/laytpl/index.md
@@ -12,7 +12,7 @@ toc: true
在以下*模板*或*数据*中进行编辑,下方*视图*将呈现对应结果。
-{{- d.include("docs/laytpl/detail/demo.md") }}
+{{- d.include("/laytpl/detail/demo.md") }}
API
@@ -95,7 +95,7 @@ compile.render(data, callback); // 模板渲染
标签语法
-{{- d.include("docs/laytpl/detail/options.md") }}
+{{- d.include("/laytpl/detail/options.md") }}
diff --git a/docs/menu/index.md b/docs/menu/index.md
index 33176871..ba375500 100644
--- a/docs/menu/index.md
+++ b/docs/menu/index.md
@@ -11,7 +11,7 @@ toc: true
diff --git a/docs/nav/index.md b/docs/nav/index.md
index 6b30c938..78246805 100644
--- a/docs/nav/index.md
+++ b/docs/nav/index.md
@@ -207,7 +207,7 @@ toc: true
diff --git a/docs/rate/index.md b/docs/rate/index.md
index 1d42b500..092baaa7 100644
--- a/docs/rate/index.md
+++ b/docs/rate/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/rate/detail/demo.md") }}
+{{- d.include("/rate/detail/demo.md") }}
@@ -53,5 +53,5 @@ layui.use(function(){
属性
-{{- d.include("docs/rate/detail/options.md") }}
+{{- d.include("/rate/detail/options.md") }}
\ No newline at end of file
diff --git a/docs/slider/index.md b/docs/slider/index.md
index 1b9fbb75..f6aadcc1 100644
--- a/docs/slider/index.md
+++ b/docs/slider/index.md
@@ -14,7 +14,7 @@ toc: true
.demo-slider-container .layui-code-item-preview > div{margin: 24px 0;}
-{{- d.include("docs/slider/detail/demo.md") }}
+{{- d.include("/slider/detail/demo.md") }}
API
@@ -89,5 +89,5 @@ ins1.setValue(60, 1) // 设置结尾值
属性
-{{- d.include("docs/slider/detail/options.md") }}
+{{- d.include("/slider/detail/options.md") }}
\ No newline at end of file
diff --git a/docs/tab/index.md b/docs/tab/index.md
index 00c7add8..436e27da 100644
--- a/docs/tab/index.md
+++ b/docs/tab/index.md
@@ -11,7 +11,7 @@ toc: true
示例
-{{- d.include("docs/tab/detail/demo.md") }}
+{{- d.include("/tab/detail/demo.md") }}
风格
diff --git a/docs/table/detail/demo.md b/docs/table/detail/demo.md
index 75e982f5..dd6663f0 100644
--- a/docs/table/detail/demo.md
+++ b/docs/table/detail/demo.md
@@ -15,7 +15,7 @@
}
}}">
@@ -25,7 +25,7 @@
@@ -41,7 +41,7 @@
}
}}">
@@ -49,7 +49,7 @@
@@ -63,7 +63,7 @@
}
}}">
@@ -77,7 +77,7 @@
}
}}">
@@ -85,7 +85,7 @@
@@ -99,7 +99,7 @@
}
}}">
@@ -114,7 +114,7 @@
}
}}">
@@ -124,7 +124,7 @@
@@ -136,7 +136,7 @@
}
}}">
@@ -148,7 +148,7 @@
}
}}">
@@ -162,7 +162,7 @@
}
}}">
@@ -174,7 +174,7 @@
}
}}">
@@ -189,7 +189,7 @@
}
}}">
diff --git a/docs/table/index.md b/docs/table/index.md
index 4916cdf7..9eb735bf 100644
--- a/docs/table/index.md
+++ b/docs/table/index.md
@@ -12,7 +12,7 @@ toc: true
以下所有示例中演示的数据均为「静态模拟数据」,实际使用时换成您的真实接口即可。
-{{- d.include("docs/table/detail/demo.md") }}
+{{- d.include("/table/detail/demo.md") }}
API
@@ -160,7 +160,7 @@ table 的属性众多,我们大致分为以下几种:
基础属性
-{{- d.include("docs/table/detail/options.md") }}
+{{- d.include("/table/detail/options.md") }}
异步属性
@@ -168,7 +168,7 @@ table 的属性众多,我们大致分为以下几种:
异步属性本质也是基础属性,当开启 `url` 属性时才有效,由于相关属性成员较多,所以单独提取介绍。
-{{- d.include("docs/table/detail/options.ajax.md") }}
+{{- d.include("/table/detail/options.ajax.md") }}
表头属性
@@ -176,7 +176,7 @@ table 的属性众多,我们大致分为以下几种:
表头属性是基础属性 `cols` 的子集,其使用频率甚至超过基础属性本身。
-{{- d.include("docs/table/detail/options.cols.md") }}
+{{- d.include("/table/detail/options.cols.md") }}
重载
@@ -677,7 +677,7 @@ table.on('row(test)', function(obj){
}
}}">
diff --git a/docs/transfer/index.md b/docs/transfer/index.md
index 4a76178d..41fe33c0 100644
--- a/docs/transfer/index.md
+++ b/docs/transfer/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/transfer/detail/demo.md") }}
+{{- d.include("/transfer/detail/demo.md") }}
API
@@ -32,13 +32,13 @@ toc: true
属性
-{{- d.include("docs/transfer/detail/options.md") }}
+{{- d.include("/transfer/detail/options.md") }}
data 格式
-{{- d.include("docs/transfer/detail/options.data.md") }}
+{{- d.include("/transfer/detail/options.data.md") }}
重载
diff --git a/docs/tree/index.md b/docs/tree/index.md
index bd8b8a41..a6831057 100644
--- a/docs/tree/index.md
+++ b/docs/tree/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/tree/detail/demo.md") }}
+{{- d.include("/tree/detail/demo.md") }}
API
@@ -32,13 +32,13 @@ toc: true
属性
-{{- d.include("docs/tree/detail/options.md") }}
+{{- d.include("/tree/detail/options.md") }}
data 格式
-{{- d.include("docs/tree/detail/options.data.md") }}
+{{- d.include("/tree/detail/options.data.md") }}
diff --git a/docs/treeTable/detail/demo.md b/docs/treeTable/detail/demo.md
index 564a954e..5f794e78 100644
--- a/docs/treeTable/detail/demo.md
+++ b/docs/treeTable/detail/demo.md
@@ -8,7 +8,7 @@
}
}}">
diff --git a/docs/treeTable/index.md b/docs/treeTable/index.md
index 1deaade6..49a8bc3f 100644
--- a/docs/treeTable/index.md
+++ b/docs/treeTable/index.md
@@ -12,7 +12,7 @@ toc: true
以下所有示例中演示的数据均为「静态模拟数据」,实际使用时换成您的真实接口即可。
-{{- d.include("docs/treeTable/detail/demo.md") }}
+{{- d.include("/treeTable/detail/demo.md") }}
@@ -51,7 +51,7 @@ toc: true
`table` 组件的所有基础属性均适用于 `treeTable` 组件。在此基础上,`treeTable` 还专门提供了 `tree` 属性集:
-{{- d.include("docs/treeTable/detail/options.md") }}
+{{- d.include("/treeTable/detail/options.md") }}
重载
diff --git a/docs/upload/detail/demo.md b/docs/upload/detail/demo.md
index 681ed60f..43ae2680 100644
--- a/docs/upload/detail/demo.md
+++ b/docs/upload/detail/demo.md
@@ -4,7 +4,7 @@
obj.render();
}}">
@@ -13,7 +13,7 @@
@@ -22,7 +22,7 @@
@@ -31,7 +31,7 @@
@@ -39,7 +39,7 @@
@@ -48,7 +48,7 @@
@@ -57,6 +57,6 @@
\ No newline at end of file
diff --git a/docs/upload/index.md b/docs/upload/index.md
index 0e22f263..95f8f7bc 100644
--- a/docs/upload/index.md
+++ b/docs/upload/index.md
@@ -12,7 +12,7 @@ toc: true
以下示例的部分上传接口由第三方网站 `https://httpbin.org` 提供,它可以模拟各类 HTTP 请求。若未配置上传接口的,每次上传都会报「请求上传接口出现异常」的提示,这属于正常现象。
-{{- d.include("docs/upload/detail/demo.md") }}
+{{- d.include("/upload/detail/demo.md") }}
@@ -88,7 +88,7 @@ var inst = upload.render({
});
```
-重载
+重载
`inst.reload(options);`
@@ -113,10 +113,10 @@ inst.reload({
属性
-{{- d.include("docs/upload/detail/options.md") }}
+{{- d.include("/upload/detail/options.md") }}
-跨域方案
+跨域方案
`upload` 组件支持跨域上传,一般有以下两种场景
diff --git a/docs/util/index.md b/docs/util/index.md
index 32feb70a..a71c7db0 100644
--- a/docs/util/index.md
+++ b/docs/util/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/util/detail/demo.md") }}
+{{- d.include("/util/detail/demo.md") }}