Skip to content

Let's use AI to Earn!

css

bulaienaofutuojiesenzhang7b9fb779676b
diff --git a/src/components/modals/VipContentModal.tsx b/src/components/modals/VipContentModal.tsx
index ed6f57a2..031ea46c 100644
--- a/src/components/modals/VipContentModal.tsx
+++ b/src/components/modals/VipContentModal.tsx
@@ -246,10 +246,12 @@ const VipContentModal = memo(({ open, onClose }: VipContentModalProps) => {
</div>
</div>
- <h5 style={{ margin: 0, fontSize: 16, fontWeight: 700, color: '#0f172a', textAlign: 'center', marginTop: 16 }}> 订阅计划 </h5>
+
</div>
)}
+{isVip && userStore.userInfo?.vipInfo && (<h5 style={{ margin: 0, fontSize: 16, fontWeight: 700, color: '#0f172a', textAlign: 'center', marginTop: 16, marginBottom: 16 }}> 订阅计划 </h5>)}
+
{/* 选项卡 */}
<div className={vipStyles.switchRow}>
<div onClick={() => handleTabClick('year')} className={`${vipStyles.switchBtn} ${activeTab === 'year' ? vipStyles.active : ''}`}>
diff --git a/src/components/modals/vipContentModal.module.css b/src/components/modals/vipContentModal.module.css
index 723ec820..a414d18b 100644
--- a/src/components/modals/vipContentModal.module.css
+++ b/src/components/modals/vipContentModal.module.css
@@ -143,7 +143,8 @@
.vipInfoSection {
border-radius: 12px;
margin: 20px 24px;
- padding-top: 20px;
+ padding: 20px;
+ background: aliceblue;
}
.vipInfoRow {
@@ -233,7 +234,6 @@
justify-content: space-between;
align-items: center;
padding-bottom: 16px;
- background: white;
border-radius: 8px;
}