feat: 调整样式

This commit is contained in:
王天骄
2026-06-08 18:17:28 +08:00
parent 67b2f500c1
commit 3414d0662c
25 changed files with 60 additions and 58 deletions
+21 -5
View File
@@ -70,7 +70,7 @@
<view class="assistant-icon chat-icon"></view>
<text>AI 学习助手医院知识库</text>
</button>
<button class="assistant-button" @click="openTeachingAssistant">
<button class="assistant-button disabled" disabled aria-disabled="true">
<view class="assistant-icon forum-icon"></view>
<text>方老师AI教学助手沟通</text>
</button>
@@ -146,10 +146,6 @@ function openLearningAssistant() {
showLearningAssistantPage.value = true
}
function openTeachingAssistant() {
showChatPage.value = true
}
function showToast(message: string) {
if (toastTimer) clearTimeout(toastTimer)
toastMessage.value = message
@@ -490,6 +486,26 @@ page {
transform: scale(0.97);
}
.assistant-button.disabled,
.assistant-button[disabled] {
background: #e1e2ea;
color: #727783;
box-shadow: none;
opacity: 1;
cursor: not-allowed;
}
.assistant-button.disabled:active,
.assistant-button[disabled]:active {
transform: none;
background: #e1e2ea;
}
.assistant-button.disabled .assistant-icon,
.assistant-button[disabled] .assistant-icon {
background: #727783;
}
.assistant-icon {
width: 20px;
height: 20px;