title = '个人设置'; FontAwesomeAsset::register($this); $this->registerCssFile('@web/css/user-info.css'); $details = IPLocation::getDetails($model->last_login_ip); $usedSpace_F = FileSizeHelper::formatBytes($usedSpace); $vaultUsedSpace_F = FileSizeHelper::formatBytes($vaultUsedSpace); $storageLimit_F = FileSizeHelper::formatMegaBytes($storageLimit); $totalUsed_F = FileSizeHelper::formatBytes($usedSpace + $vaultUsedSpace); $is_unlimited = ($storageLimit === -1); $usedPercent = $is_unlimited ? 0 : round($usedSpace / $storageLimit * 100); $vaultUsedPercent = $is_unlimited ? 0 : round($vaultUsedSpace / $storageLimit * 100); $totalUsedPercent = min(($usedPercent + $vaultUsedPercent), 100); ?>

title) ?>

getGravatar(email: $model->email, s: 100, img: true, atts: ['alt' => 'User Avatar', 'style' => 'border-radius: 50%']) ?>

当前已使用容量

/

% 已用

网盘已用空间
保险箱已用空间