📝(all): update
更新文档
This commit is contained in:
		
							parent
							
								
									0eca2df71a
								
							
						
					
					
						commit
						884c2163a6
					
				@ -39,7 +39,7 @@ const fixCss = `
 | 
			
		||||
.lay-progress-circle svg {
 | 
			
		||||
    filter: invert(98%) hue-rotate(180deg) contrast(80%) !important;
 | 
			
		||||
}
 | 
			
		||||
`
 | 
			
		||||
`;
 | 
			
		||||
 | 
			
		||||
const changeLocale = (lang: string) => {
 | 
			
		||||
  locale.value = lang;
 | 
			
		||||
 | 
			
		||||
@ -221,7 +221,8 @@ export default {
 | 
			
		||||
| extra   | 扩展插槽 | --     |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor card
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext card
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -214,7 +214,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor carousel
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext carousel
 | 
			
		||||
:::
 | 
			
		||||
@ -640,5 +640,8 @@ const options2 = [
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor cascader
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext cascader
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -234,7 +234,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor checkbox
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext checkbox
 | 
			
		||||
:::
 | 
			
		||||
@ -249,7 +249,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor collapse
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext collapse
 | 
			
		||||
:::
 | 
			
		||||
@ -170,7 +170,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor color
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext color
 | 
			
		||||
:::
 | 
			
		||||
@ -92,7 +92,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor colorPicker
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext colorPicker
 | 
			
		||||
:::
 | 
			
		||||
@ -83,7 +83,8 @@ layer.confirm(content, options)
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor confirm
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext confirm
 | 
			
		||||
:::
 | 
			
		||||
@ -85,5 +85,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor container
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext container
 | 
			
		||||
:::
 | 
			
		||||
@ -150,6 +150,8 @@ easeInCirc    easeOutCirc    easeInOutCirc
 | 
			
		||||
easeInBack    easeOutBack    easeInOutBack
 | 
			
		||||
linear
 | 
			
		||||
```
 | 
			
		||||
::: contributor countUp
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext countUp
 | 
			
		||||
:::
 | 
			
		||||
@ -238,5 +238,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor datePicker
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext datePicker
 | 
			
		||||
:::
 | 
			
		||||
