diff --git a/.env b/.env
index f17e0a8..e6a3736 100644
--- a/.env
+++ b/.env
@@ -1,8 +1,8 @@
# Glob API URL
VITE_GLOB_API_URL=/api
-# VITE_APP_API_BASE_URL=http://127.0.0.1:3002/
-VITE_APP_API_BASE_URL=http://sunpaneldemo.enianteam.com
+VITE_APP_API_BASE_URL=http://127.0.0.1:3002/
+# VITE_APP_API_BASE_URL=http://sunpaneldemo.enianteam.com
# Whether long replies are supported, which may result in higher API fees
VITE_GLOB_OPEN_LONG_REPLY=false
@@ -11,4 +11,7 @@ VITE_GLOB_APP_PWA=false
-VITE_APP_VERSION=20240318
\ No newline at end of file
+
+
+
+VITE_APP_VERSION=20240319
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index 4e6ea91..d48d7da 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@
FROM node AS web_image
# 华为源
-# RUN npm config set registry https://repo.huaweicloud.com/repository/npm/
+# RUN npm config set registry https://registry.npmmirror.com/
RUN npm install pnpm -g
@@ -10,7 +10,7 @@ WORKDIR /build
COPY ./package.json /build
-COPY ./pnpm-lock.yaml /build
+# COPY ./pnpm-lock.yaml /build
RUN pnpm install
diff --git a/src/views/home/components/AppIcon/index.vue b/src/views/home/components/AppIcon/index.vue
index ec2b88d..79e36a9 100644
--- a/src/views/home/components/AppIcon/index.vue
+++ b/src/views/home/components/AppIcon/index.vue
@@ -51,10 +51,10 @@ const textColor = computed(() => {
+ :style="{ color: (iconTextColor === '#ffffff') ? textColor : iconTextColor, maxWidth: 'calc(100% - 80px)', flex: 1, position: 'relative' }">
- {{ itemInfo?.time }}
+ {{ itemInfo?.time }}
@@ -72,7 +72,12 @@ const textColor = computed(() => {
-
+
+
+
+ {{ itemInfo?.time }}
+
+
@@ -101,14 +106,19 @@ const textColor = computed(() => {
justify-content: center;
align-items: center;
font-size: 12px;
- mix-blend-mode: difference; /* 设置文字与背景色反色 */
+ mix-blend-mode: difference;
+ /* 设置文字与背景色反色 */
/* 设置徽章内文本的大小 */
}
-.fade-enter-active, .fade-leave-active {
+
+.fade-enter-active,
+.fade-leave-active {
transition: opacity 0.5s;
}
-.fade-enter, .fade-leave-to {
+
+.fade-enter,
+.fade-leave-to {
opacity: 0;
}
\ No newline at end of file
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 98784e0..5d2052d 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -322,7 +322,7 @@ function handleSetSortStatus(groupIndex: number, sortStatus: boolean) {
}
async function usePing(params: any, itemGroupIndex: any) {
const isflag = isLocalUrl(window.location.origin)
- const promises = params.items.map(async (e: any, i: number) => {
+ params.items.map(async (e: any, i: number) => {
if (isflag && e.lanUrl) {
const time = await ping(e.lanUrl)
//@ts-ignore
diff --git a/vite.config.ts b/vite.config.ts
index 36aaabd..53bb65f 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -7,6 +7,7 @@ import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
function setupPlugins(env: ImportMetaEnv): PluginOption[] {
return [
+ //@ts-ignore
vue(),
env.VITE_GLOB_APP_PWA === 'true' && VitePWA({
injectRegister: 'auto',