Convert all legacy font-size-*, font-weight-*, and line-height-* CSS utility classes to modern inline utility formats (text-[Xpx], font-{weight}, leading-[Xpx]). Also remove unused GoodsInfo component SCSS file, its associated image asset, and clean up the stale style import in GoodsInfo.vue.
24 lines
483 B
Vue
24 lines
483 B
Vue
<template>
|
||
<!-- 外层行容器:接收来自父组件的对齐类(如 flex flex-justify-end) -->
|
||
<div class="chat-mine-row">
|
||
<div class="chat-mine bg-17294E">
|
||
<span class="text-[15px] text-white">{{ text }}</span>
|
||
<slot></slot>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
|
||
<script setup>
|
||
import { defineProps } from "vue";
|
||
defineProps({
|
||
text: {
|
||
type: String,
|
||
default: "",
|
||
},
|
||
});
|
||
</script>
|
||
|
||
<style lang="scss" scoped>
|
||
@import "./styles/index.scss";
|
||
</style>
|