代码修改
This commit is contained in:
parent
f1c6910a2b
commit
ef8a1bc2b4
@ -1,5 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="chat-container">
|
<view class="chat-container">
|
||||||
|
<!-- AI生成内容提示 -->
|
||||||
|
<view class="ai-notice">
|
||||||
|
<text class="ai-notice-text">内容由AI生成,仅供参考</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 聊天消息区域 -->
|
<!-- 聊天消息区域 -->
|
||||||
<scroll-view scroll-y :scroll-top="scrollTop" class="chat-messages" :scroll-with-animation="true"
|
<scroll-view scroll-y :scroll-top="scrollTop" class="chat-messages" :scroll-with-animation="true"
|
||||||
@scroll="onScroll">
|
@scroll="onScroll">
|
||||||
@ -85,7 +90,7 @@
|
|||||||
|
|
||||||
<!-- 输入区域 -->
|
<!-- 输入区域 -->
|
||||||
<view class="chat-bottom">
|
<view class="chat-bottom">
|
||||||
<view class="" style="padding: 10px;">
|
<!-- <view class="" style="padding: 10px;">
|
||||||
<view class="aiTag" v-if="aiName==='生活咨询'" @click="sendMessageCeshi(0)">
|
<view class="aiTag" v-if="aiName==='生活咨询'" @click="sendMessageCeshi(0)">
|
||||||
最近雨季来了,家里总是很潮湿,有什么简单有效的除湿防霉小妙招吗?
|
最近雨季来了,家里总是很潮湿,有什么简单有效的除湿防霉小妙招吗?
|
||||||
</view>
|
</view>
|
||||||
@ -95,7 +100,7 @@
|
|||||||
<view class="aiTag" v-if="aiName==='膳食管家'" @click="sendMessageCeshi(2)">
|
<view class="aiTag" v-if="aiName==='膳食管家'" @click="sendMessageCeshi(2)">
|
||||||
我想开始减脂,能为我设计一份适合上班族、操作简单、营养均衡的晚餐食谱吗?
|
我想开始减脂,能为我设计一份适合上班族、操作简单、营养均衡的晚餐食谱吗?
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="chat-input">
|
<view class="chat-input">
|
||||||
<view class="" style="flex: 1;">
|
<view class="" style="flex: 1;">
|
||||||
<input class="input-field" placeholder="输入消息..." v-model="inputMsg" @confirm="sendMessage"
|
<input class="input-field" placeholder="输入消息..." v-model="inputMsg" @confirm="sendMessage"
|
||||||
@ -566,6 +571,20 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
/* AI生成内容提示样式 */
|
||||||
|
.ai-notice {
|
||||||
|
background-color: #fffbe6; /* 浅黄色背景 */
|
||||||
|
border-bottom: 1px solid #ffe58f; /* 底部边框 */
|
||||||
|
padding: 8px 15px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ai-notice-text {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #faad14; /* 橙色文字 */
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
.chat-container {
|
.chat-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -733,4 +752,7 @@
|
|||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -638,6 +638,7 @@
|
|||||||
// 页面A设置参数
|
// 页面A设置参数
|
||||||
const app = getApp()
|
const app = getApp()
|
||||||
app.globalData.applyInfo = applyInfo
|
app.globalData.applyInfo = applyInfo
|
||||||
|
this.applyInfo = applyInfo
|
||||||
this.readShow=true
|
this.readShow=true
|
||||||
}
|
}
|
||||||
//单位申请
|
//单位申请
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user