✨(component): update
This commit is contained in:
parent
59d1938b7b
commit
1819e88ff0
@ -23,6 +23,8 @@ const props = withDefaults(defineProps<LayAvatarProps>(), {
|
||||
icon: "layui-icon-username",
|
||||
});
|
||||
|
||||
const slot = useSlots();
|
||||
|
||||
const classes = computed(() => {
|
||||
return [
|
||||
"layui-avatar",
|
||||
@ -30,7 +32,6 @@ const classes = computed(() => {
|
||||
props.size ? `layui-avatar-${props.size}` : "",
|
||||
];
|
||||
});
|
||||
const slot = useSlots();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -148,7 +148,7 @@ provide("multiple", multiple);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="layui-select">
|
||||
<div class="layui-select layui-unselect">
|
||||
<lay-dropdown
|
||||
:disabled="disabled"
|
||||
:update-at-scroll="true"
|
||||
|
@ -182,7 +182,7 @@ export default {
|
||||
|
||||
::: demo
|
||||
<template>
|
||||
<lay-select v-model="selected2">
|
||||
<lay-select v-model="selected2" :multiple="true">
|
||||
<lay-select-option v-for="index of 200" :value="index" :label="index"></lay-select-option>
|
||||
</lay-select>
|
||||
</template>
|
||||
@ -193,7 +193,7 @@ import { ref } from 'vue'
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const selected2 = ref('1')
|
||||
const selected2 = ref([1])
|
||||
|
||||
return {
|
||||
selected2
|
||||
|
@ -11,6 +11,16 @@
|
||||
<template>
|
||||
<lay-timeline>
|
||||
<lay-timeline-item title="1.5.x">
|
||||
<ul>
|
||||
<a name="1-5-1"></a>
|
||||
<li>
|
||||
<h3>1.5.1 <span class="layui-badge-rim">2022-10-01</span></h3>
|
||||
<ul>
|
||||
<li>[新增] avatar 组件 default 查询, 用于显示文本头像。</li>
|
||||
<li>[新增] avatar 组件 icon 属性, 用于展示 iconfont 头像, 默认值为 `layui-icon-username`。</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<a name="1-5-0"></a>
|
||||
<li>
|
||||
|
@ -311,7 +311,9 @@ export default {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
background: #ffffff;
|
||||
background-image: radial-gradient(transparent 1px, #ffffff 1px);
|
||||
background-size: 4px 4px;
|
||||
backdrop-filter: saturate(50%) blur(4px);
|
||||
}
|
||||
|
||||
.layui-layout-document > .layui-layout > .layui-side {
|
||||
|
@ -71,7 +71,9 @@
|
||||
<a
|
||||
href="https://marketplace.visualstudio.com/items?itemName=morning-star.layui-vue-helper"
|
||||
target="_blank"
|
||||
>layui - vue - helper<cite> Visual Studio Code 辅助开发插件</cite></a
|
||||
>layui - vue - helper<cite>
|
||||
Visual Studio Code 辅助开发插件</cite
|
||||
></a
|
||||
>
|
||||
</div>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user