diff --git a/package.json b/package.json
index 2c7a65c..0e0358d 100644
--- a/package.json
+++ b/package.json
@@ -51,7 +51,7 @@
"@better-scroll/core": "2.5.1",
"@elysiajs/eden": "^1.4.5",
"@iconify/vue": "5.0.0",
- "@riwa/api-types": "http://192.168.1.2:9538/api/capp-eden-0.0.43.tgz",
+ "@riwa/api-types": "http://192.168.1.2:9538/api/capp-eden-0.0.44.tgz",
"@sa/axios": "workspace:*",
"@sa/color": "workspace:*",
"@sa/hooks": "workspace:*",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3db1d45..97980fd 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -18,8 +18,8 @@ importers:
specifier: 5.0.0
version: 5.0.0(vue@3.5.25(typescript@5.9.3))
'@riwa/api-types':
- specifier: http://192.168.1.2:9538/api/capp-eden-0.0.43.tgz
- version: '@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.43.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))'
+ specifier: http://192.168.1.2:9538/api/capp-eden-0.0.44.tgz
+ version: '@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.44.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))'
'@sa/axios':
specifier: workspace:*
version: link:packages/axios
@@ -496,9 +496,9 @@ packages:
'@borewit/text-codec@0.1.1':
resolution: {integrity: sha512-5L/uBxmjaCIX5h8Z+uu+kA9BQLkc/Wl06UGR5ajNRxu+/XjonB5i8JpgFMrPj3LXTCPA0pv8yxUvbUi+QthGGA==}
- '@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.43.tgz':
- resolution: {tarball: http://192.168.1.2:9538/api/capp-eden-0.0.43.tgz}
- version: 0.0.43
+ '@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.44.tgz':
+ resolution: {tarball: http://192.168.1.2:9538/api/capp-eden-0.0.44.tgz}
+ version: 0.0.44
peerDependencies:
'@elysiajs/eden': ^1.4.6
@@ -4871,7 +4871,7 @@ snapshots:
'@borewit/text-codec@0.1.1': {}
- '@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.43.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))':
+ '@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.44.tgz(@elysiajs/eden@1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))':
dependencies:
'@elysiajs/eden': 1.4.5(elysia@1.4.19(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3))
diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue
index 1fa1f1a..06c606c 100644
--- a/src/components/upload/index.vue
+++ b/src/components/upload/index.vue
@@ -1,14 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+ 点击或者拖动文件到该区域来上传
+ 请不要上传敏感数据,比如你的银行卡号和密码,信用卡号有效期和安全码
+
+
+
+
+
单个文件大小不超过 100MB
+
支持格式:.xlsx,.xls
+
+
+ 点击下载Excel模版
+
+
+
+ 取消
+ 确定
+
+
+
+
diff --git a/src/views/user/index.vue b/src/views/user/index.vue
index 625edf9..8f47730 100644
--- a/src/views/user/index.vue
+++ b/src/views/user/index.vue
@@ -15,6 +15,7 @@ import Ledger from './components/ledger.vue';
import Deposit from './components/deposit.vue';
import Subscription from './components/subscription.vue';
import AdjustWallet from './components/adjust-wallet.vue';
+import AdjustWalletWithFile from './components/adjust-wallet-with-file.vue';
const dialog = useDialog();
const message = useMessage();
@@ -294,6 +295,20 @@ function handleAdjustWallet() {
})
});
}
+
+function handleAdjustWalletWithFile() {
+ const d = dialog.create({
+ title: '文件导入上分',
+ showIcon: false,
+ style: { width: '600px' },
+ content: () =>
+ h(AdjustWalletWithFile, {
+ onClose: () => {
+ d.destroy();
+ }
+ })
+ });
+}
@@ -312,7 +327,8 @@ function handleAdjustWallet() {
}"
>
- 一键上分
+ 一键上分
+ 文件导入上分