diff --git a/src/views/index.vue b/src/views/index.vue index fbbf552..eebe56a 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -33,7 +33,7 @@ - +
全部订单
@@ -72,10 +72,16 @@
- 2 + +
569
+
今日订单数
+
- 2 + +
569.00
+
今日总收入
+
@@ -118,6 +124,16 @@ export default { font-weight: bold; } + .num { + font-size: 24px; + margin-top: 10px; + } + + .bottom-label { + font-size: 16px; + margin-top: 10px; + } + &>.today { margin-top: 10px; @@ -140,16 +156,6 @@ export default { font-size: 16px; } - .num { - font-size: 24px; - margin-top: 10px; - } - - .bottom-label { - font-size: 16px; - margin-top: 10px; - } - .up { color: red; } @@ -194,6 +200,15 @@ export default { } } } + + .today-order, + .total-income { + height: 100%; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + } } }