diff --git a/src/components/workspace/CashManagement.vue b/src/components/workspace/CashManagement.vue index 10e9d2c..5c401af 100644 --- a/src/components/workspace/CashManagement.vue +++ b/src/components/workspace/CashManagement.vue @@ -17,9 +17,9 @@ @@ -270,12 +270,12 @@ onMounted( async() => { diff --git a/src/components/workspace/GoldManagement.vue b/src/components/workspace/GoldManagement.vue index 140ecf8..1670cac 100644 --- a/src/components/workspace/GoldManagement.vue +++ b/src/components/workspace/GoldManagement.vue @@ -20,13 +20,13 @@ }}    {{ t('workbench.compareToPreviousDay') }} {{ dailyChange / 100 }} 
@@ -50,8 +50,8 @@ - -
 
+ +
 
[{{ t('workbench.goldExpireIn12Months')}}{{ currentFreeDecember / 100 }}]
@@ -68,12 +68,12 @@
{{ t('workbench.convertedSGDCumulativeAmount') }}
- +
{{ yearlyMoney / 100 }}{{ t('workbench.SGD') }}
- +
{{ t('workbench.yesterdayNew')}}{{ recharge / 100 }}
-
+
{{ t('workbench.wherePermanentGold')}}{{ money / 100 }}
@@ -87,7 +87,7 @@
{{ t('workbench.annualCumulativeConsume')}}{{ yearlyReduce / 100 }}
- +
@@ -101,21 +101,21 @@
{{ t('workbench.annualCumulativeRechargePeople')}}{{ yearlyRechargeNum }}
- - + +
- +
-
{{ t('workbench.weekYearOnYear')}}{{ sumWow }}% - - - +
{{ t('workbench.weekYearOnYear')}}{{ sumWow }}% + + +
-
+
{{ t('workbench.dayYearOnYear')}}{{ sumDaily }}% - - - + + +
@@ -570,46 +570,46 @@ onMounted(async () => { } .card-item-row1 { - height: 200px; + height: 10.4167vw; width: auto; background: #E4F0FC; - box-shadow: 0 0 4px 0 #00000040; - border-radius: 10px; - margin-top: 20px; - margin-left: 5px; - margin-right: 5px; - margin-bottom: -5px; - padding-bottom: 10px; + box-shadow: 0 0 .2083vw 0 #00000040; + border-radius: .5208vw; + margin-top: 1.0417vw; + margin-left: .2604vw; + margin-right: .2604vw; + margin-bottom: -0.2604vw; + padding-bottom: .5208vw; } .card-item { - height: 240px; + height: 12.5vw; width: auto; background: #E4F0FC; - box-shadow: 0 0 4px 0 #00000040; - border-radius: 10px; - margin-top: 20px; - margin-left: 5px; - margin-right: 5px; - margin-bottom: -5px; - padding-bottom: 10px; + box-shadow: 0 0 .2083vw 0 #00000040; + border-radius: .5208vw; + margin-top: 1.0417vw; + margin-left: .2604vw; + margin-right: .2604vw; + margin-bottom: -0.2604vw; + padding-bottom: .5208vw; } .card-title { font-weight: bold; - height: 36px; - font-size: 17px; + height: 1.875vw; + font-size: .8854vw; width: 100%; flex-shrink: 0; - border-radius: 8px; + border-radius: .4167vw; background: linear-gradient(90deg, #E4F0FC 0%, #C1DCF8 50%, #E4F0FC 100%); - box-shadow: 0 0 2px 0 #00152940; + box-shadow: 0 0 .1042vw 0 #00152940; display: flex; align-items: center; justify-content: center; - margin-top: -5px; - margin-bottom: 10px; + margin-top: -0.2604vw; + margin-bottom: .5208vw; } .card-item .el-col { @@ -631,9 +631,9 @@ onMounted(async () => { width: 100%; height: 5vh; flex-shrink: 0; - border-radius: 8px; + border-radius: .4167vw; background: linear-gradient(90deg, #E4F0FC 0%, #FFF178 50%, #E4F0FC 100%); - box-shadow: 0 2px 2px 0 #00152940; + box-shadow: 0 .1042vw .1042vw 0 #00152940; display: flex; align-items: center; justify-content: center; @@ -642,47 +642,47 @@ onMounted(async () => { .text1 { color: #040a2d; font-family: " PingFang SC "; - font-size: 28px; + font-size: 1.4583vw; font-style: normal; font-weight: 900; - line-height: 31.79px; + line-height: 1.6557vw; } .text1-update-time { width: 100%; - height: 26px; + height: 1.3542vw; flex-shrink: 0; color: #040a2d; font-family: "PingFang SC"; - font-size: 20px; + font-size: 1.0417vw; font-style: normal; font-weight: 700; - line-height: 31.79px; + line-height: 1.6557vw; } /* 背景卡片大小 */ .gold-management { - margin: 10px 5px; + margin: .5208vw .2604vw; width: 100%; - height: 550px; + height: 28.6458vw; flex-shrink: 0; - border-radius: 8px; + border-radius: .4167vw; background: #E7F4FD; - box-shadow: 0 2px 2px 0 #00000040; + box-shadow: 0 .1042vw .1042vw 0 #00000040; flex-direction: column; align-items: center; } .margin-bottom { - padding-left: 20px; + padding-left: 1.0417vw; } .chart5 { - margin-top: 15px; + margin-top: .7813vw; .margin-bottom { - margin-top: 10px; - padding-left: 20px; + margin-top: .5208vw; + padding-left: 1.0417vw; } } \ No newline at end of file