From 8f449f0c68c16b70bf9eb0f3eea5ff0092bb5668 Mon Sep 17 00:00:00 2001 From: Seven Date: Fri, 19 Dec 2025 22:46:32 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20SubscribeRwa=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=8C=E6=B7=BB=E5=8A=A0=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E9=AA=8C=E8=AF=81=E5=92=8C=E7=94=B3=E8=B4=AD?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E6=8F=90=E7=A4=BA=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto-imports.d.ts | 3 +- capacitor.config.ts | 6 +++ src/components/subscribe-rwa/index.vue | 61 ++++++++++++++++++-------- src/utils/ionic-helper.ts | 1 + src/views/trade-rwa/index.vue | 22 +++++++++- 5 files changed, 70 insertions(+), 23 deletions(-) diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 760d212..9e7c7cc 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -340,7 +340,7 @@ declare global { export type { HapticsOptions } from './src/composables/useVibrate' import('./src/composables/useVibrate') // @ts-ignore - export type { PageInstance, InputInstance, ModalInstance, FormInstance } from './src/utils/ionic-helper' + export type { PageInstance, InputInstance, ModalInstance, FormInstance, ContentInstance } from './src/utils/ionic-helper' import('./src/utils/ionic-helper') } @@ -612,7 +612,6 @@ declare module 'vue' { readonly useStorage: UnwrapRef readonly useStorageAsync: UnwrapRef readonly useStyleTag: UnwrapRef - readonly useSubscribeModal: UnwrapRef readonly useSupported: UnwrapRef readonly useSwipe: UnwrapRef readonly useTemplateRef: UnwrapRef diff --git a/capacitor.config.ts b/capacitor.config.ts index 68dcb1e..322af38 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -8,6 +8,12 @@ const config: CapacitorConfig = { url: "http://192.168.1.55:5173", // Vite默认端口 cleartext: true, // 允许HTTP连接 }, + plugins: { + Keyboard: { + resize: "ionic", // 使用ionic模式,让ion-app自动调整大小 + resizeOnFullScreen: true, // Android全屏模式下也要调整 + }, + }, }; export default config; diff --git a/src/components/subscribe-rwa/index.vue b/src/components/subscribe-rwa/index.vue index 1f411b3..9c321a4 100644 --- a/src/components/subscribe-rwa/index.vue +++ b/src/components/subscribe-rwa/index.vue @@ -1,36 +1,59 @@