提交 | 用户 | 时间
|
820397
|
1 |
<template> |
H |
2 |
<div class="mb-12px"> |
|
3 |
<div class="flex text-[var(--el-text-color-primary)] justify-between items-center"> |
|
4 |
<span>{{title}}</span> |
|
5 |
<slot name="extra"></slot> |
|
6 |
</div> |
|
7 |
<div class="text-[var(--el-text-color-secondary)] text-12px my-8px"> |
|
8 |
{{desc}} |
|
9 |
</div> |
|
10 |
<slot></slot> |
|
11 |
</div> |
|
12 |
</template> |
|
13 |
|
|
14 |
<script lang="ts" setup> |
|
15 |
defineOptions({ name: 'Index' }) |
|
16 |
|
|
17 |
defineProps({ |
|
18 |
title: { |
|
19 |
type: String |
|
20 |
}, |
|
21 |
desc: { |
|
22 |
type: String |
|
23 |
} |
|
24 |
}) |
|
25 |
</script> |