From b1be53a475ad1f7995541c940762d53a3459dbed Mon Sep 17 00:00:00 2001 From: fox <1466778434@qq.com> Date: Thu, 20 Mar 2025 14:05:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.scss | 17 +++ components/base/tabbar.vue | 17 +-- components/couponPopup/couponPopup.vue | 88 +---------- components/product/productCard.vue | 178 ++++++++++++++++++++++ pages/index/index.vue | 228 ++++++++++++++++------------ static/image/home/bg.png | Bin 0 -> 5456 bytes static/image/home/coupon.png | Bin 0 -> 249061 bytes static/image/home/icon-arrow.png | Bin 0 -> 747 bytes static/image/home/icon-hot.png | Bin 0 -> 1393 bytes static/image/home/icon-member-business.png | Bin 0 -> 1085 bytes static/image/home/icon-member-personal.png | Bin 0 -> 1206 bytes static/image/home/icon-member.png | Bin 0 -> 1204 bytes static/image/home/icon-sales.png | Bin 0 -> 486 bytes static/image/home/mark-recommend.png | Bin 0 -> 3704 bytes static/image/home/temp-product.png | Bin 0 -> 212033 bytes static/image/tabbar/cart-active.png | Bin 3598 -> 0 bytes static/image/tabbar/cart.png | Bin 3398 -> 0 bytes static/image/tabbar/home-active.png | Bin 2603 -> 1471 bytes static/image/tabbar/home.png | Bin 2482 -> 1256 bytes static/image/tabbar/order-active.png | Bin 2339 -> 886 bytes static/image/tabbar/order.png | Bin 2249 -> 801 bytes static/image/tabbar/product-list-active.png | Bin 2413 -> 1055 bytes static/image/tabbar/product-list.png | Bin 2308 -> 983 bytes static/image/tabbar/user-center-active.png | Bin 1883 -> 1765 bytes static/image/tabbar/user-center.png | Bin 1842 -> 1467 bytes uni.scss | 8 +- 26 files changed, 342 insertions(+), 194 deletions(-) create mode 100644 components/product/productCard.vue create mode 100644 static/image/home/bg.png create mode 100644 static/image/home/coupon.png create mode 100644 static/image/home/icon-arrow.png create mode 100644 static/image/home/icon-hot.png create mode 100644 static/image/home/icon-member-business.png create mode 100644 static/image/home/icon-member-personal.png create mode 100644 static/image/home/icon-member.png create mode 100644 static/image/home/icon-sales.png create mode 100644 static/image/home/mark-recommend.png create mode 100644 static/image/home/temp-product.png delete mode 100644 static/image/tabbar/cart-active.png delete mode 100644 static/image/tabbar/cart.png diff --git a/common.scss b/common.scss index 5fd3072..de989b9 100644 --- a/common.scss +++ b/common.scss @@ -37,4 +37,21 @@ margin: 0; width: 0; height: 0; +} + + +.flex { + display: flex; + align-items: center; + justify-content: center; +} + +.flex-column { + flex-direction: column; +} + +.card { + background-color: #FFFFFF; + border-radius: 16rpx; + padding: 19rpx 18rpx; } \ No newline at end of file diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index 9c70362..8461658 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -1,8 +1,12 @@