From 16bae845c9833a787c4f7ef8281fd24e5bf08c21 Mon Sep 17 00:00:00 2001
From: xiaoquan <838115837@qq.com>
Date: Mon, 11 May 2026 00:37:21 +0800
Subject: [PATCH] dev
---
.../src/components/business/MerchantCard.vue | 392 ++++++++++++------
1 file changed, 267 insertions(+), 125 deletions(-)
diff --git a/apps/miniapp/src/components/business/MerchantCard.vue b/apps/miniapp/src/components/business/MerchantCard.vue
index e503329..902cb28 100644
--- a/apps/miniapp/src/components/business/MerchantCard.vue
+++ b/apps/miniapp/src/components/business/MerchantCard.vue
@@ -1,72 +1,99 @@
-
-
-
-
+
+
+
+
-
-
- ▶
+
+
+
+
+
+
+ ▶
+
+
+
+
+ {{ merchant.type }}
-
-
+
+
- {{ merchant.name }}
-
-
- {{ merchant.type }}
-
-
-
- {{ merchant.rating }}
- {{ merchant.rating ? getRatingLabel(merchant.rating) : '' }}
- {{ merchant.reviewCount }}评价
+
+ {{ merchant.name }}
-
-
-
- 距你{{ formatDistance(merchant.distance) }}
- {{ merchant.nearbyLandmark }}附近
-
+
+
+
+
+ {{ star <= Math.floor(merchant.rating) ? '★' : '☆' }}
+
+
+ {{ merchant.rating.toFixed(1) }}
+ {{ getRatingLabel(merchant.rating) }}
+ ({{ merchant.reviewCount || 0 }})
-
- {{ facility }}
+ ✓
+ {{ facility }}
+
+
+
+
+
+ 📍
+
+ {{ formatDistance(merchant.distance) }}
+ ·
+ {{ merchant.nearbyLandmark }}
- {{ merchant.recentPurchase }}
+
+ 🔥
+ {{ merchant.recentPurchase }}
+
-
-
-
- ¥{{ merchant.originalPrice }}
- ¥{{ merchant.minPrice }}
+
+
+
+ 低至
+ ¥
+ {{ merchant.minPrice }}
+ ¥{{ merchant.originalPrice }}
+
+
+
+ {{ merchant.promotion }}
- {{ merchant.promotion }}
-
+