feat: 调整项目结构

This commit is contained in:
duanshuwen committed 2025-09-21 17:25:09 +08:00
1 parent 0b66462d16
commit 9f23854ad5
410 files changed
+3806 -1668

No files matched your search

@@ -0,0 +1,20 @@
<template>
<view class="chat-other">
<text>{{ text }}</text>
<slot></slot>
</view>
</template>
<script setup>
import { defineProps } from "vue";
defineProps({
text: {
type: String,
default: "",
},
});
</script>
<style lang="scss" scoped>
@use "./styles/index.scss";
</style>
@@ -0,0 +1,16 @@
.chat-other {
width: 100%;
margin: 6px 0;
padding: 0 12px;
display: flex;
flex-direction: column;
max-width: 100%; // ✅ 限制最大宽度
overflow-x: hidden; // ✅ 防止横向撑开
text {
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #333333;
}
}