CoverBox 隐私遮罩层
基本使用
基本使用
<template>
<www-cover-box>
<img src="/logo.png" alt="Logo" />
</www-cover-box>
</template>
<script lang="ts" setup>
</script>
<style scoped lang="scss">
</style>
<template>
<www-cover-box>
<img src="/logo.png" alt="Logo" />
</www-cover-box>
</template>
<script lang="ts" setup>
</script>
<style scoped lang="scss">
</style>
显隐
显隐
TODO.wjt
<template>
<www-cover-box>
<img src="/logo.png" alt="Logo" />
</www-cover-box>
</template>
<script lang="ts" setup>
</script>
<style scoped lang="scss">
</style>
<template>
<www-cover-box>
<img src="/logo.png" alt="Logo" />
</www-cover-box>
</template>
<script lang="ts" setup>
</script>
<style scoped lang="scss">
</style>
组件 API
Attributes 属性
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| bgColor | rgba(0, 0, 0, 0.5) | |||
| iconColor | rgb(150 229 255) | |||
| width | 100px | |||
| height | 100px |
Methods 方法
| 方法名 | 说明 | 参数 | 返回值 |
|---|---|---|---|
Events 事件
| 事件名 | 说明 | 参数 | 返回值 |
|---|---|---|---|
| update:visible | visible |
Slots 插槽
| 插槽名 | 说明 | 参数 |
|---|---|---|
| default |
组件库标题