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

View File

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

View File

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

View File

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