Files
nianxx-h5/src/pages/home/components/ChatCardOther/index.vue
duanshuwen 35b4eb3cca style(home components): clean up scss and use utility classes
- remove unused SCSS style files for Discovery sub-components
- replace scoped SCSS styles with inline utility classes across home components
- remove redundant style imports and empty style blocks from component files
- simplify template conditions and remove unnecessary min-h-0 attributes
2026-05-28 22:32:05 +08:00

18 lines
321 B
Vue

<template>
<div class="w-full flex flex-col overflow-hidden pl-[12px] mt-[6px] mb-[6px]">
<span class="text-[14px] text-[#333]">{{ text }}</span>
<slot></slot>
</div>
</template>
<script setup>
import { defineProps } from "vue";
defineProps({
text: {
type: String,
default: "",
},
});
</script>