From cc9090de11f5de51e40ac218c852499ab682847a Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Thu, 2 Jan 2025 10:26:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=80=89=E6=8B=A9=E5=95=86=E6=88=B7?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 8 +-- src/components/Select/SelectMerchant.vue | 74 ++++++++++++++++++++++++ src/components/index.ts | 2 + src/views/wallet/wallet-active/form.vue | 3 +- src/views/wallet/wallet-freeze/index.vue | 2 +- 5 files changed, 83 insertions(+), 6 deletions(-) create mode 100644 src/components/Select/SelectMerchant.vue diff --git a/.env.development b/.env.development index 274b324..e0df6a1 100644 --- a/.env.development +++ b/.env.development @@ -8,12 +8,12 @@ VITE_OPEN = true ENV = 'development' # ADMIN 服务地址 -VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ -#VITE_ADMIN_PROXY_PATH = http://192.168.110.156:9999 +# VITE_ADMIN_PROXY_PATH = http://123.156.230.15:8089/api/ +VITE_ADMIN_PROXY_PATH = http://localhost:9999 # 图片访问基础地址 -VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api -# VITE_IMAGE_BASE_PATH = http://localhost:9999 +# VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api +VITE_IMAGE_BASE_PATH = http://localhost:9999 # 代码生成服务地址 VITE_GEN_PROXY_PATH = http://192.168.110.156:5003 diff --git a/src/components/Select/SelectMerchant.vue b/src/components/Select/SelectMerchant.vue new file mode 100644 index 0000000..00403b1 --- /dev/null +++ b/src/components/Select/SelectMerchant.vue @@ -0,0 +1,74 @@ + + + \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts index 6e99cb0..98eb687 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -16,6 +16,7 @@ import PreviewImage from "/@/components/PreviewImage/index.vue" // 业务组件 import SelectUser from '/@/components/Select/SelectUser.vue' import SelectWalletType from '/@/components/Select/SelectWalletType.vue' +import SelectMerchant from '/@/components/Select/SelectMerchant.vue' // 第三方组件 @@ -54,6 +55,7 @@ export default { app.component('PreviewImage', PreviewImage) app.component('SelectUser', SelectUser) app.component('SelectWalletType', SelectWalletType) + app.component('SelectMerchant', SelectMerchant) // 导入全部的elmenet-plus的图标 for (const [key, component] of Object.entries(ElementPlusIconsVue)) { diff --git a/src/views/wallet/wallet-active/form.vue b/src/views/wallet/wallet-active/form.vue index 0fd9889..e56fa6d 100644 --- a/src/views/wallet/wallet-active/form.vue +++ b/src/views/wallet/wallet-active/form.vue @@ -2,9 +2,10 @@ + - + diff --git a/src/views/wallet/wallet-freeze/index.vue b/src/views/wallet/wallet-freeze/index.vue index 85ab699..eb45dd3 100644 --- a/src/views/wallet/wallet-freeze/index.vue +++ b/src/views/wallet/wallet-freeze/index.vue @@ -45,7 +45,7 @@