From a8c02298a6ae2035b10743318f3ec1f9e3682c70 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Thu, 26 Dec 2024 19:34:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/base/tabbar.vue | 34 ++++-- components/product/productItem.vue | 21 +++- components/user/productList.vue | 59 ++++++---- pages/index/category.vue | 13 ++- pages/index/index.vue | 218 +++++++------------------------------ pages/index/order.vue | 3 + uni.scss | 2 +- 7 files changed, 130 insertions(+), 220 deletions(-) diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index 724d6a0..89adc76 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -39,19 +39,33 @@ "title": "首页", key : 'home', }, + // { + // "selectedIconPath": "/static/image/tabbar/member-a.png", + // "iconPath": "/static/image/tabbar/member.png", + // "pagePath": "/pages/index/member", + // "title": "会员", + // key : 'member', + // }, + // { + // "selectedIconPath": "/static/image/tabbar/cart-a.png", + // "iconPath": "/static/image/tabbar/cart.png", + // "pagePath": "/pages/index/cart", + // "title": "购物车", + // key : 'cart', + // }, { - "selectedIconPath": "/static/image/tabbar/member-a.png", - "iconPath": "/static/image/tabbar/member.png", - "pagePath": "/pages/index/member", - "title": "会员", - key : 'member', + "selectedIconPath": "/static/image/tabbar/home-a.png", + "iconPath": "/static/image/tabbar/home.png", + "pagePath": "/pages/index/category", + "title": "分类", + key : 'category', }, { - "selectedIconPath": "/static/image/tabbar/cart-a.png", - "iconPath": "/static/image/tabbar/cart.png", - "pagePath": "/pages/index/cart", - "title": "购物车", - key : 'cart', + "selectedIconPath": "/static/image/tabbar/home-a.png", + "iconPath": "/static/image/tabbar/home.png", + "pagePath": "/pages/index/order", + "title": "订单", + key : 'order', }, { "selectedIconPath": "/static/image/tabbar/center-a.png", diff --git a/components/product/productItem.vue b/components/product/productItem.vue index ccaef1a..c9755db 100644 --- a/components/product/productItem.vue +++ b/components/product/productItem.vue @@ -1,5 +1,6 @@