[调整] 优化 layout 组件代码结构
This commit is contained in:
3
src/module/footer/index.less
Normal file
3
src/module/footer/index.less
Normal file
@@ -0,0 +1,3 @@
|
||||
.layui-footer {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -1,19 +1,15 @@
|
||||
<template>
|
||||
<div class="layui-footer">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'LayFooter',
|
||||
}
|
||||
</script>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
import "./index.less"
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.layui-footer {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<div class="layui-footer">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user