From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/billing/progress-bar/index.tsx | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/components/billing/progress-bar/index.tsx b/app/components/billing/progress-bar/index.tsx index 6397b43..ec2ffcf 100644 --- a/app/components/billing/progress-bar/index.tsx +++ b/app/components/billing/progress-bar/index.tsx @@ -1,20 +1,18 @@ -import cn from '@/utils/classnames' - type ProgressBarProps = { percent: number color: string } - const ProgressBar = ({ percent = 0, color = '#2970FF', }: ProgressBarProps) => { return ( - <div className='overflow-hidden rounded-[6px] bg-components-progress-bar-bg'> + <div className='bg-[#F2F4F7] rounded-[4px] overflow-hidden'> <div - className={cn('h-1 rounded-[6px]', color)} + className='h-2 rounded-[4px]' style={{ width: `${Math.min(percent, 100)}%`, + backgroundColor: color, }} /> </div> -- Gitblit v1.8.0