2021-10-25 17:13:23 +00:00
|
|
|
::: title 基础使用
|
2021-10-19 14:28:44 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-07 10:32:23 +00:00
|
|
|
::: demo
|
|
|
|
|
2021-10-07 19:38:17 +00:00
|
|
|
<template>
|
|
|
|
<lay-icon-picker type="layui-icon-face-smile"></lay-icon-picker>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
const icon = ref("layui-icon-home")
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
2021-10-25 17:13:23 +00:00
|
|
|
::: title 默认选择
|
2021-10-19 14:28:44 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-07 19:38:17 +00:00
|
|
|
::: demo
|
|
|
|
|
2021-10-07 10:32:23 +00:00
|
|
|
<template>
|
2021-10-07 14:47:51 +00:00
|
|
|
<lay-icon-picker v-model="icon" type="layui-icon-face-smile"></lay-icon-picker>
|
2021-10-07 10:32:23 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
2021-10-07 14:47:51 +00:00
|
|
|
const icon = ref("layui-icon-home")
|
|
|
|
|
2021-10-07 10:32:23 +00:00
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2021-10-07 19:38:17 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-25 17:13:23 +00:00
|
|
|
::: title 开启分页
|
2021-10-19 14:28:44 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-07 19:38:17 +00:00
|
|
|
::: demo
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<lay-icon-picker v-model="icon" type="layui-icon-face-smile" page></lay-icon-picker>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
const icon = ref("layui-icon-home")
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2021-10-08 03:09:44 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-25 17:13:23 +00:00
|
|
|
::: title 开启搜索
|
2021-10-19 14:28:44 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-10 19:22:06 +00:00
|
|
|
::: demo
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<lay-icon-picker v-model="icon" type="layui-icon-face-smile" page showSearch></lay-icon-picker>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
const icon = ref("layui-icon-home")
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
2021-10-25 17:13:23 +00:00
|
|
|
::: title icon-picker 属性
|
2021-10-13 02:04:43 +00:00
|
|
|
:::
|
2021-10-12 10:00:09 +00:00
|
|
|
|
2021-11-07 07:55:08 +00:00
|
|
|
::: table
|
|
|
|
|
2021-10-12 03:30:07 +00:00
|
|
|
| | | |
|
|
|
|
| ---------- | -------- | --- |
|
|
|
|
| v-model | 默认值 | -- |
|
|
|
|
| page | 开启分页 | -- |
|
|
|
|
| showSearch | 启用搜索 | -- |
|
2021-11-07 07:55:08 +00:00
|
|
|
|
2021-11-07 07:56:24 +00:00
|
|
|
:::
|