📝(all): 更新文档
更新文档
This commit is contained in:
parent
f877091a24
commit
fb56b73cd4
@ -1,10 +1,10 @@
|
||||
import type { App, Plugin } from "vue";
|
||||
|
||||
import "./theme/index.less";
|
||||
import "@layui/layer-vue/lib/index.css";
|
||||
// import "@layui/layer-vue/lib/index.css";
|
||||
import "@layui/icons-vue/lib/index.css";
|
||||
import { layer } from "@layui/layer-vue";
|
||||
import layerInstall from "@layui/layer-vue";
|
||||
import { layer } from "../../layer/src/index";
|
||||
import layerInstall from "../../layer/src/index";
|
||||
import i18n from "./language";
|
||||
|
||||
import LayBacktop from "./component/backTop/index";
|
||||
|
@ -10,7 +10,7 @@
|
||||
::: title 基础使用
|
||||
:::
|
||||
|
||||
::: demo
|
||||
::: demo 基础抽屉,点击触发按钮抽屉从右滑出,点击遮罩区关闭。
|
||||
|
||||
<template>
|
||||
<lay-button @click="changeVisible" type="primary">打开</lay-button>
|
||||
@ -40,7 +40,7 @@ export default {
|
||||
::: title 抽屉嵌套
|
||||
:::
|
||||
|
||||
::: demo
|
||||
::: demo 在抽屉内打开新的抽屉,用以解决多分支任务的复杂状况。
|
||||
|
||||
<template>
|
||||
<lay-button @click="changeVisible1" type="primary">打开</lay-button>
|
||||
@ -80,7 +80,7 @@ export default {
|
||||
::: title 函数调用
|
||||
:::
|
||||
|
||||
::: demo
|
||||
::: demo 通过函数 layer.drawer(options) 打开抽屉
|
||||
|
||||
<template>
|
||||
<lay-button @click="openDrawer" type="primary">调用</lay-button>
|
||||
@ -110,7 +110,7 @@ export default {
|
||||
::: title 不同方向
|
||||
:::
|
||||
|
||||
::: demo
|
||||
::: demo 自定义位置,点击触发按钮抽屉从相应的位置滑出
|
||||
|
||||
<template>
|
||||
<lay-button @click="openTopDrawer" type="primary">上</lay-button>
|
||||
|
@ -19,8 +19,8 @@ export function createApp(): {
|
||||
|
||||
app
|
||||
.use(layui)
|
||||
.use(router)
|
||||
.use(Store)
|
||||
.use(router)
|
||||
.component("LayCode", LayCode)
|
||||
.component("LaySearch", LaySearch)
|
||||
.component("LayTableBox", LayTableBox)
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div style="margin-top: 60px; width: 80%" class="layui-container">
|
||||
<blockquote
|
||||
class="layui-quote layui-text"
|
||||
style="margin: 30px 0; letter-spacing: 2.5px"
|
||||
style="margin: 30px 0; letter-spacing: 1px"
|
||||
>
|
||||
以写作为工具,为道途,先帮助自己一程,再以自己的领悟帮助他人一程,
|
||||
这是一种服务 - 庆山
|
||||
|
Loading…
x
Reference in New Issue
Block a user