Эх сурвалжийг харах

首页艺术课提示内容:此版本未开放

liyanbo 5 сар өмнө
parent
commit
6c8e9c29df

+ 4 - 5
src/components/HomePage.vue

@@ -44,8 +44,7 @@
             class="top-right-btn"
             :class="{ 'is-active': selectedButton === 'AI艺术课' }"
             @click="
-              ;(selectedButton = 'AI通识课'),
-                Message().notifyWarning('此版本未开放,敬请期待!', true)
+              ElMessage.warning('此版本未开放,敬请期待!')
             "
             >AI艺术课</el-button
           >
@@ -100,8 +99,8 @@
 import { ref, onMounted, watch } from 'vue'
 import { useRouter } from 'vue-router'
 import { ClassList } from '@/api/class.js'
-import {ArrowDown, ArrowRightBold, Message} from '@element-plus/icons-vue'
-import { Search, ArrowLeftBold } from '@element-plus/icons-vue'
+import {ArrowDown} from '@element-plus/icons-vue'
+import { ElMessage } from 'element-plus'
 
 // 导入图片
 import intelligenceImg from '@/assets/images/intelligence.png'
@@ -511,4 +510,4 @@ window.updateTenantName = (newName) => {
 .el-dropdown__popper{
   --el-dropdown-menuItem-hover-color: none;
 }
-</style>
+</style>

+ 1 - 1
src/components/popup/PlayPrompt.vue

@@ -97,7 +97,7 @@ onUnmounted(() => {
   left: 0;
   right: 0;
   bottom: 0;
-  // background-color: rgba(0, 0, 0, 0.7);
+  background-color: rgba(0, 0, 0, 0.7);
   display: flex;
   justify-content: center;
   align-items: flex-start;

+ 1 - 1
src/components/popup/PromptPopup.vue

@@ -45,7 +45,7 @@ const handleCancel = () => {
   left: 0;
   right: 0;
   bottom: 0;
-  // background-color: rgba(0, 0, 0, 0.5);
+  background-color: rgba(0, 0, 0, 0.5);
   display: flex;
   justify-content: center;
   align-items: flex-start;