From c6e2aa884b531531868af38352ba389d01ec2e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E5=BD=A6=E7=A5=96?= <605893810@qq.com> Date: Fri, 15 Aug 2025 21:59:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BA=95=E9=83=A8=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/order.js | 2 +- components/custom-tab-bar.vue | 2 +- pages/home/home.vue | 2 +- pages/mine/mine.vue | 2 +- pages/shopping_cart/shopping_cart.vue | 2 +- pages/sort/sort.vue | 16 +++++++++------- pages/supply_chain/supply_chain.vue | 2 +- 7 files changed, 15 insertions(+), 13 deletions(-) diff --git a/api/order.js b/api/order.js index c11f03b..825e27c 100644 --- a/api/order.js +++ b/api/order.js @@ -52,7 +52,7 @@ export function getStatistics(params) { export function getSupportPay(params) { return request({ url: "/cart/getSupportPay", - method: "get", + method: "post", data: params, }); } diff --git a/components/custom-tab-bar.vue b/components/custom-tab-bar.vue index e5795bc..6c43adc 100644 --- a/components/custom-tab-bar.vue +++ b/components/custom-tab-bar.vue @@ -66,7 +66,7 @@ export default { display: flex; justify-content: space-around; align-items: center; - height: 140rpx; + //height: 140rpx; /* 根据需要调整 */ background-color: #fff; /* 背景颜色 */ diff --git a/pages/home/home.vue b/pages/home/home.vue index acb80ca..e7d1634 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -175,7 +175,7 @@ - + diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index c2bf335..ab0bae0 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -109,7 +109,7 @@ - + diff --git a/pages/shopping_cart/shopping_cart.vue b/pages/shopping_cart/shopping_cart.vue index eece51f..9d0a164 100644 --- a/pages/shopping_cart/shopping_cart.vue +++ b/pages/shopping_cart/shopping_cart.vue @@ -97,7 +97,7 @@ - + diff --git a/pages/sort/sort.vue b/pages/sort/sort.vue index 86248ad..b0ee5ad 100644 --- a/pages/sort/sort.vue +++ b/pages/sort/sort.vue @@ -3,7 +3,8 @@ - + 分类 @@ -22,7 +23,8 @@ + :class="[current == index ? 'u-tab-item-active' : '']" :data-current="index" + @tap.stop="swichMenu(item, index)"> {{ item.name }} @@ -56,7 +58,7 @@ - + @@ -128,15 +130,15 @@ export default { } }, jumpSearch(item) { - + uni.navigateTo({ url: '/pages/shop/search', }) - + }, - jumpInfo(item){ + jumpInfo(item) { uni.navigateTo({ - url: `/pages/other_package/productInfo/productInfo?id=${item.id}`, + url: `/pages/other_package/productInfo/productInfo?id=${item.id}`, }) }, // 查询分类 diff --git a/pages/supply_chain/supply_chain.vue b/pages/supply_chain/supply_chain.vue index a729e9f..2c95276 100644 --- a/pages/supply_chain/supply_chain.vue +++ b/pages/supply_chain/supply_chain.vue @@ -65,7 +65,7 @@ - +