feat:将更多标签 调整到列表中

This commit is contained in:
2025-08-02 17:45:03 +08:00
parent 299d755493
commit 0b32f625b0
4 changed files with 13 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
.create-service-wrapper {
// box-sizing: border-box;
padding: 12px 0 16px;
padding: 12px 0;
// background-color: #eff6fa;
// box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.1);
// border-radius: 4px 20px 20px 20px;
@@ -122,7 +122,7 @@
}
.footer-help {
margin-top: 8px;
margin-bottom: 12px;
display: flex;
align-items: center;
font-size: 14px;

View File

@@ -1,7 +1,7 @@
<template>
<view class="container">
<view class="chat-ai">
<ChatMarkdown :text="text"></ChatMarkdown>
<ChatMarkdown v-if="text.length > 0" :text="text"></ChatMarkdown>
<slot name="content"></slot>
</view>
<slot name="footer"></slot>

View File

@@ -45,6 +45,8 @@
<template v-else>
<ChatCardOther class="message-item-other" :text="item.msg">
<ChatMoreTips @replySent="handleReply" :itemList="mainPageDataModel.guideWords"/>
<ActivityListComponent v-if="mainPageDataModel.activityList.length > 0" :activityList="mainPageDataModel.activityList"/>
<RecommendPostsComponent v-if="mainPageDataModel.recommendTheme.length > 0" :recommendThemeList="mainPageDataModel.recommendTheme" />
@@ -56,8 +58,7 @@
<!-- 输入框区域 -->
<view class="footer-area">
<ChatMoreTips @replySent="handleReply" :itemList="mainPageDataModel.guideWords"></ChatMoreTips>
<ChatQuickAccess @replySent="handleReplyInstruct"></ChatQuickAccess>
<ChatQuickAccess @replySent="handleReplyInstruct"/>
<ChatInputArea
v-model="inputMessage"
:holdKeyboard="holdKeyboard"

View File

@@ -36,6 +36,7 @@
<style lang="scss" scoped>
.more-tips {
width: 100%;
margin-bottom: 12px;
&-scroll {
display: flex;
@@ -61,13 +62,13 @@
flex-direction: column;
min-width: 46px;
&:first-child {
margin-left: 12px;
}
// &:first-child {
// margin-left: 12px;
// }
&:last-child {
margin-right: 12px;
}
// &:last-child {
// margin-right: 12px;
// }
.more-tips-item-title {
font-family: PingFang SC, PingFang SC;