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 @@