feat: 工具详情页添加描述

This commit is contained in:
taoran
2024-06-20 17:12:02 +08:00
parent 95961dc05a
commit 6082f1d789
44 changed files with 438 additions and 64 deletions
@@ -0,0 +1,26 @@
<script setup lang="ts">
import { onMounted } from 'vue';
const props = defineProps({
title: {
type: String,
default: '描述'
}
})
onMounted(() => {
})
</script>
<template>
<!-- desc -->
<div class="mt-3 rounded-2xl bg-white p-4">
<el-divider content-position="left">{{ props.title }}</el-divider>
<div class="m-4">
<slot></slot>
</div>
</div>
</template>
<style scoped>
</style>