feat: 样式调整
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
.loading-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 4px 0;
|
||||
max-width: 100%; // ✅ 限制最大宽度
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 100px;
|
||||
max-width: 100%; // ✅ 限制最大宽度
|
||||
overflow-x: hidden; // ✅ 防止横向撑开
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<template>
|
||||
<view class="chat-other border-box flex flex-col overflow-hidden pl-12">
|
||||
<text class="font-size-14 color-33">{{ text }}</text>
|
||||
<view
|
||||
class="chat-other border-box flex flex-col overflow-hidden pl-12 mt-6 mb-6"
|
||||
>
|
||||
<text class="font-size-14 color-333">{{ text }}</text>
|
||||
<slot></slot>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
.chat-other {
|
||||
margin: 6px 0;
|
||||
}
|
||||
@@ -103,7 +103,7 @@
|
||||
</scroll-view>
|
||||
|
||||
<!-- 输入框区域 -->
|
||||
<view class="footer">
|
||||
<view class="pb-safe-area">
|
||||
<ChatQuickAccess @replySent="handleReplyInstruct" />
|
||||
<ChatInputArea
|
||||
ref="inputAreaRef"
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
.footer {
|
||||
padding-bottom: Max(env(safe-area-inset-bottom), 12px);
|
||||
}
|
||||
@@ -35,8 +35,8 @@ const itemList = ref([
|
||||
},
|
||||
{
|
||||
icon: "",
|
||||
title: "呼叫服务",
|
||||
type: "Command.callService",
|
||||
title: "反馈意见",
|
||||
type: "Command.feedbackCard",
|
||||
},
|
||||
{
|
||||
icon: "https://oss.nianxx.cn/mp/static/version_101/home/more.png",
|
||||
|
||||
@@ -19,6 +19,14 @@
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.mt-6 {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.mb-6 {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.ml-12 {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
@@ -58,3 +58,7 @@
|
||||
.pb-20 {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.pb-safe-area {
|
||||
padding-bottom: Max(env(safe-area-inset-bottom), 12px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user