diff --git a/src/views/dashboard/dashboard.vue b/src/views/dashboard/dashboard.vue index a8082ef..152737d 100644 --- a/src/views/dashboard/dashboard.vue +++ b/src/views/dashboard/dashboard.vue @@ -12,21 +12,21 @@
会员数据
-
+
-
今日新增会员
-
{{ memberSummary.memberToday || 0 }}
+
当月新增会员
+
{{ memberSummary.memberMonth || 0 }}
昨日新增会员
{{ memberSummary.memberYesterday || 0 }}
-
当月新增会员
-
{{ memberSummary.memberMonth || 0 }}
+
今日新增会员
+
{{ memberSummary.memberToday || 0 }}
@@ -38,28 +38,29 @@
首购金额
{{ dailyPerformance.today && dailyPerformance.today.firstAmount || '0.00' }}
-
+
复购金额
{{ dailyPerformance.today && dailyPerformance.today.repAmount || '0.00' }}
-
+ +
+
总金额
+
{{ getSum(dailyPerformance.today && dailyPerformance.today.firstAmount, dailyPerformance.today && dailyPerformance.today.repAmount) }}
-
-
-
总金额
-
{{ getSum(dailyPerformance.today && dailyPerformance.today.firstAmount, dailyPerformance.today && dailyPerformance.today.repAmount) }}
-
+
@@ -69,28 +70,29 @@
首购金额
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.firstAmount || '0.00' }}
-
+
复购金额
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.repAmount || '0.00' }}
-
+ +
+
总金额
+
{{ getSum(dailyPerformance.yesterday && dailyPerformance.yesterday.firstAmount, dailyPerformance.yesterday && dailyPerformance.yesterday.repAmount) }}
-
-
-
总金额
-
{{ getSum(dailyPerformance.yesterday && dailyPerformance.yesterday.firstAmount, dailyPerformance.yesterday && dailyPerformance.yesterday.repAmount) }}
-
+
@@ -100,19 +102,23 @@
首购金额
{{ monthlyPerformance.firstAmount || '0.00' }}
-
+
复购金额
{{ monthlyPerformance.repAmount || '0.00' }}
-
+ +
+
总金额
+
{{ getSum(monthlyPerformance.firstAmount, monthlyPerformance.repAmount) }}
-
+
@@ -306,8 +312,8 @@ export default { } .dashboard-card { - flex: 1 1 180px; - min-width: 180px; + flex: 1 1 240px; + min-width: 220px; background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); border-radius: 10px; box-shadow: 0 1px 6px 0 rgba(253,160,133,0.12); @@ -340,8 +346,8 @@ export default { border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px; - flex: 1 1 200px; - min-width: 180px; + flex: 1 1 240px; + min-width: 220px; display: flex; flex-direction: column; justify-content: space-between;