From 1aeb515cc544f5d63f70431ee4045cfde1ec0483 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E6=98=9F=E6=98=9F?= <605893810@qq.com>
Date: Mon, 6 Jul 2026 09:05:36 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E9=A6=96=E9=A1=B5=E6=94=B9=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/home/home.vue | 78 ++++++-----------------------
pages/rwa_package/shop/fen-shop.vue | 7 ++-
pages/supply_chain/supply_chain.vue | 2 +
3 files changed, 23 insertions(+), 64 deletions(-)
diff --git a/pages/home/home.vue b/pages/home/home.vue
index afc7e2f..742fb38 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -3,54 +3,6 @@
-
-
-
-
-
-
-
- TB聚合商城
- 全民共创共享的电商平台
-
-
-
@@ -176,6 +128,8 @@
+
+
@@ -644,12 +598,19 @@
* 查询分类列表
*/
async getSortList() {
- const resp = await getCascadeCategory({
- parentId: 0
- });
- if (resp && resp.bizcode === 100) {
- this.sortList = resp.data.slice(0, 10);
- }
+ this.sortList = [
+ {
+ id: 1,
+ name: "超级补贴",
+ icon: ''
+ }
+ ];
+ // const resp = await getCascadeCategory({
+ // parentId: 0
+ // });
+ // if (resp && resp.bizcode === 100) {
+ // this.sortList = resp.data.slice(0, 10);
+ // }
},
// 跳转到分类栏目
jumpSort(item) {
@@ -698,13 +659,6 @@
position: absolute;
top: 90rpx;
- .header_title_warp {
- display: flex;
- align-items: center;
- margin-bottom: 30rpx;
- padding: 0 30rpx;
- }
-
.header_right_warp {
display: flex;
align-items: center;
@@ -757,7 +711,7 @@
.home_sort_warp {
// position: absolute;
top: 460rpx;
- padding: 30rpx 30rpx 0;
+ padding: 0 30rpx;
width: calc(100% - 60rpx);
.sort_warp {
diff --git a/pages/rwa_package/shop/fen-shop.vue b/pages/rwa_package/shop/fen-shop.vue
index 5d799b8..70d9c07 100644
--- a/pages/rwa_package/shop/fen-shop.vue
+++ b/pages/rwa_package/shop/fen-shop.vue
@@ -27,11 +27,11 @@
+ class="ping-item" />
+ class="ping-item" />
@@ -259,6 +259,7 @@ export default {
display: flex;
flex-direction: column;
align-items: center;
+ overflow-y: auto;
}
.mescrollUniView {
@@ -271,6 +272,8 @@ export default {
.fall-col {
width: 332rpx;
height: 100%;
+ display: grid;
+ grid-gap: 12rpx;
}
}
diff --git a/pages/supply_chain/supply_chain.vue b/pages/supply_chain/supply_chain.vue
index 56b8067..9f6707f 100644
--- a/pages/supply_chain/supply_chain.vue
+++ b/pages/supply_chain/supply_chain.vue
@@ -216,6 +216,8 @@ export default {
};
if (this.curTab != 0) {
params["categoryId"] = this.tabList[this.curTab].id;
+ } else {
+ params["isRecomm"] = true;
}
const resp = await searchList(params);
if (resp && resp.bizcode === 100) {