|
@@ -2,7 +2,7 @@
|
|
|
<view class="container" :style="{'top': viewTop + 'px', 'height': viewHeight + 'px'}">
|
|
|
<view class="content">
|
|
|
<scroll-view scroll-y="true" :show-scrollbar="false" :scroll-top="scroll_top" style="position: fixed; top: 70px;width: 80vw; bottom: 210upx;">
|
|
|
- <view class="scroll-view-text">
|
|
|
+ <view v-if="recvMsgQueue.length > 0" class="scroll-view-text">
|
|
|
<view style="margin-left: 13%; display: flex; align-items: center;justify-content: center;width: 100%; user-select: text;" v-for="(msgIndex,index) in recvMsgQueue " :key="index">
|
|
|
<!-- ai 的消息结构体 -->
|
|
|
<view v-if="isAItell(recvMsgQueue[index].who_msg)" style="width: 100%;height: 100%;margin-bottom: 1%;">
|
|
@@ -71,6 +71,9 @@
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view v-else style="display:flex; width: 100%; height: 100%; color: #ffffff; justify-content: center; align-items: center;">
|
|
|
+ <text style="font-size: 20px; font-weight: 400; text-align: center; line-height: 60px;">探索AI世界的奥秘,释放无限的创造潜能。\n开始您的创作吧!</text>
|
|
|
+ </view>
|
|
|
</scroll-view>
|
|
|
|
|
|
<view class="inputbox" style="display: flex;width: 70vw;height: 90upx;position: fixed;bottom:80upx;">
|