feat:将更多标签 调整到列表中
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user