| | |
| | | import { useRouter, useRoute } from 'vue-router'; |
| | | import { Message } from '@element-plus/icons-vue'; |
| | | import { ElMessage } from 'element-plus'; |
| | | import { ELocalStorageKey } from '@/utils/http/enums'; |
| | | |
| | | const router = useRouter(); |
| | | const route = useRoute(); |
| | |
| | | ]); |
| | | |
| | | const handleClick = ({ path, name }) => { |
| | | if (['系统运维'].includes(name)) { |
| | | window.open(import.meta.env.VITE_APP_ADMIN_URL, '_blank'); |
| | | return; |
| | | } |
| | | if (!['首页', '任务管理'].includes(name)) return ElMessage.warning('正在加急开发中...'); |
| | | // 更新 leftList 的 active 状态 |
| | | leftList.value.forEach(item => { |
| | |
| | | font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; |
| | | font-weight: 400; |
| | | font-size: 45px; |
| | | color: #ffffff; |
| | | line-height: 53px; |
| | | letter-spacing: 11px; |
| | | text-shadow: 0px 4px 1px rgba(19, 80, 143, 0.66), 0px 0px 18px rgba(130, 165, 255, 0.4), |
| | | inset 0px 0px 2px rgba(255, 255, 255, 0.8); |
| | | text-shadow: 0px 4px 1px rgba(19,80,143,0.66), 0px 0px 18px rgba(130,165,255,0.4), inset 0px 0px 2px rgba(255,255,255,0.8); |
| | | text-align: center; |
| | | font-style: normal; |
| | | text-transform: none; |
| | | background: linear-gradient(180deg, #FFFFFF 23%, #E9F8FF 46%, #77BAFF 76%); |
| | | -webkit-background-clip: text; |
| | | color: transparent; |
| | | background-clip: text; |
| | | } |
| | | |
| | | .h-right { |
| | |
| | | text-align: center; |
| | | font-style: normal; |
| | | text-transform: none; |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | } |