diff --git a/main/.env.dev b/main/.env.dev index 7ac36ef7..8be23524 100644 --- a/main/.env.dev +++ b/main/.env.dev @@ -9,6 +9,6 @@ NODE_ENV=dev # VUE_APP_DEV_IP=192.168.2.132 # VUE_APP_DEV_IP=192.168.2.219 #VUE_APP_DEV_IP=192.168.2.243 -VUE_APP_DEV_IP=192.168.2.132 +VUE_APP_DEV_IP=192.168.2.63 VUE_APP_DEV_PORT=80 #VUE_APP_DEV_PORT=81 diff --git a/main/src/assets/lang/en_US.json b/main/src/assets/lang/en_US.json index 5f77338a..7bcf3df3 100644 --- a/main/src/assets/lang/en_US.json +++ b/main/src/assets/lang/en_US.json @@ -373,7 +373,7 @@ "Connection lost. Retry in 5 seconds...": "Connection lost. Retry in 5 seconds...", "cli to compose...": "cli to compose...", "View tutorial": "View tutorial", - "Add Source": "Add Source", + "Add Source": "More apps", "More": "More", "Search an app...": "Search an app...", "Tips": "Tips", diff --git a/main/src/assets/lang/zh_CN.json b/main/src/assets/lang/zh_CN.json index 2cbadb19..6074c9e1 100644 --- a/main/src/assets/lang/zh_CN.json +++ b/main/src/assets/lang/zh_CN.json @@ -370,7 +370,7 @@ "Connection lost. Retry in 5 seconds...": "连接丢失。5秒后重试...", "cli to compose...": "cli 转为 Compose", "View tutorial": "观看教程", - "Add Source": "添加软件源", + "Add Source": "更多应用", "More": "浏览更多", "Search an app...": "搜索应用……", "Tips": "提示", diff --git a/main/src/assets/scss/common/_others.scss b/main/src/assets/scss/common/_others.scss index 26f74e38..9f5eb419 100644 --- a/main/src/assets/scss/common/_others.scss +++ b/main/src/assets/scss/common/_others.scss @@ -158,7 +158,7 @@ } .container-icon { - padding: 0 0.5rem; + padding: 0 0.25rem; } } @@ -240,3 +240,11 @@ button.dropdown-item.is-active { .w-full { width: 100% !important; } + +.swiper-button-next, .swiper-button-prev{ + transition: opacity 0.3s; + &.swiper-button-disabled{ + opacity: 0 !important; + } +} + diff --git a/main/src/assets/scss/common/_size.scss b/main/src/assets/scss/common/_size.scss index f71de937..ea125b6b 100644 --- a/main/src/assets/scss/common/_size.scss +++ b/main/src/assets/scss/common/_size.scss @@ -23,6 +23,11 @@ word-break: keep-all; } +.is-14x14 { + width: 14px; + height: 14px; +} + .is-16x16 { width: 16px; height: 16px; diff --git a/main/src/components/Apps/AppCard.vue b/main/src/components/Apps/AppCard.vue index 09d2e83d..db2540e7 100644 --- a/main/src/components/Apps/AppCard.vue +++ b/main/src/components/Apps/AppCard.vue @@ -5,16 +5,17 @@
+
{{ - i18n(appDetailData.tagline) - }}
+ i18n(appDetailData.tagline) + }}
+ class="has-background-red-tertiary has-text-red has-text-full-04 _is-normal is-flex is-align-items-center font pr-2" + style="width: fit-content;height: 1.5rem;border-radius: 0.25rem"> - {{ $t('Not compatible with {arch} devices.', {arch: archTitle}) }} + {{ $t('Not compatible with {arch} devices.', { arch: archTitle }) }}
{{ $t('CATEGORY') }}
-
{{ appDetailData.category }}
{{ - $t('REQUIRE') - }} {{ $t('MEMORY') }}
+ $t('REQUIRE') + }} {{ $t('MEMORY') }}{{ appDetailData.min_memory }}
MB
{{ $t('Single Drive Storage') }}, {{ item.fsType }}
-
{{ - $t("Available Total", { - name: item.diskName, - avl: renderSize(item.availSize), - total: renderSize(item.size) - }) - }}
-{{ $t('Single Drive Storage') }}, {{ item.fsType }}
+
{{ + $t("Available Total", { + name: item.diskName, + avl: renderSize(item.availSize), + total: renderSize(item.size) + }) + }}
+