feat(transfer): 初步集成 tansfer 组件

This commit is contained in:
就眠仪式
2021-10-10 23:42:05 +08:00
parent 1675a4f06a
commit 147a55e038
7 changed files with 334 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
layui 之所以赢得如此多人的青睐更多是在于它「前后界面兼备」的能力。既可编织出绚丽的前台页面又可满足繁杂的管理系统界面需求。layui 致力于让每一位开发者都能轻松搭建自己的管理界面。下面是演示代码,你可以前往示例页面:
```html
<lay-layout>
<lay-header>

View File

@@ -0,0 +1,19 @@
::: demo
<template>
<lay-transfer><div style="padding: 30px;">面板</div></lay-transfer>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::

View File

@@ -266,6 +266,12 @@ export default {
subTitle: 'tree',
path: '/zh-CN/components/tree',
},
{
id: 31,
title: '穿梭框',
subTitle: 'tree',
path: '/zh-CN/components/transfer',
},
]
const selected = ref(1)

View File

@@ -157,6 +157,11 @@ const zhCN = [
path: '/zh-CN/components/page',
component: () => import('../../docs/zh-CN/components/page.md'),
meta: { title: '分页' },
},
{
path: '/zh-CN/components/transfer',
component: () => import('../../docs/zh-CN/components/transfer.md'),
meta: { title: '穿梭框' },
}
],
},