docs: update
This commit is contained in:
		
							parent
							
								
									ae96c341f0
								
							
						
					
					
						commit
						9e0e918e0a
					
				@ -34,5 +34,8 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
:::
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::: previousNext datePicker
 | 
					::: comment
 | 
				
			||||||
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					::: previousNext transfer
 | 
				
			||||||
:::
 | 
					:::
 | 
				
			||||||
@ -13,7 +13,7 @@
 | 
				
			|||||||
::: demo
 | 
					::: demo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
    <lay-notice-bar text="要不要作为我的家人,搬来我家。" mode="link"></lay-notice-bar>
 | 
					    <lay-notice-bar text="以写作为工具,为道途,先帮助自己一程,再以自己的领悟帮助他人一程, 这是一种服务 。" mode="link"></lay-notice-bar>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
@ -36,7 +36,7 @@ export default {
 | 
				
			|||||||
::: demo
 | 
					::: demo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
    <lay-notice-bar leftIcon="layui-icon-mute" text="要不要作为我的家人, 搬来我家" mode="closeable"></lay-notice-bar>
 | 
					    <lay-notice-bar leftIcon="layui-icon-mute" text="最好的爱是两个人彼此做个伴,不要束缚,不要缠绕,不要占有,不渴望从对方那里得到,只是并肩站在一起,看看这个世界。"></lay-notice-bar>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
@ -60,7 +60,7 @@ export default {
 | 
				
			|||||||
::: demo
 | 
					::: demo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
    <lay-notice-bar leftIcon="layui-icon-mute" rightIcon="layui-icon-close" text="多的是你不知道的事" mode="closeable"></lay-notice-bar>
 | 
					    <lay-notice-bar leftIcon="layui-icon-mute" rightIcon="layui-icon-close" text="所有发生过的都是既定的。是应该发生。只能发生。" mode="closeable"></lay-notice-bar>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
@ -81,16 +81,22 @@ export default {
 | 
				
			|||||||
:::
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::: title Notice Bar 事件
 | 
					::: title Notice Bar 属性
 | 
				
			||||||
:::
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::: table
 | 
					::: table
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 事件 | 描述     | 参数                  |
 | 
					| 事件 | 描述     | 参数                  |
 | 
				
			||||||
| ---- | -------- | --------------------- |
 | 
					| ---- | -------- | --------------------- |
 | 
				
			||||||
| mode | 模式 | { current: 当前页面 } |
 | 
					| mode | 模式 | 'link' 'closeable' |
 | 
				
			||||||
| text | 内容 | 滚动内容 |
 | 
					| text | 内容 | 滚动内容 |
 | 
				
			||||||
| leftIcon | 左侧图标 | { current: 当前页面 } |
 | 
					| leftIcon | 左侧图标 | -- |
 | 
				
			||||||
| rightIcon | 右侧图标 | 滚动内容 |
 | 
					| rightIcon | 右侧图标 | -- |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:::
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					::: comment
 | 
				
			||||||
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					::: previousNext transfer
 | 
				
			||||||
 | 
					:::
 | 
				
			||||||
@ -18,8 +18,8 @@
 | 
				
			|||||||
        <ul>
 | 
					        <ul>
 | 
				
			||||||
          <li>[新增] notice-bar 通告栏。</li>
 | 
					          <li>[新增] notice-bar 通告栏。</li>
 | 
				
			||||||
          <li>[新增] scroll 虚拟滚动组件。</li> 
 | 
					          <li>[新增] scroll 虚拟滚动组件。</li> 
 | 
				
			||||||
          <li>[新增] water-marker 水印组件。</li>
 | 
					 | 
				
			||||||
          <li>[新增] table 表格组件 excel 导出工具栏。</li>
 | 
					          <li>[新增] table 表格组件 excel 导出工具栏。</li>
 | 
				
			||||||
 | 
					          <li>[新增] table column 选项 sort 属性, 开启字段排序。</li>
 | 
				
			||||||
          <li>[新增] page 分页组件 v-model 属性, 支持默认页设置。</li>
 | 
					          <li>[新增] page 分页组件 v-model 属性, 支持默认页设置。</li>
 | 
				
			||||||
          <li>[新增] date-picker 日期选择组件, 支持年月, 日期, 时间。</li>
 | 
					          <li>[新增] date-picker 日期选择组件, 支持年月, 日期, 时间。</li>
 | 
				
			||||||
          <li>[新增] transfer 穿梭框组件 showSearch 开启搜索属性。</li>
 | 
					          <li>[新增] transfer 穿梭框组件 showSearch 开启搜索属性。</li>
 | 
				
			||||||
 | 
				
			|||||||
@ -38,7 +38,7 @@
 | 
				
			|||||||
          rel="nofollow"
 | 
					          rel="nofollow"
 | 
				
			||||||
          class="site-star"
 | 
					          class="site-star"
 | 
				
			||||||
        >
 | 
					        >
 | 
				
			||||||
          <i class="layui-icon"></i> Star <cite id="getStars">699</cite>
 | 
					          <i class="layui-icon"></i> Star <cite id="getStars">716</cite>
 | 
				
			||||||
        </a>
 | 
					        </a>
 | 
				
			||||||
        <a
 | 
					        <a
 | 
				
			||||||
          href="https://gitee.com/layui-vue"
 | 
					          href="https://gitee.com/layui-vue"
 | 
				
			||||||
 | 
				
			|||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "@layui/layui-vue",
 | 
					  "name": "@layui/layui-vue",
 | 
				
			||||||
  "version": "0.4.0",
 | 
					  "version": "0.4.0-alpha.1",
 | 
				
			||||||
  "author": "就眠儀式",
 | 
					  "author": "就眠儀式",
 | 
				
			||||||
  "license": "MIT",
 | 
					  "license": "MIT",
 | 
				
			||||||
  "description": "a component library for Vue 3 base on layui-vue",
 | 
					  "description": "a component library for Vue 3 base on layui-vue",
 | 
				
			||||||
  "homepage": "http://layui-vue.pearadmin.com",
 | 
					  "homepage": "http://www.layui-vue.com",
 | 
				
			||||||
  "main": "es/index.js",
 | 
					  "main": "es/index.js",
 | 
				
			||||||
  "types": "types/index.d.ts",
 | 
					  "types": "types/index.d.ts",
 | 
				
			||||||
  "style": "lib/index.css",
 | 
					  "style": "lib/index.css",
 | 
				
			||||||
 | 
				
			|||||||
@ -6,8 +6,19 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import "./index.less";
 | 
					import "./index.less";
 | 
				
			||||||
import { withDefaults, provide, useSlots, ref, computed, VNode, Ref, Component, watch, onMounted } from "vue";
 | 
					import {
 | 
				
			||||||
import CarouselItem from "../carouselItem"
 | 
					  withDefaults,
 | 
				
			||||||
 | 
					  provide,
 | 
				
			||||||
 | 
					  useSlots,
 | 
				
			||||||
 | 
					  ref,
 | 
				
			||||||
 | 
					  computed,
 | 
				
			||||||
 | 
					  VNode,
 | 
				
			||||||
 | 
					  Ref,
 | 
				
			||||||
 | 
					  Component,
 | 
				
			||||||
 | 
					  watch,
 | 
				
			||||||
 | 
					  onMounted,
 | 
				
			||||||
 | 
					} from "vue";
 | 
				
			||||||
 | 
					import CarouselItem from "../carouselItem";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const slot = useSlots() as any;
 | 
					const slot = useSlots() as any;
 | 
				
			||||||
const slots = slot.default && (slot.default() as any[]);
 | 
					const slots = slot.default && (slot.default() as any[]);
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,6 @@ const props = defineProps<{
 | 
				
			|||||||
const active = inject("active");
 | 
					const active = inject("active");
 | 
				
			||||||
const slotsChange: Ref<boolean> = inject("slotsChange") as Ref<boolean>;
 | 
					const slotsChange: Ref<boolean> = inject("slotsChange") as Ref<boolean>;
 | 
				
			||||||
slotsChange.value = !slotsChange.value;
 | 
					slotsChange.value = !slotsChange.value;
 | 
				
			||||||
 | 
					 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user