@ -163,4 +163,10 @@ export default {
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor drawer
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext drawer
 | 
			
		||||
:::
 | 
			
		||||
@ -331,5 +331,9 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
::: contributor dropdown
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext dropdown
 | 
			
		||||
:::
 | 
			
		||||
@ -129,5 +129,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor empty
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext empty
 | 
			
		||||
:::
 | 
			
		||||
@ -144,7 +144,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor exception
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext field
 | 
			
		||||
::: previousNext exception
 | 
			
		||||
:::
 | 
			
		||||
@ -75,7 +75,9 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
 | 
			
		||||
::: contributor field
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext field
 | 
			
		||||
:::
 | 
			
		||||
@ -652,8 +652,8 @@ export default {
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor form
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext form
 | 
			
		||||
:::
 | 
			
		||||
@ -225,4 +225,10 @@ export default {
 | 
			
		||||
| exit | 退出全屏 | Function | 可选,`HTMLElement` `Document` |
 | 
			
		||||
| toggle | 进入/退出全屏 | Function | - |
 | 
			
		||||
| isFullscreen | 是否全屏 | boolean | - |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor fullscreen
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext fullscreen
 | 
			
		||||
:::
 | 
			
		||||
@ -188,7 +188,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor grid
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext grid
 | 
			
		||||
:::
 | 
			
		||||
@ -272,5 +272,8 @@ npm install @layui/icons-vue
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext iconfont
 | 
			
		||||
::: contributor icon
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext icon
 | 
			
		||||
:::
 | 
			
		||||
@ -145,7 +145,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor iconPicker
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext iconPicker
 | 
			
		||||
:::
 | 
			
		||||
@ -236,5 +236,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor input
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext input
 | 
			
		||||
:::
 | 
			
		||||
@ -147,7 +147,8 @@
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor inputNumber
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext inputNumber
 | 
			
		||||
:::
 | 
			
		||||
@ -263,7 +263,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor layout
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext layout
 | 
			
		||||
:::
 | 
			
		||||
@ -122,7 +122,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor line
 | 
			
		||||
:::   
 | 
			
		||||
 | 
			
		||||
::: previousNext line
 | 
			
		||||
:::
 | 
			
		||||
@ -133,7 +133,8 @@ layer.load(load, options)
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor load
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext load
 | 
			
		||||
:::
 | 
			
		||||
@ -604,5 +604,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext nav
 | 
			
		||||
::: contributor menu
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext menu
 | 
			
		||||
:::
 | 
			
		||||
@ -359,7 +359,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor modal
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext modal
 | 
			
		||||
:::
 | 
			
		||||
@ -94,7 +94,8 @@ layer.msg(content, options)
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor msg
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext msg
 | 
			
		||||
:::
 | 
			
		||||
@ -124,7 +124,8 @@ export default {
 | 
			
		||||
|  textlist  | 垂直滚动内容| Array|
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor noticeBar
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext transfer
 | 
			
		||||
::: previousNext noticeBar
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -310,7 +310,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor page
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext page
 | 
			
		||||
:::
 | 
			
		||||
@ -85,5 +85,8 @@ const handleBack=()=>{
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor pageHeader
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext pageHeader
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -52,7 +52,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor panel
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext panel
 | 
			
		||||
:::
 | 
			
		||||
@ -164,7 +164,8 @@ export default {
 | 
			
		||||
| circleWidth| 环形进度条线条宽度| 默认为 `6` 单位是px                       |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor progress
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext progress
 | 
			
		||||
:::
 | 
			
		||||
@ -61,7 +61,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor quote
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext block
 | 
			
		||||
::: previousNext quote
 | 
			
		||||
:::
 | 
			
		||||
@ -176,5 +176,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor radio
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext radio
 | 
			
		||||
:::
 | 
			
		||||
@ -342,7 +342,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor rate
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext rate
 | 
			
		||||
:::
 | 
			
		||||
@ -106,7 +106,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor result
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext field
 | 
			
		||||
::: previousNext result
 | 
			
		||||
:::
 | 
			
		||||
@ -95,4 +95,10 @@ export default {
 | 
			
		||||
| 插槽 | 描述 | 参数 |
 | 
			
		||||
|------ |----------|-----------|
 | 
			
		||||
| default | 默认插槽 | - |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor ripple
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext ripple
 | 
			
		||||
:::
 | 
			
		||||
@ -46,7 +46,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor scroll
 | 
			
		||||
:::  
 | 
			
		||||
 | 
			
		||||
::: previousNext field
 | 
			
		||||
::: previousNext scroll
 | 
			
		||||
:::
 | 
			
		||||
@ -368,7 +368,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor select
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext select
 | 
			
		||||
:::
 | 
			
		||||
@ -113,7 +113,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor skeleton
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext skeleton
 | 
			
		||||
:::
 | 
			
		||||
@ -118,7 +118,8 @@ export default {
 | 
			
		||||
| showDots  |  是否显示断点     | `Boolean`                   |        -       |    false    |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor slider
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext slider
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -115,8 +115,8 @@
 | 
			
		||||
| space | 默认每个站多大比例(`%`), 设置一个,<br/> 其他的都需要设置,合计为(`100` ) | number | - | 按照个数平分 |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor splitPanel
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext splitPanel
 | 
			
		||||
:::
 | 
			
		||||
@ -468,7 +468,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor step
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext step
 | 
			
		||||
:::
 | 
			
		||||
@ -211,5 +211,8 @@ export default {
 | 
			
		||||
| unswitch-icon | 禁用图标 | -- |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor switch
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext switch
 | 
			
		||||
:::
 | 
			
		||||
@ -358,7 +358,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor tab
 | 
			
		||||
::: 
 | 
			
		||||
 | 
			
		||||
::: previousNext tab
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -541,5 +541,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor table
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext table
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -148,7 +148,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor textarea
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext textarea
 | 
			
		||||
:::
 | 
			
		||||
@ -175,7 +175,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor timeline
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext timeline
 | 
			
		||||
:::
 | 
			
		||||
@ -161,7 +161,8 @@ setup() {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor tooltip
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext tooltip
 | 
			
		||||
:::
 | 
			
		||||
@ -187,7 +187,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: contributor transfer
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext transfer
 | 
			
		||||
:::
 | 
			
		||||
@ -98,4 +98,10 @@ export default {
 | 
			
		||||
| ------------ | ---------------- | 
 | 
			
		||||
| collapse       | 折叠动画               |
 | 
			
		||||
| fade           | 淡入淡出               |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor transition
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext transition
 | 
			
		||||
:::
 | 
			
		||||
@ -319,5 +319,8 @@ import { ref } from 'vue';
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
 | 
			
		||||
::: previousNext tree
 | 
			
		||||
::: contributor transition
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext transition
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
@ -288,7 +288,9 @@ export default {
 | 
			
		||||
| cutclose | 剪裁取消 | --   |
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: contributor upload
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
::: previousNext upload
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: previousNext button
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@ const plugins = [
 | 
			
		||||
        .use(...createDescribe("describe", ""))
 | 
			
		||||
        .use(...createAnchor("anchor", ""))
 | 
			
		||||
        .use(...previousNext("previousNext", ""))
 | 
			
		||||
        .use(...contributor("contributor",""));
 | 
			
		||||
        .use(...contributor("contributor", ""));
 | 
			
		||||
    },
 | 
			
		||||
  }),
 | 
			
		||||
] as any;
 | 
			
		||||
 | 
			
		||||
@ -96,7 +96,7 @@ const menus = [
 | 
			
		||||
      {
 | 
			
		||||
        id: 16,
 | 
			
		||||
        title: "菜单",
 | 
			
		||||
        subTitle: "nav",
 | 
			
		||||
        subTitle: "menu",
 | 
			
		||||
        path: "/zh-CN/components/menu",
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user