feat: 调整样式
This commit is contained in:
+21
-5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user