diff --git a/mini-program/src/pages/main/ScriptView.vue b/mini-program/src/pages/main/ScriptView.vue
index 6b115c9..cabb065 100644
--- a/mini-program/src/pages/main/ScriptView.vue
+++ b/mini-program/src/pages/main/ScriptView.vue
@@ -86,105 +86,8 @@
-
-
-
-
- 在开始创作前,我想再了解你一点
-
-
-
-
-
-
-
-
-
-
-
- {{ novelOutline.title }}
-
-
- {{ novelOutline.logline }}
-
-
-
- {{ beat.order || idx + 1 }}
-
- {{ beat.title || '' }}
- {{ beat.summary }}
-
-
-
-
- 结局
- {{ novelOutline.ending }}
-
-
-
-
-
- 修改大纲
- 确认大纲
-
-
-
-
-
-
-
-
-
-
-
- {{ generationDisplayText }}
- {{ currentMessageTime }}
-
-
- {{ generationTitle }}
-
-
-
-
-
- {{ generationFailureCopy }}
- {{ visibleStreamContent }}|
- {{ currentMessageTime }}
-
-
-
-
-
-
-
-
- {{ generationCopy }}
- {{ generationSubcopy }}
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -197,7 +100,7 @@
-
+
-
-
-
-
- {{ wishText }}
- {{ currentMessageTime }}
+
+
+
+ {{ msg.content }}
+ {{ msg.time }}
-
- 心愿已实现,故事已为你展开
- {{ currentResultTime }}
-
-
-
-
-
+ submitClarification(msg, answer)"
/>
-
- {{ message.content }}
- {{ message.time || formatMessageTime() }}
+
+ 已回答:{{ msg.answer }}
+
+
+
+
+ {{ msg.outline.title }}
+
+
+ {{ msg.outline.logline }}
+
+
+
+ {{ beat.order || idx + 1 }}
+
+ {{ beat.title || '' }}
+ {{ beat.summary }}
+
+
+
+
+ 结局
+ {{ msg.outline.ending }}
+
+
+
+
+
+ 修改大纲
+ 确认大纲
+
+
+
+
+
+ {{ msg.content }}|
+
+
+
+ {{ msg.content }}
+ {{ msg.time }}
+
-
-
+
+
- 正在为你重写人生
- AI 正在思考下一步方向
+ {{ generationCopy }}
+
+
+
+
-
-
-
-
- 🎤
-
- 输入修改建议,或让 AI 继续生成
+
+
+
+
发送
-
-
@@ -3601,4 +3509,198 @@ onUnmounted(() => {
box-shadow: 0 16rpx 36rpx rgba(168, 85, 247, 0.24);
}
+.chat-page {
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ background: #13091f;
+}
+
+.chat-top-actions {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 24rpx 32rpx;
+}
+
+.chat-scroll {
+ flex: 1;
+ height: calc(100vh - 220rpx);
+}
+
+.chat-scroll-content {
+ padding: 0 24rpx 40rpx;
+}
+
+.card-answered {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 26rpx;
+ padding: 16rpx 0;
+}
+
+.outline-title {
+ color: #ffffff;
+ font-size: 40rpx;
+ font-weight: 700;
+ margin-bottom: 16rpx;
+}
+
+.outline-logline {
+ color: rgba(255, 255, 255, 0.85);
+ font-size: 28rpx;
+ line-height: 1.6;
+ margin-bottom: 24rpx;
+}
+
+.outline-beats {
+ display: flex;
+ flex-direction: column;
+ gap: 20rpx;
+ margin-bottom: 24rpx;
+}
+
+.beat-item {
+ display: flex;
+ gap: 20rpx;
+ align-items: flex-start;
+}
+
+.beat-order {
+ flex-shrink: 0;
+ width: 56rpx;
+ height: 56rpx;
+ background: #087e8b;
+ border-radius: 50%;
+ color: #ffffff;
+ font-size: 28rpx;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.beat-content {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+}
+
+.beat-title {
+ color: #ffffff;
+ font-size: 28rpx;
+ font-weight: 600;
+}
+
+.beat-summary {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 26rpx;
+ margin-top: 8rpx;
+ line-height: 1.5;
+}
+
+.outline-ending {
+ margin-top: 24rpx;
+ padding-top: 24rpx;
+ border-top: 2rpx solid rgba(255, 255, 255, 0.1);
+}
+
+.ending-label {
+ color: rgba(255, 255, 255, 0.6);
+ font-size: 24rpx;
+ display: block;
+ margin-bottom: 8rpx;
+}
+
+.ending-text {
+ color: #ffffff;
+ font-size: 28rpx;
+ line-height: 1.6;
+}
+
+.outline-actions {
+ margin-top: 24rpx;
+}
+
+.outline-feedback {
+ width: 100%;
+ padding: 20rpx;
+ background: rgba(255, 255, 255, 0.05);
+ border-radius: 12rpx;
+ color: #ffffff;
+ font-size: 28rpx;
+ margin-bottom: 16rpx;
+ box-sizing: border-box;
+}
+
+.outline-buttons {
+ display: flex;
+ gap: 16rpx;
+ justify-content: flex-end;
+}
+
+.novel-text {
+ color: #ffffff;
+ font-size: 28rpx;
+ line-height: 1.8;
+ white-space: pre-wrap;
+}
+
+.typing-cursor {
+ color: #087e8b;
+ animation: blink 900ms steps(1) infinite;
+}
+
+.chat-loading {
+ display: flex;
+ align-items: center;
+ gap: 16rpx;
+ padding: 24rpx 0;
+}
+
+.resume-action {
+ padding: 24rpx 0;
+ display: flex;
+ justify-content: center;
+}
+
+.chat-input-bar {
+ display: flex;
+ align-items: flex-end;
+ gap: 16rpx;
+ padding: 16rpx 24rpx;
+ background: rgba(255, 255, 255, 0.04);
+ border-top: 2rpx solid rgba(255, 255, 255, 0.1);
+}
+
+.result-input-shell {
+ flex: 1;
+ background: rgba(255, 255, 255, 0.06);
+ border-radius: 12rpx;
+ padding: 8rpx 16rpx;
+}
+
+.result-chat-input {
+ width: 100%;
+ min-height: 60rpx;
+ padding: 12rpx 0;
+ color: #ffffff;
+ font-size: 28rpx;
+}
+
+.chat-send-btn {
+ padding: 16rpx 32rpx;
+ background: #087e8b;
+ border-radius: 32rpx;
+ color: #ffffff;
+ font-size: 28rpx;
+}
+
+.chat-send-btn.disabled {
+ opacity: 0.5;
+}
+
+@keyframes blink {
+ 50% { opacity: 0; }
+}
+