Ver Fonte

style: 本月概览卡片改为与今日指标一致的居中显示风格

skyline há 3 semanas atrás
pai
commit
474903eeb2
1 ficheiros alterados com 5 adições e 5 exclusões
  1. 5 5
      admin-h5/src/pages/index/index.vue

+ 5 - 5
admin-h5/src/pages/index/index.vue

@@ -564,12 +564,12 @@ onPullDownRefresh(async () => {
   flex: 0 0 calc(50% - 8rpx);
   box-sizing: border-box;
   background: #FFFFFF;
-  border-radius: 20rpx;
-  padding: 28rpx 24rpx;
+  border-radius: 24rpx;
+  padding: 32rpx 20rpx;
   display: flex;
   flex-direction: column;
-  align-items: flex-start;
-  gap: 10rpx;
+  align-items: center;
+  gap: 12rpx;
   transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
 }
 .month-card:active {
@@ -577,7 +577,7 @@ onPullDownRefresh(async () => {
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
 }
 .month-value {
-  font-size: 34rpx;
+  font-size: 38rpx;
   font-weight: 700;
   color: #1A1A1A;
   line-height: 1.2;