htc пре 3 дана
родитељ
комит
c9344c4417
1 измењених фајлова са 5 додато и 4 уклоњено
  1. 5 4
      pages/dialog.vue

+ 5 - 4
pages/dialog.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
-		<u-navbar title="创衡汇教练AI智能体" bgColor="transparent" :titleStyle="{'font-size':'32rpx','font-weight':'bold','color':'#002846'}">
+		<u-navbar title="创衡汇教练AI智能体" bgColor="#E9F4F6" :titleStyle="{'font-size':'32rpx','font-weight':'bold','color':'#002846'}">
 			<view class="u-nav-slot" slot="left" style="display: flex;background-color: transparent;">
 				<image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/16/ef50e3e8-d0f9-41dd-a4ec-546b157a1de9.png" style="width: 45rpx;height: 45rpx;" @tap="toBack"></image>
 				<!-- <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/16/e536bf8e-3b33-4ea8-b60b-7154c6353bec.png" style="width: 42rpx;height: 42rpx;margin-left: 40rpx;" @tap="startNewDialog"></image> -->
@@ -45,7 +45,7 @@
 								<view class="db_l">
 									<image :src="item.copy?require('@/static/copy_active.png'):require('@/static/copy.png')" @tap="toCopy(item,index)"></image>
 									<image :src="item.upvote?require('@/static/upvote_active.png'):require('@/static/upvote.png')" @tap="toUpvote(item,index)"></image>
-									<image :src="item.comment?require('@/static/comment_active.png'):require('@/static/comment.png')" @tap="toComment(item,index)"></image>
+									<!-- <image :src="item.comment?require('@/static/comment_active.png'):require('@/static/comment.png')" @tap="toComment(item,index)"></image> -->
 								</view>
 								<view class="db_r">
 								<!-- 	<image :src="item.share?require('@/static/share_active.png'):require('@/static/share.png')" @tap="toShare(item,index)"></image> -->
@@ -60,7 +60,7 @@
 			<view class="ask">
 				<view class="a_inp">
 					<view class="ai_l">
-						<u-textarea v-model="question" placeholder="请输入你的问题" autoHeight :showConfirmBar="false" :adjustPosition="false" maxlength="999999"></u-textarea>
+						<u-textarea v-model="question" placeholder="请输入你的问题" @confirm="sendQuestion" autoHeight :showConfirmBar="false" :adjustPosition="false" maxlength="999999"></u-textarea>
 					</view>
 					<view class="ai_r">
 						<image @tap="sendQuestion" :src="imgBase+'dialog_send.png'"></image>
@@ -324,7 +324,7 @@
 	.page{
 		background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/dialog_bg.png') no-repeat;
 		background-size: 100% 100%;
-		padding: 0 30rpx 200rpx;
+		padding: 0 30rpx 240rpx;
 		box-sizing: border-box;
 		
 		.welcome{
@@ -431,6 +431,7 @@
 			position: fixed;
 			left: 0;
 			box-sizing: border-box;
+			background: #F6F6F6;
 			
 			.ask_memo{
 				font-family: PingFangSC, PingFang SC;