feat(web): add pricing menu

This commit is contained in:
zhaoying
2025-12-25 17:17:45 +08:00
parent d5a7afb750
commit ad2f52c037
2 changed files with 42 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ const PricingView: React.FC = () => {
{/* Price */}
<div className="rb:mb-5">
{typeof item.priceObj.price !== 'undefined' ? (
<div className="rb:flex rb:items-baseline">
<div className="rb:flex rb:items-baseline rb:h-16">
<span className="rb:text-[16px] rb:text-[#5B6167] rb:font-regular rb:mr-1 rb:mb-1">¥</span>
<span className="rb:text-[40px] rb:font-extrabold">
{item.priceObj.price.toLocaleString()}
@@ -212,7 +212,7 @@ const PricingView: React.FC = () => {
</span>
</div>
) : (
<div className="rb:text-2xl rb:font-bold rb:text-gray-900">
<div className="rb:text-[28px] rb:h-16 rb:pb-1 rb:font-extrabold rb:flex rb:items-end">
{t(item.priceObj.time)}
</div>
)}