From 64fed7379f298bb4c43107f073ac90ecec792592 Mon Sep 17 00:00:00 2001
From: b2894lxlx <517289602@qq.com>
Date: Sun, 28 Jan 2024 00:50:07 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=86=E7=B1=BB=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/category/index.js | 4 +-
pages/goods/list.vue | 1162 +++++++++++++++++++++--------------------
2 files changed, 605 insertions(+), 561 deletions(-)
diff --git a/api/category/index.js b/api/category/index.js
index 64bb6f8..526ac93 100644
--- a/api/category/index.js
+++ b/api/category/index.js
@@ -7,8 +7,8 @@ const api = {
}
// 页面数据
-export function list() {
- return request.get(api.list)
+export function list(param) {
+ return request.get(api.list, param)
}
diff --git a/pages/goods/list.vue b/pages/goods/list.vue
index eeb001b..511dade 100644
--- a/pages/goods/list.vue
+++ b/pages/goods/list.vue
@@ -1,569 +1,613 @@
-
-
-
-
-
-
-
- 综合
-
-
- {{ categoryText }}
-
+
+
+
+
+
+
+
+ 综合
+
- 销量
-
-
- 价格
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.goods_name }}
-
-
-
-
- {{ item.selling_point }}
-
-
-
- 已售{{ item.goods_sales }}件
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.goods_name }}
-
-
-
- ¥{{ item.goods_price_min }}
- ¥{{ item.line_price_min }}
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 销量
+
+
+ 价格
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.goods_name }}
+
+
+
+
+ {{ item.selling_point }}
+
+
+
+ 已售{{ item.goods_sales }}件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.goods_name }}
+
+
+
+ ¥{{ item.goods_price_min }}
+ ¥{{ item.line_price_min }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file