perf: 更新文档

This commit is contained in:
就眠仪式
2021-10-24 20:35:43 +08:00
parent 3bd3dbf6cb
commit 3f60aabe19
10 changed files with 146 additions and 115 deletions

View File

@@ -24,7 +24,6 @@ html #layuicss-layer {
left: 0;
width: 100%;
height: 100%;
_height: expression(document.body.offsetHeight + 'px');
}
.layui-layer {
@@ -839,7 +838,6 @@ html #layuicss-layer {
height: 44px;
margin-top: -22px;
outline: 0;
blr: expression(this.onFocus=this.blur());
}
.layui-layer-imgprev {
@@ -873,7 +871,6 @@ html #layuicss-layer {
width: 100%;
height: 40px;
line-height: 40px;
background-color: #000\9;
filter: Alpha(opacity=60);
background-color: rgba(2, 0, 0, 0.35);
color: #fff;

View File

@@ -35,7 +35,14 @@
</div>
</template>
<script setup name="LayCarousel" lang="ts">
import { withDefaults, defineProps, provide, useSlots, ref, computed } from 'vue'
import {
withDefaults,
defineProps,
provide,
useSlots,
ref,
computed,
} from 'vue'
const slot = useSlots() as any
const slots = slot.default && (slot.default() as any[])
@@ -54,7 +61,7 @@ const props = withDefaults(
height: '280px',
anim: 'default',
arrow: 'hover',
indicator: 'inside'
indicator: 'inside',
}
)
@@ -99,4 +106,4 @@ const next = function () {
}
}
}
</script>
</script>

View File

@@ -16,4 +16,4 @@ export default {
.layui-footer {
box-sizing: border-box;
}
</style>
</style>