htc 2 dias atrás
pai
commit
ebaff82826

+ 3 - 2
pages/dialog.vue

@@ -39,8 +39,9 @@
 								</view>
 							</template>
 							<template v-else>
-								<view style="font-size: 28rpx;color: #002846;line-height: 54rpx;"></view>
-								<u-parse :content="item.answer"></u-parse>
+								<view style="font-size: 28rpx;color: #002846;line-height: 54rpx;">
+									<u-parse :content="item.answer"></u-parse>
+								</view>
 							</template>
 							<view class="dc_btns adfacjb" v-if="item.answer">
 								<view class="db_l">

+ 59 - 45
pages/reportAsk.vue

@@ -1,26 +1,26 @@
 <template>
 	<view class="page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
-		<cus-header title='对报告提问' bgColor="#FFFFFF"></cus-header>
-		<div class="dialogs container" ref="messageContainer">
-			<div class="d_pdf">
-				<div class="dp_box">
-					<div class="dq_text">{{ fileName||'' }}</div>
-					<div class="dp_type adfac">
+		<cus-header title='对报告提问' bgColor="#E9F4F6"></cus-header>
+		<view class="dialogs container" ref="messageContainer">
+			<view class="d_pdf">
+				<view class="dp_box">
+					<view class="dq_text">{{ fileName||'' }}</view>
+					<view class="dp_type adfac">
 						<image src="@/static/pdf.png"></image>
 						<span>PDF</span>
-					</div>
-				</div>
-			</div>
-			<div v-for="(item,index) in dialogList" :key="index">
-				<div class="d_question">
-					<div class="dq_text">{{ item.question }}</div>
-				</div>
-				<div class="d_answer">
-					<div class="da_top adfac">
+					</view>
+				</view>
+			</view>
+			<view v-for="(item,index) in dialogList" :key="index">
+				<view class="d_question">
+					<view class="dq_text">{{ item.question }}</view>
+				</view>
+				<view class="d_answer">
+					<view class="da_top adfac">
 						<image src="@/static/logo.png"></image>
 						<text>AI教练督导</text>
-					</div>
-					<div class="da_content">
+					</view>
+					<view class="da_content">
 						<template v-if="item.think">
 							<view class="dac_think adfac">
 								<image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/07/07/13c5dd16-2032-464a-8b1c-2722d201cfe2.gif"></image>
@@ -28,34 +28,37 @@
 							</view>
 						</template>
 						<template v-else>
-							<u-parse :content="item.answer"></u-parse>
+							<view style="font-size: 28rpx;color: #002846;line-height: 54rpx;">
+								<u-parse :content="item.answer"></u-parse>
+							</view>
 						</template>
-						<div class="dc_btns adfacjb" v-if="item.answer">
-							<div class="db_l">
+						<view class="dc_btns adfacjb" v-if="item.answer">
+							<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>
-							</div>
-							<div class="db_r">
+								<!-- <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> -->
-							</div>
-						</div>
-					</div>
-				</div>
-			</div>
-		</div>
-		<div class="ask_box" :style="{'bottom':fixBottom+'px'}">
-			<div class="ask">
-				<div class="a_inp">
-					<div class="ai_l">
-						<u-textarea v-model="question" placeholder="请输入您的问题" autoHeight :showConfirmBar="false" :adjustPosition="false" maxlength="999999"></u-textarea>
-					</div>
-					<div class="ai_r">
-						<image @tap="sendQuestion" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/16/2429556b-54b7-4878-97c0-6b440b546ee4.png"></image>
-					</div>
-				</div>
-			</div>
-		</div>
+							</view>
+						</view>
+					</view>
+				</view>
+			</view>
+		</view>
+		<view class="ask_box" :style="{'bottom':fixBottom+'px'}">
+			<view class="ask">
+				<view class="a_inp">
+					<view class="ai_l">
+						<u-textarea v-model="question" placeholder="请输入您的问题" placeholder-style="font-size:28rpx;color:#95A5B1;" @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>
+					</view>
+				</view>
+			</view>
+			<view class="ask_memo">本服务为AI生成内容,结果仅供参考</view>
+		</view>
 		<u-modal :show="commentShow" title="评论" @confirm="commentConfirm" @cancel="commentCancel" @close="commentCancel" :showCancelButton="true">
 			<u-textarea v-model="content" placeholder="对于我们的回答您是否不满意,您有更好的答案建议吗?请在此输入."></u-textarea>
 		</u-modal>
