From f8913d2623e328a568fc0d87fc7bc3d3d4a2362f Mon Sep 17 00:00:00 2001 From: mo-bai <1873032855@qq.com> Date: Fri, 15 Apr 2022 10:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E7=BA=A6=E5=95=86=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/merchantApi.js | 24 ++ components/qn-select/qn-select.vue | 107 ++++++- enums/index.js | 29 ++ env/index.js | 4 +- manifest.json | 10 +- pages.json | 16 + pages/merchant-list/index.vue | 300 +++++++++++++++++++ pages/merchant-setting/index.vue | 298 ++++++++++++++++++ pages/mine/index.vue | 21 +- static/imgs/merchant/apply-auditing-icon.png | Bin 0 -> 4765 bytes static/imgs/merchant/apply-finished-icon.png | Bin 0 -> 4069 bytes static/imgs/merchant/apply-reject-icon.png | Bin 0 -> 4519 bytes static/imgs/merchant/error-icon.png | Bin 0 -> 2553 bytes static/imgs/mine/merchant-icon.png | Bin 0 -> 7952 bytes utils/index.js | 38 ++- 15 files changed, 820 insertions(+), 27 deletions(-) create mode 100644 apis/merchantApi.js create mode 100644 pages/merchant-list/index.vue create mode 100644 pages/merchant-setting/index.vue create mode 100644 static/imgs/merchant/apply-auditing-icon.png create mode 100644 static/imgs/merchant/apply-finished-icon.png create mode 100644 static/imgs/merchant/apply-reject-icon.png create mode 100644 static/imgs/merchant/error-icon.png create mode 100644 static/imgs/mine/merchant-icon.png diff --git a/apis/merchantApi.js b/apis/merchantApi.js new file mode 100644 index 0000000..9508f3c --- /dev/null +++ b/apis/merchantApi.js @@ -0,0 +1,24 @@ +import http from '@/utils/http/index.js' +/** + * 获取特约商户列表 + * @param {any} data + * @returns + */ +export function getMerchantList(data) { + return http.get({ + url: '/uec/get/supplier/apply/commercial/tenant/list', + data + }) +} + +/** + * 申请特约商户 + * @param {any} data + * @returns + */ +export function applyMerchant(data) { + return http.post({ + url: '/uec/submit/supplier/commercial/tenant/apply', + data + }) +} diff --git a/components/qn-select/qn-select.vue b/components/qn-select/qn-select.vue index 04d4695..7fe659d 100644 --- a/components/qn-select/qn-select.vue +++ b/components/qn-select/qn-select.vue @@ -1,14 +1,14 @@