Эх сурвалжийг харах

Merge branch 'master' of https://git.nanodreamtech.com/wkw/wallet_app

wkw 3 долоо хоног өмнө
parent
commit
c2c8c9b909

+ 26 - 0
README.md

@@ -41,4 +41,30 @@ assets/
 ├── icon-background.png  -- 图标的背景层(纯色或简单纹理)(前景层)
 ├── icon-background.png  -- 图标的背景层(纯色或简单纹理)(前景层)
 ├── splash.png           -- 默认启动画面(亮色主题)
 ├── splash.png           -- 默认启动画面(亮色主题)
 └── splash-dark.png      -- 深色主题下的启动画面
 └── splash-dark.png      -- 深色主题下的启动画面
+```
+
+
+
+```
+
+apply plugin: 'com.android.application'
+
+
+ signingConfigs {
+        release {
+            storeFile file("f62.keystore")  
+            keyAlias "__uni__9c0e590"
+            storePassword "LkSvN1Ys"    
+            keyPassword "LkSvN1Ys"        
+        }
+    }
+
+    buildTypes {
+        release {
+            signingConfig signingConfigs.release 
+            minifyEnabled false
+            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+        }
+    }
+
 ```
 ```

+ 1 - 1
android/app/capacitor.build.gradle

@@ -19,7 +19,7 @@ dependencies {
     implementation project(':capacitor-toast')
     implementation project(':capacitor-toast')
 
 
 }
 }
-apply from: "../../node_modules/.store/cordova-plugin-fingerprint-aio@6.0.1/node_modules/cordova-plugin-fingerprint-aio/src/android/build.gradle"
+
 
 
 if (hasProperty('postBuildExtras')) {
 if (hasProperty('postBuildExtras')) {
   postBuildExtras()
   postBuildExtras()

BIN
assets/icon-background.png


BIN
assets/icon-foreground.png


BIN
assets/icon-only.png


BIN
assets/splash-dark.png


BIN
assets/splash.png


+ 5 - 30
capacitor.config.ts

@@ -1,7 +1,7 @@
 import { CapacitorConfig } from '@capacitor/cli';
 import { CapacitorConfig } from '@capacitor/cli';
 import { updateVersion } from './scripts/sync-version';
 import { updateVersion } from './scripts/sync-version';
- 
-updateVersion() 
+
+updateVersion()
 
 
 const config: CapacitorConfig = {
 const config: CapacitorConfig = {
   appId: 'com.example.app',
   appId: 'com.example.app',
@@ -13,24 +13,9 @@ const config: CapacitorConfig = {
     url: 'http://192.168.0.59:5173',
     url: 'http://192.168.0.59:5173',
     cleartext: true,          // 允许HTTP明文通信(仅开发环境)
     cleartext: true,          // 允许HTTP明文通信(仅开发环境)
     allowNavigation: ['*']    // 允许任意URL导航
     allowNavigation: ['*']    // 允许任意URL导航
-  }, 
+  },
   // 插件配置
   // 插件配置
   plugins: {
   plugins: {
-    SplashScreen: {
-      launchShowDuration: 3000,
-      launchAutoHide: true,
-      backgroundColor: '#ffffffff',  // ARGB格式白色背景
-      androidScaleType: 'CENTER_CROP',
-      showSpinner: false,
-      androidSpinnerStyle: 'large',
-      iosSpinnerStyle: 'small',
-      spinnerColor: '#999999',
-      splashFullScreen: true,
-      splashImmersive: true,
-      androidSplashResourceName: 'splash',
-      useDialog: false
-    },
-
     CapacitorAssets: {
     CapacitorAssets: {
       iconBackgroundColor: '#ffffff'  // 应用图标背景色
       iconBackgroundColor: '#ffffff'  // 应用图标背景色
     },
     },
@@ -40,16 +25,6 @@ const config: CapacitorConfig = {
       presentationOptions: ['badge', 'sound', 'alert']
       presentationOptions: ['badge', 'sound', 'alert']
     }
     }
   },
   },
-
-  // 资源文件配置
-  // assets: {
-  //   splash: {
-  //     src: 'assets/splash.png',  // 启动图路径
-  //     android: true,
-  //     ios: true
-  //   }
-  // },
-
   // iOS专属配置
   // iOS专属配置
   ios: {
   ios: {
     scheme: 'App',
     scheme: 'App',
@@ -65,8 +40,8 @@ const config: CapacitorConfig = {
     buildOptions: {
     buildOptions: {
       keystorePath: 'f62.keystore',
       keystorePath: 'f62.keystore',
       keystoreAlias: 'f62', //  // 生成时指定的别名
       keystoreAlias: 'f62', //  // 生成时指定的别名
-      keystorePassword:  'LkSvN1Ys',  // 从环境变量读取
-      keystoreAliasPassword:   'LkSvN1Ys'
+      keystorePassword: 'LkSvN1Ys',  // 从环境变量读取
+      keystoreAliasPassword: 'LkSvN1Ys'
     }
     }
   }
   }
 };
 };

+ 2 - 5
package.json

@@ -29,11 +29,9 @@
     "@capacitor/local-notifications": "^7.0.1",
     "@capacitor/local-notifications": "^7.0.1",
     "@capacitor/push-notifications": "^7.0.1",
     "@capacitor/push-notifications": "^7.0.1",
     "@capacitor/status-bar": "^7.0.1",
     "@capacitor/status-bar": "^7.0.1",
-    "@capacitor/toast": "^7.0.1", 
-    "@ionic-native/fingerprint-aio": "^5.36.0",
+    "@capacitor/toast": "^7.0.1",
     "axios": "^1.10.0",
     "axios": "^1.10.0",
     "clipboard": "^2.0.11",
     "clipboard": "^2.0.11",
-    "cordova-plugin-fingerprint-aio": "^6.0.0",
     "crypto-js": "^4.2.0",
     "crypto-js": "^4.2.0",
     "dayjs": "^1.11.13",
     "dayjs": "^1.11.13",
     "less": "^4.3.0",
     "less": "^4.3.0",
@@ -52,8 +50,7 @@
     "vuedraggable": "next",
     "vuedraggable": "next",
     "web3": "^4.16.0"
     "web3": "^4.16.0"
   },
   },
-  "devDependencies": {
-    "@capacitor/assets": "^3.0.5",
+  "devDependencies": { 
     "@vitejs/plugin-vue": "^5.2.3",
     "@vitejs/plugin-vue": "^5.2.3",
     "@vitejs/plugin-vue-jsx": "^5.0.1",
     "@vitejs/plugin-vue-jsx": "^5.0.1",
     "code-inspector-plugin": "^0.20.12",
     "code-inspector-plugin": "^0.20.12",

+ 1 - 1
src/router/system.js

@@ -4,7 +4,7 @@ export const systemRoutes = [
   {
   {
     path: "/",
     path: "/",
     name: "main",
     name: "main",
-    redirect: "wallet",
+    redirect: "login",
     component: LAYOUT,
     component: LAYOUT,
     children: [
     children: [
       {
       {