结构
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<template>
|
||||
<div>
|
||||
<!-- 统一Admin下的基本样式 -->
|
||||
<div>
|
||||
<!-- 头部 -->
|
||||
<div>
|
||||
<!-- 左侧信息 -->
|
||||
<span>
|
||||
<!-- title -->
|
||||
</span>
|
||||
<span>
|
||||
<!-- info -->
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<!-- 右侧按钮 或者文本-->
|
||||
<slot name="action">
|
||||
|
||||
</slot>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<!-- div控制margin等基本样式 -->
|
||||
<slot>
|
||||
|
||||
</slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ElButton } from 'element-plus';
|
||||
import { ref } from 'vue';
|
||||
defineEmits("clickButton")
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user