|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '在线测试'}, layout: ['preview']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '在线测试'}, layout: ['preview']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/detail/run.md") }} |
|
|
|
{{- d.include("/layer/detail/run.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', text: {preview: '弹层类型'}, layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', text: {preview: '弹层类型'}, layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/type.md") }} |
|
|
|
{{- d.include("/layer/examples/type.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -18,7 +18,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/alert.md") }} |
|
|
|
{{- d.include("/layer/examples/alert.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -26,7 +26,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/page.md") }} |
|
|
|
{{- d.include("/layer/examples/page.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -34,7 +34,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/iframe.md") }} |
|
|
|
{{- d.include("/layer/examples/iframe.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/load.md") }} |
|
|
|
{{- d.include("/layer/examples/load.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -52,7 +52,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/tips.md") }} |
|
|
|
{{- d.include("/layer/examples/tips.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/other.md") }} |
|
|
|
{{- d.include("/layer/examples/other.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -68,19 +68,19 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '弹出位置'}, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '弹出位置'}, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/offset.md") }} |
|
|
|
{{- d.include("/layer/examples/offset.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '弹出方向 <sup>2.8+</sup>'}, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '弹出方向 <sup>2.8+</sup>'}, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/direction.md") }} |
|
|
|
{{- d.include("/layer/examples/direction.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '其他演示'}, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, text: {preview: '其他演示'}, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/more.md") }} |
|
|
|
{{- d.include("/layer/examples/more.md") }} |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<pre class="layui-code" lay-options="{preview: true, codeStyle: 'height: 535px;', layout: ['preview', 'code'], tools: ['full']}"> |
|
|
|
<textarea> |
|
|
|
<textarea> |
|
|
|
{{- d.include("docs/layer/examples/skin.md") }} |
|
|
|
{{- d.include("/layer/examples/skin.md") }} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
</textarea> |
|
|
|
</textarea> |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|