feat: 首页主题样式调整

This commit is contained in:
duanshuwen
2025-10-15 20:21:32 +08:00
parent 6c35146b36
commit 44a3b16eb1
9 changed files with 22 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view class="chat-other pl-20">
<text>{{ text }}</text>
<view class="chat-other border-box flex flex-col overflow-hidden pl-20">
<text class="font-size-14 color-33">{{ text }}</text>
<slot></slot>
</view>
</template>

View File

@@ -1,14 +1,3 @@
.chat-other {
width: 100%;
margin: 6px 0;
display: flex;
flex-direction: column;
max-width: 100%; // ✅ 限制最大宽度
overflow-x: hidden; // ✅ 防止横向撑开
padding-left: 20px;
text {
font-size: $uni-font-size-base;
color: $uni-text-color;
}
}