📝: update
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
::: title 基础使用
|
||||
:::
|
||||
|
||||
::: demo
|
||||
::: demo 使用 lay-icon-picker 标签, 创建图标选择器
|
||||
|
||||
<template>
|
||||
<lay-icon-picker type="layui-icon-face-smile"></lay-icon-picker>
|
||||
@@ -57,7 +57,7 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: title 开启分页
|
||||
::: title 开启分页 通过 page 属性开启图标列表的分页展示
|
||||
:::
|
||||
|
||||
::: demo
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: title 开启搜索
|
||||
::: title 开启搜索 通过 showSearch 开启图标列表的搜索功能
|
||||
:::
|
||||
|
||||
::: demo
|
||||
|
||||
@@ -89,9 +89,8 @@ export default {
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-input>
|
||||
<template #prepend>0</template>
|
||||
<template #append>0</template>
|
||||
<lay-input v-model="inputValue">
|
||||
<template #prepend>http://</template>
|
||||
</lay-input>
|
||||
</template>
|
||||
|
||||
@@ -101,7 +100,10 @@ import { ref } from 'vue'
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const inputValue = ref("");
|
||||
|
||||
return {
|
||||
inputValue
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -259,6 +261,8 @@ export default {
|
||||
| ----- | ------------------- | ----------------|
|
||||
| prefix | 输入框前置内容 | -- |
|
||||
| suffix | 输入框后置内容 | -- |
|
||||
| prepend | 输入框前置内容 (更) | -- |
|
||||
| append | 输入框后置内容 (更) | -- |
|
||||
|
||||
:::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user