diff --git a/views/home/index.php b/views/home/index.php index 76a7cb0..1e7db2f 100644 --- a/views/home/index.php +++ b/views/home/index.php @@ -35,7 +35,7 @@ $is_unlimited = ($storageLimit === -1); //检查是否为无限制容量 $usedPercent = $is_unlimited ? 0 : round($usedSpace / ($storageLimit * 1024 * 1024) * 100); //网盘已用百分比 $vaultUsedPercent = $is_unlimited ? 0 : round($vaultUsedSpace / ($storageLimit * 1024 * 1024) * 100); //保险箱已用百分比 $totalUsedPercent = min(($usedPercent + $vaultUsedPercent), 100); //总已用百分比 - +$freeSpace = $is_unlimited ? 'unlimited' : ($storageLimit * 1024 * 1024 - $usedSpace - $vaultUsedSpace); //剩余空间 FontAwesomeAsset::register($this); JqueryAsset::register($this); ViewerJsAsset::register($this); @@ -67,7 +67,7 @@ $this->registerCssFile('@web/css/home_style.css'); data-bs-toggle="dropdown" aria-expanded="false"> 上传文件 -