From a194e37abac98724a598fef7a0499919da825dab Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Tue, 4 Jun 2024 22:03:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop/index.js | 6 +-- src/views/goods/Index.vue | 32 ++++++++++++++ src/views/setting/payment/template/Create.vue | 4 +- src/views/setting/payment/template/Update.vue | 4 +- src/views/shop/Index.vue | 42 +++++++------------ 5 files changed, 54 insertions(+), 34 deletions(-) diff --git a/src/api/shop/index.js b/src/api/shop/index.js index 689ae65..6996fdb 100644 --- a/src/api/shop/index.js +++ b/src/api/shop/index.js @@ -12,13 +12,13 @@ const api = { /** * 商户列表 - * @param {*} data + * @param {*} params */ -export function shopList(data) { +export function shopList(params) { return axios({ url: api.shopList, method: 'get', - data + params }) } diff --git a/src/views/goods/Index.vue b/src/views/goods/Index.vue index 065308c..d97abc0 100644 --- a/src/views/goods/Index.vue +++ b/src/views/goods/Index.vue @@ -34,6 +34,13 @@ + + + + {{ item.name }} + + +
- @@ -59,6 +66,8 @@ 出售中 已下架 已售罄 + 已入池 + 未入池
创建商品 @@ -142,6 +151,7 @@