@@ -281,8 +284,9 @@
 	}
 	
 	.page{
-		background: linear-gradient( 227deg, #EEEFF8 0%, #F6ECF4 100%, #F6ECF4 100%);
-		padding: 0 30rpx 200rpx;
+		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 240rpx;
 		box-sizing: border-box;
 		
 		.welcome{
@@ -369,7 +373,7 @@
 				display: flex;
 				justify-content: flex-end;
 				.dq_text{
-					background: #833478;
+					background: #33A7A7;
 					border-radius: 24rpx 4rpx 24rpx 24rpx;
 					font-family: PingFangSC, PingFang SC;
 					font-weight: 400;
@@ -421,11 +425,21 @@
 		.ask_box{
 			width: 100%;
 			min-height: 176rpx;
-			background: linear-gradient( 227deg, #EEEFF8 0%, #F6ECF4 100%, #F6ECF4 100%);
 			padding: 0 30rpx 60rpx;
 			position: fixed;
 			left: 0;
 			box-sizing: border-box;
+			background: #F6F6F6;
+			
+			.ask_memo{
+				font-family: PingFangSC, PingFang SC;
+				font-weight: 400;
+				font-size: 24rpx;
+				color: #b1b1b1;
+				line-height: 34rpx;
+				text-align: center;
+				margin-top: 16rpx;
+			}
 		}
 	
 		.ask{

+ 20 - 6
pagesHome/components/createList.vue

@@ -31,7 +31,8 @@
 		<view class="empty" v-else>
 			<page-empty></page-empty>
 		</view>
-		<view class="dialog adffc" v-if="show">
+		<view class="dialog adffc" v-if="show">
+			<view class="dialog-background" @click="show=false"></view>
 			<view class="dbox">
 				<view class="dbox-top adfacjb">
 					<view class="dbox-top-title">{{ dto.title || '' }}</view>
@@ -66,7 +67,8 @@
 				</view>
 			</view>
 		</view>
-		<view class="dialog adffc" v-if="teamInfoShow">
+		<view class="dialog adffc" v-if="teamInfoShow" @click.self="teamInfoShow=false">
+			<view class="dialog-background" @click="teamInfoShow=false"></view>
 			<view class="dialog-box">
 				<view class="dialog-box-title">团队信息</view>
 				<image class="dialog-box-close" :src="imgBase + 'remind_close.png'" @click="teamInfoShow = false"></image>
@@ -494,9 +496,19 @@ export default {
 		right: 0;
 		top: 0;
 		bottom: 0;
-		background: rgba(0, 0, 0, 0.4);
+		// background: rgba(0, 0, 0, 0.4);
 		z-index: 1001;
-		justify-content: flex-end;
+		justify-content: flex-end;
+		
+		.dialog-background {
+		    position: absolute; /* 相对于父级 dialog 定位 */
+		    top: 0;
+		    left: 0;
+		    right: 0;
+		    bottom: 0;
+		    background: rgba(0, 0, 0, 0.4); /* 背景颜色放在这里 */
+		    z-index: -1; /* 确保背景在 dbox 之下 */
+		}
 
 		.dbox {
 			width: 100%;
@@ -505,7 +517,8 @@ export default {
 			box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0, 0, 0, 0.07);
 			border-radius: 24rpx 24rpx 0rpx 0rpx;
 			padding: 48rpx 30rpx 0;
-			box-sizing: border-box;
+			box-sizing: border-box;
+			z-index: 0;
 			&-top {
 				&-title {
 					width: calc(100% - 60rpx);
@@ -608,7 +621,8 @@ export default {
 			border-radius: 24rpx 24rpx 0rpx 0rpx;
 			box-sizing: border-box;
 			position: relative;
-			overflow-y: auto;
+			overflow-y: auto;
+			z-index: 1;
 			&-title {
 				font-family: PingFang-SC, PingFang-SC;
 				font-weight: bold;

+ 12 - 1
pagesHome/components/receiveList.vue

@@ -25,6 +25,7 @@
 			<page-empty></page-empty>
 		</view>
 		<view class="dialog adffc" v-if="show">
+			<view class="dialog-background" @click="show=false"></view>
 			<view class="dbox">
 				<view class="dbox-top adfacjb">
 					<view class="dbox-top-title">{{dto.title||''}}</view>
@@ -322,10 +323,20 @@
 			right: 0;
 			top: 0;
 			bottom: 0;
-			background: rgba(0, 0, 0, .4);
+			// background: rgba(0, 0, 0, .4);
 			z-index: 1001;
 			justify-content: flex-end;
 			
+			.dialog-background {
+			    position: absolute; /* 相对于父级 dialog 定位 */
+			    top: 0;
+			    left: 0;
+			    right: 0;
+			    bottom: 0;
+			    background: rgba(0, 0, 0, 0.4); /* 背景颜色放在这里 */
+			    z-index: -1; /* 确保背景在 dbox 之下 */
+			}
+			
 			.dbox{
 				width: 100%;
 				height: 738rpx;