🐛(删除): 删除不必要文件
This commit is contained in:
parent
bcfdefde00
commit
6119d9cd28
66
example/dist/assets/animation.5b4ef272.js
vendored
66
example/dist/assets/animation.5b4ef272.js
vendored
@ -1,66 +0,0 @@
|
||||
import{r as t,o as i,h as k,e as s,d as l,f as a,g as n}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},g=a("pre",null,[a("code",{"v-pre":""},[a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("template")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("anim"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("ul")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-border-box site-doc-icon site-doc-anim"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-down"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u9876\u90E8\u5F80\u4E0B\u6ED1\u5165"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-down"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-downbit"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5FAE\u5FAE\u5F80\u4E0B\u6ED1\u5165"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-downbit"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-up"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5E95\u90E8\u5F80\u4E0A\u6ED1\u5165"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-up"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-upbit"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5FAE\u5FAE\u5F80\u4E0A\u6ED1\u5165"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-upbit"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-scale"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5E73\u6ED1\u653E\u5927"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-scale"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-scaleSpring"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5F39\u7C27\u5F0F\u653E\u5927"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-scaleSpring"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-scalesmall"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5E73\u6ED1\u653E\u5C0F"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-scalesmall"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-scalesmall-spring"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5F39\u7C27\u5F0F\u653E\u5C0F"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-scalesmall-spring"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-fadein"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u6E10\u73B0"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-fadein"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-fadeout"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u6E10\u9690"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-fadeout"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-rotate"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("360\u5EA6\u65CB\u8F6C"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("layui-anim-rotate"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("li")]),n(),a("span",{class:"token special-attr"},[a("span",{class:"token attr-name"},"style"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),a("span",{class:"token value css language-css"},[a("span",{class:"token property"},"height"),a("span",{class:"token punctuation"},":"),n("auto")]),a("span",{class:"token punctuation"},'"')])]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("layui-anim layui-anim-rotate layui-anim-loop"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u5FAA\u73AF\u52A8\u753B"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("code"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("\u8FFD\u52A0\uFF1Alayui-anim-loop"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("li")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("ul")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("div")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("template")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
|
||||
`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("script")]),a("span",{class:"token punctuation"},">")]),a("span",{class:"token script"},[a("span",{class:"token language-javascript"},[n(`
|
||||
`),a("span",{class:"token keyword"},"import"),n(),a("span",{class:"token punctuation"},"{"),n(" ref "),a("span",{class:"token punctuation"},"}"),n(),a("span",{class:"token keyword"},"from"),n(),a("span",{class:"token string"},"'vue'"),n(`
|
||||
|
||||
`),a("span",{class:"token keyword"},"export"),n(),a("span",{class:"token keyword"},"default"),n(),a("span",{class:"token punctuation"},"{"),n(`
|
||||
`),a("span",{class:"token function"},"setup"),a("span",{class:"token punctuation"},"("),a("span",{class:"token punctuation"},")"),n(),a("span",{class:"token punctuation"},"{"),n(`
|
||||
`),a("span",{class:"token keyword"},"return"),n(),a("span",{class:"token punctuation"},"{"),n(`
|
||||
`),a("span",{class:"token punctuation"},"}"),n(`
|
||||
`),a("span",{class:"token punctuation"},"}"),n(`
|
||||
`),a("span",{class:"token punctuation"},"}"),n(`
|
||||
`)])]),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"</"),n("script")]),a("span",{class:"token punctuation"},">")]),n(`
|
||||
`)])],-1),d=a("div",{class:"anim"},[a("ul",{class:"layui-border-box site-doc-icon site-doc-anim"},[a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-down"},"\u9876\u90E8\u5F80\u4E0B\u6ED1\u5165"),a("div",{class:"code"},"layui-anim-down")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-downbit"},"\u5FAE\u5FAE\u5F80\u4E0B\u6ED1\u5165"),a("div",{class:"code"},"layui-anim-downbit")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-up"},"\u5E95\u90E8\u5F80\u4E0A\u6ED1\u5165"),a("div",{class:"code"},"layui-anim-up")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-upbit"},"\u5FAE\u5FAE\u5F80\u4E0A\u6ED1\u5165"),a("div",{class:"code"},"layui-anim-upbit")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-scale"},"\u5E73\u6ED1\u653E\u5927"),a("div",{class:"code"},"layui-anim-scale")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-scaleSpring"},"\u5F39\u7C27\u5F0F\u653E\u5927"),a("div",{class:"code"},"layui-anim-scaleSpring")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-scalesmall"},"\u5E73\u6ED1\u653E\u5C0F"),a("div",{class:"code"},"layui-anim-scalesmall")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-scalesmall-spring"},"\u5F39\u7C27\u5F0F\u653E\u5C0F"),a("div",{class:"code"},"layui-anim-scalesmall-spring")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-fadein"},"\u6E10\u73B0"),a("div",{class:"code"},"layui-anim-fadein")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-fadeout"},"\u6E10\u9690"),a("div",{class:"code"},"layui-anim-fadeout")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-rotate"},"360\u5EA6\u65CB\u8F6C"),a("div",{class:"code"},"layui-anim-rotate")]),a("li",{style:{height:"auto"}},[a("div",{class:"layui-anim layui-anim-rotate layui-anim-loop"},"\u5FAA\u73AF\u52A8\u753B"),a("div",{class:"code"},"\u8FFD\u52A0\uFF1Alayui-anim-loop")])])],-1),m=a("table",null,[a("thead",null,[a("tr",null,[a("th",null,"\u7C7B\u540D"),a("th",null,"\u63CF\u8FF0"),a("th",null,"\u4F7F\u7528")])]),a("tbody",null,[a("tr",null,[a("td",null,"layui-anim-down"),a("td",null,"\u9876\u90E8\u5F80\u4E0B\u6ED1\u5165"),a("td",null,[a("code",null,"layui-anim layui-anim-down")])]),a("tr",null,[a("td",null,"layui-anim-downbit"),a("td",null,"\u5FAE\u5FAE\u5F80\u4E0B\u6ED1\u5165"),a("td",null,[a("code",null,"layui-anim layui-anim-downbit")])]),a("tr",null,[a("td",null,"layui-anim-up"),a("td",null,"\u5E95\u90E8\u5F80\u4E0A\u6ED1\u5165"),a("td",null,[a("code",null,"layui-anim layui-anim-up")])]),a("tr",null,[a("td",null,"layui-anim-upbit"),a("td",null,"\u5FAE\u5FAE\u5F80\u4E0A\u6ED1\u5165"),a("td",null,[a("code",null,"layui-anim ayui-anim-upbit")])]),a("tr",null,[a("td",null,"layui-anim-scale"),a("td",null,"\u5E73\u6ED1\u653E\u5927"),a("td",null,[a("code",null,"layui-anim layui-anim-scale")])]),a("tr",null,[a("td",null,"layui-anim-scaleSpring"),a("td",null,"\u5F39\u7C27\u5F0F\u653E\u5927"),a("td",null,[a("code",null,"layui-anim layui-anim-scaleSpring")])]),a("tr",null,[a("td",null,"layui-anim-scalesmall"),a("td",null,"\u5E73\u6ED1\u653E\u5C0F"),a("td",null,[a("code",null,"layui-anim layui-anim-scalesmall")])]),a("tr",null,[a("td",null,"layui-anim-scalesmall-spring"),a("td",null,"\u5F39\u7C27\u5F0F\u653E\u5C0F"),a("td",null,[a("code",null,"layui-anim layui-anim-scalesmall-spring")])]),a("tr",null,[a("td",null,"layui-anim-fadein"),a("td",null,"\u6E10\u73B0"),a("td",null,[a("code",null,"layui-anim layui-anim-fadein")])]),a("tr",null,[a("td",null,"layui-anim-fadeout"),a("td",null,"\u6E10\u9690"),a("td",null,[a("code",null,"layui-anim layui-anim-fadeout")])]),a("tr",null,[a("td",null,"layui-anim-rotate"),a("td",null,"360 \u5EA6\u65CB\u8F6C"),a("td",null,[a("code",null,"layui-anim layui-anim-rotate")])]),a("tr",null,[a("td",null,"layui-anim-rotate layui-anim-loop"),a("td",null,"\u5FAA\u73AF\u52A8\u753B"),a("td",null,[a("code",null,"layui-anim layui-anim-rotate layui-anim-loop")])])])],-1),f={setup(y,{expose:o}){return o({frontmatter:{}}),(h,q)=>{const c=t("lay-field"),p=t("lay-code"),e=t("lay-table-box"),u=t("lay-comment");return i(),k("div",r,[s(c,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,null,{code:l(()=>[g]),default:l(()=>[d]),_:1}),s(c,{title:"\u52A8\u753B\u7C7B\u540D",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(e,null,{default:l(()=>[m]),_:1}),s(u)])}}};export{f as default};
|
59
example/dist/assets/avatar.1cbddef9.js
vendored
59
example/dist/assets/avatar.1cbddef9.js
vendored
@ -1,59 +0,0 @@
|
||||
import{b as g,r as p,o as d,h as m,e as s,d as o,z as e,f as n,g as a}from"./vendor.e7911ee1.js";const y={class:"markdown-body"},_=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-avatar")]),a(),n("span",{class:"token attr-name"},":src"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("src"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-avatar")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" src "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"https://portrait.gitee.com/uploads/avatars/user/2813/8441097_shaynas_1610801433.png"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
src
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),v=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-avatar")]),a(),n("span",{class:"token attr-name"},":src"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("src"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"radius"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-avatar")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" src "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token string"},'"https://portrait.gitee.com/uploads/avatars/user/2813/8441097_shaynas_1610801433.png"'),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
src
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),f=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-avatar")]),a(),n("span",{class:"token attr-name"},":src"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("src"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("xs"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-avatar")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-avatar")]),a(),n("span",{class:"token attr-name"},":src"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("src"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("sm"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-avatar")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-avatar")]),a(),n("span",{class:"token attr-name"},":src"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("src"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-avatar")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-avatar")]),a(),n("span",{class:"token attr-name"},":src"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("src"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("lg"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-avatar")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" src "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token string"},'"https://portrait.gitee.com/uploads/avatars/user/2813/8441097_shaynas_1610801433.png"'),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
src
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),h=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"src"),n("td",null,"\u56FE\u6E90"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"size"),n("td",null,"\u5C3A\u5BF8"),n("td",null,[n("code",null,"xs"),a(),n("code",null,"sm"),a(),n("code",null,"lg")])]),n("tr",null,[n("td",null,"radius"),n("td",null,"\u5706\u5F62"),n("td",null,[n("code",null,"true"),a(),n("code",null,"false")])])])],-1),j={setup(w,{expose:k}){k({frontmatter:{}});let t=g("https://portrait.gitee.com/uploads/avatars/user/2813/8441097_shaynas_1610801433.png");return t="https://portrait.gitee.com/uploads/avatars/user/2813/8441097_shaynas_1610801433.png",t="https://portrait.gitee.com/uploads/avatars/user/2813/8441097_shaynas_1610801433.png",(b,q)=>{const l=p("lay-field"),c=p("lay-avatar"),u=p("lay-code"),r=p("lay-table-box"),i=p("lay-comment");return d(),m("div",y,[s(l,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{code:o(()=>[_]),default:o(()=>[s(c,{src:e(t)},null,8,["src"])]),_:1}),s(l,{title:"\u5706\u89D2\u5934\u50CF",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{code:o(()=>[v]),default:o(()=>[s(c,{src:e(t),radius:""},null,8,["src"])]),_:1}),s(l,{title:"\u5C3A\u5BF8\u5927\u5C0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{code:o(()=>[f]),default:o(()=>[s(c,{src:e(t),size:"xs"},null,8,["src"]),s(c,{src:e(t),size:"sm"},null,8,["src"]),s(c,{src:e(t)},null,8,["src"]),s(c,{src:e(t),size:"lg"},null,8,["src"])]),_:1}),s(l,{title:"\u5934\u50CF\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(r,null,{default:o(()=>[h]),_:1}),s(i)])}}};export{j as default};
|
49
example/dist/assets/backtop.7537737f.js
vendored
49
example/dist/assets/backtop.7537737f.js
vendored
File diff suppressed because one or more lines are too long
31
example/dist/assets/badge.f4bfd61e.js
vendored
31
example/dist/assets/badge.f4bfd61e.js
vendored
@ -1,31 +0,0 @@
|
||||
import{r as o,o as i,h as d,e as a,d as e,f as n,g as t}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},g=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dot"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dot"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("orange"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dot"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("green"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dot"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("cyan"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dot"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("blue"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dot"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("black"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dot"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("gray"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token punctuation"},">")]),t("\u8D64"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("orange"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u6A59"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("green"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u7EFF"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("cyan"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u9752"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("blue"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u84DD"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("black"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u9ED1"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("gray"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u7070"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("rim"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("6"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-badge")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("rim"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("Hot"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-badge")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),y=t("\xA0 "),m=t("\xA0 "),_=t("\xA0 "),b=t("\xA0 "),h=t("\xA0 "),v=t("\xA0 "),f=t("\xA0 "),q=t("\u8D64"),x=t("\xA0 "),w=t("\u6A59"),B=t("\xA0 "),N=t("\u7EFF"),V=t("\xA0 "),j=t("\u9752"),C=t("\xA0 "),H=t("\u84DD"),E=t("\xA0 "),T=t("\u9ED1"),z=t("\xA0 "),A=t("\u7070"),D=t("\xA0 "),F=t("6"),G=t("\xA0 "),I=t("Hot"),J=t("\xA0 "),K=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"type"),n("td",null,"\u7C7B\u578B"),n("td",null,[n("code",null,"dot"),t(),n("code",null,"rim")])]),n("tr",null,[n("td",null,"theme"),n("td",null,"\u4E3B\u9898"),n("td",null,[n("code",null,"orange"),t(),n("code",null,"green"),t(),n("code",null,"cyan"),t(),n("code",null,"blue"),t(),n("code",null,"black"),t(),n("code",null,"gray")])])])],-1),L=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u5907\u6CE8")])]),n("tbody",null,[n("tr",null,[n("td",null,"default"),n("td",null,"\u9ED8\u8BA4"),n("td",null,[t("\u975E "),n("code",null,"dot"),t(" \u53EF\u7528")])])])],-1),S={setup(M,{expose:p}){return p({frontmatter:{}}),(P,Q)=>{const c=o("lay-field"),s=o("lay-badge"),u=o("lay-code"),l=o("lay-table-box"),k=o("lay-comment");return i(),d("div",r,[a(c,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{code:e(()=>[g]),default:e(()=>[a(s,{type:"dot"}),y,a(s,{type:"dot",theme:"orange"}),m,a(s,{type:"dot",theme:"green"}),_,a(s,{type:"dot",theme:"cyan"}),b,a(s,{type:"dot",theme:"blue"}),h,a(s,{type:"dot",theme:"black"}),v,a(s,{type:"dot",theme:"gray"}),f,a(s,null,{default:e(()=>[q]),_:1}),x,a(s,{theme:"orange"},{default:e(()=>[w]),_:1}),B,a(s,{theme:"green"},{default:e(()=>[N]),_:1}),V,a(s,{theme:"cyan"},{default:e(()=>[j]),_:1}),C,a(s,{theme:"blue"},{default:e(()=>[H]),_:1}),E,a(s,{theme:"black"},{default:e(()=>[T]),_:1}),z,a(s,{theme:"gray"},{default:e(()=>[A]),_:1}),D,a(s,{type:"rim"},{default:e(()=>[F]),_:1}),G,a(s,{type:"rim"},{default:e(()=>[I]),_:1}),J]),_:1}),a(c,{title:"\u5FBD\u7AE0\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(l,null,{default:e(()=>[K]),_:1}),a(c,{title:"\u5FBD\u7AE0\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(l,null,{default:e(()=>[L]),_:1}),a(k)])}}};export{S as default};
|
34
example/dist/assets/block.d412ee72.js
vendored
34
example/dist/assets/block.d412ee72.js
vendored
@ -1,34 +0,0 @@
|
||||
import{b as r,r as o,o as d,h as m,e as t,d as a,z as _,f as n,g as s}from"./vendor.e7911ee1.js";const g={class:"markdown-body"},y=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-block")]),n("span",{class:"token punctuation"},">")]),s("\u5F15\u7528\u533A\u57DF\u7684\u6587\u5B57"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-block")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),f=s("\u5F15\u7528\u533A\u57DF\u7684\u6587\u5B57"),b=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-block")]),s(),n("span",{class:"token attr-name"},":nm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("nm"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),s("\u5F15\u7528\u533A\u57DF\u7684\u6587\u5B57"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-block")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),s(" nm "),n("span",{class:"token operator"},"="),s(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
nm
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),x=s("\u5F15\u7528\u533A\u57DF\u7684\u6587\u5B57"),h=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Values")])]),n("tbody",null,[n("tr",null,[n("td",null,"nm"),n("td",null,"\u7070\u8272\u6837\u5F0F"),n("td",null,"\u2013")])])],-1),j={setup(w,{expose:l}){l({frontmatter:{}});let u=r(!0);return(B,N)=>{const e=o("lay-field"),c=o("lay-block"),p=o("lay-code"),k=o("lay-table-box"),i=o("lay-comment");return d(),m("div",g,[t(e,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(p,null,{code:a(()=>[y]),default:a(()=>[t(c,null,{default:a(()=>[f]),_:1})]),_:1}),t(e,{title:"\u7070\u8272\u4E3B\u9898",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(p,null,{code:a(()=>[b]),default:a(()=>[t(c,{nm:_(u)},{default:a(()=>[x]),_:1},8,["nm"])]),_:1}),t(e,{title:"Block \u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{default:a(()=>[h]),_:1}),t(i)])}}};export{j as default};
|
58
example/dist/assets/breadcrumb.8f79b379.js
vendored
58
example/dist/assets/breadcrumb.8f79b379.js
vendored
@ -1,58 +0,0 @@
|
||||
import{r as e,o as r,h as m,e as t,d as s,f as n,g as a}from"./vendor.e7911ee1.js";const d={class:"markdown-body"},g=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u5DE5\u4F5C\u7A7A\u95F4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u63A7\u5236\u53F0"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u8BBF\u95EE\u91CF"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),b=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb")]),a(),n("span",{class:"token attr-name"},"separator"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a(">"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u70ED\u95E8\u97F3\u4E50"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u738B\u6770"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u8C01\u660E\u6D6A\u5B50\u5FC3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),y=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb")]),a(),n("span",{class:"token attr-name"},"separator"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("--"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a("\u4ECA\u5929"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a("\u6709\u4E9B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a("\u4E0D\u5F00\u5FC3"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-breadcrumb")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),_=a("\u4ECA\u5929"),f=a("\u6709\u4E9B"),h=a("\u4E0D\u5F00\u5FC3"),v=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u9ED8\u8BA4\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"separator"),n("td",null,"\u5206\u5272\u7B26"),n("td",null,[n("code",null,"/")])])])],-1),x=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u9ED8\u8BA4\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"default"),n("td",null,"\u9ED8\u8BA4\u63D2\u69FD"),n("td",null,[n("code",null,"--")])])])],-1),V={setup(w,{expose:k}){return k({frontmatter:{}}),(j,B)=>{const c=e("lay-field"),o=e("lay-breadcrumb-item"),p=e("lay-breadcrumb"),l=e("lay-code"),u=e("lay-table-box"),i=e("lay-comment");return r(),m("div",d,[t(c,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(l,null,{code:s(()=>[g]),default:s(()=>[t(p,null,{default:s(()=>[t(o,{title:"\u5DE5\u4F5C\u7A7A\u95F4"}),t(o,{title:"\u63A7\u5236\u53F0"}),t(o,{title:"\u8BBF\u95EE\u91CF"})]),_:1})]),_:1}),t(c,{title:"\u6307\u5B9A\u5206\u5272",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(l,null,{code:s(()=>[b]),default:s(()=>[t(p,{separator:">"},{default:s(()=>[t(o,{title:"\u70ED\u95E8\u97F3\u4E50"}),t(o,{title:"\u738B\u6770"}),t(o,{title:"\u8C01\u660E\u6D6A\u5B50\u5FC3"})]),_:1})]),_:1}),t(c,{title:"\u4F7F\u7528\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(l,null,{code:s(()=>[y]),default:s(()=>[t(p,{separator:"--"},{default:s(()=>[t(o,null,{default:s(()=>[_]),_:1}),t(o,null,{default:s(()=>[f]),_:1}),t(o,null,{default:s(()=>[h]),_:1})]),_:1})]),_:1}),t(c,{title:"\u9762\u5305\u5C51\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(u,null,{default:s(()=>[v]),_:1}),t(c,{title:"\u9762\u5305\u5C51\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(u,null,{default:s(()=>[x]),_:1}),t(i)])}}};export{V as default};
|
203
example/dist/assets/button.463a35ca.js
vendored
203
example/dist/assets/button.463a35ca.js
vendored
File diff suppressed because one or more lines are too long
84
example/dist/assets/card.6ea711b1.js
vendored
84
example/dist/assets/card.6ea711b1.js
vendored
@ -1,84 +0,0 @@
|
||||
import{r as c,o as i,h as r,e as s,d as t,f as n,g as a}from"./vendor.e7911ee1.js";const d={class:"markdown-body"},g=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("card-container"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-card")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u6807\u9898"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
\u5185\u5BB9
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-card")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[a(`
|
||||
`),n("span",{class:"token selector"},".card-container"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),a(" whitesmoke"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a(" 20px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("style")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),_={class:"card-container"},m=a(" \u5185\u5BB9 "),y=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("card-container"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-card")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-slot:"),a("header")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
\u6807\u9898
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-slot:"),a("body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
\u5185\u5BB9
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-card")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[a(`
|
||||
`),n("span",{class:"token selector"},".card-container"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),a(" whitesmoke"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a(" 20px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("style")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),v={class:"card-container"},h=a(" \u6807\u9898 "),f=a(" \u5185\u5BB9 "),x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("card-container"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-card")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
\u5185\u5BB9
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-card")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[a(`
|
||||
`),n("span",{class:"token selector"},".card-container"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),a(" whitesmoke"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a(" 20px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("style")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),b={class:"card-container"},w=a(" \u5185\u5BB9 "),j=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"title"),n("td",null,"\u6807\u9898"),n("td",null,"\u2013")])])],-1),q=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"default"),n("td",null,"\u9ED8\u8BA4\u63D2\u69FD"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"header"),n("td",null,"\u5934\u90E8\u63D2\u69FD"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"body"),n("td",null,"\u5185\u5BB9\u63D2\u69FD"),n("td",null,"\u2013")])])],-1),T={setup(B,{expose:u}){return u({frontmatter:{}}),(V,C)=>{const o=c("lay-field"),e=c("lay-card"),p=c("lay-code"),l=c("lay-table-box"),k=c("lay-comment");return i(),r("div",d,[s(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,null,{code:t(()=>[g]),default:t(()=>[n("div",_,[s(e,{title:"\u6807\u9898"},{default:t(()=>[m]),_:1})])]),_:1}),s(o,{title:"\u5361\u7247\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,null,{code:t(()=>[y]),default:t(()=>[n("div",v,[s(e,null,{header:t(()=>[h]),body:t(()=>[f]),_:1})])]),_:1}),s(o,{title:"\u7B80\u5355\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,null,{code:t(()=>[x]),default:t(()=>[n("div",b,[s(e,null,{default:t(()=>[w]),_:1})])]),_:1}),s(o,{title:"\u5361\u7247\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{default:t(()=>[j]),_:1}),s(o,{title:"\u5361\u7247\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{default:t(()=>[q]),_:1}),s(k)])}}};export{T as default};
|
1
example/dist/assets/card.d59999c3.css
vendored
1
example/dist/assets/card.d59999c3.css
vendored
@ -1 +0,0 @@
|
||||
.card-container{background:whitesmoke;padding:20px}
|
94
example/dist/assets/carousel.3e97f5c3.js
vendored
94
example/dist/assets/carousel.3e97f5c3.js
vendored
@ -1,94 +0,0 @@
|
||||
import{b as r,r as l,o as v,h as x,e as s,d as t,z as g,L as d,f as n,g as a}from"./vendor.e7911ee1.js";const _={class:"markdown-body"},w=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("active"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E8C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E09"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u56DB"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" active "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"1"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
active
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),f=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E00",-1),C=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E8C",-1),b=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E09",-1),q=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u56DB",-1),V=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("active"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"anim"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("updown"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E8C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E09"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u56DB"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" active "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"1"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
active
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),j=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E00",-1),B=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E8C",-1),N=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E09",-1),U=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u56DB",-1),z=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("active"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"indicator"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("outside"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E8C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u4E09"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-carousel-item")]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),a("100%"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a("300px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a("#79C48C"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a("\u6761\u76EE\u56DB"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-carousel")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" active "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"1"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
active
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),E=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E00",-1),L=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E8C",-1),R=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u4E09",-1),T=n("div",{style:{color:"white","text-align":"center",width:"100%",height:"300px","line-height":"300px","background-color":"#79C48C"}},"\u6761\u76EE\u56DB",-1),A=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"v-model"),n("td",null,"\u5F53\u524D\u6FC0\u6D3B\u9879"),n("td",null,[n("code",null,"--")])]),n("tr",null,[n("td",null,"anim"),n("td",null,"\u5207\u6362\u65B9\u5411"),n("td",null,[n("code",null,"default"),a(),n("code",null,"updown")])]),n("tr",null,[n("td",null,"indicator"),n("td",null,"\u63A7\u5236\u5668\u4F4D\u7F6E"),n("td",null,[n("code",null,"inside"),a(),n("code",null,"outside"),a(),n("code",null,"none")])]),n("tr",null,[n("td",null,"arrow"),n("td",null,"\u5207\u6362\u6309\u94AE\u72B6\u6001"),n("td",null,[n("code",null,"hover"),a(),n("code",null,"always"),a(),n("code",null,"none")])])])],-1),D=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"change"),n("td",null,"\u5207\u6362\u56DE\u8C03"),n("td",null,"id")])])],-1),J={setup(F,{expose:y}){y({frontmatter:{}});let o=r("1");return o=r("1"),o=r("1"),(H,c)=>{const u=l("lay-field"),p=l("lay-carousel-item"),k=l("lay-carousel"),i=l("lay-code"),h=l("lay-table-box"),m=l("lay-comment");return v(),x("div",_,[s(u,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:t(()=>[w]),default:t(()=>[s(k,{modelValue:g(o),"onUpdate:modelValue":c[0]||(c[0]=e=>d(o)?o.value=e:o=e)},{default:t(()=>[s(p,{id:"1"},{default:t(()=>[f]),_:1}),s(p,{id:"2"},{default:t(()=>[C]),_:1}),s(p,{id:"3"},{default:t(()=>[b]),_:1}),s(p,{id:"4"},{default:t(()=>[q]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(u,{title:"\u4E0D\u540C\u65B9\u5411",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:t(()=>[V]),default:t(()=>[s(k,{modelValue:g(o),"onUpdate:modelValue":c[1]||(c[1]=e=>d(o)?o.value=e:o=e),anim:"updown"},{default:t(()=>[s(p,{id:"1"},{default:t(()=>[j]),_:1}),s(p,{id:"2"},{default:t(()=>[B]),_:1}),s(p,{id:"3"},{default:t(()=>[N]),_:1}),s(p,{id:"4"},{default:t(()=>[U]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(u,{title:"\u63A7\u5236\u4F4D\u7F6E",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:t(()=>[z]),default:t(()=>[s(k,{modelValue:g(o),"onUpdate:modelValue":c[2]||(c[2]=e=>d(o)?o.value=e:o=e),indicator:"outside"},{default:t(()=>[s(p,{id:"1"},{default:t(()=>[E]),_:1}),s(p,{id:"2"},{default:t(()=>[L]),_:1}),s(p,{id:"3"},{default:t(()=>[R]),_:1}),s(p,{id:"4"},{default:t(()=>[T]),_:1})]),_:1},8,["modelValue"])]),_:1}),s(u,{title:"\u8F6E\u64AD\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(h,null,{default:t(()=>[A]),_:1}),s(u,{title:"\u8F6E\u64AD\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(h,null,{default:t(()=>[D]),_:1}),s(m)])}}};export{J as default};
|
66
example/dist/assets/changelog.f30557fa.js
vendored
66
example/dist/assets/changelog.f30557fa.js
vendored
@ -1,66 +0,0 @@
|
||||
import{r as l,o as k,h as i,e as s,d as t,f as n,g as a}from"./vendor.e7911ee1.js";const g={class:"markdown-body"},r=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("0.2.x"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("a")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("0-2-9"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("a")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("h3")]),n("span",{class:"token punctuation"},">")]),a("0.2.9 "),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("span")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-badge-rim"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("2021-12-21"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("span")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("h3")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] backtop \u8FD4\u56DE\u9876\u90E8\u7EC4\u4EF6, \u652F\u6301\u81EA\u5B9A\u4E49\u529F\u80FD\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] slider \u6ED1\u52A8\u578B\u8F93\u5165\u5668\uFF0C\u5C55\u793A\u5F53\u524D\u503C\u548C\u53EF\u9009\u8303\u56F4\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] select \u4E0B\u62C9\u9009\u62E9\u7EC4\u4EF6 multiple \u5C5E\u6027, \u652F\u6301\u591A\u9009\u7B56\u7565\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] form \u8868\u5355\u7EC4\u4EF6\u5185\u7F6E\u9A8C\u8BC1, \u63D0\u4F9B rules \u914D\u7F6E\u81EA\u5B9A\u4E49\u9A8C\u8BC1\u89C4\u5219\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] layer \u7EC4\u4EF6 resize \u65B9\u6CD5, \u91CD\u7F6E area \u4E0E offset \u72B6\u6001\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u4FEE\u590D] layer \u5F39\u5C42 v-model \u5207\u6362\u72B6\u6001\u540E, \u8BA9\u5176\u4FDD\u6301 area \u4E0E offset \u72B6\u6001\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u4FEE\u590D] transfer \u7A7F\u68AD\u6846\u7EC4\u4EF6\u6309\u94AE\u6837\u5F0F, \u4F7F\u5176\u589E\u52A0\u51CF\u5C11\u64CD\u4F5C\u6309\u94AE\u5BF9\u9F50\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u4FEE\u590D] tree \u6811\u5F00\u542F checkbox \u65F6, \u65E0\u6CD5\u9009\u4E2D\u7684\u95EE\u9898\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u5347\u7EA7] layer-vue 1.2.2\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("a")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("0-2-8"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("a")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("h3")]),n("span",{class:"token punctuation"},">")]),a("0.2.8 "),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("span")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-badge-rim"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("2021-12-15"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("span")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("h3")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] tooltip \u8B66\u544A\u63D0\u793A\uFF0C\u5C55\u73B0\u9700\u8981\u5173\u6CE8\u7684\u4FE1\u606F\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] input-number \u6570\u5B57\u8F93\u5165\u6846, \u901A\u8FC7\u9F20\u6807\u6216\u952E\u76D8\uFF0C\u8F93\u5165\u8303\u56F4\u5185\u7684\u6570\u503C\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] layer \u7EC4\u4EF6 isHtmlFangement \u5C5E\u6027\uFF0C\u51FD\u6570\u8C03\u7528\u65F6\uFF0C\u7528\u4E8E\u89E3\u6790 html \u7247\u6BB5\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u65B0\u589E] layer \u7EC4\u4EF6 resize \u5C5E\u6027, \u5F00\u542F\u5F39\u5C42\u5C3A\u5BF8\u62C9\u4F38, \u5E38\u7528\u4E8E \u9875\u9762\u5C42 \u4E0E Iframe \u5C42\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u52A0\u5F3A] layer \u7EC4\u4EF6 area \u5C5E\u6027, \u652F\u6301 \u5B57\u7B26\u4E32 \u4E0E \u6570\u7EC4 \u7C7B\u578B, \u9ED8\u8BA4 auto \u5BBD\u9AD8\u6839\u636E\u5185\u5BB9\u81EA\u9002\u5E94\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u4FEE\u590D] layer \u7EC4\u4EF6 body \u7981\u7528\u62D6\u52A8, \u4EC5\u652F\u6301\u6807\u9898\u62D6\u52A8\u7A97\u4F53\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u4FEE\u590D] icon-picker \u7EC4\u4EF6 select \u56FE\u6807\u65F6, \u81EA\u52A8\u9690\u85CF\u9009\u62E9\u5185\u5BB9\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u4FEE\u590D] dropdown \u7EC4\u4EF6\u89E6\u53D1\u65B9\u5F0F\u4E3A hover \u65F6\uFF0C\u79FB\u52A8\u4E0D\u5230\u83DC\u5355\u5B50\u9879\u7684\u95EE\u9898"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u96C6\u6210] utteranc.es \u63D2\u4EF6, \u57FA\u4E8E issues \u63D0\u4F9B\u4E3A\u6587\u6863\u63D0\u4F9B\u7559\u8A00\u80FD\u529B\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u5347\u7EA7] layer-vue 1.2.0, \u66F4\u7A33\u5B9A\u7684 layer \u7248\u672C\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("[\u5347\u7EA7] vue 3.2.26 \u7248\u672C\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("0.1.x"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("a")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("0-2-7"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("a")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("h3")]),n("span",{class:"token punctuation"},">")]),a("0.1.0 "),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("span")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-badge-rim"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("2021-12-10"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("span")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("h3")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("\u5B75\u5316\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),m=n("ul",null,[n("a",{name:"0-2-9"}),n("li",null,[n("h3",null,[a("0.2.9 "),n("span",{class:"layui-badge-rim"},"2021-12-21")]),n("ul",null,[n("li",null,"[\u65B0\u589E] backtop \u8FD4\u56DE\u9876\u90E8\u7EC4\u4EF6, \u652F\u6301\u81EA\u5B9A\u4E49\u529F\u80FD\u3002"),n("li",null,"[\u65B0\u589E] slider \u6ED1\u52A8\u578B\u8F93\u5165\u5668\uFF0C\u5C55\u793A\u5F53\u524D\u503C\u548C\u53EF\u9009\u8303\u56F4\u3002"),n("li",null,"[\u65B0\u589E] select \u4E0B\u62C9\u9009\u62E9\u7EC4\u4EF6 multiple \u5C5E\u6027, \u652F\u6301\u591A\u9009\u7B56\u7565\u3002"),n("li",null,"[\u65B0\u589E] form \u8868\u5355\u7EC4\u4EF6\u5185\u7F6E\u9A8C\u8BC1, \u63D0\u4F9B rules \u914D\u7F6E\u81EA\u5B9A\u4E49\u9A8C\u8BC1\u89C4\u5219\u3002"),n("li",null,"[\u65B0\u589E] layer \u7EC4\u4EF6 resize \u65B9\u6CD5, \u91CD\u7F6E area \u4E0E offset \u72B6\u6001\u3002"),n("li",null,"[\u4FEE\u590D] layer \u5F39\u5C42 v-model \u5207\u6362\u72B6\u6001\u540E, \u8BA9\u5176\u4FDD\u6301 area \u4E0E offset \u72B6\u6001\u3002"),n("li",null,"[\u4FEE\u590D] transfer \u7A7F\u68AD\u6846\u7EC4\u4EF6\u6309\u94AE\u6837\u5F0F, \u4F7F\u5176\u589E\u52A0\u51CF\u5C11\u64CD\u4F5C\u6309\u94AE\u5BF9\u9F50\u3002"),n("li",null,"[\u4FEE\u590D] tree \u6811\u5F00\u542F checkbox \u65F6, \u65E0\u6CD5\u9009\u4E2D\u7684\u95EE\u9898\u3002"),n("li",null,"[\u5347\u7EA7] layer-vue 1.2.2\u3002")])])],-1),d=n("ul",null,[n("a",{name:"0-2-8"}),n("li",null,[n("h3",null,[a("0.2.8 "),n("span",{class:"layui-badge-rim"},"2021-12-15")]),n("ul",null,[n("li",null,"[\u65B0\u589E] tooltip \u8B66\u544A\u63D0\u793A\uFF0C\u5C55\u73B0\u9700\u8981\u5173\u6CE8\u7684\u4FE1\u606F\u3002"),n("li",null,"[\u65B0\u589E] input-number \u6570\u5B57\u8F93\u5165\u6846, \u901A\u8FC7\u9F20\u6807\u6216\u952E\u76D8\uFF0C\u8F93\u5165\u8303\u56F4\u5185\u7684\u6570\u503C\u3002"),n("li",null,"[\u65B0\u589E] layer \u7EC4\u4EF6 isHtmlFangement \u5C5E\u6027\uFF0C\u51FD\u6570\u8C03\u7528\u65F6\uFF0C\u7528\u4E8E\u89E3\u6790 html \u7247\u6BB5\u3002"),n("li",null,"[\u65B0\u589E] layer \u7EC4\u4EF6 resize \u5C5E\u6027, \u5F00\u542F\u5F39\u5C42\u5C3A\u5BF8\u62C9\u4F38, \u5E38\u7528\u4E8E \u9875\u9762\u5C42 \u4E0E Iframe \u5C42\u3002"),n("li",null,"[\u52A0\u5F3A] layer \u7EC4\u4EF6 area \u5C5E\u6027, \u652F\u6301 \u5B57\u7B26\u4E32 \u4E0E \u6570\u7EC4 \u7C7B\u578B, \u9ED8\u8BA4 auto \u5BBD\u9AD8\u6839\u636E\u5185\u5BB9\u81EA\u9002\u5E94\u3002"),n("li",null,"[\u4FEE\u590D] layer \u7EC4\u4EF6 body \u7981\u7528\u62D6\u52A8, \u4EC5\u652F\u6301\u6807\u9898\u62D6\u52A8\u7A97\u4F53\u3002"),n("li",null,"[\u4FEE\u590D] icon-picker \u7EC4\u4EF6 select \u56FE\u6807\u65F6, \u81EA\u52A8\u9690\u85CF\u9009\u62E9\u5185\u5BB9\u3002"),n("li",null,"[\u4FEE\u590D] dropdown \u7EC4\u4EF6\u89E6\u53D1\u65B9\u5F0F\u4E3A hover \u65F6\uFF0C\u79FB\u52A8\u4E0D\u5230\u83DC\u5355\u5B50\u9879\u7684\u95EE\u9898"),n("li",null,"[\u96C6\u6210] utteranc.es \u63D2\u4EF6, \u57FA\u4E8E issues \u63D0\u4F9B\u4E3A\u6587\u6863\u63D0\u4F9B\u7559\u8A00\u80FD\u529B\u3002"),n("li",null,"[\u5347\u7EA7] layer-vue 1.2.0, \u66F4\u7A33\u5B9A\u7684 layer \u7248\u672C\u3002"),n("li",null,"[\u5347\u7EA7] vue 3.2.26 \u7248\u672C\u3002")])])],-1),y=n("ul",null,[n("a",{name:"0-2-7"}),n("li",null,[n("h3",null,[a("0.1.0 "),n("span",{class:"layui-badge-rim"},"2021-12-10")]),n("ul",null,[n("li",null,"\u5B75\u5316\u3002")])])],-1),x={setup(_,{expose:p}){return p({frontmatter:{}}),(v,h)=>{const e=l("lay-field"),o=l("lay-timeline-item"),c=l("lay-timeline"),u=l("lay-code");return k(),i("div",g,[s(e,{title:"\u66F4\u65B0\u8BB0\u5F55",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,{style:{"padding-left":"30px","padding-top":"30px"}},{default:t(()=>[s(o,{title:"\u5C3E\u7248\u672C\u53F7\uFF1A\u65E5\u5E38\u95EE\u9898\u66F4\u65B0\u3002",simple:""}),s(o,{title:"\u6B21\u7248\u672C\u53F7\uFF1A\u5E26\u6709\u65B0\u7279\u6027\u7684\u5411\u4E0B\u517C\u5BB9\u7684\u7248\u672C\u3002",simple:""}),s(o,{title:"\u4E3B\u7248\u672C\u53F7\uFF1A\u542B\u6709\u7834\u574F\u6027\u66F4\u65B0\u548C\u65B0\u7279\u6027\uFF0C\u4E0D\u5728\u53D1\u5E03\u5468\u671F\u5185\u3002",simple:""})]),_:1}),s(u,null,{code:t(()=>[r]),default:t(()=>[s(c,null,{default:t(()=>[s(o,{title:"0.2.x"},{default:t(()=>[m,d]),_:1}),s(o,{title:"0.1.x"},{default:t(()=>[y]),_:1})]),_:1})]),_:1})])}}};export{x as default};
|
140
example/dist/assets/checkbox.dbed6c6a.js
vendored
140
example/dist/assets/checkbox.dbed6c6a.js
vendored
@ -1,140 +0,0 @@
|
||||
import{b as p,r as i,o as B,h as J,e as s,d as t,z as c,L as k,f as n,g as a}from"./vendor.e7911ee1.js";const O={class:"markdown-body"},S=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(" "),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checked1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checked1 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"false"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
checked1
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),z=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checked2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token punctuation"},">")]),a("\u666E\u901A"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checked2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"false"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
checked2
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),E=a("\u666E\u901A"),L=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox-group")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checkeds"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@change"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("groupChange"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u5199\u4F5C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u753B\u753B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u8FD0\u52A8"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox-group")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checkeds "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"["),n("span",{class:"token string"},"'1'"),n("span",{class:"token punctuation"},","),n("span",{class:"token string"},"'2'"),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"groupChange"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token parameter"},"val"),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u56DE\u8C03:"'),a(),n("span",{class:"token operator"},"+"),a(),n("span",{class:"token constant"},"JSON"),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"stringify"),n("span",{class:"token punctuation"},"("),a("val"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
checkeds`),n("span",{class:"token punctuation"},","),a(`
|
||||
groupChange
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),R=a("\u5199\u4F5C"),T=a("\u753B\u753B"),A=a("\u8FD0\u52A8"),D=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checked3"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u5199\u4F5C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checked4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u753B\u753B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checked5"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u8FD0\u52A8"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checked3 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checked4 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checked5 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
checked3`),n("span",{class:"token punctuation"},","),a(" checked4"),n("span",{class:"token punctuation"},","),a(` checked5
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),F=a("\u5199\u4F5C"),G=a("\u753B\u753B"),H=a("\u8FD0\u52A8"),I=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("disabled"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checked6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u7981\u7528"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" disabled "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checked6 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"false"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
disabled`),n("span",{class:"token punctuation"},","),a(`checked6
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),K=a("\u7981\u7528"),M=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-checkbox")]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("like"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"skin"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@change"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("change"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("checked7"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u56DE\u8C03"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-checkbox")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" checked7 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"change"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token parameter"},"isChecked"),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u662F\u5426\u9009\u4E2D:"'),a(),n("span",{class:"token operator"},"+"),a(" isChecked"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
change`),n("span",{class:"token punctuation"},","),a(`
|
||||
checked7
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),P=a("\u56DE\u8C03"),Q=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"name"),n("td",null,"\u539F\u59CB\u5C5E\u6027 name"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"skin"),n("td",null,"\u4E3B\u9898"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"label"),n("td",null,"\u9009\u4E2D\u503C"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"v-model"),n("td",null,"\u662F\u5426\u9009\u4E2D"),n("td",null,[n("code",null,"true"),a(),n("code",null,"false")])]),n("tr",null,[n("td",null,"change"),n("td",null,"\u5207\u6362\u4E8B\u4EF6"),n("td",null,"isChecked : \u5F53\u524D\u72B6\u6001")])])],-1),W=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"change"),n("td",null,"\u5207\u6362\u4E8B\u4EF6"),n("td",null,"isChecked : \u5F53\u524D\u72B6\u6001")])])],-1),$={setup(X,{expose:q}){q({frontmatter:{}});let m=p(!1),g=p(!1),y=p(["1","2"]),V=function(x){console.log("\u56DE\u8C03:"+JSON.stringify(x))},f=p(!0),h=p(!0),b=p(!0),C=p(!0),v=p(!1),_=p(!0),U=function(x){console.log("\u662F\u5426\u9009\u4E2D:"+x)};return(x,e)=>{const u=i("lay-field"),l=i("lay-checkbox"),r=i("lay-form"),d=i("lay-code"),j=i("lay-checkbox-group"),w=i("lay-table-box"),N=i("lay-comment");return B(),J("div",O,[s(u,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(d,null,{code:t(()=>[S]),default:t(()=>[s(r,null,{default:t(()=>[s(l,{name:"like",skin:"primary",modelValue:c(m),"onUpdate:modelValue":e[0]||(e[0]=o=>k(m)?m.value=o:m=o),label:"1"},null,8,["modelValue"])]),_:1})]),_:1}),s(u,{title:"\u9ED8\u8BA4\u6837\u5F0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(d,null,{code:t(()=>[z]),default:t(()=>[s(r,null,{default:t(()=>[s(l,{name:"like",label:"1",modelValue:c(g),"onUpdate:modelValue":e[1]||(e[1]=o=>k(g)?g.value=o:g=o)},{default:t(()=>[E]),_:1},8,["modelValue"])]),_:1})]),_:1}),s(u,{title:"\u590D\u9009\u6846\u7EC4",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(d,null,{code:t(()=>[L]),default:t(()=>[s(r,null,{default:t(()=>[s(j,{modelValue:c(y),"onUpdate:modelValue":e[2]||(e[2]=o=>k(y)?y.value=o:y=o),onChange:c(V)},{default:t(()=>[s(l,{name:"like",skin:"primary",label:"1"},{default:t(()=>[R]),_:1}),s(l,{name:"like",skin:"primary",label:"2"},{default:t(()=>[T]),_:1}),s(l,{name:"like",skin:"primary",label:"3"},{default:t(()=>[A]),_:1})]),_:1},8,["modelValue","onChange"])]),_:1})]),_:1}),s(u,{title:"\u5B8C\u6574\u6848\u4F8B",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(d,null,{code:t(()=>[D]),default:t(()=>[s(r,null,{default:t(()=>[s(l,{name:"like",skin:"primary",modelValue:c(f),"onUpdate:modelValue":e[3]||(e[3]=o=>k(f)?f.value=o:f=o),label:"1"},{default:t(()=>[F]),_:1},8,["modelValue"]),s(l,{name:"like",skin:"primary",modelValue:c(h),"onUpdate:modelValue":e[4]||(e[4]=o=>k(h)?h.value=o:h=o),label:"2"},{default:t(()=>[G]),_:1},8,["modelValue"]),s(l,{name:"like",skin:"primary",modelValue:c(b),"onUpdate:modelValue":e[5]||(e[5]=o=>k(b)?b.value=o:b=o),label:"3"},{default:t(()=>[H]),_:1},8,["modelValue"])]),_:1})]),_:1}),s(u,{title:"\u7981\u7528\u72B6\u6001",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(d,null,{code:t(()=>[I]),default:t(()=>[s(r,null,{default:t(()=>[s(l,{name:"like",skin:"primary",label:"1",disabled:c(C),modelValue:c(v),"onUpdate:modelValue":e[6]||(e[6]=o=>k(v)?v.value=o:v=o)},{default:t(()=>[K]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),s(u,{title:"\u4E8B\u4EF6\u56DE\u8C03",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(d,null,{code:t(()=>[M]),default:t(()=>[s(r,null,{default:t(()=>[s(l,{name:"like",skin:"primary",label:"1",onChange:c(U),modelValue:c(_),"onUpdate:modelValue":e[7]||(e[7]=o=>k(_)?_.value=o:_=o)},{default:t(()=>[P]),_:1},8,["onChange","modelValue"])]),_:1})]),_:1}),s(u,{title:"\u590D\u9009\u6846\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(w,null,{default:t(()=>[Q]),_:1}),s(u,{title:"\u590D\u9009\u6846\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(w,null,{default:t(()=>[W]),_:1}),s(N)])}}};export{$ as default};
|
122
example/dist/assets/collapse.c8d109b9.js
vendored
122
example/dist/assets/collapse.c8d109b9.js
vendored
File diff suppressed because one or more lines are too long
123
example/dist/assets/color.388632a4.js
vendored
123
example/dist/assets/color.388632a4.js
vendored
@ -1,123 +0,0 @@
|
||||
import{r as o,o as k,h as i,e as s,d as t,f as n,g as a}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},g=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-row layui-col-space15"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #009688"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#009688"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u4E3B\u8272\u8C03\u4E4B\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #5FB878"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#5FB878"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u4E00\u822C\u7528\u4E8E\u9009\u4E2D\u72B6\u6001"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #393D49"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#393D49"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u901A\u5E38\u7528\u4E8E\u5BFC\u822A"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #1E9FFF"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#1E9FFF"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u7ECF\u5178\u84DD"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),d=n("ul",{class:"layui-row layui-col-space15"},[n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#009688",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#009688"),n("p"),n("p",{tips:""},"\u4E3B\u8272\u8C03\u4E4B\u4E00")])]),n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#5FB878",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#5FB878"),n("p"),n("p",{tips:""},"\u4E00\u822C\u7528\u4E8E\u9009\u4E2D\u72B6\u6001")])]),n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#393D49",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#393D49"),n("p"),n("p",{tips:""},"\u901A\u5E38\u7528\u4E8E\u5BFC\u822A")])]),n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#1E9FFF",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#1E9FFF"),n("p"),n("p",{tips:""},"\u7ECF\u5178\u84DD")])])],-1),y=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-row layui-col-space15"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #FFB800"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#FFB800"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u6696\u8272\u7CFB"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #FF5722"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#FF5722"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u6BD4\u8F83\u5F15\u4EBA\u6CE8\u610F\u7684\u989C\u8272"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #01AAED"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#01AAED"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u6587\u672C\u94FE\u63A5\u7740\u8272"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-sm6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #2F4056"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a("whitesmoke"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a("30px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a("2px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#2F4056"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),a(),n("span",{class:"token attr-name"},"tips"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u4FA7\u8FB9\u8272"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),m=n("ul",{class:"layui-row layui-col-space15"},[n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#FFB800",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#FFB800"),n("p"),n("p",{tips:""},"\u6696\u8272\u7CFB")])]),n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#FF5722",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#FF5722"),n("p"),n("p",{tips:""},"\u6BD4\u8F83\u5F15\u4EBA\u6CE8\u610F\u7684\u989C\u8272")])]),n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#01AAED",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#01AAED"),n("p"),n("p",{tips:""},"\u6587\u672C\u94FE\u63A5\u7740\u8272")])]),n("li",{class:"layui-col-sm6"},[n("div",{style:{"background-color":"#2F4056",padding:"30px",color:"whitesmoke","border-radius":"2px"}},[n("p",null,"#2F4056"),n("p"),n("p",{tips:""},"\u4FA7\u8FB9\u8272")])])],-1),v=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-row site-doc-color site-doc-necolor"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md12"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #FAFAFA"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#FAFAFA"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md12"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #f6f6f6"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#F6F6F6"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #eeeeee"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#eeeeee"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #e2e2e2"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#e2e2e2"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #dddddd"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#dddddd"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #d2d2d2"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#d2d2d2"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #cccccc"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#cccccc"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-col-md4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #c2c2c2"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("#c2c2c2"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),b=n("ul",{class:"layui-row site-doc-color site-doc-necolor"},[n("li",{class:"layui-col-md12"},[n("div",{style:{"background-color":"#FAFAFA"}},[n("p",null,"#FAFAFA"),n("p")])]),n("li",{class:"layui-col-md12"},[n("div",{style:{"background-color":"#f6f6f6"}},[n("p",null,"#F6F6F6"),n("p")])]),n("li",{class:"layui-col-md4"},[n("div",{style:{"background-color":"#eeeeee"}},[n("p",null,"#eeeeee"),n("p")])]),n("li",{class:"layui-col-md4"},[n("div",{style:{"background-color":"#e2e2e2"}},[n("p",null,"#e2e2e2"),n("p")])]),n("li",{class:"layui-col-md4"},[n("div",{style:{"background-color":"#dddddd"}},[n("p",null,"#dddddd"),n("p")])]),n("li",{class:"layui-col-md4"},[n("div",{style:{"background-color":"#d2d2d2"}},[n("p",null,"#d2d2d2"),n("p")])]),n("li",{class:"layui-col-md4"},[n("div",{style:{"background-color":"#cccccc"}},[n("p",null,"#cccccc"),n("p")])]),n("li",{class:"layui-col-md4"},[n("div",{style:{"background-color":"#c2c2c2"}},[n("p",null,"#c2c2c2"),n("p")])])],-1),x=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Class"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u4F7F\u7528")])]),n("tbody",null,[n("tr",null,[n("td",null,"layui-bg-red"),n("td",null,"\u8D64\u8272"),n("td",null,"class=\u201Clayui-bg-red\u201D")]),n("tr",null,[n("td",null,"layui-bg-orange"),n("td",null,"\u6A59\u8272"),n("td",null,"class=\u201Clayui-bg-orange\u201D")]),n("tr",null,[n("td",null,"layui-bg-green"),n("td",null,"\u58A8\u7EFF"),n("td",null,"class=\u201Clayui-bg-green\u201D")]),n("tr",null,[n("td",null,"layui-bg-cyan"),n("td",null,"\u85CF\u9752"),n("td",null,"class=\u201Clayui-bg-cyan\u201D")]),n("tr",null,[n("td",null,"layui-bg-blue"),n("td",null,"\u84DD\u8272"),n("td",null,"class=\u201Clayui-bg-blue\u201D")]),n("tr",null,[n("td",null,"layui-bg-black"),n("td",null,"\u96C5\u9ED1"),n("td",null,"class=\u201Clayui-bg-black\u201D")])])],-1),f={setup(F,{expose:l}){return l({frontmatter:{}}),(w,_)=>{const p=o("lay-field"),c=o("lay-code"),e=o("lay-table-box"),u=o("lay-comment");return k(),i("div",r,[s(p,{title:"\u4E3B\u8272\u8C03",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,null,{code:t(()=>[g]),default:t(()=>[d]),_:1}),s(p,{title:"\u6B21\u8272\u8C03",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,null,{code:t(()=>[y]),default:t(()=>[m]),_:1}),s(p,{title:"\u4E2D\u6027\u8272",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,null,{code:t(()=>[v]),default:t(()=>[b]),_:1}),s(p,{title:"\u989C\u8272\u8BF4\u660E",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(e,null,{default:t(()=>[x]),_:1}),s(u)])}}};export{f as default};
|
13
example/dist/assets/colorPicker.7c4b00be.js
vendored
13
example/dist/assets/colorPicker.7c4b00be.js
vendored
@ -1,13 +0,0 @@
|
||||
import{r as s,o as k,h as i,e as a,d as o,f as n,g as t}from"./vendor.e7911ee1.js";const d={class:"markdown-body"},_=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-color-picker")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-color-picker")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),m=n("table",null,[n("thead",null,[n("tr",null,[n("th"),n("th"),n("th")])]),n("tbody",null,[n("tr",null,[n("td",null,"v-model"),n("td",null,"\u9ED8\u8BA4\u503C"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"page"),n("td",null,"\u5F00\u542F\u5206\u9875"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"showSearch"),n("td",null,"\u542F\u7528\u641C\u7D22"),n("td",null,"\u2013")])])],-1),b={setup(g,{expose:l}){return l({frontmatter:{}}),(f,h)=>{const e=s("lay-field"),c=s("lay-color-picker"),p=s("lay-code"),u=s("lay-table-box"),r=s("lay-comment");return k(),i("div",d,[a(e,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(p,null,{code:o(()=>[_]),default:o(()=>[a(c),a(e,{title:"icon-picker \u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}})]),_:1}),a(u,null,{default:o(()=>[m]),_:1}),a(r)])}}};export{b as default};
|
42
example/dist/assets/confirm.2baa1607.js
vendored
42
example/dist/assets/confirm.2baa1607.js
vendored
@ -1,42 +0,0 @@
|
||||
import"./index.8d5473b0.js";import{r as o,o as y,h as g,e as a,d as s,z as l,f as n,g as t,a0 as u}from"./vendor.e7911ee1.js";const f={class:"markdown-body"},_=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("primary"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("openConfirm1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u4FE1\u606F\u6846"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" layer "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},'"../../../../src/index.ts"'),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),t(),n("span",{class:"token function-variable function"},"openConfirm1"),t(),n("span",{class:"token operator"},"="),t(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"confirm"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"layui-vue 1.0.0 \u5DF2\u7ECF\u53D1\u5E03"'),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
openConfirm1
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),b=t("\u4FE1\u606F\u6846"),x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("primary"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("openConfirm2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u8BE2\u95EE\u6846"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" layer "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},'"../../../../src/index.ts"'),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),t(),n("span",{class:"token function-variable function"},"openConfirm2"),t(),n("span",{class:"token operator"},"="),t(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"confirm"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u4F60\u5982\u4F55\u770B\u5F85 layui-vue \u7684\u53D1\u5E03"'),n("span",{class:"token punctuation"},","),t(),n("span",{class:"token punctuation"},"{"),t("btn"),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t("text"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u7AD9\u7740\u770B'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),n("span",{class:"token punctuation"},"{"),t("text"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u5750\u7740\u770B'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
openConfirm2
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),v=t("\u8BE2\u95EE\u6846"),w=n("div",{class:"language-"},[n("pre",null,[n("code",{"v-pre":""},`layer.confirm(content, options)
|
||||
`)])],-1),h=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u5907\u6CE8")])]),n("tbody",null,[n("tr",null,[n("td",null,"content"),n("td",null,"\u5185\u5BB9"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"options"),n("td",null,"\u9009\u914D\u5C5E\u6027"),n("td",null,"{ time: \u52A0\u8F7D\u65F6\u957F, btn: \u6309\u94AE\u7EC4 }")])])],-1),z={setup(C,{expose:i}){i({frontmatter:{}});let k=function(){u.confirm("layui-vue 1.0.0 \u5DF2\u7ECF\u53D1\u5E03")},r=function(){u.confirm("\u4F60\u5982\u4F55\u770B\u5F85 layui-vue \u7684\u53D1\u5E03",{btn:[{text:"\u7AD9\u7740\u770B"},{text:"\u5750\u7740\u770B"}]})};return(q,B)=>{const e=o("lay-field"),c=o("lay-button"),p=o("lay-code"),m=o("lay-table-box"),d=o("lay-comment");return y(),g("div",f,[a(e,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(p,null,{code:s(()=>[_]),default:s(()=>[a(c,{type:"primary",onClick:l(k)},{default:s(()=>[b]),_:1},8,["onClick"])]),_:1}),a(e,{title:"\u6307\u5B9A\u64CD\u4F5C",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(p,null,{code:s(()=>[x]),default:s(()=>[a(c,{type:"primary",onClick:l(r)},{default:s(()=>[v]),_:1},8,["onClick"])]),_:1}),a(e,{title:"\u7EC4\u4EF6\u65B9\u6CD5",style:{"margin-top":"20px","margin-bottom":"20px"}}),w,a(e,{title:"\u7EC4\u4EF6\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(m,null,{default:s(()=>[h]),_:1}),a(d)])}}};export{z as default};
|
1
example/dist/assets/container.6a41489e.css
vendored
1
example/dist/assets/container.6a41489e.css
vendored
@ -1 +0,0 @@
|
||||
.container-demo{width:100%;height:300px;background:#79C48C;border-radius:2px}
|
52
example/dist/assets/container.a03013b5.js
vendored
52
example/dist/assets/container.a03013b5.js
vendored
@ -1,52 +0,0 @@
|
||||
import{r as o,o as i,h as r,e as a,d as t,f as n,g as s}from"./vendor.e7911ee1.js";const d={class:"markdown-body"},g=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-container")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("div")]),s(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("container-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("div")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-container")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[s(`
|
||||
`),n("span",{class:"token selector"},".container-demo"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),s("100%"),n("span",{class:"token punctuation"},";"),s(`
|
||||
`),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),s(" 300px"),n("span",{class:"token punctuation"},";"),s(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),s(" #79C48C"),n("span",{class:"token punctuation"},";"),s(`
|
||||
`),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),s(" 2px"),n("span",{class:"token punctuation"},";"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("style")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),_=n("div",{class:"container-demo"},null,-1),m=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-container")]),s(),n("span",{class:"token attr-name"},"fluid"),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("div")]),s(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("container-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("div")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-container")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[s(`
|
||||
`),n("span",{class:"token selector"},".container-demo"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),s("100%"),n("span",{class:"token punctuation"},";"),s(`
|
||||
`),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),s(" 300px"),n("span",{class:"token punctuation"},";"),s(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),s(" #79C48C"),n("span",{class:"token punctuation"},";"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("style")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),y=n("div",{class:"container-demo"},null,-1),f=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"fluid"),n("td",null,"\u6D41\u6A21\u5F0F"),n("td",null,[n("code",null,"true"),s(),n("code",null,"false")])])])],-1),C={setup(h,{expose:l}){return l({frontmatter:{}}),(x,w)=>{const e=o("lay-field"),c=o("lay-container"),p=o("lay-code"),u=o("lay-table-box"),k=o("lay-comment");return i(),r("div",d,[a(e,{title:"\u666E\u901A\u5BB9\u5668",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(p,null,{code:t(()=>[g]),default:t(()=>[a(c,null,{default:t(()=>[_]),_:1})]),_:1}),a(e,{title:"\u6D41\u5F0F\u5BB9\u5668",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(p,null,{code:t(()=>[m]),default:t(()=>[a(c,{fluid:""},{default:t(()=>[y]),_:1})]),_:1}),a(e,{title:"\u5BB9\u5668\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{default:t(()=>[f]),_:1}),a(k)])}}};export{C as default};
|
54
example/dist/assets/dropdown.e826239e.js
vendored
54
example/dist/assets/dropdown.e826239e.js
vendored
@ -1,54 +0,0 @@
|
||||
import{r as e,o as r,h as g,e as a,d as s,f as n,g as t}from"./vendor.e7911ee1.js";const _={class:"markdown-body"},m=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("primary"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u4E0B\u62C9\u83DC\u5355"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),t(),n("span",{class:"token attr-name"},"#content"),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E8C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E09"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),y=t("\u4E0B\u62C9\u83DC\u5355"),w=t("\u9009\u9879\u4E00"),f=t("\u9009\u9879\u4E8C"),h=t("\u9009\u9879\u4E09"),b=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown")]),t(),n("span",{class:"token attr-name"},"trigger"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("hover"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t("Hover \u89E6\u53D1"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),t(),n("span",{class:"token attr-name"},"#content"),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E8C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E09"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token entity named-entity",title:"\xA0"}," "),n("span",{class:"token entity named-entity",title:"\xA0"}," "),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t("Click \u89E6\u53D1"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),t(),n("span",{class:"token attr-name"},"#content"),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E8C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t("\u9009\u9879\u4E09"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown-item")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-dropdown")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),v=t("Hover \u89E6\u53D1"),x=t("\u9009\u9879\u4E00"),C=t("\u9009\u9879\u4E8C"),j=t("\u9009\u9879\u4E09"),B=t(" \xA0\xA0 "),N=t("Click \u89E6\u53D1"),V=t("\u9009\u9879\u4E00"),q=t("\u9009\u9879\u4E8C"),H=t("\u9009\u9879\u4E09"),E=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"trigger"),n("td",null,"\u89E6\u53D1\u65B9\u5F0F"),n("td",null,[n("code",null,"click"),t(),n("code",null,"hover")])])])],-1),T=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"content"),n("td",null,"\u4E0B\u62C9\u5185\u5BB9"),n("td",null,"\u2013")])])],-1),I={setup(z,{expose:i}){return i({frontmatter:{}}),(D,F)=>{const p=e("lay-field"),l=e("lay-button"),o=e("lay-dropdown-item"),c=e("lay-dropdown"),u=e("lay-code"),k=e("lay-table-box"),d=e("lay-comment");return r(),g("div",_,[a(p,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{code:s(()=>[m]),default:s(()=>[a(c,null,{content:s(()=>[a(o,null,{default:s(()=>[w]),_:1}),a(o,null,{default:s(()=>[f]),_:1}),a(o,null,{default:s(()=>[h]),_:1})]),default:s(()=>[a(l,{type:"primary"},{default:s(()=>[y]),_:1})]),_:1})]),_:1}),a(p,{title:"\u89E6\u53D1\u65B9\u5F0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{code:s(()=>[b]),default:s(()=>[a(c,{trigger:"hover"},{content:s(()=>[a(o,null,{default:s(()=>[x]),_:1}),a(o,null,{default:s(()=>[C]),_:1}),a(o,null,{default:s(()=>[j]),_:1})]),default:s(()=>[a(l,null,{default:s(()=>[v]),_:1})]),_:1}),B,a(c,null,{content:s(()=>[a(o,null,{default:s(()=>[V]),_:1}),a(o,null,{default:s(()=>[q]),_:1}),a(o,null,{default:s(()=>[H]),_:1})]),default:s(()=>[a(l,null,{default:s(()=>[N]),_:1})]),_:1})]),_:1}),a(p,{title:"\u4E0B\u62C9\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(k,null,{default:s(()=>[E]),_:1}),a(p,{title:"\u4E0B\u62C9\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(k,null,{default:s(()=>[T]),_:1}),a(d)])}}};export{I as default};
|
31
example/dist/assets/empty.d07a5c83.js
vendored
31
example/dist/assets/empty.d07a5c83.js
vendored
@ -1,31 +0,0 @@
|
||||
import{r as a,o as i,h as r,e as s,d as o,f as n,g as t}from"./vendor.e7911ee1.js";const d={class:"markdown-body"},m=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-empty")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-empty")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),g=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-empty")]),t(),n("span",{class:"token attr-name"},"description"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u5237\u65B0\u8BD5\u8BD5"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-empty")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),y=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"description"),n("td",null,"\u63CF\u8FF0\u4FE1\u606F"),n("td",null,"\u2013")])])],-1),b={setup(_,{expose:l}){return l({frontmatter:{}}),(x,w)=>{const e=a("lay-field"),p=a("lay-empty"),c=a("lay-code"),u=a("lay-table-box"),k=a("lay-comment");return i(),r("div",d,[s(e,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,null,{code:o(()=>[m]),default:o(()=>[s(p)]),_:1}),s(e,{title:"\u6307\u5B9A\u63CF\u8FF0",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,null,{code:o(()=>[g]),default:o(()=>[s(p,{description:"\u5237\u65B0\u8BD5\u8BD5"})]),_:1}),s(e,{title:"empty \u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{default:o(()=>[y]),_:1}),s(k)])}}};export{b as default};
|
46
example/dist/assets/field.bc6428fd.js
vendored
46
example/dist/assets/field.bc6428fd.js
vendored
@ -1,46 +0,0 @@
|
||||
import{r as e,o as k,h as i,e as a,d as t,f as n,g as s}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},d=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-field")]),s(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("\u6807\u9898"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),s("\u5185\u5BB9"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-field")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),g=s("\u5185\u5BB9"),_=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-field")]),s(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("\u6807\u9898"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),s("\u5185\u5BB9"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-field")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),m=s("\u5185\u5BB9"),f=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-field")]),s(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("\u6807\u9898"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-field")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),y=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Values")])]),n("tbody",null,[n("tr",null,[n("td",null,"title"),n("td",null,"\u6807\u9898"),n("td",null,"\u2013")])])],-1),j={setup(w,{expose:p}){return p({frontmatter:{}}),(h,x)=>{const o=e("lay-field"),c=e("lay-code"),l=e("lay-table-box"),u=e("lay-comment");return k(),i("div",r,[a(c,null,{code:t(()=>[d]),default:t(()=>[a(o,{title:"\u6807\u9898"},{default:t(()=>[g]),_:1})]),_:1}),a(c,null,{code:t(()=>[_]),default:t(()=>[a(o,{title:"\u6807\u9898"},{default:t(()=>[m]),_:1})]),_:1}),a(c,null,{code:t(()=>[f]),default:t(()=>[a(o,{title:"\u6807\u9898"})]),_:1}),a(o,{title:"\u5B57\u6BB5\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(l,null,{default:t(()=>[y]),_:1}),a(u)])}}};export{j as default};
|
401
example/dist/assets/form.a8a3c800.js
vendored
401
example/dist/assets/form.a8a3c800.js
vendored
File diff suppressed because one or more lines are too long
18
example/dist/assets/getStarted.18fd2eb4.js
vendored
18
example/dist/assets/getStarted.18fd2eb4.js
vendored
@ -1,18 +0,0 @@
|
||||
import{r as o,o as e,h as p,e as l,f as n,g as s}from"./vendor.e7911ee1.js";const c={class:"markdown-body"},u=n("br",null,null,-1),i=n("p",{style:{"margin-left":"24px","margin-bottom":"20px"}},"1. \u4F7F\u7528 npm \u4E0B\u8F7D",-1),k=n("div",{class:"language-"},[n("pre",null,[n("code",{"v-pre":""},`npm install @layui/layui-vue --save
|
||||
`)])],-1),r=n("br",null,null,-1),g=n("p",{style:{"margin-left":"24px","margin-bottom":"20px"}},"2. \u5728 main.ts \u4E2D\u4F9D\u8D56",-1),d=n("div",{class:"language-js"},[n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token keyword"},"import"),s(" App "),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'./App.vue'"),s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" createApp "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(" Layui "),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'@layui/layui-vue'"),s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token string"},"'@layui/layui-vue/lib/index.css'"),s(`
|
||||
|
||||
`),n("span",{class:"token function"},"createApp"),n("span",{class:"token punctuation"},"("),s("App"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"use"),n("span",{class:"token punctuation"},"("),s("Layui"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"mount"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},"'#app'"),n("span",{class:"token punctuation"},")"),s(`
|
||||
`)])])],-1),y=n("br",null,null,-1),m=n("p",{style:{"margin-left":"24px","margin-bottom":"20px"}},"3. \u5728 index.vue \u4F7F\u7528",-1),_=n("div",{class:"language-html"},[n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-layout")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-header")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-logo")]),n("span",{class:"token punctuation"},">")]),s("Layui Admin"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-logo")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-header")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-side")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-side")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-body")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("router-view")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("router-view")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-body")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-footer")]),n("span",{class:"token punctuation"},">")]),s("pearadmin.com"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-footer")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-layout")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])])],-1),v=n("ul",null,[n("li",null,[s("\u524D\u5F80: "),n("a",{href:"https://gitee.com/layui-vue/layui-vue-sample"},"layui-vue-sample")])],-1),A={setup(f,{expose:a}){return a({frontmatter:{}}),(x,b)=>{const t=o("lay-field");return e(),p("div",c,[l(t,{title:"\u5FEB\u901F\u4E0A\u624B",style:{"margin-top":"20px","margin-bottom":"20px"}}),u,i,k,r,g,d,y,m,_,v])}}};export{A as default};
|
1
example/dist/assets/grid.97a2d181.css
vendored
1
example/dist/assets/grid.97a2d181.css
vendored
@ -1 +0,0 @@
|
||||
.grid-demo-bg1{background-color:#63ba79}.grid-demo{padding:10px;line-height:50px;border-radius:2px;text-align:center;background-color:#79c48c;color:#fff}
|
107
example/dist/assets/grid.d614255d.js
vendored
107
example/dist/assets/grid.d614255d.js
vendored
@ -1,107 +0,0 @@
|
||||
import{r as c,o as d,h as g,e as s,d as t,f as n,g as a}from"./vendor.e7911ee1.js";const m={class:"markdown-body"},v=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-row")]),a(),n("span",{class:"token attr-name"},"space"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("10"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("1"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("2"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("3"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("4"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("5"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("6"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-row")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[a(`
|
||||
`),n("span",{class:"token selector"},".grid-demo-bg1"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #63BA79"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token selector"},".grid-demo"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a(" 10px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a(" 50px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a(" 2px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #79C48C"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" #fff"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("style")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),_=n("div",{class:"grid-demo"},"1",-1),y=n("div",{class:"grid-demo grid-demo-bg1"},"2",-1),f=n("div",{class:"grid-demo"},"3",-1),x=n("div",{class:"grid-demo grid-demo-bg1"},"4",-1),q=n("div",{class:"grid-demo"},"5",-1),b=n("div",{class:"grid-demo grid-demo-bg1"},"6",-1),h=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-row")]),a(),n("span",{class:"token attr-name"},"space"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("10"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("1"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"mdOffset"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("2"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-row")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[a(`
|
||||
`),n("span",{class:"token selector"},".grid-demo-bg1"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #63BA79"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token selector"},".grid-demo"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),a(" 10px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a(" 50px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"border-radius"),n("span",{class:"token punctuation"},":"),a(" 2px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"background-color"),n("span",{class:"token punctuation"},":"),a(" #79C48C"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" #fff"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("style")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),w=n("div",{class:"grid-demo"},"1",-1),C=n("div",{class:"grid-demo grid-demo-bg1"},"2",-1),j=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-row")]),a(),n("span",{class:"token attr-name"},"space"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("10"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("1"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("2"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-row")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B=n("div",{class:"grid-demo"},"1",-1),N=n("div",{class:"grid-demo grid-demo-bg1"},"2",-1),V=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-container")]),a(),n("span",{class:"token attr-name"},"fluid"),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-row")]),a(),n("span",{class:"token attr-name"},"space"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("10"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("1"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("2"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("3"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("4"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("5"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-col")]),a(),n("span",{class:"token attr-name"},"md"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"sm"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("12"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"xs"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("24"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("grid-demo grid-demo-bg1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("6"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-col")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-row")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-container")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),A=n("div",{class:"grid-demo"},"1",-1),O=n("div",{class:"grid-demo grid-demo-bg1"},"2",-1),E=n("div",{class:"grid-demo"},"3",-1),T=n("div",{class:"grid-demo grid-demo-bg1"},"4",-1),z=n("div",{class:"grid-demo"},"5",-1),D=n("div",{class:"grid-demo grid-demo-bg1"},"6",-1),F=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"space"),n("td",null,"\u95F4\u9694"),n("td",null,"0 - 30")])])],-1),G=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"xs"),n("td",null,"\u5C3A\u5BF8 - \u8D85\u5C0F\u5C4F\u5E55 (\u624B\u673A<768px)"),n("td",null,"0 - 24")]),n("tr",null,[n("td",null,"sm"),n("td",null,"\u5C3A\u5BF8 - \u5C0F\u5C4F\u5E55 (\u5E73\u677F \u2265768px)"),n("td",null,"0 - 24")]),n("tr",null,[n("td",null,"md"),n("td",null,"\u5C3A\u5BF8 - \u4E2D\u7B49\u5C4F\u5E55 (\u684C\u9762 \u2265992px)"),n("td",null,"0 - 24")]),n("tr",null,[n("td",null,"lg"),n("td",null,"\u5C3A\u5BF8 - \u5927\u578B\u5C4F\u5E55 (\u684C\u9762 \u22651200px)"),n("td",null,"0 - 24")]),n("tr",null,[n("td",null,"xs-offset"),n("td",null,"\u504F\u79FB - \u8D85\u5C0F\u5C4F\u5E55 (\u624B\u673A<768px)"),n("td",null,"0 - 24")]),n("tr",null,[n("td",null,"sm-offset"),n("td",null,"\u504F\u79FB - \u5C0F\u5C4F\u5E55 (\u5E73\u677F \u2265768px)"),n("td",null,"0 - 24")]),n("tr",null,[n("td",null,"md-offset"),n("td",null,"\u504F\u79FB - \u4E2D\u7B49\u5C4F\u5E55 (\u684C\u9762 \u2265992px)"),n("td",null,"0 - 24")]),n("tr",null,[n("td",null,"lg-offset"),n("td",null,"\u504F\u79FB - \u5927\u578B\u5C4F\u5E55 (\u684C\u9762 \u22651200px)"),n("td",null,"0 - 24")])])],-1),M={setup(H,{expose:k}){return k({frontmatter:{}}),(J,K)=>{const p=c("lay-field"),o=c("lay-col"),e=c("lay-row"),l=c("lay-code"),i=c("lay-container"),u=c("lay-table-box"),r=c("lay-comment");return d(),g("div",m,[s(p,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{code:t(()=>[v]),default:t(()=>[s(e,{space:"10"},{default:t(()=>[s(o,{md:"12"},{default:t(()=>[_]),_:1}),s(o,{md:"12"},{default:t(()=>[y]),_:1}),s(o,{md:"6"},{default:t(()=>[f]),_:1}),s(o,{md:"6"},{default:t(()=>[x]),_:1}),s(o,{md:"6"},{default:t(()=>[q]),_:1}),s(o,{md:"6"},{default:t(()=>[b]),_:1})]),_:1})]),_:1}),s(p,{title:"\u6805\u683C\u504F\u79FB",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{code:t(()=>[h]),default:t(()=>[s(e,{space:"10"},{default:t(()=>[s(o,{md:"12"},{default:t(()=>[w]),_:1}),s(o,{md:"6",mdOffset:"6"},{default:t(()=>[C]),_:1})]),_:1})]),_:1}),s(p,{title:"\u6805\u683C\u9002\u5E94",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{code:t(()=>[j]),default:t(()=>[s(e,{space:"10"},{default:t(()=>[s(o,{md:"12",sm:"12",xs:"24"},{default:t(()=>[B]),_:1}),s(o,{md:"12",sm:"12",xs:"24"},{default:t(()=>[N]),_:1})]),_:1})]),_:1}),s(p,{title:"\u6D41\u5F0F\u5E03\u5C40",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{code:t(()=>[V]),default:t(()=>[s(i,{fluid:""},{default:t(()=>[s(e,{space:"10"},{default:t(()=>[s(o,{md:"4",sm:"12",xs:"24"},{default:t(()=>[A]),_:1}),s(o,{md:"4",sm:"12",xs:"24"},{default:t(()=>[O]),_:1}),s(o,{md:"4",sm:"12",xs:"24"},{default:t(()=>[E]),_:1}),s(o,{md:"4",sm:"12",xs:"24"},{default:t(()=>[T]),_:1}),s(o,{md:"4",sm:"12",xs:"24"},{default:t(()=>[z]),_:1}),s(o,{md:"4",sm:"12",xs:"24"},{default:t(()=>[D]),_:1})]),_:1})]),_:1})]),_:1}),s(p,{title:"\u884C\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{default:t(()=>[F]),_:1}),s(p,{title:"\u5217\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{default:t(()=>[G]),_:1}),s(r)])}}};export{M as default};
|
61
example/dist/assets/icon.ebaec3da.js
vendored
61
example/dist/assets/icon.ebaec3da.js
vendored
File diff suppressed because one or more lines are too long
69
example/dist/assets/iconPicker.1a4cce05.js
vendored
69
example/dist/assets/iconPicker.1a4cce05.js
vendored
@ -1,69 +0,0 @@
|
||||
import{b as i,r as l,o as f,h as _,e as t,d as o,z as r,L as d,f as n,g as a}from"./vendor.e7911ee1.js";const w={class:"markdown-body"},v=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-icon-picker")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-icon-face-smile"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-icon-picker")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" icon "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"layui-icon-home"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),h=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-icon-picker")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("icon"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-icon-face-smile"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-icon-picker")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" icon "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"layui-icon-home"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-icon-picker")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("icon"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-icon-face-smile"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"page"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-icon-picker")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" icon "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"layui-icon-home"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),b=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-icon-picker")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("icon"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-icon-face-smile"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"page"),a(),n("span",{class:"token attr-name"},"showSearch"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-icon-picker")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" icon "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"layui-icon-home"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),V=n("table",null,[n("thead",null,[n("tr",null,[n("th"),n("th"),n("th")])]),n("tbody",null,[n("tr",null,[n("td",null,"v-model"),n("td",null,"\u9ED8\u8BA4\u503C"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"page"),n("td",null,"\u5F00\u542F\u5206\u9875"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"showSearch"),n("td",null,"\u542F\u7528\u641C\u7D22"),n("td",null,"\u2013")])])],-1),S={setup(q,{expose:m}){m({frontmatter:{}});let s=i("layui-icon-home");return s=i("layui-icon-home"),s=i("layui-icon-home"),s=i("layui-icon-home"),(B,c)=>{const p=l("lay-field"),u=l("lay-icon-picker"),k=l("lay-code"),g=l("lay-table-box"),y=l("lay-comment");return f(),_("div",w,[t(p,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[v]),default:o(()=>[t(u,{type:"layui-icon-face-smile"})]),_:1}),t(p,{title:"\u9ED8\u8BA4\u9009\u62E9",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[h]),default:o(()=>[t(u,{modelValue:r(s),"onUpdate:modelValue":c[0]||(c[0]=e=>d(s)?s.value=e:s=e),type:"layui-icon-face-smile"},null,8,["modelValue"])]),_:1}),t(p,{title:"\u5F00\u542F\u5206\u9875",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[x]),default:o(()=>[t(u,{modelValue:r(s),"onUpdate:modelValue":c[1]||(c[1]=e=>d(s)?s.value=e:s=e),type:"layui-icon-face-smile",page:""},null,8,["modelValue"])]),_:1}),t(p,{title:"\u5F00\u542F\u641C\u7D22",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[b]),default:o(()=>[t(u,{modelValue:r(s),"onUpdate:modelValue":c[2]||(c[2]=e=>d(s)?s.value=e:s=e),type:"layui-icon-face-smile",page:"",showSearch:""},null,8,["modelValue"])]),_:1}),t(p,{title:"icon-picker \u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(g,null,{default:o(()=>[V]),_:1}),t(y)])}}};export{S as default};
|
1
example/dist/assets/index.000334b5.css
vendored
1
example/dist/assets/index.000334b5.css
vendored
File diff suppressed because one or more lines are too long
1
example/dist/assets/index.40dbf8f8.svg
vendored
1
example/dist/assets/index.40dbf8f8.svg
vendored
@ -1 +0,0 @@
|
||||
<svg width="184" height="152" viewBox="0 0 184 152" xmlns="http://www.w3.org/2000/svg"><g fill="none" fillRule="evenodd"><g transform="translate(24 31.67)"><ellipse fillOpacity=".8" fill="#F5F5F7" cx="67.797" cy="106.89" rx="67.797" ry="12.668"></ellipse><path d="M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z" fill="#AEB8C2"></path><path d="M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z" fill="url(#linearGradient-1)" transform="translate(13.56)"></path><path d="M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z" fill="#F5F5F7"></path><path d="M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z" fill="#DCE0E6"></path></g><path d="M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z" fill="#DCE0E6"></path><g transform="translate(149.65 15.383)" fill="#FFF"><ellipse cx="20.654" cy="3.167" rx="2.849" ry="2.815"></ellipse><path d="M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"></path></g></g></svg>
|
Before Width: | Height: | Size: 1.8 KiB |
7492
example/dist/assets/index.8d5473b0.js
vendored
7492
example/dist/assets/index.8d5473b0.js
vendored
File diff suppressed because it is too large
Load Diff
74
example/dist/assets/input.4d2908b1.js
vendored
74
example/dist/assets/input.4d2908b1.js
vendored
@ -1,74 +0,0 @@
|
||||
import{b as d,r as e,o as w,h as x,e as t,d as s,z as r,L as y,f as n,g as a}from"./vendor.e7911ee1.js";const h={class:"markdown-body"},V=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data1 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u5185\u5BB9"'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
data1
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),q=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input")]),a(),n("span",{class:"token attr-name"},"placeholder"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u63D0\u793A\u4FE1\u606F"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),j=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@input"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("input"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"Input \u4E8B\u4EF6"'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"input"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),a(),n("span",{class:"token parameter"},"val"),a(),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u5F53\u524D\u503C:"'),a(),n("span",{class:"token operator"},"+"),a(" val"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
data2`),n("span",{class:"token punctuation"},","),a(`
|
||||
input
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),I=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input")]),a(),n("span",{class:"token attr-name"},"placeholder"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u7981\u6B62\u8F93\u5165"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("disabled"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" disabled "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
disabled
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"name"),n("td",null,"\u539F\u59CB\u5C5E\u6027 name"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"placeholder"),n("td",null,"\u63D0\u793A\u4FE1\u606F"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"disabled"),n("td",null,"\u7981\u7528"),n("td",null,[n("code",null,"true"),a(),n("code",null,"false")])]),n("tr",null,[n("td",null,"v-model"),n("td",null,"\u503C"),n("td",null,"\u2013")])])],-1),N=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53C2\u6570")])]),n("tbody",null,[n("tr",null,[n("td",null,"input"),n("td",null,"\u539F\u751F input \u4E8B\u4EF6"),n("td",null,"event : \u4E8B\u4EF6\u5BF9\u8C61")]),n("tr",null,[n("td",null,"foucs"),n("td",null,"\u539F\u751F foucs \u4E8B\u4EF6"),n("td",null,"event : \u4E8B\u4EF6\u5BF9\u8C61")]),n("tr",null,[n("td",null,"blur"),n("td",null,"\u539F\u751F blur \u4E8B\u4EF6"),n("td",null,"\u2013")])])],-1),E={setup(C,{expose:f}){f({frontmatter:{}});let p=d("\u5185\u5BB9"),c=d("Input \u4E8B\u4EF6"),_=function(g){console.log("\u5F53\u524D\u503C:"+g)},v=d(!0);return(g,u)=>{const o=e("lay-field"),k=e("lay-input"),i=e("lay-code"),m=e("lay-table-box"),b=e("lay-comment");return w(),x("div",h,[t(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(i,null,{code:s(()=>[V]),default:s(()=>[t(k,{modelValue:r(p),"onUpdate:modelValue":u[0]||(u[0]=l=>y(p)?p.value=l:p=l)},null,8,["modelValue"])]),_:1}),t(o,{title:"\u63D0\u793A\u4FE1\u606F",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(i,null,{code:s(()=>[q]),default:s(()=>[t(k,{placeholder:"\u63D0\u793A\u4FE1\u606F"})]),_:1}),t(o,{title:"\u4E8B\u4EF6\u56DE\u8C03",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(i,null,{code:s(()=>[j]),default:s(()=>[t(k,{modelValue:r(c),"onUpdate:modelValue":u[1]||(u[1]=l=>y(c)?c.value=l:c=l),onInput:r(_)},null,8,["modelValue","onInput"])]),_:1}),t(o,{title:"\u7981\u6B62\u8F93\u5165",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(i,null,{code:s(()=>[I]),default:s(()=>[t(k,{placeholder:"\u7981\u6B62\u8F93\u5165",disabled:r(v)},null,8,["disabled"])]),_:1}),t(o,{title:"\u8F93\u5165\u6846\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{default:s(()=>[B]),_:1}),t(o,{title:"\u8F93\u5165\u6846\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{default:s(()=>[N]),_:1}),t(b)])}}};export{E as default};
|
70
example/dist/assets/inputNumber.6c5e4dfb.js
vendored
70
example/dist/assets/inputNumber.6c5e4dfb.js
vendored
@ -1,70 +0,0 @@
|
||||
import{b as r,r as i,o as v,h as _,e as t,d as o,z as d,L as g,f as n,g as a}from"./vendor.e7911ee1.js";const f={class:"markdown-body"},x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data2"),n("span",{class:"token punctuation"},'"')]),a(" "),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("right"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"0"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"0"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
data`),n("span",{class:"token punctuation"},","),a(`
|
||||
data2`),n("span",{class:"token punctuation"},","),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),h=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("md"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("sm"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("xs"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("right"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("right"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("md"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("right"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("sm"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"position"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("right"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("xs"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("div")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},`
|
||||
`)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),q=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},":min"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("0"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":max"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("10"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},`
|
||||
`)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),w=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},":step"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("10"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},`
|
||||
`)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),V=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("\u7981\u7528\u8F93\u5165"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"disabled-input"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("\u5168\u90E8\u7981\u7528"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-input-number")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"disabled"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-input-number")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"10"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"25"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
data`),n("span",{class:"token punctuation"},","),a(`
|
||||
data2
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),z=n("p",null,"\u7981\u7528\u8F93\u5165",-1),j=n("p",null,"\u5168\u90E8\u7981\u7528",-1),U=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u7C7B\u578B"),n("th",null,"\u9ED8\u8BA4\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"v-model"),n("td",null,"\u503C"),n("td",null,[n("code",null,"number")]),n("td",null,"0")]),n("tr",null,[n("td",null,"name"),n("td",null,[a("\u539F\u751F\u5C5E\u6027"),n("code",null,"name")]),n("td",null,[n("code",null,"number")]),n("td",null,"5")]),n("tr",null,[n("td",null,"disabledInput"),n("td",null,"\u7981\u7528\u8F93\u5165\u6846\u8F93\u5165"),n("td",null,[n("code",null,"boolean")]),n("td",null,"false")]),n("tr",null,[n("td",null,"disabled"),n("td",null,"\u7981\u7528\u64CD\u4F5C"),n("td",null,[n("code",null,"boolean")]),n("td",null,"false")]),n("tr",null,[n("td",null,"step"),n("td",null,"\u6570\u5B57\u589E\u51CF\u7684\u6B65\u6570"),n("td",null,[n("code",null,"number")]),n("td",null,"1")]),n("tr",null,[n("td",null,"position"),n("td",null,[a("\u63A7\u5236\u6309\u94AE\u663E\u793A\u4F4D\u7F6E, \u76EE\u524D\u9664\u4E86\u9ED8\u8BA4\u503C\uFF0C\u53EA\u6709"),n("code",null,"right"),a("\u53EF\u586B")]),n("td",null,[n("code",null,"string")]),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"min"),n("td",null,"\u6700\u5C0F\u53EF\u8F93\u5165\u7684\u6570"),n("td",null,[n("code",null,"number")]),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"max"),n("td",null,"\u6700\u5927\u53EF\u8F93\u5165\u7684\u6570"),n("td",null,[n("code",null,"number")]),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"size"),n("td",null,[a("\u5C3A\u5BF8, \u53EF\u9009\u503C"),n("code",null,"md"),a(" / "),n("code",null,"sm"),a(" / "),n("code",null,"xs")]),n("td",null,[n("code",null,"string")]),n("td",null,"\u9ED8\u8BA4\u4E3A\u6700\u5927\u5C3A\u5BF8")])])],-1),B=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u56DE\u8C03\u53C2\u6570")])]),n("tbody",null,[n("tr",null,[n("td",null,"change"),n("td",null,"\u503C\u66F4\u6539\u89E6\u53D1\u4E8B\u4EF6"),n("td",null,"(value: number)")])])],-1),L={setup(N,{expose:b}){b({frontmatter:{}});let p=r(0),e=r(0);return p=r(10),e=r(25),(E,c)=>{const u=i("lay-field"),s=i("lay-input-number"),k=i("lay-code"),m=i("lay-table-box"),y=i("lay-comment");return v(),_("div",f,[t(u,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[x]),default:o(()=>[t(s,{modelValue:d(p),"onUpdate:modelValue":c[0]||(c[0]=l=>g(p)?p.value=l:p=l)},null,8,["modelValue"]),t(s,{modelValue:d(e),"onUpdate:modelValue":c[1]||(c[1]=l=>g(e)?e.value=l:e=l),position:"right"},null,8,["modelValue"])]),_:1}),t(u,{title:"\u5C3A\u5BF8",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[h]),default:o(()=>[n("div",null,[n("div",null,[t(s),t(s,{size:"md"}),t(s,{size:"sm"}),t(s,{size:"xs"})]),n("div",null,[t(s,{position:"right"}),t(s,{position:"right",size:"md"}),t(s,{position:"right",size:"sm"}),t(s,{position:"right",size:"xs"})])])]),_:1}),t(u,{title:"\u9650\u5236\u6570\u5B57\u5927\u5C0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[q]),default:o(()=>[t(s,{min:0,max:10})]),_:1}),t(u,{title:"\u6570\u5B57\u6B65\u6570",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[w]),default:o(()=>[t(s,{step:10})]),_:1}),t(u,{title:"\u7981\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(k,null,{code:o(()=>[V]),default:o(()=>[z,t(s,{modelValue:d(p),"onUpdate:modelValue":c[2]||(c[2]=l=>g(p)?p.value=l:p=l),"disabled-input":""},null,8,["modelValue"]),j,t(s,{modelValue:d(e),"onUpdate:modelValue":c[3]||(c[3]=l=>g(e)?e.value=l:e=l),disabled:""},null,8,["modelValue"])]),_:1}),t(u,{title:"input-number\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{default:o(()=>[U]),_:1}),t(u,{title:"\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{default:o(()=>[B]),_:1}),t(y)])}}};export{L as default};
|
1
example/dist/assets/introduce.475125c3.js
vendored
1
example/dist/assets/introduce.475125c3.js
vendored
@ -1 +0,0 @@
|
||||
import{r as i,o as _,h as c,e,d as o,f as t}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},p=t("p",null,[t("a",{href:"http://layui-vue.pearadmin.com"},[t("img",{src:"https://sentsin.gitee.io/res/images/layui/layui.png",alt:"layui",width:"500"})])],-1),u=t("br",null,null,-1),y=t("p",null,"layui - vue\uFF08\u8C10\u97F3\uFF1A\u7C7B UI) \u662F \u4E00 \u5957 Vue 3.0 \u7684 \u684C \u9762 \u7AEF \u7EC4 \u4EF6 \u5E93 , Layui \u7684 \u53E6 \u4E00 \u79CD \u5448 \u73B0 \u65B9 \u5F0F",-1),b={setup(d,{expose:a}){return a({frontmatter:{}}),(h,g)=>{const n=i("lay-field"),s=i("lay-block"),l=i("lay-timeline-item"),m=i("lay-timeline");return _(),c("div",r,[e(n,{title:"\u57FA\u672C\u4ECB\u7ECD",style:{"margin-top":"20px","margin-bottom":"20px"}}),p,u,e(s,{style:{"margin-left":"8px","margin-bottom":"40px"}},{default:o(()=>[y]),_:1}),e(m,null,{default:o(()=>[e(l,{title:"2021\u5E74\uFF0Clayui vue \u91CC\u7A0B\u7891\u7248\u672C 0.2.0 \u53D1\u5E03",simple:""}),e(l,{title:"2017\u5E74\uFF0Clayui \u91CC\u7A0B\u7891\u7248\u672C 2.0 \u53D1\u5E03",simple:""}),e(l,{title:"2016\u5E74\uFF0Clayui \u9996\u4E2A\u7248\u672C\u53D1\u5E03",simple:""}),e(l,{title:"2015\u5E74\uFF0Clayui \u5B75\u5316",simple:""})]),_:1})])}}};export{b as default};
|
1
example/dist/assets/layer.52807a63.js
vendored
1
example/dist/assets/layer.52807a63.js
vendored
@ -1 +0,0 @@
|
||||
import{o as e,h as o}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},m={setup(s,{expose:t}){return t({frontmatter:{}}),(a,c)=>(e(),o("div",r))}};export{m as default};
|
1
example/dist/assets/layout.ab5f6ec6.css
vendored
1
example/dist/assets/layout.ab5f6ec6.css
vendored
@ -1 +0,0 @@
|
||||
.lay-code .layui-footer,.lay-code .layui-header{line-height:60px;text-align:center;background:#87ca9a;color:#fff}.lay-code .layui-side{display:flex;background:#77c38c;align-items:center;justify-content:center;color:#fff}.lay-code .layui-body{display:flex;background:#5FB878;align-items:center;justify-content:center;color:#fff}
|
137
example/dist/assets/layout.b479f239.js
vendored
137
example/dist/assets/layout.b479f239.js
vendored
@ -1,137 +0,0 @@
|
||||
import{r as c,o as y,h as _,e as s,d as t,f as n,g as a}from"./vendor.e7911ee1.js";const f={class:"markdown-body"},h=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a("header"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a("content"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a("footer"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("style")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token style"},[n("span",{class:"token language-css"},[a(`
|
||||
`),n("span",{class:"token selector"},`.lay-code .layui-footer,
|
||||
.lay-code .layui-header`),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),a(" 60px"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"text-align"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),a(" #87ca9a"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token selector"},".lay-code .layui-side"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"display"),n("span",{class:"token punctuation"},":"),a(" flex"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),a(" #77c38c"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"align-items"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"justify-content"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token selector"},".lay-code .layui-body"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token property"},"display"),n("span",{class:"token punctuation"},":"),a(" flex"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"background"),n("span",{class:"token punctuation"},":"),a(" #5FB878"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"align-items"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"justify-content"),n("span",{class:"token punctuation"},":"),a(" center"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token property"},"color"),n("span",{class:"token punctuation"},":"),a(" white"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("style")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),m=a("header"),b=a("content"),w=a("footer"),x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a("left"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a("content"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a("right"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),v=a("left"),j=a("content"),C=a("right"),F=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a("header"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a("side"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a("content"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B=a("header"),H=a("side"),N=a("content"),V=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a("side"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a("header"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a("body"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a("footer"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("hr")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a("header"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a("body"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a("footer"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a("side"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("hr")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a("Header"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-side")]),a(),n("span",{class:"token attr-name"},":width"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("160"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("Left"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a("Content"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a("Footer"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("hr")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a("Header"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-header")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a("Content"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-side")]),a(),n("span",{class:"token attr-name"},":width"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("160"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("Right"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-side")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-body")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a("Footer"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-footer")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-layout")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),q=a("side"),L=a("header"),R=a("body"),E=a("footer"),T=n("hr",null,null,-1),z=a("header"),A=a("body"),D=a("footer"),G=a("side"),I=n("hr",null,null,-1),J=a("Header"),K=a("Left"),M=a("Content"),O=a("Footer"),P=n("hr",null,null,-1),Q=a("Header"),S=a("Content"),U=a("Right"),W=a("Footer"),X=n("br",null,null,-1),Y=n("br",null,null,-1),Z=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u7EC4\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th")])]),n("tbody",null,[n("tr",null,[n("td",null,"lay-layout"),n("td",null,"\u5BB9\u5668"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"lay-header"),n("td",null,"\u9876\u90E8"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"lay-logo"),n("td",null,"\u56FE\u6807"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"lay-side"),n("td",null,"\u4FA7\u8FB9"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"lay-body"),n("td",null,"\u5185\u5BB9"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"lay-footer"),n("td",null,"\u5E95\u90E8"),n("td",null,"\u2013")])])],-1),on={setup($,{expose:d}){return d({frontmatter:{}}),(an,sn)=>{const u=c("lay-field"),p=c("lay-header"),l=c("lay-body"),k=c("lay-footer"),o=c("lay-layout"),i=c("lay-code"),e=c("lay-side"),g=c("lay-table-box"),r=c("lay-comment");return y(),_("div",f,[s(u,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:t(()=>[h]),default:t(()=>[s(o,null,{default:t(()=>[s(p,null,{default:t(()=>[m]),_:1}),s(l,null,{default:t(()=>[b]),_:1}),s(k,null,{default:t(()=>[w]),_:1})]),_:1})]),_:1}),s(u,{title:"\u5DE6\u53F3\u5E03\u5C40",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:t(()=>[x]),default:t(()=>[s(o,null,{default:t(()=>[s(e,null,{default:t(()=>[v]),_:1}),s(l,null,{default:t(()=>[j]),_:1}),s(e,null,{default:t(()=>[C]),_:1})]),_:1})]),_:1}),s(u,{title:"\u540E\u53F0\u5E03\u5C40",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:t(()=>[F]),default:t(()=>[s(o,null,{default:t(()=>[s(p,null,{default:t(()=>[B]),_:1}),s(o,null,{default:t(()=>[s(e,null,{default:t(()=>[H]),_:1}),s(l,null,{default:t(()=>[N]),_:1})]),_:1})]),_:1})]),_:1}),s(u,{title:"\u590D\u6742\u5E03\u5C40",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:t(()=>[V]),default:t(()=>[s(o,null,{default:t(()=>[s(e,null,{default:t(()=>[q]),_:1}),s(o,null,{default:t(()=>[s(p,null,{default:t(()=>[L]),_:1}),s(l,null,{default:t(()=>[R]),_:1}),s(k,null,{default:t(()=>[E]),_:1})]),_:1})]),_:1}),T,s(o,null,{default:t(()=>[s(o,null,{default:t(()=>[s(p,null,{default:t(()=>[z]),_:1}),s(l,null,{default:t(()=>[A]),_:1}),s(k,null,{default:t(()=>[D]),_:1})]),_:1}),s(e,null,{default:t(()=>[G]),_:1})]),_:1}),I,s(o,null,{default:t(()=>[s(p,null,{default:t(()=>[J]),_:1}),s(l,null,{default:t(()=>[s(o,null,{default:t(()=>[s(e,{width:160},{default:t(()=>[K]),_:1}),s(l,null,{default:t(()=>[M]),_:1})]),_:1})]),_:1}),s(k,null,{default:t(()=>[O]),_:1})]),_:1}),P,s(o,null,{default:t(()=>[s(p,null,{default:t(()=>[Q]),_:1}),s(l,null,{default:t(()=>[s(o,null,{default:t(()=>[s(l,null,{default:t(()=>[S]),_:1}),s(e,{width:160},{default:t(()=>[U]),_:1})]),_:1})]),_:1}),s(k,null,{default:t(()=>[W]),_:1})]),_:1})]),_:1}),X,Y,s(u,{title:"\u5E03\u5C40\u7EC4\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(g,null,{default:t(()=>[Z]),_:1}),s(r)])}}};export{on as default};
|
29
example/dist/assets/line.8aa58b24.js
vendored
29
example/dist/assets/line.8aa58b24.js
vendored
@ -1,29 +0,0 @@
|
||||
import{r as o,o as i,h as r,e as s,d as e,f as n,g as a}from"./vendor.e7911ee1.js";const g={class:"markdown-body"},_=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
\u9ED8\u8BA4\u5206\u5272\u7EBF
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},"/>")]),a(`
|
||||
\u8D64\u8272\u5206\u5272\u7EBF
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-line")]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("red"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},"/>")]),a(`
|
||||
\u6A59\u8272\u5206\u5272\u7EBF
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-line")]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("orange"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},"/>")]),a(`
|
||||
\u58A8\u7EFF\u5206\u5272\u7EBF
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-line")]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("green"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},"/>")]),a(`
|
||||
\u9752\u8272\u5206\u5272\u7EBF
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-line")]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("cyan"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},"/>")]),a(`
|
||||
\u84DD\u8272\u5206\u5272\u7EBF
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-line")]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("blue"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},"/>")]),a(`
|
||||
\u9ED1\u8272\u5206\u5272\u7EBF
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-line")]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("black"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-line")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},"/>")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),d=a(" \u9ED8\u8BA4\u5206\u5272\u7EBF "),m=n("br",null,null,-1),h=a(" \u8D64\u8272\u5206\u5272\u7EBF "),y=n("br",null,null,-1),b=a(" \u6A59\u8272\u5206\u5272\u7EBF "),f=n("br",null,null,-1),v=a(" \u58A8\u7EFF\u5206\u5272\u7EBF "),x=n("br",null,null,-1),w=a(" \u9752\u8272\u5206\u5272\u7EBF "),q=n("br",null,null,-1),N=a(" \u84DD\u8272\u5206\u5272\u7EBF "),V=n("br",null,null,-1),B=a(" \u9ED1\u8272\u5206\u5272\u7EBF "),j=n("br",null,null,-1),C=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Values")])]),n("tbody",null,[n("tr",null,[n("td",null,"theme"),n("td",null,"\u4E3B\u9898"),n("td",null,[n("code",null,"orange"),a(),n("code",null,"green"),a(),n("code",null,"cyan"),a(),n("code",null,"blue"),a(),n("code",null,"black"),a(),n("code",null,"gray")])])])],-1),F={setup(A,{expose:l}){return l({frontmatter:{}}),(E,T)=>{const t=o("lay-line"),c=o("lay-code"),p=o("lay-field"),u=o("lay-table-box"),k=o("lay-comment");return i(),r("div",g,[s(c,null,{code:e(()=>[_]),default:e(()=>[d,s(t),m,h,s(t,{theme:"red"}),y,b,s(t,{theme:"orange"}),f,v,s(t,{theme:"green"}),x,w,s(t,{theme:"cyan"}),q,N,s(t,{theme:"blue"}),V,B,s(t,{theme:"black"}),j]),_:1}),s(p,{title:"\u5206\u5272\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{default:e(()=>[C]),_:1}),s(k)])}}};export{F as default};
|
84
example/dist/assets/load.e7357671.js
vendored
84
example/dist/assets/load.e7357671.js
vendored
@ -1,84 +0,0 @@
|
||||
import"./index.8d5473b0.js";import{r as o,o as w,h as v,e as s,d as t,z as l,f as n,g as a,a0 as c}from"./vendor.e7911ee1.js";const x={class:"markdown-body"},h=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button-container")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("loading0"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u52A0\u8F7D\u4E00"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("loading1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u52A0\u8F7D\u4E8C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("loading2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u52A0\u8F7D\u4E09"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button-container")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" layer "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},'"../../../../src/index.ts"'),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"loading0"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"load"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"0"),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a("time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"3000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"loading1"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"load"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"1"),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a("time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"3000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"loading2"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"load"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"2"),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a("time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"3000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
loading0`),n("span",{class:"token punctuation"},","),a(`
|
||||
loading1`),n("span",{class:"token punctuation"},","),a(`
|
||||
loading2`),n("span",{class:"token punctuation"},","),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),C=a("\u52A0\u8F7D\u4E00"),q=a("\u52A0\u8F7D\u4E8C"),j=a("\u52A0\u8F7D\u4E09"),L=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openLoading"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u52A0\u8F7D\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" layer "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},'"../../../../src/index.ts"'),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"openLoading"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u52A0\u8F7D\u4E2D..."'),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a(" icon "),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"16"),n("span",{class:"token punctuation"},","),a(" time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
openLoading
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B=a("\u52A0\u8F7D\u6D88\u606F"),N=n("p",null,"\u4F7F\u7528 layer.msg \u521B\u5EFA\u5F39\u51FA\u5C42, time \u5C5E\u6027\u7528\u4E8E\u914D\u7F6E\u663E\u793A\u65F6\u957F",-1),T=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button-container")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("loading"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u5173\u95ED\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button-container")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" layer "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},'"../../../../src/index.ts"'),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"loading"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"let"),a(" id "),n("span",{class:"token operator"},"="),a(" layer"),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"load"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"0"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token function"},"setTimeout"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token operator"},"=>"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"close"),n("span",{class:"token punctuation"},"("),a("id"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),n("span",{class:"token number"},"3000"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
loading
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),V=a("\u5173\u95ED\u6D88\u606F"),z=n("div",{class:"language-"},[n("pre",null,[n("code",{"v-pre":""},`layer.load(load, options)
|
||||
`)])],-1),E=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u5907\u6CE8")])]),n("tbody",null,[n("tr",null,[n("td",null,"load"),n("td",null,"\u7EC4\u4EF6\u7C7B\u578B"),n("td",null,[n("code",null,"1"),a(),n("code",null,"2"),a(),n("code",null,"3")])]),n("tr",null,[n("td",null,"options"),n("td",null,"\u9009\u914D\u5C5E\u6027"),n("td",null,"{ time: \u52A0\u8F7D\u65F6\u957F }")])])],-1),H={setup($,{expose:r}){r({frontmatter:{}});let d=function(){c.load(0,{time:3e3})},g=function(){c.load(1,{time:3e3})},m=function(){c.load(2,{time:3e3})},y=function(){c.msg("\u52A0\u8F7D\u4E2D...",{icon:16,time:1e3})},_=function(){let k=c.load(0);setTimeout(()=>{c.close(k)},3e3)};return(k,D)=>{const p=o("lay-field"),e=o("lay-button"),i=o("lay-button-container"),u=o("lay-code"),f=o("lay-table-box"),b=o("lay-comment");return w(),v("div",x,[s(p,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{code:t(()=>[h]),default:t(()=>[s(i,null,{default:t(()=>[s(e,{onClick:l(d),type:"primary"},{default:t(()=>[C]),_:1},8,["onClick"]),s(e,{onClick:l(g),type:"primary"},{default:t(()=>[q]),_:1},8,["onClick"]),s(e,{onClick:l(m),type:"primary"},{default:t(()=>[j]),_:1},8,["onClick"])]),_:1})]),_:1}),s(p,{title:"\u5176\u4ED6\u65B9\u5F0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{code:t(()=>[L]),default:t(()=>[s(e,{type:"primary",onClick:l(y)},{default:t(()=>[B]),_:1},8,["onClick"])]),_:1}),s(p,{title:"\u624B\u52A8\u5173\u95ED",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{description:t(()=>[N]),code:t(()=>[T]),default:t(()=>[s(i,null,{default:t(()=>[s(e,{onClick:l(_),type:"primary"},{default:t(()=>[V]),_:1},8,["onClick"])]),_:1})]),_:1}),s(p,{title:"\u7EC4\u4EF6\u65B9\u6CD5",style:{"margin-top":"20px","margin-bottom":"20px"}}),z,s(p,{title:"\u7EC4\u4EF6\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{default:t(()=>[E]),_:1}),s(b)])}}};export{H as default};
|
1
example/dist/assets/member.58d02a44.js
vendored
1
example/dist/assets/member.58d02a44.js
vendored
@ -1 +0,0 @@
|
||||
import{r as a,o as r,h as n,e as s,f as e}from"./vendor.e7911ee1.js";const c={class:"markdown-body"},i=e("p",{style:{"margin-left":"24px","margin-bottom":"20px"}},[e("p",null,[e("a",{href:"https://giteye.net/chart/DBC9Z6HQ"},[e("img",{src:"https://chart.giteye.net/gitee/layui-vue/layui-vue/DBC9Z6HQ.png",alt:"Giteye chart"})])])],-1),f={setup(l,{expose:t}){return t({frontmatter:{}}),(m,_)=>{const o=a("lay-field");return r(),n("div",c,[s(o,{title:"\u8D21\u732E\u4EE3\u7801",style:{"margin-top":"20px","margin-bottom":"20px"}}),i])}}};export{f as default};
|
64
example/dist/assets/menu.a879bd24.js
vendored
64
example/dist/assets/menu.a879bd24.js
vendored
@ -1,64 +0,0 @@
|
||||
import{b as i,r as u,o as h,h as w,e as t,d as e,z as r,L as m,f as n,g as a}from"./vendor.e7911ee1.js";const x={class:"markdown-body"},b=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu")]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-model:"),a("selectedKey")]),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selectedKey"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-model:"),a("openKeys")]),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openKeys"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u9996\u9875"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u7528\u6237"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u89D2\u8272"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u76EE\u5F55"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("7"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-child-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u83DC\u5355\u4E00"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-child-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-child-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u83DC\u5355\u4E8C"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("5"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-child-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-child-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u83DC\u5355\u4E09"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-child-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" selectedKey "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"5"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" openKeys "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"["),n("span",{class:"token string"},'"7"'),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
selectedKey`),n("span",{class:"token punctuation"},","),a(`
|
||||
openKeys
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),T=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu")]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-model:"),a("selectedKey")]),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selectedKey"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-model:"),a("openKeys")]),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openKeys"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-model:"),a("tree")]),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("isTree"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u9996\u9875"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-slot:"),a("title")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("router-link")]),a(),n("span",{class:"token attr-name"},"to"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u65E0\u611F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("router-link")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u7528\u6237"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u89D2\u8272"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u76EE\u5F55"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("7"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-child-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u83DC\u5355\u4E00"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-child-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-child-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u83DC\u5355\u4E8C"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("5"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-child-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-menu-child-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u83DC\u5355\u4E09"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("6"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-child-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-menu")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" isTree "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" selectedKey "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"5"'),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" openKeys "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"["),n("span",{class:"token string"},'"7"'),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
isTree`),n("span",{class:"token punctuation"},","),a(`
|
||||
openKeys`),n("span",{class:"token punctuation"},","),a(`
|
||||
selectedKey
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),U=a("\u65E0\u611F"),j=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u5907\u6CE8")])]),n("tbody",null,[n("tr",null,[n("td",null,"v-model:selectedKey"),n("td",null,"\u9009\u4E2D\u9879"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"v-model:openKeys"),n("td",null,"\u6253\u5F00\u9879"),n("td",null,"\u2013")])])],-1),B=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u5907\u6CE8")])]),n("tbody",null,[n("tr",null,[n("td",null,"title"),n("td",null,"\u83DC\u5355\u6807\u9898"),n("td",null,"\u2013")])])],-1),E={setup(N,{expose:f}){f({frontmatter:{}});let p=i("5"),c=i(["7"]),d=i(!0);return p=i("5"),c=i(["7"]),(C,o)=>{const g=u("lay-field"),l=u("lay-menu-item"),k=u("lay-menu-child-item"),y=u("lay-menu"),v=u("lay-code"),q=u("router-link"),_=u("lay-table-box"),K=u("lay-comment");return h(),w("div",x,[t(g,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(v,null,{code:e(()=>[b]),default:e(()=>[t(y,{selectedKey:r(p),"onUpdate:selectedKey":o[0]||(o[0]=s=>m(p)?p.value=s:p=s),openKeys:r(c),"onUpdate:openKeys":o[1]||(o[1]=s=>m(c)?c.value=s:c=s)},{default:e(()=>[t(l,{title:"\u9996\u9875",id:"1"}),t(l,{title:"\u7528\u6237",id:"2"}),t(l,{title:"\u89D2\u8272",id:"3"}),t(l,{title:"\u76EE\u5F55",id:"7"},{default:e(()=>[t(k,{title:"\u83DC\u5355\u4E00",id:"4"}),t(k,{title:"\u83DC\u5355\u4E8C",id:"5"}),t(k,{title:"\u83DC\u5355\u4E09",id:"6"})]),_:1})]),_:1},8,["selectedKey","openKeys"])]),_:1}),t(g,{title:"\u5782\u76F4\u5BFC\u822A",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(v,null,{code:e(()=>[T]),default:e(()=>[t(y,{selectedKey:r(p),"onUpdate:selectedKey":o[2]||(o[2]=s=>m(p)?p.value=s:p=s),openKeys:r(c),"onUpdate:openKeys":o[3]||(o[3]=s=>m(c)?c.value=s:c=s),tree:r(d),"onUpdate:tree":o[4]||(o[4]=s=>m(d)?d.value=s:d=s)},{default:e(()=>[t(l,{title:"\u9996\u9875",id:"1"},{title:e(()=>[t(q,{to:""},{default:e(()=>[U]),_:1})]),_:1}),t(l,{title:"\u7528\u6237",id:"2"}),t(l,{title:"\u89D2\u8272",id:"3"}),t(l,{title:"\u76EE\u5F55",id:"7"},{default:e(()=>[t(k,{title:"\u83DC\u5355\u4E00",id:"4"}),t(k,{title:"\u83DC\u5355\u4E8C",id:"5"}),t(k,{title:"\u83DC\u5355\u4E09",id:"6"})]),_:1})]),_:1},8,["selectedKey","openKeys","tree"])]),_:1}),t(g,{title:"\u83DC\u5355\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(_,null,{default:e(()=>[j]),_:1}),t(g,{title:"\u83DC\u5355\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(_,null,{default:e(()=>[B]),_:1}),t(K)])}}};export{E as default};
|
241
example/dist/assets/modal.3d1b1fc1.js
vendored
241
example/dist/assets/modal.3d1b1fc1.js
vendored
File diff suppressed because one or more lines are too long
61
example/dist/assets/msg.6ce1243b.js
vendored
61
example/dist/assets/msg.6ce1243b.js
vendored
@ -1,61 +0,0 @@
|
||||
import"./index.8d5473b0.js";import{r as e,o as b,h as v,e as s,d as t,z as c,f as n,g as a,a0 as p}from"./vendor.e7911ee1.js";const w={class:"markdown-body"},x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openMsg"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u666E\u901A\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" layer "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},'"../../../../src/index.ts"'),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"openMsg"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u666E\u901A\u6D88\u606F"'),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a(" time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1000"),a(),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
openMsg
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),h=a("\u666E\u901A\u6D88\u606F"),C=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openSuccess"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u6210\u529F\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openFailure"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u5931\u8D25\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openWarning"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u8B66\u544A\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openPrimary"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u8BE6\u60C5\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-button")]),a(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("primary"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("openLoading"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u52A0\u8F7D\u6D88\u606F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-button")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" layer "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},'"../../../../src/index.ts"'),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"openSuccess"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u6210\u529F\u6D88\u606F"'),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a(" icon "),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1"),n("span",{class:"token punctuation"},","),a(" time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"openFailure"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u5931\u8D25\u6D88\u606F"'),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a(" icon "),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"2"),n("span",{class:"token punctuation"},","),a(" time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"openWarning"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u8B66\u544A\u6D88\u606F"'),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a(" icon "),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"3"),n("span",{class:"token punctuation"},","),a(" time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"openPrimary"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u8BE6\u60C5\u6D88\u606F"'),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a(" icon "),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"4"),n("span",{class:"token punctuation"},","),a(" time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"openLoading"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u52A0\u8F7D\u6D88\u606F"'),n("span",{class:"token punctuation"},","),a(),n("span",{class:"token punctuation"},"{"),a(" icon "),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"16"),n("span",{class:"token punctuation"},","),a(" time"),n("span",{class:"token operator"},":"),a(),n("span",{class:"token number"},"1000"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
openSuccess`),n("span",{class:"token punctuation"},","),a(" openFailure"),n("span",{class:"token punctuation"},","),a(" openWarning"),n("span",{class:"token punctuation"},","),a(" openPrimary"),n("span",{class:"token punctuation"},","),a(` openLoading
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),q=a("\u6210\u529F\u6D88\u606F"),j=a("\u5931\u8D25\u6D88\u606F"),F=a("\u8B66\u544A\u6D88\u606F"),L=a("\u8BE6\u60C5\u6D88\u606F"),M=a("\u52A0\u8F7D\u6D88\u606F"),P=n("div",{class:"language-"},[n("pre",null,[n("code",{"v-pre":""},`layer.msg(content, options)
|
||||
`)])],-1),S=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u5907\u6CE8")])]),n("tbody",null,[n("tr",null,[n("td",null,"content"),n("td",null,"\u6D88\u606F\u5185\u5BB9"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"options"),n("td",null,"\u9009\u914D\u5C5E\u6027"),n("td",null,"{ time: \u52A0\u8F7D\u65F6\u957F, icon: \u56FE\u6807 }")])])],-1),T={setup(W,{expose:k}){k({frontmatter:{}});let i=function(){p.msg("\u666E\u901A\u6D88\u606F",{time:1e3})},r=function(){p.msg("\u6210\u529F\u6D88\u606F",{icon:1,time:1e3})},m=function(){p.msg("\u5931\u8D25\u6D88\u606F",{icon:2,time:1e3})},g=function(){p.msg("\u8B66\u544A\u6D88\u606F",{icon:3,time:1e3})},y=function(){p.msg("\u8BE6\u60C5\u6D88\u606F",{icon:4,time:1e3})},d=function(){p.msg("\u52A0\u8F7D\u6D88\u606F",{icon:16,time:1e3})};return(N,V)=>{const l=e("lay-field"),o=e("lay-button"),u=e("lay-code"),f=e("lay-table-box"),_=e("lay-comment");return b(),v("div",w,[s(l,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{code:t(()=>[x]),default:t(()=>[s(o,{type:"primary",onClick:c(i)},{default:t(()=>[h]),_:1},8,["onClick"])]),_:1}),s(l,{title:"\u6307\u5B9A\u56FE\u6807",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(u,null,{code:t(()=>[C]),default:t(()=>[s(o,{type:"primary",onClick:c(r)},{default:t(()=>[q]),_:1},8,["onClick"]),s(o,{type:"primary",onClick:c(m)},{default:t(()=>[j]),_:1},8,["onClick"]),s(o,{type:"primary",onClick:c(g)},{default:t(()=>[F]),_:1},8,["onClick"]),s(o,{type:"primary",onClick:c(y)},{default:t(()=>[L]),_:1},8,["onClick"]),s(o,{type:"primary",onClick:c(d)},{default:t(()=>[M]),_:1},8,["onClick"])]),_:1}),s(l,{title:"\u7EC4\u4EF6\u65B9\u6CD5",style:{"margin-top":"20px","margin-bottom":"20px"}}),P,s(l,{title:"\u7EC4\u4EF6\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{default:t(()=>[S]),_:1}),s(_)])}}};export{T as default};
|
1
example/dist/assets/norms.2f21de21.js
vendored
1
example/dist/assets/norms.2f21de21.js
vendored
@ -1 +0,0 @@
|
||||
import{r as o,o as r,h as n,e as a}from"./vendor.e7911ee1.js";const s={class:"markdown-body"},d={setup(c,{expose:e}){return e({frontmatter:{}}),(m,p)=>{const t=o("lay-field");return r(),n("div",s,[a(t,{title:"\u5F00\u53D1\u89C4\u8303",style:{"margin-top":"20px","margin-bottom":"20px"}})])}}};export{d as default};
|
148
example/dist/assets/page.4b4dead8.js
vendored
148
example/dist/assets/page.4b4dead8.js
vendored
@ -1,148 +0,0 @@
|
||||
import{b as o,r,o as b,h as x,e as s,d as e,z as t,f as n,g as a}from"./vendor.e7911ee1.js";const q={class:"markdown-body"},P=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-page"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showPage"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" limit "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"20"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" total "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"100"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showPage "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
limit`),n("span",{class:"token punctuation"},","),a(`
|
||||
total`),n("span",{class:"token punctuation"},","),a(`
|
||||
showPage
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),j=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" limit "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"20"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" total "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"100"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
limit`),n("span",{class:"token punctuation"},","),a(`
|
||||
total
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),S=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-slot:"),a("prev")]),n("span",{class:"token punctuation"},">")]),a("\u4E0A"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),a(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-slot:"),a("next")]),n("span",{class:"token punctuation"},">")]),a("\u4E0B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" limit "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"20"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" total "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"100"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
limit`),n("span",{class:"token punctuation"},","),a(`
|
||||
total
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),C=a("\u4E0A"),L=a("\u4E0B"),R=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-page"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showPage"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("red"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-page"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showPage"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("blue"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-page"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showPage"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("orange"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" limit "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"20"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" total "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"100"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showPage "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
limit`),n("span",{class:"token punctuation"},","),a(`
|
||||
total`),n("span",{class:"token punctuation"},","),a(`
|
||||
showPage
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B=n("br",null,null,-1),N=n("br",null,null,-1),V=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-count"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showCount"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-page"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showPage"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showLimit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-refresh"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showRefresh"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"showSkip"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showSkip"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" limit "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"20"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" total "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"100"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showCount "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showPage "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showLimit "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showRefresh "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showSkip "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
limit`),n("span",{class:"token punctuation"},","),a(`
|
||||
total`),n("span",{class:"token punctuation"},","),a(`
|
||||
showCount`),n("span",{class:"token punctuation"},","),a(`
|
||||
showPage`),n("span",{class:"token punctuation"},","),a(`
|
||||
showLimit`),n("span",{class:"token punctuation"},","),a(`
|
||||
showRefresh`),n("span",{class:"token punctuation"},","),a(`
|
||||
showSkip
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),J=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-page")]),a(),n("span",{class:"token attr-name"},":limit"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("limit"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":total"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("total"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@jump"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("jump"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":show-page"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("showSkip"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-page")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" limit "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"20"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" total "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"100"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" showPage "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"jump"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),n("span",{class:"token parameter"},[n("span",{class:"token punctuation"},"{"),a(" current "),n("span",{class:"token punctuation"},"}")]),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u5F53\u524D\u9875:"'),a(),n("span",{class:"token operator"},"+"),a(" current"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
limit`),n("span",{class:"token punctuation"},","),a(`
|
||||
total`),n("span",{class:"token punctuation"},","),a(`
|
||||
jump`),n("span",{class:"token punctuation"},","),a(`
|
||||
showPage
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),z=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u9ED8\u8BA4\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"limit"),n("td",null,"\u6BCF\u9875\u6570\u91CF"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"total"),n("td",null,"\u603B\u6761\u6570"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"showCount"),n("td",null,"\u663E\u793A\u603B\u6570"),n("td",null,[n("code",null,"false")])]),n("tr",null,[n("td",null,"showPage"),n("td",null,"\u663E\u793A\u6BCF\u9875"),n("td",null,[n("code",null,"false")])]),n("tr",null,[n("td",null,"showLimit"),n("td",null,"\u663E\u793A\u6BCF\u9875\u6570\u91CF"),n("td",null,[n("code",null,"false")])]),n("tr",null,[n("td",null,"showRefresh"),n("td",null,"\u663E\u793A\u5237\u65B0\u6309\u94AE"),n("td",null,[n("code",null,"false")])]),n("tr",null,[n("td",null,"showSkip"),n("td",null,"\u663E\u793A\u8DF3\u8F6C"),n("td",null,[n("code",null,"false")])])])],-1),E=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53C2\u6570")])]),n("tbody",null,[n("tr",null,[n("td",null,"jump"),n("td",null,"\u5207\u6362\u56DE\u8C03"),n("td",null,"{ current: \u5F53\u524D\u9875\u9762 }")])])],-1),T=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u9ED8\u8BA4\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"prev"),n("td",null,"\u4E0A\u4E00\u9875"),n("td",null,"\u4E0A\u4E00\u9875")]),n("tr",null,[n("td",null,"next"),n("td",null,"\u4E0B\u4E00\u9875"),n("td",null,"\u4E0B\u4E00\u9875")])])],-1),H={setup(A,{expose:d}){d({frontmatter:{}});let p=o(20),l=o(100),u=o(!0);p=o(20),l=o(100),p=o(20),l=o(100),p=o(20),l=o(100),u=o(!0),p=o(20),l=o(100);let w=o(!0);u=o(!0);let h=o(!0),f=o(!0),y=o(!0);p=o(20),l=o(100),u=o(!0);let _=function({current:g}){console.log("\u5F53\u524D\u9875:"+g)};return(g,F)=>{const c=r("lay-field"),k=r("lay-page"),i=r("lay-code"),m=r("lay-table-box"),v=r("lay-comment");return b(),x("div",q,[s(c,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:e(()=>[P]),default:e(()=>[s(k,{limit:t(p),total:t(l),"show-page":t(u)},null,8,["limit","total","show-page"])]),_:1}),s(c,{title:"\u7B80\u5355\u6A21\u5F0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:e(()=>[j]),default:e(()=>[s(k,{limit:t(p),total:t(l)},null,8,["limit","total"])]),_:1}),s(c,{title:"\u63D2\u69FD\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:e(()=>[S]),default:e(()=>[s(k,{limit:t(p),total:t(l)},{prev:e(()=>[C]),next:e(()=>[L]),_:1},8,["limit","total"])]),_:1}),s(c,{title:"\u4E0D\u540C\u4E3B\u9898",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:e(()=>[R]),default:e(()=>[s(k,{limit:t(p),total:t(l),"show-page":t(u),theme:"red"},null,8,["limit","total","show-page"]),B,s(k,{limit:t(p),total:t(l),"show-page":t(u),theme:"blue"},null,8,["limit","total","show-page"]),N,s(k,{limit:t(p),total:t(l),"show-page":t(u),theme:"orange"},null,8,["limit","total","show-page"])]),_:1}),s(c,{title:"\u5B8C\u6574\u5206\u9875",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:e(()=>[V]),default:e(()=>[s(k,{limit:t(p),total:t(l),"show-count":t(w),"show-page":t(u),"show-limit":t(h),"show-refresh":t(f),showSkip:"showSkip"},null,8,["limit","total","show-count","show-page","show-limit","show-refresh"])]),_:1}),s(c,{title:"\u5207\u6362\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(i,null,{code:e(()=>[J]),default:e(()=>[s(k,{limit:t(p),total:t(l),onJump:t(_),"show-page":t(y)},null,8,["limit","total","onJump","show-page"])]),_:1}),s(c,{title:"\u5206\u9875\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(m,null,{default:e(()=>[z]),_:1}),s(c,{title:"\u5206\u9875\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(m,null,{default:e(()=>[E]),_:1}),s(c,{title:"\u5206\u9875\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(m,null,{default:e(()=>[T]),_:1}),s(v)])}}};export{H as default};
|
16
example/dist/assets/panel.eef09061.js
vendored
16
example/dist/assets/panel.eef09061.js
vendored
@ -1,16 +0,0 @@
|
||||
import{r as s,o as i,h as r,e as a,d as o,f as n,g as t}from"./vendor.e7911ee1.js";const d={class:"markdown-body"},_=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-panel")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("div")]),t(),n("span",{class:"token special-attr"},[n("span",{class:"token attr-name"},"style"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),n("span",{class:"token value css language-css"},[n("span",{class:"token property"},"padding"),n("span",{class:"token punctuation"},":"),t(" 30px"),n("span",{class:"token punctuation"},";")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),t("\u9762\u677F"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("div")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-panel")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),g=n("div",{style:{padding:"30px"}},"\u9762\u677F",-1),m=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"default"),n("td",null,"\u9ED8\u8BA4\u63D2\u69FD"),n("td",null,"\u2013")])])],-1),b={setup(y,{expose:l}){return l({frontmatter:{}}),(x,h)=>{const e=s("lay-field"),c=s("lay-panel"),p=s("lay-code"),u=s("lay-table-box"),k=s("lay-comment");return i(),r("div",d,[a(e,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(p,null,{code:o(()=>[_]),default:o(()=>[a(c,null,{default:o(()=>[g]),_:1})]),_:1}),a(e,{title:"\u9762\u677F\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{default:o(()=>[m]),_:1}),a(k)])}}};export{b as default};
|
1
example/dist/assets/problem.339533fe.js
vendored
1
example/dist/assets/problem.339533fe.js
vendored
@ -1 +0,0 @@
|
||||
import{r as o,o as r,h as n,e as a}from"./vendor.e7911ee1.js";const s={class:"markdown-body"},d={setup(c,{expose:e}){return e({frontmatter:{}}),(m,p)=>{const t=o("lay-field");return r(),n("div",s,[a(t,{title:"\u5E38\u89C1\u95EE\u9898",style:{"margin-top":"20px","margin-bottom":"20px"}})])}}};export{d as default};
|
81
example/dist/assets/progress.9a16e5f5.js
vendored
81
example/dist/assets/progress.9a16e5f5.js
vendored
@ -1,81 +0,0 @@
|
||||
import{b as g,r as p,o as d,h as m,e as a,d as o,z as u,f as n,g as s}from"./vendor.e7911ee1.js";const y={class:"markdown-body"},_=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("70"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("60"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),h=n("br",null,null,-1),b=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("40"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("big"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("60"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("big"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("green"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("80"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"size"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("big"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("cyan"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),v=n("br",null,null,-1),w=n("br",null,null,-1),x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("60"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("red"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("60"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("orange"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("60"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("green"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("60"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("blue"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("60"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"theme"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("cyan"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),f=n("br",null,null,-1),q=n("br",null,null,-1),z=n("br",null,null,-1),T=n("br",null,null,-1),j=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("80"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},":show-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("showText"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},"/>")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("br")]),n("span",{class:"token punctuation"},"/>")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-progress")]),s(),n("span",{class:"token attr-name"},"percent"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("80"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},":show-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("showText"),n("span",{class:"token punctuation"},'"')]),s(),n("span",{class:"token attr-name"},"text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),s("\u9500\u552E\u91CF"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-progress")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),s(" showText "),n("span",{class:"token operator"},"="),s(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
showText
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),B=n("br",null,null,-1),N=n("br",null,null,-1),V=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"percent"),n("td",null,"\u8FDB\u5EA6"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"theme"),n("td",null,"\u4E3B\u9898"),n("td",null,[n("code",null,"orange"),s(),n("code",null,"green"),s(),n("code",null,"cyan"),s(),n("code",null,"blue"),s(),n("code",null,"black"),s(),n("code",null,"gray")])]),n("tr",null,[n("td",null,"size"),n("td",null,"\u5C3A\u5BF8"),n("td",null,[n("code",null,"big")])]),n("tr",null,[n("td",null,"text"),n("td",null,"\u63D0\u793A"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"color"),n("td",null,"\u989C\u8272"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"showText"),n("td",null,"\u5C55\u793A\u63CF\u8FF0"),n("td",null,"\u2013")])])],-1),G={setup(C,{expose:k}){k({frontmatter:{}});let l=g(!0);return(A,D)=>{const e=p("lay-field"),t=p("lay-progress"),c=p("lay-code"),r=p("lay-table-box"),i=p("lay-comment");return d(),m("div",y,[a(e,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(c,null,{code:o(()=>[_]),default:o(()=>[a(t,{percent:"70"}),h,a(t,{percent:"60"})]),_:1}),a(e,{title:"\u5C3A\u5BF8\u5927\u5C0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(c,null,{code:o(()=>[b]),default:o(()=>[a(t,{percent:"40",size:"big"}),v,a(t,{percent:"60",size:"big",theme:"green"}),w,a(t,{percent:"80",size:"big",theme:"cyan"})]),_:1}),a(e,{title:"\u6307\u5B9A\u4E3B\u9898",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(c,null,{code:o(()=>[x]),default:o(()=>[a(t,{percent:"60",theme:"red"}),f,a(t,{percent:"60",theme:"orange"}),q,a(t,{percent:"60",theme:"green"}),z,a(t,{percent:"60",theme:"blue"}),T,a(t,{percent:"60",theme:"cyan"})]),_:1}),a(e,{title:"\u663E\u793A\u6587\u5B57",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(c,null,{code:o(()=>[j]),default:o(()=>[a(t,{percent:"80","show-text":u(l)},null,8,["show-text"]),B,N,a(t,{percent:"80","show-text":u(l),text:"\u9500\u552E\u91CF"},null,8,["show-text"])]),_:1}),a(e,{title:"\u8FDB\u5EA6\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(r,null,{default:o(()=>[V]),_:1}),a(i)])}}};export{G as default};
|
73
example/dist/assets/radio.9b24610a.js
vendored
73
example/dist/assets/radio.9b24610a.js
vendored
@ -1,73 +0,0 @@
|
||||
import{b as m,r,o as h,h as w,e as s,d as o,z as c,L as i,f as n,g as a}from"./vendor.e7911ee1.js";const x={class:"markdown-body"},U=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u5199\u4F5C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u753B\u753B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u8FD0\u52A8"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" selected1 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"1"'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
selected1
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),C=a("\u5199\u4F5C"),j=a("\u753B\u753B"),B=a("\u8FD0\u52A8"),N=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u5199\u4F5C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u753B\u753B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u8FD0\u52A8"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("disabled"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u7981\u7528"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" disabled "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" selected2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"1"'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
disabled`),n("span",{class:"token punctuation"},","),a(`
|
||||
selected2
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),z=a("\u5199\u4F5C"),E=a("\u753B\u753B"),L=a("\u8FD0\u52A8"),R=a("\u7981\u7528"),T=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected3"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@change"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("change"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u5199\u4F5C"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected3"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@change"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("change"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u753B\u753B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-radio")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("selected3"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"name"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("action"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"label"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("3"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@change"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("change"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\u8FD0\u52A8"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-radio")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-form")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" selected3 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"1"'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"change"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),a(),n("span",{class:"token parameter"},"current"),a(),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u5F53\u524D\u503C:"'),a(),n("span",{class:"token operator"},"+"),a(" current"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
selected3`),n("span",{class:"token punctuation"},","),a(`
|
||||
change
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),A=a("\u5199\u4F5C"),D=a("\u753B\u753B"),F=a("\u8FD0\u52A8"),G=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u9ED8\u8BA4\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"name"),n("td",null,"\u539F\u59CB\u5C5E\u6027 name"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"label"),n("td",null,"\u5F53\u524D\u503C"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"v-model"),n("td",null,"\u9009\u4E2D\u503C"),n("td",null,"\u2013")])])],-1),H=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53C2\u6570")])]),n("tbody",null,[n("tr",null,[n("td",null,"change"),n("td",null,"\u5207\u6362\u4E8B\u4EF6"),n("td",null,"current : \u5F53\u524D\u503C")])])],-1),M={setup(I,{expose:b}){b({frontmatter:{}});let p=m("1"),q=m(!0),l=m("1"),u=m("1"),g=function(v){console.log("\u5F53\u524D\u503C:"+v)};return(v,e)=>{const d=r("lay-field"),k=r("lay-radio"),y=r("lay-form"),f=r("lay-code"),_=r("lay-table-box"),V=r("lay-comment");return h(),w("div",x,[s(d,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{code:o(()=>[U]),default:o(()=>[s(y,null,{default:o(()=>[s(k,{modelValue:c(p),"onUpdate:modelValue":e[0]||(e[0]=t=>i(p)?p.value=t:p=t),name:"action",label:"1"},{default:o(()=>[C]),_:1},8,["modelValue"]),s(k,{modelValue:c(p),"onUpdate:modelValue":e[1]||(e[1]=t=>i(p)?p.value=t:p=t),name:"action",label:"2"},{default:o(()=>[j]),_:1},8,["modelValue"]),s(k,{modelValue:c(p),"onUpdate:modelValue":e[2]||(e[2]=t=>i(p)?p.value=t:p=t),name:"action",label:"3"},{default:o(()=>[B]),_:1},8,["modelValue"])]),_:1})]),_:1}),s(d,{title:"\u7981\u7528\u72B6\u6001",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{code:o(()=>[N]),default:o(()=>[s(y,null,{default:o(()=>[s(k,{modelValue:c(l),"onUpdate:modelValue":e[3]||(e[3]=t=>i(l)?l.value=t:l=t),name:"action",label:"1"},{default:o(()=>[z]),_:1},8,["modelValue"]),s(k,{modelValue:c(l),"onUpdate:modelValue":e[4]||(e[4]=t=>i(l)?l.value=t:l=t),name:"action",label:"2"},{default:o(()=>[E]),_:1},8,["modelValue"]),s(k,{modelValue:c(l),"onUpdate:modelValue":e[5]||(e[5]=t=>i(l)?l.value=t:l=t),name:"action",label:"3"},{default:o(()=>[L]),_:1},8,["modelValue"]),s(k,{modelValue:c(l),"onUpdate:modelValue":e[6]||(e[6]=t=>i(l)?l.value=t:l=t),name:"action",label:"4",disabled:c(q)},{default:o(()=>[R]),_:1},8,["modelValue","disabled"])]),_:1})]),_:1}),s(d,{title:"\u4E8B\u4EF6\u56DE\u8C03",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{code:o(()=>[T]),default:o(()=>[s(y,null,{default:o(()=>[s(k,{modelValue:c(u),"onUpdate:modelValue":e[7]||(e[7]=t=>i(u)?u.value=t:u=t),name:"action",label:"1",onChange:c(g)},{default:o(()=>[A]),_:1},8,["modelValue","onChange"]),s(k,{modelValue:c(u),"onUpdate:modelValue":e[8]||(e[8]=t=>i(u)?u.value=t:u=t),name:"action",label:"2",onChange:c(g)},{default:o(()=>[D]),_:1},8,["modelValue","onChange"]),s(k,{modelValue:c(u),"onUpdate:modelValue":e[9]||(e[9]=t=>i(u)?u.value=t:u=t),name:"action",label:"3",onChange:c(g)},{default:o(()=>[F]),_:1},8,["modelValue","onChange"])]),_:1})]),_:1}),s(d,{title:"\u5355\u9009\u6846\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(_,null,{default:o(()=>[G]),_:1}),s(d,{title:"\u5355\u9009\u6846\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(_,null,{default:o(()=>[H]),_:1}),s(V)])}}};export{M as default};
|
197
example/dist/assets/rate.b62f2f1e.js
vendored
197
example/dist/assets/rate.b62f2f1e.js
vendored
File diff suppressed because one or more lines are too long
71
example/dist/assets/select.c86792f8.js
vendored
71
example/dist/assets/select.c86792f8.js
vendored
File diff suppressed because one or more lines are too long
195
example/dist/assets/setup.eff6b29c.js
vendored
195
example/dist/assets/setup.eff6b29c.js
vendored
@ -1,195 +0,0 @@
|
||||
import {
|
||||
r as t,
|
||||
o as k,
|
||||
h as i,
|
||||
e as a,
|
||||
d as e,
|
||||
f as n,
|
||||
g as s,
|
||||
} from "./vendor.e7911ee1.js";
|
||||
const r = { class: "markdown-body" },
|
||||
g = n(
|
||||
"pre",
|
||||
null,
|
||||
[
|
||||
n("code", { "v-pre": "" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "<"),
|
||||
s("template"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "<"),
|
||||
s("lay-step"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "<"),
|
||||
s("lay-step-item"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "</"),
|
||||
s("lay-step-item"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "<"),
|
||||
s("lay-step-item"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "</"),
|
||||
s("lay-step-item"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "<"),
|
||||
s("lay-step-item"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "</"),
|
||||
s("lay-step-item"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "</"),
|
||||
s("lay-step"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "</"),
|
||||
s("template"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
|
||||
`),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "<"),
|
||||
s("script"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
n("span", { class: "token script" }, [
|
||||
n("span", { class: "token language-javascript" }, [
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token keyword" }, "import"),
|
||||
s(),
|
||||
n("span", { class: "token punctuation" }, "{"),
|
||||
s(" ref "),
|
||||
n("span", { class: "token punctuation" }, "}"),
|
||||
s(),
|
||||
n("span", { class: "token keyword" }, "from"),
|
||||
s(),
|
||||
n("span", { class: "token string" }, "'vue'"),
|
||||
n("span", { class: "token punctuation" }, ";"),
|
||||
s(`
|
||||
|
||||
`),
|
||||
n("span", { class: "token keyword" }, "export"),
|
||||
s(),
|
||||
n("span", { class: "token keyword" }, "default"),
|
||||
s(),
|
||||
n("span", { class: "token punctuation" }, "{"),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token function" }, "setup"),
|
||||
n("span", { class: "token punctuation" }, "("),
|
||||
n("span", { class: "token punctuation" }, ")"),
|
||||
s(),
|
||||
n("span", { class: "token punctuation" }, "{"),
|
||||
s(`
|
||||
|
||||
`),
|
||||
n("span", { class: "token keyword" }, "return"),
|
||||
s(),
|
||||
n("span", { class: "token punctuation" }, "{"),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token punctuation" }, "}"),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token punctuation" }, "}"),
|
||||
s(`
|
||||
`),
|
||||
n("span", { class: "token punctuation" }, "}"),
|
||||
s(`
|
||||
`),
|
||||
]),
|
||||
]),
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token tag" }, [
|
||||
n("span", { class: "token punctuation" }, "</"),
|
||||
s("script"),
|
||||
]),
|
||||
n("span", { class: "token punctuation" }, ">"),
|
||||
]),
|
||||
s(`
|
||||
`),
|
||||
]),
|
||||
],
|
||||
-1
|
||||
),
|
||||
w = {
|
||||
setup(m, { expose: c }) {
|
||||
return (
|
||||
c({ frontmatter: {} }),
|
||||
(d, y) => {
|
||||
const o = t("lay-step-item"),
|
||||
p = t("lay-step"),
|
||||
l = t("lay-code"),
|
||||
u = t("lay-comment");
|
||||
return (
|
||||
k(),
|
||||
i("div", r, [
|
||||
a(l, null, {
|
||||
code: e(() => [g]),
|
||||
default: e(() => [
|
||||
a(p, null, { default: e(() => [a(o), a(o), a(o)]), _: 1 }),
|
||||
]),
|
||||
_: 1,
|
||||
}),
|
||||
a(u),
|
||||
])
|
||||
);
|
||||
}
|
||||
);
|
||||
},
|
||||
};
|
||||
export { w as default };
|
18
example/dist/assets/skeleton.8feac644.js
vendored
18
example/dist/assets/skeleton.8feac644.js
vendored
@ -1,18 +0,0 @@
|
||||
import{r as t,o as u,h as k,e as a,d as o,f as n,g as s}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},i=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("lay-skeleton")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
1
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("lay-skeleton")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("template")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),s("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[s(`
|
||||
`),n("span",{class:"token keyword"},"import"),s(),n("span",{class:"token punctuation"},"{"),s(" ref "),n("span",{class:"token punctuation"},"}"),s(),n("span",{class:"token keyword"},"from"),s(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),s(),n("span",{class:"token keyword"},"default"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),s(),n("span",{class:"token punctuation"},"{"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`),n("span",{class:"token punctuation"},"}"),s(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),s("script")]),n("span",{class:"token punctuation"},">")]),s(`
|
||||
`)])],-1),d=s(" 1 "),w={setup(_,{expose:e}){return e({frontmatter:{}}),(g,y)=>{const c=t("lay-skeleton"),p=t("lay-code"),l=t("lay-comment");return u(),k("div",r,[a(p,null,{code:o(()=>[i]),default:o(()=>[a(c,null,{default:o(()=>[d]),_:1})]),_:1}),a(l)])}}};export{w as default};
|
37
example/dist/assets/slider.c46dd918.js
vendored
37
example/dist/assets/slider.c46dd918.js
vendored
@ -1,37 +0,0 @@
|
||||
import{b as l,r as u,o as f,h as y,e as t,d as p,z as k,L as d,f as n,g as a}from"./vendor.e7911ee1.js";const _={class:"markdown-body"},w=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-slider")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("value1"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("true"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-slider")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" value1 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"50"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
value1
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),b=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-slider")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("value2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":vertical"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("vertical"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("true"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-slider")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" vertical "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" value2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token number"},"10"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
vertical`),n("span",{class:"token punctuation"},","),a(`
|
||||
value2
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B={setup(V,{expose:m}){m({frontmatter:{}});let e=l(50),g=l(!0),o=l(10);return(q,c)=>{const i=u("lay-slider"),r=u("lay-code"),v=u("lay-comment");return f(),y("div",_,[t(r,null,{code:p(()=>[w]),default:p(()=>[t(i,{modelValue:k(e),"onUpdate:modelValue":c[0]||(c[0]=s=>d(e)?e.value=s:e=s),disabled:!0},null,8,["modelValue"])]),_:1}),t(r,null,{code:p(()=>[b]),default:p(()=>[t(i,{modelValue:k(o),"onUpdate:modelValue":c[1]||(c[1]=s=>d(o)?o.value=s:o=s),vertical:k(g),disabled:!0},null,8,["modelValue","vertical"])]),_:1}),t(v)])}}};export{B as default};
|
1
example/dist/assets/sponsor.01dd768a.js
vendored
1
example/dist/assets/sponsor.01dd768a.js
vendored
@ -1 +0,0 @@
|
||||
import{r as o,o as r,h as n,e as a}from"./vendor.e7911ee1.js";const s={class:"markdown-body"},d={setup(c,{expose:e}){return e({frontmatter:{}}),(m,p)=>{const t=o("lay-field");return r(),n("div",s,[a(t,{title:"\u8D5E\u52A9\u6211\u4EEC",style:{"margin-top":"20px","margin-bottom":"20px"}})])}}};export{d as default};
|
79
example/dist/assets/switch.a70ba8ea.js
vendored
79
example/dist/assets/switch.a70ba8ea.js
vendored
@ -1,79 +0,0 @@
|
||||
import{b as p,r as u,o as x,h as V,e as t,d as o,z as c,L as y,f as n,g as a}from"./vendor.e7911ee1.js";const q={class:"markdown-body"},j=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-switch")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("active1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-switch")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" active1 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"false"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
active1
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),C=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-switch")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("active2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@change"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("change"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-switch")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" active2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"change"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),a(),n("span",{class:"token parameter"},"val"),a(),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"\u5F53\u524D\u503C:"'),a(),n("span",{class:"token operator"},"+"),a(" val"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
active2`),n("span",{class:"token punctuation"},","),a(`
|
||||
change
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),U=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-switch")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("active3"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("disabled"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-switch")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" active3 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" disabled "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
active3
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-switch")]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("active4"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"active-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u767D\u5929"),n("span",{class:"token punctuation"},'"')]),a(" "),n("span",{class:"token attr-name"},"inactive-text"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u591C\u95F4"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-switch")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" active4 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
active4
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),N=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"name"),n("td",null,"\u539F\u751F name \u5C5E\u6027"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"v-model"),n("td",null,"\u662F\u5426\u542F\u7528"),n("td",null,[n("code",null,"true"),a(),n("code",null,"false")])]),n("tr",null,[n("td",null,"disabled"),n("td",null,"\u7981\u7528"),n("td",null,[n("code",null,"true"),a(),n("code",null,"false")])]),n("tr",null,[n("td",null,"active-text"),n("td",null,"\u542F\u7528\u63CF\u8FF0"),n("td",null,[n("code",null,"\u542F\u52A8")])]),n("tr",null,[n("td",null,"inactive-text"),n("td",null,"\u7981\u7528\u63CF\u8FF0"),n("td",null,[n("code",null,"\u7981\u7528")])])])],-1),z=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"change"),n("td",null,"\u5207\u6362\u4E8B\u4EF6"),n("td",null,"current : \u5F53\u524D\u503C")])])],-1),T={setup(E,{expose:w}){w({frontmatter:{}});let k=p(!1),i=p(!0),_=function(v){console.log("\u5F53\u524D\u503C:"+v)},r=p(!0),b=p(!0),d=p(!0);return(v,e)=>{const l=u("lay-field"),g=u("lay-switch"),m=u("lay-code"),f=u("lay-table-box"),h=u("lay-comment");return x(),V("div",q,[t(l,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{code:o(()=>[j]),default:o(()=>[t(g,{modelValue:c(k),"onUpdate:modelValue":e[0]||(e[0]=s=>y(k)?k.value=s:k=s)},null,8,["modelValue"])]),_:1}),t(l,{title:"\u4E8B\u4EF6\u56DE\u8C03",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{code:o(()=>[C]),default:o(()=>[t(g,{modelValue:c(i),"onUpdate:modelValue":e[1]||(e[1]=s=>y(i)?i.value=s:i=s),onChange:c(_)},null,8,["modelValue","onChange"])]),_:1}),t(l,{title:"\u7981\u7528\u72B6\u6001",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{code:o(()=>[U]),default:o(()=>[t(g,{modelValue:c(r),"onUpdate:modelValue":e[2]||(e[2]=s=>y(r)?r.value=s:r=s),disabled:c(b)},null,8,["modelValue","disabled"])]),_:1}),t(l,{title:"\u4FEE\u6539\u63CF\u8FF0",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{code:o(()=>[B]),default:o(()=>[t(g,{modelValue:c(d),"onUpdate:modelValue":e[3]||(e[3]=s=>y(d)?d.value=s:d=s),"active-text":"\u767D\u5929","inactive-text":"\u591C\u95F4"},null,8,["modelValue"])]),_:1}),t(l,{title:"\u5F00\u5173\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(f,null,{default:o(()=>[N]),_:1}),t(l,{title:"\u5F00\u5173\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(f,null,{default:o(()=>[z]),_:1}),t(h)])}}};export{T as default};
|
171
example/dist/assets/tab.56fd284f.js
vendored
171
example/dist/assets/tab.56fd284f.js
vendored
File diff suppressed because one or more lines are too long
241
example/dist/assets/table.72bd1e01.js
vendored
241
example/dist/assets/table.72bd1e01.js
vendored
File diff suppressed because one or more lines are too long
61
example/dist/assets/textarea.4ee5b162.js
vendored
61
example/dist/assets/textarea.4ee5b162.js
vendored
@ -1,61 +0,0 @@
|
||||
import{b as r,r as p,o as w,h,e as t,d as o,z as c,L as g,f as n,g as a}from"./vendor.e7911ee1.js";const V={class:"markdown-body"},q=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-textarea")]),a(),n("span",{class:"token attr-name"},"placeholder"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u8BF7\u8F93\u5165\u63CF\u8FF0"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-textarea")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data1 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'""'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
data1
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),j=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-textarea")]),a(),n("span",{class:"token attr-name"},"placeholder"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("Input \u4E8B\u4EF6"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data2"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"@input"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("input"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-textarea")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data2 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'""'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(),n("span",{class:"token function-variable function"},"input"),a(),n("span",{class:"token operator"},"="),a(),n("span",{class:"token keyword"},"function"),n("span",{class:"token punctuation"},"("),a(),n("span",{class:"token parameter"},"val"),a(),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),a("val"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
data2`),n("span",{class:"token punctuation"},","),a(`
|
||||
input
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),I=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-textarea")]),a(),n("span",{class:"token attr-name"},"placeholder"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("\u7981\u6B62\u8F93\u5165"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("data3"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("disabled"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-textarea")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),a(" data3 "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'""'),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),a(`
|
||||
`),n("span",{class:"token keyword"},"const"),a(" disabled "),n("span",{class:"token operator"},"="),a(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),a(`
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
data3`),n("span",{class:"token punctuation"},","),a(`
|
||||
disabled
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),B=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"name"),n("td",null,"\u539F\u59CB\u5C5E\u6027 name"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"placeholder"),n("td",null,"\u63D0\u793A\u4FE1\u606F"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"disabled"),n("td",null,"\u7981\u7528"),n("td",null,[n("code",null,"true"),a(),n("code",null,"false")])]),n("tr",null,[n("td",null,"v-model"),n("td",null,"\u503C"),n("td",null,"\u2013")])])],-1),N=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,"input"),n("td",null,"\u539F\u751F input \u4E8B\u4EF6"),n("td",null,"event : \u4E8B\u4EF6\u5BF9\u8C61")]),n("tr",null,[n("td",null,"foucs"),n("td",null,"\u539F\u751F foucs \u4E8B\u4EF6"),n("td",null,"event : \u4E8B\u4EF6\u5BF9\u8C61")]),n("tr",null,[n("td",null,"blur"),n("td",null,"\u539F\u751F blur \u4E8B\u4EF6"),n("td",null,"\u2013")])])],-1),E={setup(U,{expose:_}){_({frontmatter:{}});let u=r(""),k=r(""),v=function(y){console.log(y)},i=r(""),b=r(!0);return(y,e)=>{const l=p("lay-field"),d=p("lay-textarea"),m=p("lay-code"),f=p("lay-table-box"),x=p("lay-comment");return w(),h("div",V,[t(l,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{code:o(()=>[q]),default:o(()=>[t(d,{placeholder:"\u8BF7\u8F93\u5165\u63CF\u8FF0",modelValue:c(u),"onUpdate:modelValue":e[0]||(e[0]=s=>g(u)?u.value=s:u=s)},null,8,["modelValue"])]),_:1}),t(l,{title:"\u4E8B\u4EF6\u56DE\u8C03",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{code:o(()=>[j]),default:o(()=>[t(d,{placeholder:"Input \u4E8B\u4EF6",modelValue:c(k),"onUpdate:modelValue":e[1]||(e[1]=s=>g(k)?k.value=s:k=s),onInput:c(v)},null,8,["modelValue","onInput"])]),_:1}),t(l,{title:"\u7981\u6B62\u8F93\u5165",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(m,null,{code:o(()=>[I]),default:o(()=>[t(d,{placeholder:"\u7981\u6B62\u8F93\u5165",modelValue:c(i),"onUpdate:modelValue":e[2]||(e[2]=s=>g(i)?i.value=s:i=s),disabled:c(b)},null,8,["modelValue","disabled"])]),_:1}),t(l,{title:"\u6587\u672C\u57DF\u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(f,null,{default:o(()=>[B]),_:1}),t(l,{title:"\u6587\u672C\u57DF\u4E8B\u4EF6",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(f,null,{default:o(()=>[N]),_:1}),t(x)])}}};export{E as default};
|
1
example/dist/assets/theme.9258d66a.js
vendored
1
example/dist/assets/theme.9258d66a.js
vendored
@ -1 +0,0 @@
|
||||
import{r as o,o as r,h as n,e as a}from"./vendor.e7911ee1.js";const s={class:"markdown-body"},d={setup(c,{expose:e}){return e({frontmatter:{}}),(m,p)=>{const t=o("lay-field");return r(),n("div",s,[a(t,{title:"\u5B9A\u4E49\u4E3B\u9898",style:{"margin-top":"20px","margin-bottom":"20px"}})])}}};export{d as default};
|
59
example/dist/assets/timeline.11bb73c2.js
vendored
59
example/dist/assets/timeline.11bb73c2.js
vendored
@ -1,59 +0,0 @@
|
||||
import{r as e,o as g,h as r,e as t,d as s,f as n,g as a}from"./vendor.e7911ee1.js";const m={class:"markdown-body"},y=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("8\u670818\u65E5"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
layui 2.0 \u7684\u4E00\u5207\u51C6\u5907\u5DE5\u4F5C\u4F3C\u4E4E\u90FD\u5DF2\u5230\u4F4D\u3002\u53D1\u5E03\u4E4B\u5F26\uFF0C\u4E00\u89E6\u5373\u53D1\u3002
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},">")]),a(`\u4E0D\u6789\u8FD1\u767E\u4E2A\u65E5\u65E5\u591C\u591C\u4E0E\u4E4B\u4E3A\u4F34\u3002\u56E0\u5C0F\u800C\u5927\uFF0C\u56E0\u5F31\u800C\u5F3A\u3002
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},">")]),a("\u65E0\u8BBA\u5B83\u80FD\u8D70\u591A\u8FDC\uFF0C\u6291\u6216\u5982\u4F55\u652F\u6491\uFF1F\u81F3\u5C11\u6211\u66FE\u503E\u6CE8\u5168\u5FC3\uFF0C\u65E0\u6028\u65E0\u6094 "),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("i")]),a(),n("span",{class:"token attr-name"},"class"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("layui-icon"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a("\uE650"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("i")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("8\u670816\u65E5"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a("\u675C\u752B\u7684\u601D\u60F3\u6838\u5FC3\u662F\u5112\u5BB6\u7684\u4EC1\u653F\u601D\u60F3\uFF0C\u4ED6\u6709"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("em")]),n("span",{class:"token punctuation"},">")]),a("\u201C\u81F4\u541B\u5C27\u821C\u4E0A\uFF0C\u518D\u4F7F\u98CE\u4FD7\u6DF3\u201D"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("em")]),n("span",{class:"token punctuation"},">")]),a("\u7684\u5B8F\u4F1F\u62B1\u8D1F\u3002"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("\u300A\u767B\u9AD8\u300B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("li")]),n("span",{class:"token punctuation"},">")]),a("\u300A\u8305\u5C4B\u4E3A\u79CB\u98CE\u6240\u7834\u6B4C\u300B"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("li")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("ul")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("8\u670815\u65E5"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
\u4E2D\u56FD\u4EBA\u6C11\u6297\u65E5\u6218\u4E89\u80DC\u5229\u65E5
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},">")]),a(`\u94ED\u8BB0\u3001\u611F\u6069
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},">")]),a(`\u6240\u6709\u4E3A\u4E2D\u534E\u6C11\u65CF\u6D74\u8840\u594B\u6218\u7684\u82F1\u96C4\u5C06\u58EB
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("br")]),n("span",{class:"token punctuation"},">")]),a(`\u6C38\u5782\u4E0D\u673D
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("p")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),d=n("p",null,[a(" layui 2.0 \u7684\u4E00\u5207\u51C6\u5907\u5DE5\u4F5C\u4F3C\u4E4E\u90FD\u5DF2\u5230\u4F4D\u3002\u53D1\u5E03\u4E4B\u5F26\uFF0C\u4E00\u89E6\u5373\u53D1\u3002 "),n("br"),a("\u4E0D\u6789\u8FD1\u767E\u4E2A\u65E5\u65E5\u591C\u591C\u4E0E\u4E4B\u4E3A\u4F34\u3002\u56E0\u5C0F\u800C\u5927\uFF0C\u56E0\u5F31\u800C\u5F3A\u3002 "),n("br"),a("\u65E0\u8BBA\u5B83\u80FD\u8D70\u591A\u8FDC\uFF0C\u6291\u6216\u5982\u4F55\u652F\u6491\uFF1F\u81F3\u5C11\u6211\u66FE\u503E\u6CE8\u5168\u5FC3\uFF0C\u65E0\u6028\u65E0\u6094 "),n("i",{class:"layui-icon"},"\uE650")],-1),_=n("p",null,[a("\u675C\u752B\u7684\u601D\u60F3\u6838\u5FC3\u662F\u5112\u5BB6\u7684\u4EC1\u653F\u601D\u60F3\uFF0C\u4ED6\u6709"),n("em",null,"\u201C\u81F4\u541B\u5C27\u821C\u4E0A\uFF0C\u518D\u4F7F\u98CE\u4FD7\u6DF3\u201D"),a("\u7684\u5B8F\u4F1F\u62B1\u8D1F\u3002")],-1),f=n("ul",null,[n("li",null,"\u300A\u767B\u9AD8\u300B"),n("li",null,"\u300A\u8305\u5C4B\u4E3A\u79CB\u98CE\u6240\u7834\u6B4C\u300B")],-1),b=n("p",null,[a(" \u4E2D\u56FD\u4EBA\u6C11\u6297\u65E5\u6218\u4E89\u80DC\u5229\u65E5 "),n("br"),a("\u94ED\u8BB0\u3001\u611F\u6069 "),n("br"),a("\u6240\u6709\u4E3A\u4E2D\u534E\u6C11\u65CF\u6D74\u8840\u594B\u6218\u7684\u82F1\u96C4\u5C06\u58EB "),n("br"),a("\u6C38\u5782\u4E0D\u673D ")],-1),v=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2021\u5E74\uFF0Clayui vue \u91CC\u7A0B\u7891\u7248\u672C 1.0 \u53D1\u5E03"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"simple"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2017\u5E74\uFF0Clayui \u91CC\u7A0B\u7891\u7248\u672C 2.0 \u53D1\u5E03"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"simple"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2016\u5E74\uFF0Clayui \u9996\u4E2A\u7248\u672C\u53D1\u5E03"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"simple"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("lay-timeline-item")]),a(),n("span",{class:"token attr-name"},"title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),a("2015\u5E74\uFF0Clayui \u5B75\u5316"),n("span",{class:"token punctuation"},'"')]),a(),n("span",{class:"token attr-name"},"simple"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline-item")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("lay-timeline")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("template")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),a("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[a(`
|
||||
`),n("span",{class:"token keyword"},"import"),a(),n("span",{class:"token punctuation"},"{"),a(" ref "),n("span",{class:"token punctuation"},"}"),a(),n("span",{class:"token keyword"},"from"),a(),n("span",{class:"token string"},"'vue'"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),a(),n("span",{class:"token keyword"},"default"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),a(),n("span",{class:"token punctuation"},"{"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`),n("span",{class:"token punctuation"},"}"),a(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),a("script")]),n("span",{class:"token punctuation"},">")]),a(`
|
||||
`)])],-1),h=n("table",null,[n("thead",null,[n("tr",null,[n("th"),n("th"),n("th")])]),n("tbody",null,[n("tr",null,[n("td",null,"simple"),n("td",null,"\u7B80\u5355\u6A21\u5F0F"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"title"),n("td",null,"\u6807\u9898"),n("td",null,"\u2013")])])],-1),N={setup(x,{expose:u}){return u({frontmatter:{}}),(q,j)=>{const l=e("lay-field"),o=e("lay-timeline-item"),p=e("lay-timeline"),c=e("lay-code"),i=e("lay-table-box"),k=e("lay-comment");return g(),r("div",m,[t(l,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(c,null,{code:s(()=>[y]),default:s(()=>[t(p,null,{default:s(()=>[t(o,{title:"8\u670818\u65E5"},{default:s(()=>[d]),_:1}),t(o,{title:"8\u670816\u65E5"},{default:s(()=>[_,f]),_:1}),t(o,{title:"8\u670815\u65E5"},{default:s(()=>[b]),_:1})]),_:1})]),_:1}),t(l,{title:"\u7B80\u5355\u6A21\u5F0F",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(c,null,{code:s(()=>[v]),default:s(()=>[t(p,null,{default:s(()=>[t(o,{title:"2021\u5E74\uFF0Clayui vue \u91CC\u7A0B\u7891\u7248\u672C 1.0 \u53D1\u5E03",simple:""}),t(o,{title:"2017\u5E74\uFF0Clayui \u91CC\u7A0B\u7891\u7248\u672C 2.0 \u53D1\u5E03",simple:""}),t(o,{title:"2016\u5E74\uFF0Clayui \u9996\u4E2A\u7248\u672C\u53D1\u5E03",simple:""}),t(o,{title:"2015\u5E74\uFF0Clayui \u5B75\u5316",simple:""})]),_:1})]),_:1}),t(l,{title:"timeline-item attributes",style:{"margin-top":"20px","margin-bottom":"20px"}}),t(i,null,{default:s(()=>[h]),_:1}),t(k)])}}};export{N as default};
|
85
example/dist/assets/tooltip.0777d40d.js
vendored
85
example/dist/assets/tooltip.0777d40d.js
vendored
File diff suppressed because one or more lines are too long
62
example/dist/assets/transfer.49fe95c0.js
vendored
62
example/dist/assets/transfer.49fe95c0.js
vendored
@ -1,62 +0,0 @@
|
||||
import{r as e,o as y,h as _,e as a,d as s,z as c,g as t,t as f,f as n}from"./vendor.e7911ee1.js";const S={class:"markdown-body"},w=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-transfer")]),t(),n("span",{class:"token attr-name"},":dataSource"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dataSource1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-transfer")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),t(" dataSource1 "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t("id"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'1'"),n("span",{class:"token punctuation"},","),t(" title"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u6613\u5927\u5E08'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),n("span",{class:"token punctuation"},"{"),t("id"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'2'"),n("span",{class:"token punctuation"},","),t(" title"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u6218\u4E89\u4E4B\u738B'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
dataSource1
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),x=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-transfer")]),t(),n("span",{class:"token attr-name"},":dataSource"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dataSource2"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":title"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("title"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-transfer")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),t(" dataSource2 "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t("id"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'1'"),n("span",{class:"token punctuation"},","),t(" title"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u6613\u5927\u5E08'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),n("span",{class:"token punctuation"},"{"),t("id"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'2'"),n("span",{class:"token punctuation"},","),t(" title"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u6218\u4E89\u4E4B\u738B'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" title "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token string"},"'\u6211\u559C\u6B22\u7684'"),n("span",{class:"token punctuation"},","),n("span",{class:"token string"},"'\u6211\u4E0D\u559C\u6B22\u7684'"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
dataSource2`),n("span",{class:"token punctuation"},","),t(`
|
||||
title
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),v=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-transfer")]),t(),n("span",{class:"token attr-name"},":dataSource"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("dataSource1"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),t(),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-slot:"),t("item")]),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("{ data }"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
{{data.id}}
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-transfer")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),t(" dataSource1 "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t("id"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'1'"),n("span",{class:"token punctuation"},","),t(" title"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u6613\u5927\u5E08'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),n("span",{class:"token punctuation"},"{"),t("id"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'2'"),n("span",{class:"token punctuation"},","),t(" title"),n("span",{class:"token operator"},":"),n("span",{class:"token string"},"'\u6218\u4E89\u4E4B\u738B'"),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
dataSource1
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),h=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Values")])]),n("tbody",null,[n("tr",null,[n("td",null,"dataSource"),n("td",null,"\u6570\u636E\u6765\u6E90"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"title"),n("td",null,"\u6807\u9898"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"id"),n("td",null,"\u4E3B\u952E"),n("td",null,"\u2013")])])],-1),b=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Values")])]),n("tbody",null,[n("tr",null,[n("td",null,"item"),n("td",null,"\u5217\u8868\u9879"),n("td",null,"{ data }")])])],-1),D={setup(q,{expose:i}){i({frontmatter:{}});let p=[{id:"1",title:"\u6613\u5927\u5E08"},{id:"2",title:"\u6218\u4E89\u4E4B\u738B"}],r=[{id:"1",title:"\u6613\u5927\u5E08"},{id:"2",title:"\u6218\u4E89\u4E4B\u738B"}],d=["\u6211\u559C\u6B22\u7684","\u6211\u4E0D\u559C\u6B22\u7684"];return p=[{id:"1",title:"\u6613\u5927\u5E08"},{id:"2",title:"\u6218\u4E89\u4E4B\u738B"}],(V,j)=>{const o=e("lay-field"),l=e("lay-transfer"),u=e("lay-code"),k=e("lay-table-box"),g=e("lay-comment");return y(),_("div",S,[a(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{code:s(()=>[w]),default:s(()=>[a(l,{dataSource:c(p)},null,8,["dataSource"])]),_:1}),a(o,{title:"\u6307\u5B9A\u6807\u9898",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{code:s(()=>[x]),default:s(()=>[a(l,{dataSource:c(r),title:c(d)},null,8,["dataSource","title"])]),_:1}),a(o,{title:"\u4F7F\u7528\u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(u,null,{code:s(()=>[v]),default:s(()=>[a(l,{dataSource:c(p)},{item:s(({data:m})=>[t(f(m.id),1)]),_:1},8,["dataSource"])]),_:1}),a(o,{title:"transfer \u5C5E\u6027",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(k,null,{default:s(()=>[h]),_:1}),a(o,{title:"transfer \u63D2\u69FD",style:{"margin-top":"20px","margin-bottom":"20px"}}),a(k,null,{default:s(()=>[b]),_:1}),a(g)])}}};export{D as default};
|
213
example/dist/assets/tree.a0237497.js
vendored
213
example/dist/assets/tree.a0237497.js
vendored
@ -1,213 +0,0 @@
|
||||
import{b as l,r as p,o as N,h as q,e as s,d as r,z as o,L as d,f as n,t as y,g as t}from"./vendor.e7911ee1.js";const L={class:"markdown-body"},D=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tree")]),t(`
|
||||
`),n("span",{class:"token attr-name"},":data"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("data"),n("span",{class:"token punctuation"},'"')]),t(`
|
||||
`),n("span",{class:"token attr-name"},":onlyIconControl"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("iconCtrl"),n("span",{class:"token punctuation"},'"')]),t(`
|
||||
`),n("span",{class:"token attr-name"},":showLine"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("showLine"),n("span",{class:"token punctuation"},'"')]),t(`
|
||||
`),n("span",{class:"token attr-name"},":showCheckbox"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("showCheckbox"),n("span",{class:"token punctuation"},'"')]),t(`
|
||||
`),n("span",{class:"token attr-name"},[n("span",{class:"token namespace"},"v-model:"),t("checkedKeys")]),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("checkedKeys"),n("span",{class:"token punctuation"},'"')]),t(`
|
||||
`),n("span",{class:"token attr-name"},"@node-click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("handleClick"),n("span",{class:"token punctuation"},'"')]),t(`
|
||||
`),n("span",{class:"token attr-name"},":disabled"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("disabled"),n("span",{class:"token punctuation"},'"')]),t(`
|
||||
`),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-tree")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
\u662F\u5426\u53EF\u5F00\u542F\u9009\u62E9\u6846\uFF1A
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-switch")]),t(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("showCheckbox"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-switch")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
checkedKeys\uFF1A
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("pre")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
{{ checkedKeys }}
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("pre")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
\u53EA\u80FD\u901A\u8FC7\u8282\u70B9\u5DE6\u4FA7\u56FE\u6807\u6765\u5C55\u5F00\u6536\u7F29\uFF1A
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-switch")]),t(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("iconCtrl"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-switch")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
\u662F\u5426\u5F00\u542F\u8FDE\u63A5\u7EBF\uFF1A
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-switch")]),t(),n("span",{class:"token attr-name"},"v-model"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("showLine"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-switch")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
\u5F53\u524D\u70B9\u51FB\u7684\u8282\u70B9\uFF1A
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("pre")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
{{ clickNode }}
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("pre")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("br")]),n("span",{class:"token punctuation"},"/>")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),t(),n("span",{class:"token attr-name"},"setup"),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),n("span",{class:"token punctuation"},";"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),t(" data "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E00\u7EA71'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"1"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'name1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
checked`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},","),t(`
|
||||
spread`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E8C\u7EA71-1 \u53EF\u5141\u8BB8\u8DF3\u8F6C'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"3"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'name11'"),n("span",{class:"token punctuation"},","),t(`
|
||||
href`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'https://www.layui.com/'"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA71-1-3'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"23"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u56DB\u7EA71-1-3-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"24"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E94\u7EA71-1-3-1-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"30"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E94\u7EA71-1-3-1-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"31"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA71-1-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"7"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u56DB\u7EA71-1-1-1 \u53EF\u5141\u8BB8\u8DF3\u8F6C'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"15"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
href`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'https://www.layui.com/doc/'"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA71-1-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"8"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u56DB\u7EA71-1-2-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"32"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E8C\u7EA71-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"4"),n("span",{class:"token punctuation"},","),t(`
|
||||
spread`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA71-2-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"9"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
disabled`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA71-2-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"10"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E8C\u7EA71-3'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"20"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA71-3-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"21"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA71-3-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"22"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E00\u7EA72'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"2"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
spread`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E8C\u7EA72-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"5"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
spread`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA72-1-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"11"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA72-1-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"12"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E8C\u7EA72-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"6"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA72-2-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"13"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA72-2-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"14"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
disabled`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E00\u7EA73'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"16"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E8C\u7EA73-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"17"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
fixed`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA73-1-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"18"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA73-1-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"19"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E8C\u7EA73-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"27"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),n("span",{class:"token punctuation"},","),t(`
|
||||
children`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token punctuation"},"["),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA73-2-1'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"28"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"{"),t(`
|
||||
title`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"'\u4E09\u7EA73-2-2'"),n("span",{class:"token punctuation"},","),t(`
|
||||
id`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"29"),n("span",{class:"token punctuation"},","),t(`
|
||||
field`),n("span",{class:"token operator"},":"),t(),n("span",{class:"token string"},"''"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"const"),t(" iconCtrl "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"false"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" showLine "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" clickNode "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token keyword"},"null"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" showCheckbox "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" checkedKeys "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"["),n("span",{class:"token number"},"1"),n("span",{class:"token punctuation"},"]"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" disabled "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"ref"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"false"),n("span",{class:"token punctuation"},")"),n("span",{class:"token punctuation"},";"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"function"),t(),n("span",{class:"token function"},"handleClick"),n("span",{class:"token punctuation"},"("),n("span",{class:"token parameter"},"node"),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
clickNode`),n("span",{class:"token punctuation"},"."),t("value "),n("span",{class:"token operator"},"="),t(` node
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])],-1),I=n("br",null,null,-1),T=t(" \u662F\u5426\u53EF\u5F00\u542F\u9009\u62E9\u6846\uFF1A "),U=n("br",null,null,-1),A=n("br",null,null,-1),B=t(" checkedKeys\uFF1A "),j=t(" \u53EA\u80FD\u901A\u8FC7\u8282\u70B9\u5DE6\u4FA7\u56FE\u6807\u6765\u5C55\u5F00\u6536\u7F29\uFF1A "),z=n("br",null,null,-1),E=n("br",null,null,-1),P=t(" \u662F\u5426\u5F00\u542F\u8FDE\u63A5\u7EBF\uFF1A "),R=n("br",null,null,-1),S=n("br",null,null,-1),F=t(" \u5F53\u524D\u70B9\u51FB\u7684\u8282\u70B9\uFF1A "),G=n("br",null,null,-1),H=n("br",null,null,-1),J=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Values")])]),n("tbody",null,[n("tr",null,[n("td",null,"data"),n("td",null,"\u6811\u578B\u7EC4\u4EF6\u6570\u636E,\u7C7B\u578B TreeData | TreeData[]"),n("td",null,"null")]),n("tr",null,[n("td",null,"showCheckbox"),n("td",null,"\u662F\u5426\u663E\u793A\u590D\u9009\u6846"),n("td",null,"false")]),n("tr",null,[n("td",null,"onlyIconControl"),n("td",null,"\u662F\u5426\u4EC5\u5141\u8BB8\u8282\u70B9\u5DE6\u4FA7\u56FE\u6807\u63A7\u5236\u5C55\u5F00\u6536\u7F29"),n("td",null,"false")]),n("tr",null,[n("td",null,"showLine"),n("td",null,"\u662F\u5426\u5F00\u542F\u8FDE\u63A5\u7EBF"),n("td",null,"true")]),n("tr",null,[n("td",null,"checkedKeys(v-model:checkedKeys)"),n("td",null,"\u5F00\u542F showCheckbox \u540E, \u9009\u4E2D\u7684\u8282\u70B9"),n("td",null,"[]")])])],-1),M=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Values")])]),n("tbody",null,[n("tr",null,[n("td",null,"id"),n("td",null,"\u552F\u4E00\u503C"),n("td",null,"-")]),n("tr",null,[n("td",null,"title"),n("td",null,"\u8282\u70B9\u540D\u79F0"),n("td",null,"-")]),n("tr",null,[n("td",null,"children"),n("td",null,"\u5B50\u8282\u70B9"),n("td",null,"[]")]),n("tr",null,[n("td",null,"disabled"),n("td",null,"\u8BE5\u8282\u70B9\u662F\u5426\u7981\u7528"),n("td",null,"false")]),n("tr",null,[n("td",null,"spread"),n("td",null,"\u8BE5\u8282\u70B9\u662F\u5426\u5C55\u5F00"),n("td",null,"false")])])],-1),O=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"Name"),n("th",null,"Description"),n("th",null,"Accepted Params")])]),n("tbody",null,[n("tr",null,[n("td",null,"node-click"),n("td",null,"\u8282\u70B9 click \u4E8B\u4EF6"),n("td",null,"\u2013")])])],-1),Y={setup(Q,{expose:_}){_({frontmatter:{}});let w=l([{title:"\u4E00\u7EA71",id:1,field:"name1",checked:!0,spread:!0,children:[{title:"\u4E8C\u7EA71-1 \u53EF\u5141\u8BB8\u8DF3\u8F6C",id:3,field:"name11",href:"https://www.layui.com/",children:[{title:"\u4E09\u7EA71-1-3",id:23,field:"",children:[{title:"\u56DB\u7EA71-1-3-1",id:24,field:"",children:[{title:"\u4E94\u7EA71-1-3-1-1",id:30,field:""},{title:"\u4E94\u7EA71-1-3-1-2",id:31,field:""}]}]},{title:"\u4E09\u7EA71-1-1",id:7,field:"",children:[{title:"\u56DB\u7EA71-1-1-1 \u53EF\u5141\u8BB8\u8DF3\u8F6C",id:15,field:"",href:"https://www.layui.com/doc/"}]},{title:"\u4E09\u7EA71-1-2",id:8,field:"",children:[{title:"\u56DB\u7EA71-1-2-1",id:32,field:""}]}]},{title:"\u4E8C\u7EA71-2",id:4,spread:!0,children:[{title:"\u4E09\u7EA71-2-1",id:9,field:"",disabled:!0},{title:"\u4E09\u7EA71-2-2",id:10,field:""}]},{title:"\u4E8C\u7EA71-3",id:20,field:"",children:[{title:"\u4E09\u7EA71-3-1",id:21,field:""},{title:"\u4E09\u7EA71-3-2",id:22,field:""}]}]},{title:"\u4E00\u7EA72",id:2,field:"",spread:!0,children:[{title:"\u4E8C\u7EA72-1",id:5,field:"",spread:!0,children:[{title:"\u4E09\u7EA72-1-1",id:11,field:""},{title:"\u4E09\u7EA72-1-2",id:12,field:""}]},{title:"\u4E8C\u7EA72-2",id:6,field:"",children:[{title:"\u4E09\u7EA72-2-1",id:13,field:""},{title:"\u4E09\u7EA72-2-2",id:14,field:"",disabled:!0}]}]},{title:"\u4E00\u7EA73",id:16,field:"",children:[{title:"\u4E8C\u7EA73-1",id:17,field:"",fixed:!0,children:[{title:"\u4E09\u7EA73-1-1",id:18,field:""},{title:"\u4E09\u7EA73-1-2",id:19,field:""}]},{title:"\u4E8C\u7EA73-2",id:27,field:"",children:[{title:"\u4E09\u7EA73-2-1",id:28,field:""},{title:"\u4E09\u7EA73-2-2",id:29,field:""}]}]}]),c=l(!1),u=l(!0),m=l(null),i=l(!0),k=l([1]),v=l(!1);function x(b){m.value=b}return(b,e)=>{const C=p("lay-tree"),g=p("lay-switch"),V=p("lay-code"),h=p("lay-field"),f=p("lay-table-box"),K=p("lay-comment");return N(),q("div",L,[s(V,null,{code:r(()=>[D]),default:r(()=>[s(C,{data:o(w),onlyIconControl:o(c),showLine:o(u),showCheckbox:o(i),checkedKeys:o(k),"onUpdate:checkedKeys":e[0]||(e[0]=a=>d(k)?k.value=a:k=a),onNodeClick:x,disabled:o(v)},null,8,["data","onlyIconControl","showLine","showCheckbox","checkedKeys","disabled"]),I,T,U,s(g,{modelValue:o(i),"onUpdate:modelValue":e[1]||(e[1]=a=>d(i)?i.value=a:i=a)},null,8,["modelValue"]),A,B,n("pre",null," "+y(o(k))+`
|
||||
`,1),j,z,s(g,{modelValue:o(c),"onUpdate:modelValue":e[2]||(e[2]=a=>d(c)?c.value=a:c=a)},null,8,["modelValue"]),E,P,R,s(g,{modelValue:o(u),"onUpdate:modelValue":e[3]||(e[3]=a=>d(u)?u.value=a:u=a)},null,8,["modelValue"]),S,F,G,n("pre",null," "+y(o(m))+`
|
||||
`,1),H]),_:1}),s(h,{title:"tree attributes",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{default:r(()=>[J]),_:1}),s(h,{title:"TreeData",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{default:r(()=>[M]),_:1}),s(h,{title:"tree events",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(f,null,{default:r(()=>[O]),_:1}),s(K)])}}};export{Y as default};
|
14
example/dist/assets/useBoolean.3fdda603.js
vendored
14
example/dist/assets/useBoolean.3fdda603.js
vendored
@ -1,14 +0,0 @@
|
||||
import{r as a,o as u,h as r,e as s,d as e,g as t,f as n}from"./vendor.e7911ee1.js";const k={class:"markdown-body"},i=t("\u4F7F \u7528 useBoolean \u521B \u5EFA \u5E03 \u5C14 \u7C7B \u578B \u7684 Ref \u54CD \u5E94 \u53D8 \u91CF"),d=n("div",{class:"language-vue"},[n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" useBoolean "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'@layui/hooks-vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(),n("span",{class:"token punctuation"},"{"),t(" setTrue"),n("span",{class:"token punctuation"},","),t(" setFalse "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"useBoolean"),n("span",{class:"token punctuation"},"("),n("span",{class:"token boolean"},"true"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
setTrue`),n("span",{class:"token punctuation"},","),t(`
|
||||
setFalse
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])])],-1),_=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5907\u6CE8"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u7C7B\u578B")])]),n("tbody",null,[n("tr",null,[n("td",null,"setTrue"),n("td",null,"\u8BBE\u7F6E\u503C\u4E3A true"),n("td",null,"\u2013")]),n("tr",null,[n("td",null,"setFalse"),n("td",null,"\u8BBE\u7F6E\u503C\u4E3A false"),n("td",null,"\u2013")])])],-1),x={setup(m,{expose:l}){return l({frontmatter:{}}),(f,g)=>{const o=a("lay-field"),c=a("lay-block"),p=a("lay-table-box");return u(),r("div",k,[s(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,{style:{"margin-left":"8px","margin-bottom":"40px"}},{default:e(()=>[i]),_:1}),d,s(o,{title:"\u4F7F\u7528\u5907\u6CE8",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,null,{default:e(()=>[_]),_:1})])}}};export{x as default};
|
24
example/dist/assets/useClickOutside.93926077.js
vendored
24
example/dist/assets/useClickOutside.93926077.js
vendored
@ -1,24 +0,0 @@
|
||||
import{r as a,o as u,h as k,e as s,d as e,g as t,f as n}from"./vendor.e7911ee1.js";const i={class:"markdown-body"},r=t("\u4F7F \u7528 useClickOutside \u76D1 \u542C \u5143 \u7D20 \u5916 click \u4E8B \u4EF6"),d=n("div",{class:"language-vue"},[n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token attr-name"},"type"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("primary"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"ref"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("buttonRef"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u5F53\u524D\u5143\u7D20"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref"),n("span",{class:"token punctuation"},","),t(" watch "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" useClickOutside "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'@layui/hooks-vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" buttonRef "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token punctuation"},"("),t("ref "),n("span",{class:"token operator"},"<"),t(),n("span",{class:"token keyword"},"null"),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token operator"},"|"),t(),n("span",{class:"token punctuation"},"("),t("HTMLElement "),n("span",{class:"token operator"},">"),t(),n("span",{class:"token keyword"},"null"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" isClickOutside "),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"useClickOutside"),n("span",{class:"token punctuation"},"("),t("buttonRef"),n("span",{class:"token punctuation"},")"),t(`
|
||||
|
||||
`),n("span",{class:"token function"},"watch"),n("span",{class:"token punctuation"},"("),t("isClickOutside"),n("span",{class:"token punctuation"},","),t(),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token operator"},"=>"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},"'\u5143\u7D20\u5916 click \u4E8B\u4EF6'"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
buttonRef`),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])])],-1),m=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5907\u6CE8"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u7C7B\u578B")])]),n("tbody",null,[n("tr",null,[n("td",null,"isClickOutside"),n("td",null,"\u4F7F\u7528 watch \u76D1\u542C"),n("td",null,"Ref")])])],-1),w={setup(g,{expose:c}){return c({frontmatter:{}}),(f,_)=>{const o=a("lay-field"),p=a("lay-block"),l=a("lay-table-box");return u(),k("div",i,[s(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,{style:{"margin-left":"8px","margin-bottom":"40px"}},{default:e(()=>[r]),_:1}),d,s(o,{title:"\u4F7F\u7528\u5907\u6CE8",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{default:e(()=>[m]),_:1})])}}};export{w as default};
|
23
example/dist/assets/useFullScreen.6a71027a.js
vendored
23
example/dist/assets/useFullScreen.6a71027a.js
vendored
@ -1,23 +0,0 @@
|
||||
import{r as a,o as u,h as k,e as s,d as e,g as t,f as n}from"./vendor.e7911ee1.js";const i={class:"markdown-body"},r=t("\u4F7F \u7528 useMove \u4E3A \u5143 \u7D20 \u63D0 \u4F9B \u62D6 \u62FD \u652F \u6301"),d=n("div",{class:"language-vue"},[n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-button")]),t(),n("span",{class:"token attr-name"},"@click"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("fullScreen"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u5168\u5C4F\u5207\u6362"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" useFullScreen "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'@layui/hooks-vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(),n("span",{class:"token punctuation"},"{"),t(" fullScreen"),n("span",{class:"token punctuation"},","),t(" isFullScreen "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token operator"},"="),t(),n("span",{class:"token function"},"useFullScreen"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(`
|
||||
|
||||
`),n("span",{class:"token function"},"watch"),n("span",{class:"token punctuation"},"("),t("isFullScreen"),n("span",{class:"token punctuation"},","),t(),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token operator"},"=>"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
console`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"log"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},"'\u5168\u5C4F\u5207\u6362'"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
fullScreen`),n("span",{class:"token punctuation"},","),t(`
|
||||
isFullScreen`),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])])],-1),g=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u7C7B\u578B")])]),n("tbody",null,[n("tr",null,[n("td",null,"fullScreen"),n("td",null,"\u5168\u5C4F\u5207\u6362"),n("td",null,"Function")]),n("tr",null,[n("td",null,"isFullScreen"),n("td",null,"\u5F53\u524D\u72B6\u6001"),n("td",null,"Ref")])])],-1),h={setup(_,{expose:l}){return l({frontmatter:{}}),(f,y)=>{const o=a("lay-field"),c=a("lay-block"),p=a("lay-table-box");return u(),k("div",i,[s(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,{style:{"margin-left":"8px","margin-bottom":"40px"}},{default:e(()=>[r]),_:1}),d,s(o,{title:"\u4F7F\u7528\u5907\u6CE8",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,null,{default:e(()=>[g]),_:1})])}}};export{h as default};
|
19
example/dist/assets/useMove.af64feb3.js
vendored
19
example/dist/assets/useMove.af64feb3.js
vendored
@ -1,19 +0,0 @@
|
||||
import{r as a,o as u,h as k,e as s,d as e,g as t,f as n}from"./vendor.e7911ee1.js";const i={class:"markdown-body"},r=t("\u4F7F \u7528 useFullScreen \u5FEB \u901F \u5B8C \u6210 fullScreen \u64CD \u4F5C"),d=n("div",{class:"language-vue"},[n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("button")]),t(),n("span",{class:"token attr-name"},"id"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("button"),n("span",{class:"token punctuation"},'"')]),n("span",{class:"token punctuation"},">")]),t("\u62D6\u52A8"),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("button")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("template")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
|
||||
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("script")]),n("span",{class:"token punctuation"},">")]),n("span",{class:"token script"},[n("span",{class:"token language-javascript"},[t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" ref"),n("span",{class:"token punctuation"},","),t(" watch"),n("span",{class:"token punctuation"},","),t(" onMounted "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'vue'"),t(`
|
||||
`),n("span",{class:"token keyword"},"import"),t(),n("span",{class:"token punctuation"},"{"),t(" useMove "),n("span",{class:"token punctuation"},"}"),t(),n("span",{class:"token keyword"},"from"),t(),n("span",{class:"token string"},"'@layui/hooks-vue'"),t(`
|
||||
|
||||
`),n("span",{class:"token keyword"},"export"),t(),n("span",{class:"token keyword"},"default"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"setup"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token function"},"onMounted"),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token operator"},"=>"),t(),n("span",{class:"token punctuation"},"{"),t(`
|
||||
`),n("span",{class:"token keyword"},"const"),t(" el "),n("span",{class:"token operator"},"="),t(" document"),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"getElementById"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},"'button'"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token function"},"useMove"),n("span",{class:"token punctuation"},"("),t("el"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},")"),t(`
|
||||
`),n("span",{class:"token keyword"},"return"),t(),n("span",{class:"token punctuation"},"{"),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),n("span",{class:"token punctuation"},","),t(`
|
||||
`),n("span",{class:"token punctuation"},"}"),t(`
|
||||
`)])]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
|
||||
`)])])],-1),m=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5907\u6CE8"),n("th",null,"\u63CF\u8FF0"),n("th",null,"\u7C7B\u578B")])]),n("tbody",null,[n("tr",null,[n("td",null,"el"),n("td",null,"\u9700\u8981\u62D6\u62FD\u7684\u5143\u7D20"),n("td",null,"HtmlElement")])])],-1),h={setup(g,{expose:c}){return c({frontmatter:{}}),(y,f)=>{const o=a("lay-field"),p=a("lay-block"),l=a("lay-table-box");return u(),k("div",i,[s(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,{style:{"margin-left":"8px","margin-bottom":"40px"}},{default:e(()=>[r]),_:1}),d,s(o,{title:"\u4F7F\u7528\u5907\u6CE8",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(l,null,{default:e(()=>[m]),_:1})])}}};export{h as default};
|
2
example/dist/assets/useStarted.59dace54.js
vendored
2
example/dist/assets/useStarted.59dace54.js
vendored
@ -1,2 +0,0 @@
|
||||
import{r as n,o as s,h as a,e as r,f as e}from"./vendor.e7911ee1.js";const l={class:"markdown-body"},c=e("br",null,null,-1),p=e("p",{style:{"margin-left":"24px","margin-bottom":"20px"}},"1. \u4F7F\u7528 npm \u4E0B\u8F7D",-1),i=e("div",{class:"language-"},[e("pre",null,[e("code",{"v-pre":""},`npm install @layui/hooks-vue --save
|
||||
`)])],-1),h={setup(m,{expose:t}){return t({frontmatter:{}}),(d,u)=>{const o=n("lay-field");return s(),a("div",l,[r(o,{title:"\u5FEB\u901F\u4E0A\u624B",style:{"margin-top":"20px","margin-bottom":"20px"}}),c,p,i])}}};export{h as default};
|
14
example/dist/assets/useState.daf1a4f0.js
vendored
14
example/dist/assets/useState.daf1a4f0.js
vendored
@ -1,14 +0,0 @@
|
||||
import{r as a,o as u,h as k,e as s,d as e,g as n,f as t}from"./vendor.e7911ee1.js";const r={class:"markdown-body"},i=n("\u4F7F \u7528 useState \u521B \u5EFA Ref \u54CD \u5E94 \u53D8 \u91CF"),d=t("div",{class:"language-vue"},[t("pre",null,[t("code",{"v-pre":""},[t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"<"),n("script")]),t("span",{class:"token punctuation"},">")]),t("span",{class:"token script"},[t("span",{class:"token language-javascript"},[n(`
|
||||
`),t("span",{class:"token keyword"},"import"),n(),t("span",{class:"token punctuation"},"{"),n(" useState "),t("span",{class:"token punctuation"},"}"),n(),t("span",{class:"token keyword"},"from"),n(),t("span",{class:"token string"},"'@layui/hooks-vue'"),n(`
|
||||
|
||||
`),t("span",{class:"token keyword"},"export"),n(),t("span",{class:"token keyword"},"default"),n(),t("span",{class:"token punctuation"},"{"),n(`
|
||||
`),t("span",{class:"token function"},"setup"),t("span",{class:"token punctuation"},"("),t("span",{class:"token punctuation"},")"),n(),t("span",{class:"token punctuation"},"{"),n(`
|
||||
`),t("span",{class:"token keyword"},"const"),n(),t("span",{class:"token punctuation"},"{"),n(" state"),t("span",{class:"token punctuation"},","),n(" setState "),t("span",{class:"token punctuation"},"}"),n(),t("span",{class:"token operator"},"="),n(),t("span",{class:"token function"},"useState"),t("span",{class:"token punctuation"},"("),t("span",{class:"token number"},"0"),t("span",{class:"token punctuation"},")"),n(`
|
||||
`),t("span",{class:"token keyword"},"return"),n(),t("span",{class:"token punctuation"},"{"),n(`
|
||||
state`),t("span",{class:"token punctuation"},","),n(`
|
||||
setState
|
||||
`),t("span",{class:"token punctuation"},"}"),n(`
|
||||
`),t("span",{class:"token punctuation"},"}"),t("span",{class:"token punctuation"},","),n(`
|
||||
`),t("span",{class:"token punctuation"},"}"),n(`
|
||||
`)])]),t("span",{class:"token tag"},[t("span",{class:"token tag"},[t("span",{class:"token punctuation"},"</"),n("script")]),t("span",{class:"token punctuation"},">")]),n(`
|
||||
`)])])],-1),_=t("table",null,[t("thead",null,[t("tr",null,[t("th",null,"\u5907\u6CE8"),t("th",null,"\u63CF\u8FF0"),t("th",null,"\u7C7B\u578B")])]),t("tbody",null,[t("tr",null,[t("td",null,"state"),t("td",null,"\u503C\u672C\u8EAB"),t("td",null,"\u2013")]),t("tr",null,[t("td",null,"setState"),t("td",null,"\u8BBE\u7F6E\u503C"),t("td",null,"\u2013")])])],-1),x={setup(m,{expose:l}){return l({frontmatter:{}}),(f,g)=>{const o=a("lay-field"),c=a("lay-block"),p=a("lay-table-box");return u(),k("div",r,[s(o,{title:"\u57FA\u7840\u4F7F\u7528",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(c,{style:{"margin-left":"8px","margin-bottom":"40px"}},{default:e(()=>[i]),_:1}),d,s(o,{title:"\u4F7F\u7528\u5907\u6CE8",style:{"margin-top":"20px","margin-bottom":"20px"}}),s(p,null,{default:e(()=>[_]),_:1})])}}};export{x as default};
|
6
example/dist/assets/vendor.e7911ee1.js
vendored
6
example/dist/assets/vendor.e7911ee1.js
vendored
File diff suppressed because one or more lines are too long
BIN
example/dist/favicon.ico
vendored
BIN
example/dist/favicon.ico
vendored
Binary file not shown.
Before Width: | Height: | Size: 9.4 KiB |
29
example/dist/index.html
vendored
29
example/dist/index.html
vendored
@ -1,29 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="renderer" content="webkit" />
|
||||
<meta name="force-rendering" content="webkit" />
|
||||
<meta name="applicable-device" content="pc,mobile" />
|
||||
<meta name="author" content="Jmys <jmys1992@gmail.com>" />
|
||||
<meta
|
||||
name="keywords"
|
||||
content="element-pro,pro-components,admin,element-plus,components,vue,ui"
|
||||
/>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<title>Layui - Vue 开源前端 UI 框架</title>
|
||||
<!--preload-links-->
|
||||
<script type="module" crossorigin src="/assets/index.8d5473b0.js"></script>
|
||||
<link rel="modulepreload" href="/assets/vendor.e7911ee1.js">
|
||||
<link rel="stylesheet" href="/assets/index.000334b5.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<!--app-html-->
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
lib/favicon.ico
BIN
lib/favicon.ico
Binary file not shown.
Before Width: | Height: | Size: 9.4 KiB |
File diff suppressed because one or more lines are too long
17439
lib/layui-vue.es.js
17439
lib/layui-vue.es.js
File diff suppressed because it is too large
Load Diff
11901
lib/layui-vue.umd.js
11901
lib/layui-vue.umd.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user