layui/example/dist/assets/backtop.7537737f.js

50 lines
23 KiB
JavaScript
Raw Normal View History

import"./index.8d5473b0.js";import{r as o,o as i,h as k,e as a,d as s,f as n,F as y,i as b,t as h,g as t}from"./vendor.e7911ee1.js";const _={class:"markdown-body"},v=n("h6",null,"\u56DE\u5230\u9876\u90E8\u7EC4\u4EF6\u7684\u9ED8\u8BA4\u6837\u5F0F\uFF0C\u901A\u8FC7\u6ED1\u52A8\u6765\u67E5\u770B\u9875\u9762\u53F3\u4E0B\u89D2\u7684\u6B63\u65B9\u5F62\u6309\u94AE\u3002",-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-backtop")]),t(),n("span",{class:"token attr-name"},"target"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t(".layui-body"),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-backtop")]),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(`
`)])],-1),f=n("h6",null,[t("\u56DE\u5230\u9876\u90E8\u7EC4\u4EF6\u53EF\u81EA\u5B9A\u4E49\u6837\u5F0F\uFF0C\u9650\u5236\u5BBD\u9AD8\uFF1A50px * 50px\uFF0C"),n("code",null,"showHeight = 0"),t(" \u5C06\u59CB\u7EC8\u663E\u793A\uFF0C"),n("code",null,"disabled"),t(" \u5C5E\u6027\u7981\u7528\u8FD4\u56DE\u9876\u90E8\u3002\u67E5\u770B\u9875\u9762\u53F3\u4E0B\u89D2\u7684\u5706\u5F62\u6309\u94AE\u3002")],-1),q=n("pre",null,[n("code",{"v-pre":""},[n("span",{class:"token comment"},"<!-- \u4F7F\u7528\u9ED8\u8BA4\u63D2\u69FD\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u5185\u5BB9,\u4E5F\u53EF\u4EE5\u4F7F\u7528\u7EC4\u4EF6\u63D0\u4F9B\u7684\u6837\u5F0F\u5C5E\u6027\u5FEB\u901F\u5B9A\u4E49\u5E38\u7528\u6837\u5F0F\uFF0C\u6837\u5F0F\u5C5E\u6027\u80FD\u6EE1\u8DB3\u5927\u591A\u6570\u573A\u666F,lay-backtop\u7EC4\u4EF6\u53EF\u642D\u914D lay-tooltip \u7EC4\u4EF6\u4F7F\u7528-->"),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 comment"},"<!-- \u4F7F\u7528\u9ED8\u8BA4\u63D2\u69FD\u81EA\u5B9A\u4E49 -->"),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u63D2\u69FD\u81EA\u5B9A\u4E49 backtop "),n("span",{class:"token punctuation"},'"')]),t(),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"},'"'),t("left"),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-backtop")]),t(),n("span",{class:"token attr-name"},"target"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t(".layui-body"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":showHeight"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("0"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":bottom"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("160"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"bgcolor"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("#5FB878"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"circular"),t(),n("span",{class:"token attr-name"},"disabled"),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-icon")]),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("layui-icon-dialogue"),n("span",{class:"token punctuation"},'"')]),t(),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"},'"'),t("30px"),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-icon")]),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-backtop")]),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-tooltip")]),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token comment"},"<!-- \u4F7F\u7528\u6837\u5F0F\u5C5E\u6027\u81EA\u5B9A\u4E49 -->"),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-tooltip")]),t(),n("span",{class:"token attr-name"},"content"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("\u5C5E\u6027\u81EA\u5B9A\u4E49 backtop "),n("span",{class:"token punctuation"},'"')]),t(),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"},'"'),t("left"),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-backtop")]),t(),n("span",{class:"token attr-name"},"target"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t(".layui-body"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":bottom"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("100"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"bgcolor"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("#5FB878"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"icon"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("layui-icon-up"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},"circular"),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-backtop")]),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("lay-tooltip")]),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"},"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"},"handlerClick"),t(),n("span",{class:"token operator"},"="),t(),n("span",{class:"token punctuation"},"("),n("span",{class:"token punctuation"},")"),t(),n("span",{class:"token operator"},"=>"),t(),n("span",{class:"token punctuation"},"{"),t(`
layer`),n("span",{class:"token punctuation"},"."),n("span",{class:"token function"},"msg"),n("span",{class:"token punctuation"},"("),n("span",{class:"token string"},'"layui-vue"'),n("span",{class:"token punctuation"},","),t(),n("span",{class:"token punctuation"},"{"),t(" time"),n("span",{class:"token operator"},":"),t(),n("span",{class:"token number"},"1000"),t(),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(`
handlerClick`),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),w=n("h6",null,[t("\u901A\u8FC7\u8BBE\u7F6E "),n("code",null,"target"),t(" \u548C "),n("code",null,"position=\u201Cabsolute\u201D"),t("\u53C2\u6570 \uFF0C\u53EF\u5BF9\u7279\u5B9A\u5BB9\u5668\u8FDB\u884C\u8FD4\u56DE\u9876\u90E8\u64CD\u4F5C")],-1),F=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 comment"},"<!-- \u9700\u8981\u7528\u4E00\u4E2A div \u5305\u88F9\u89E6\u53D1\u6EDA\u52A8\u4E8B\u4EF6\u7684\u76EE\u6807\u5143\u7D20\u548C lay-backtop \u7EC4\u4EF6 -->"),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("div")]),t(),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"},'"'),t("scrollContainer"),n("span",{class:"token punctuation"},'"')]),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"},"width"),n("span",{class:"token punctuation"},":"),t("700px"),n("span",{class:"token punctuation"},";"),t(),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),t("300px"),n("span",{class:"token punctuation"},";")]),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("div")]),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("scrollContent"),n("span",{class:"token punctuation"},'"')]),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"},"overflow-y"),n("span",{class:"token punctuation"},":"),t("auto"),n("span",{class:"token punctuation"},";"),t(),n("span",{class:"token property"},"overflow-x"),n("span",{class:"token punctuation"},":"),t("auto"),n("span",{class:"token punctuation"},";"),t(),n("span",{class:"token property"},"width"),n("span",{class:"token punctuation"},":"),t("700px"),n("span",{class:"token punctuation"},";"),t(),n("span",{class:"token property"},"height"),n("span",{class:"token punctuation"},":"),t("300px"),n("span",{class:"token punctuation"},";")]),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("p")]),t(),n("span",{class:"token attr-name"},"v-for"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("(n,index) in 50"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":key"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("n"),n("span",{class:"token punctuation"},'"')]),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"},"height"),n("span",{class:"token punctuation"},":"),t("32px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"border-bottom"),n("span",{class:"token punctuation"},":"),t("0.5px solid #5FB878"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"margin-bottom"),n("span",{class:"token punctuation"},":"),t("10px"),n("span",{class:"token punctuation"},";"),n("span",{class:"token property"},"line-height"),n("span",{class:"token punctuation"},":"),t("35px")]),n("span",{class:"token punctuation"},'"')])]),n("span",{class:"token punctuation"},">")]),t(`
{{index + ". `),n("span",{class:"token entity named-entity",title:"\xA0"},"&nbsp;"),t(`layui-vue , \u57FA \u4E8E vue 3.0 \u7684 \u684C \u9762 \u7AEF \u7EC4 \u4EF6 \u5E93 , layui \u7684 \u53E6 \u4E00 \u79CD \u5448 \u73B0 \u65B9 \u5F0F"}}
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("p")]),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("div")]),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"<"),t("lay-backtop")]),t(),n("span",{class:"token attr-name"},"target"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("#scrollContent"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":showHeight"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("100"),n("span",{class:"token punctuation"},'"')]),t(),n("span",{class:"token attr-name"},":bottom"),n("span",{class:"token attr-value"},[n("span",{class:"token punctuation attr-equals"},"="),n("span",{class:"token punctuation"},'"'),t("30"),n("span",{class:"token punctuation"},'"')]),t(),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"},'"'),t("absolute"),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-backtop")]),n("span",{class:"token punctuation"},">")]),t(`
`),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("div")]),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"},`
`)]),n("span",{class:"token tag"},[n("span",{class:"token tag"},[n("span",{class:"token punctuation"},"</"),t("script")]),n("span",{class:"token punctuation"},">")]),t(`
`)])],-1),C={class:"scrollContainer",style:{width:"700px",height:"300px"}},B={id:"scrollContent",style:{"overflow-y":"auto","overflow-x":"auto",width:"700px",height:"300px"}},H=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u5C5E\u6027"),n("th",null,"\u8BF4\u660E"),n("th",null,"\u7C7B\u578B"),n("th",null,"\u53EF\u9009\u503C")])]),n("tbody",null,[n("tr",null,[n("td",null,[n("strong",null,"\u901A\u7528\u5C5E\u6027")]),n("td"),n("td"),n("td")]),n("tr",null,[n("td",null,"target"),n("td",null,"\u53EF\u9009\uFF0C\u89E6\u53D1\u6EDA\u52A8\u4E8B\u4EF6\u7684\u5BF9\u8C61"),n("td",null,"string"),n("td",null,"CSS \u9009\u62E9\u5668 | window(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"showHeight"),n("td",null,"\u53EF\u9009\uFF0C\u6EDA\u52A8\u9AD8\u5EA6\u8FBE\u5230\u8BE5\u503C\u540E\u663E\u793A\u56DE\u5230\u9876\u90E8\u6309\u94AE"),n("td",null,"number"),n("td",null,"200(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"disabled"),n("td",null,"\u53EF\u9009\uFF0C\u7981\u7528\u70B9\u51FB\u8FD4\u56DE\u9876\u90E8"),n("td",null,"boolean"),n("td",null,"true | false(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,[n("strong",null,"\u7EC4\u4EF6\u6837\u5F0F")]),n("td"),n("td"),n("td")]),n("tr",null,[n("td",null,"position"),n("td",null,"\u53EF\u9009\uFF0C\u5B9A\u4F4D\u65B9\u5F0F\uFF0C\u7279\u5B9A\u5BB9\u5668\u5185\u90E8\u9700\u8BBE\u7F6E\u4E3A absolute"),n("td",null,"string"),n("td",null,"absolute | fixed(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"right"),n("td",null,"\u53EF\u9009\uFF0C\u6309\u94AE\u8DDD\u79BB\u9875\u9762\u53F3\u8FB9\u8DDD\uFF0C\u5355\u4F4D px"),n("td",null,"number"),n("td",null,"30(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"bottom"),n("td",null,"\u53EF\u9009\uFF0C\u6309\u94AE\u8DDD\u79BB\u9875\u9762\u5E95\u90E8\u4F4D\u7F6E\uFF0C\u5355\u4F4D px"),n("td",null,"number"),n("td",null,"40(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"bgcolor"),n("td",null,"\u53EF\u9009\uFF0C\u80CC\u666F\u989C\u8272"),n("td",null,"string"),n("td",null,"#9F9F9F(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"opacity"),n("td",null,"\u53EF\u9009\uFF0C\u4E0D\u900F\u660E\u5EA6"),n("td",null,"number"),n("td",null,"0.0-1.0")]),n("tr",null,[n("td",null,"color"),n("td",null,"\u53EF\u9009\uFF0C\u524D\u666F\u989C\u8272"),n("td",null,"string"),n("td",null,"#FFFFFF")]),n("tr",null,[n("td",null,"borderRadius"),n("td",null,"\u53EF\u9009\uFF0C\u6DFB\u52A0\u5706\u89D2"),n("td",null,"string"),n("td",null,"2px(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"circular"),n("td",null,"\u53EF\u9009, \u4F7F\u7528\u5706\u5F62\u6309\u94AE"),n("td",null,"boolean"),n("td",null,"true | false(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,[n("strong",null,"\u56FE\u6807\u6837\u5F0F")]),n("td"),n("td"),n("td")]),n("tr",null,[n("td",null,"icon"),n("td",null,"\u53EF\u9009,\u56FE\u6807\u7C7B\u578B"),n("td",null,"string"),n("td",null,"layui-icon-top(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"iconSize"),n("td",null,"\u53EF\u9009,\u56FE\u6807\u5927\u5C0F"),n("td",null,"number"),n("td",null,"30")]),n("tr",null,[n("td",null,"iconPrefix"),n("td",null,"\u53EF\u9009,\u56FE\u6807\u524D\u7F00 layui-icon layui-icon-top"),n("td",null,"string"),n("td",null,"layui-icon(\u9ED8\u8BA4)")]),n("tr",null,[n("td",null,"iconColor"),n("td",null,"\u53EF\u9009,\u56FE\u6807\u989C\u8272"),n("td",null,"string"),n("td",null,"#FFFFFF(\u9ED8\u8BA4)")])])],-1),j=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u4E8B\u4EF6\u540D"),n("th",null,"\u8BF4\u660E"),n("th",null,"\u56DE\u8C03\u53C2\u6570")])]),n("tbody",null,[n("tr",null,[n("td",null,"click"),n("td",null,"\u70B9\u51FB\u56DE\u5230\u9876\u90E8\u6309\u94AE\u7684\u56DE\u8C03\u51FD\u6570"),n("td",null,"event")])])],-1),S=n("table",null,[n("thead",null,[n("tr",null,[n("th",null,"\u63D2\u69FD\u540D"),n("th",null,"\u8BF4\u660E")])]),n("tbody",null,[n("tr",null,[n("td",null,"\u2014"),n("td",null,"\u81EA\u5B9A\u4E49\u5185\u5BB9")])])],-1),P={setup(z,{expose:r}){return r({frontmatter:{}}),(V,D)=>{const l=o("lay-field"),e=o("lay-backtop"),p=o("lay-code"),d=o("lay-icon"),u=o("lay-tooltip"),c=o("lay-table-box");return i(),k("div",_,[a(l,{title:"\u57FA\u7840\u4F7F\u7528",styl