diff --git a/src/views/AI/components/treasureBox.vue b/src/views/AI/components/treasureBox.vue index 1e06575..437ff91 100644 --- a/src/views/AI/components/treasureBox.vue +++ b/src/views/AI/components/treasureBox.vue @@ -17,10 +17,10 @@ - - - -
{{item.title}} + + + +
{{item.title}} {{ it.title}} @@ -174,4 +174,38 @@ $primary-trans-color: #87a2d0; align-items: center; } + +.my-table{ + tr{ + padding: 6px 8px; + + } + tr:nth-child(2n){ + background: #e9f3ff; + + } + tr:last-child{ + th{ + border-bottom: none; + } + } + th:nth-child(1){ + padding: 6px 8px; + width:80px; + background: #2976e8 ; + color:#fff; + text-align: center; + //border-right:1px solid #b6ccd9; + border-bottom:1px solid #b6ccd9; + } + th:nth-child(2){ + padding: 6px 8px; + color:#253243; + font-weight: unset; + gap:5px; + border-bottom:1px solid #b6ccd9 + + } + +} diff --git a/src/views/AI/index.vue b/src/views/AI/index.vue index 43f53a8..b86a266 100644 --- a/src/views/AI/index.vue +++ b/src/views/AI/index.vue @@ -317,7 +317,7 @@ export default { const cleanLine = line.replace(/^data:\s*/, '') if (!cleanLine) return null const data = JSON.parse(cleanLine) - // console.log(data) + console.log(data) if (data.answer) { this.answerMap += data.answer } @@ -343,8 +343,8 @@ export default { this.messageStatus = 'stop' } - // console.log(answer) - // console.log(this.currentMessage) + console.log(answer) + console.log(this.currentMessage) if (!this.currentMessage || !answer) return const mode = this.isThink ? 'think' : 'text' this.currentMessage[mode] += answer