refactor(pricing): remove explanation section from pricing modal
This commit is contained in:
@@ -21,12 +21,6 @@ const ClockIcon = () => (
|
||||
</svg>
|
||||
);
|
||||
|
||||
const InfoIcon = () => (
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
|
||||
<circle cx="12" cy="12" r="10" /><line x1="12" y1="16" x2="12" y2="12" /><line x1="12" y1="8" x2="12.01" y2="8" />
|
||||
</svg>
|
||||
);
|
||||
|
||||
interface PricingModalProps {
|
||||
open: boolean;
|
||||
onClose: () => void;
|
||||
@@ -119,17 +113,6 @@ export default function PricingModal({ open, onClose }: PricingModalProps) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* 说明 */}
|
||||
<div className="profile-pricing-info-section">
|
||||
<div className="profile-pricing-info-title">
|
||||
<InfoIcon />
|
||||
说明
|
||||
</div>
|
||||
<ul className="profile-pricing-info-list">
|
||||
<li>固定计费:每次使用消耗固定积分,与输入内容长度无关。</li>
|
||||
<li>按时长计费:根据实际生成内容的时长按单位消耗。</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user