feat: use live editor on desktop

This commit is contained in:
Justineo
2021-11-20 13:22:48 +08:00
committed by GU Yiling
parent 54393e41bc
commit 6fd9a5a4f4
20 changed files with 1257 additions and 1037 deletions

View File

@@ -70,7 +70,7 @@
| ``readonly`` | `boolean=` | `false` | 是否为只读状态。 |
| ``overlay-class`` | `string | Array | Object=` | - | 参考 [`Overlay`](./overlay) 组件的 [`overlay-class`](./overlay#props-overlay-class) 属性。 |
| ``overlay-style`` | `string | Array | Object=` | - | 参考 [`Overlay`](./overlay) 组件的 [`overlay-style`](./overlay#props-overlay-style) 属性。 |
| ``match`` | `(item, keyword, { ancestors }) => boolean | [number, number] | Array<[number, number]>` | - | 支持自定义高亮逻辑, 默认大小写不敏感,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
| ``match`` | `(item, keyword, { ancestors }) => boolean | Array<[number, number]>` | - | 支持自定义高亮逻辑, 默认大小写不敏感,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
| ``filter`` | `(item, keyword, { ancestors, offsets }) => boolean` | - | 支持自定义搜索命中逻辑,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
^^^ui

View File

@@ -57,7 +57,7 @@
| ``disabled`` | `boolean=` | `false` | 是否为禁用状态。 |
| ``overlay-class`` | `string | Array | Object=` | - | 参考 [`Overlay`](./overlay) 组件的 [`overlay-class`](./overlay#props-overlay-class) 属性。 |
| ``overlay-style`` | `string | Array | Object=` | - | 参考 [`Overlay`](./overlay) 组件的 [`overlay-style`](./overlay#props-overlay-style) 属性。 |
| ``match`` | `(item, keyword, { ancestors }) => boolean | [number, number] | Array<[number, number]>` | - | 支持自定义高亮逻辑, 默认大小写不敏感,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
| ``match`` | `(item, keyword, { ancestors }) => boolean | Array<[number, number]>` | - | 支持自定义高亮逻辑, 默认大小写不敏感,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
| ``filter`` | `(item, keyword, { ancestors, offsets }) => boolean` | - | 支持自定义搜索命中逻辑,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
^^^ui

View File

@@ -41,7 +41,7 @@
| ``expanded`` | `boolean=` | `false` | [^expanded] |
| ``disabled`` | `boolean=` | `false` | 是否为禁用状态。 |
| ``readonly`` | `boolean=` | `false` | 是否为只读状态。 |
| ``match`` | `(item, keyword, { ancestors }) => boolean | [number, number] | Array<[number, number]>` | - | 支持自定义高亮逻辑, 默认大小写不敏感,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
| ``match`` | `(item, keyword, { ancestors }) => boolean | Array<[number, number]>` | - | 支持自定义高亮逻辑, 默认大小写不敏感,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
| ``filter`` | `(item, keyword, { ancestors, offsets }) => boolean` | - | 支持自定义搜索命中逻辑,参考 [`Autocomplete`](./Autocomplete#自定义搜索逻辑)。 |
^^^ui

View File

@@ -6,9 +6,13 @@
message="恭喜你,你的请求已成功处理"
closable
>
<template slot="title">恭喜你</template>
<template slot="title">
恭喜你
</template>
<template slot="extra">
<veui-button ui="text">查看详情</veui-button>
<veui-button ui="text">
查看详情
</veui-button>
</template>
恭喜你你的请求已成功处理
</veui-alert>

View File

@@ -10,7 +10,9 @@
type="success"
>
Your profile has been updated.
<template slot="title">消息标题</template>
<template slot="title">
消息标题
</template>
</veui-alert>
</article>
</template>

View File

@@ -101,7 +101,6 @@ export default {
top: 10px;
}
}
</style>
<docs>

View File

@@ -132,7 +132,6 @@ export default {
top: 50px;
}
}
</style>
<docs>

View File

@@ -108,7 +108,6 @@ export default {
top: 50px;
}
}
</style>
<docs>

View File

@@ -46,7 +46,7 @@ export default {
}
</script>
<style lang="less" scoped docs>
<style lang="less" scoped>
h4 {
margin: 0 0 10px;
}

View File

@@ -1,22 +1,28 @@
<template>
<article>
<veui-pagination
:page="page"
:total="total"
:to="to"
/>
<veui-pagination
:page="page"
:total="total"
:to="to"
ui="s"
/>
<veui-pagination
:page="page"
:total="total"
:to="to"
ui="xs"
/>
<section>
<veui-pagination
:page="page"
:total="total"
:to="to"
/>
</section>
<section>
<veui-pagination
:page="page"
:total="total"
:to="to"
ui="s"
/>
</section>
<section>
<veui-pagination
:page="page"
:total="total"
:to="to"
ui="xs"
/>
</section>
</article>
</template>

View File

@@ -1,7 +1,7 @@
<template>
<article>
<section>
<p>loading<veui-switch v-model="loading"/></p>
<div>loading<veui-switch v-model="loading"/></div>
<veui-table
:data="data"
:loading="loading"

View File

@@ -1,12 +1,12 @@
<template>
<article>
<section>
<p>
<div>
允许不排序<veui-switch
v-model="allowFalse"
@change="handleChange"
/>
</p>
</div>
<veui-table
:data="sorted"
key-field="id"