/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 藏青系主色(高亮) */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page { background: #1a1a2e !important; } .vip-page { min-height: 100vh; width: 100%; position: relative; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important; overflow: hidden; display: flex; flex-direction: column; } .main-content { flex: 1; padding: 60rpx 40rpx 40rpx; position: relative; z-index: 10; } /* VIP头部区域 */ .vip-header { text-align: center; margin-bottom: 80rpx; } .vip-header .vip-crown { margin-bottom: 30rpx; } .vip-header .vip-crown .crown-icon { font-size: 80rpx; filter: drop-shadow(0 4rpx 12rpx rgba(255, 215, 0, 0.3)); } .vip-header .vip-title { display: block; font-size: 48rpx; font-weight: 700; color: #fff; margin-bottom: 16rpx; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1); } .vip-header .vip-subtitle { display: block; font-size: 28rpx; color: rgba(255, 255, 255, 0.8); margin-bottom: 40rpx; } .vip-header .vip-status { display: inline-block; padding: 16rpx 32rpx; border-radius: 50rpx; background: rgba(0, 0, 0, 0.2); -webkit-backdrop-filter: blur(10rpx); backdrop-filter: blur(10rpx); border: 1rpx solid rgba(255, 215, 0, 0.4); } .vip-header .vip-status.active { background: linear-gradient(45deg, #ffd700, #ffed4e); border: 1rpx solid rgba(255, 215, 0, 0.3); } .vip-header .vip-status.active .status-text { color: #333; } .vip-header .vip-status .status-text { font-size: 26rpx; font-weight: 600; color: #fff; } /* 会员功能区域 */ .features-section { margin-bottom: 60rpx; } .features-section .section-title { display: block; font-size: 36rpx; font-weight: 600; color: #fff; text-align: center; margin-bottom: 40rpx; } .features-section .feature-card { background: rgba(0, 0, 0, 0.15); -webkit-backdrop-filter: blur(15rpx); backdrop-filter: blur(15rpx); border-radius: 24rpx; padding: 40rpx; text-align: center; border: 1rpx solid rgba(255, 215, 0, 0.3); transition: all 0.3s ease; } .features-section .feature-card:hover { transform: translateY(-4rpx); box-shadow: 0 12rpx 40rpx rgba(0, 0, 0, 0.15); } .features-section .feature-card .feature-icon { font-size: 60rpx; margin-bottom: 24rpx; filter: drop-shadow(0 4rpx 12rpx rgba(255, 215, 0, 0.3)); } .features-section .feature-card .feature-text { display: block; font-size: 32rpx; font-weight: 600; color: #fff; letter-spacing: 1rpx; } /* VIP信息卡片 */ .vip-info { margin-bottom: 60rpx; } .vip-info .info-card { background: rgba(0, 0, 0, 0.15); -webkit-backdrop-filter: blur(15rpx); backdrop-filter: blur(15rpx); border-radius: 20rpx; padding: 32rpx; margin-bottom: 20rpx; border: 1rpx solid rgba(255, 215, 0, 0.3); display: flex; justify-content: space-between; align-items: center; } .vip-info .info-card .info-label { font-size: 28rpx; color: rgba(255, 255, 255, 0.8); } .vip-info .info-card .info-value { font-size: 30rpx; font-weight: 600; color: #fff; } .vip-info .info-card .info-value.active { color: #ffd700; } /* 购买区域 */ .purchase-section .price-card { background: rgba(0, 0, 0, 0.15); -webkit-backdrop-filter: blur(15rpx); backdrop-filter: blur(15rpx); border-radius: 24rpx; padding: 40rpx; text-align: center; margin-bottom: 40rpx; border: 1rpx solid rgba(255, 215, 0, 0.3); } .purchase-section .price-card .price-label { display: block; font-size: 28rpx; color: rgba(255, 255, 255, 0.8); margin-bottom: 16rpx; } .purchase-section .price-card .price-display { display: flex; align-items: baseline; justify-content: center; gap: 8rpx; } .purchase-section .price-card .price-display .price-symbol { font-size: 32rpx; color: #ffd700; font-weight: 600; } .purchase-section .price-card .price-display .price-amount { font-size: 60rpx; font-weight: 700; color: #ffd700; } .purchase-section .price-card .price-display .price-period { font-size: 28rpx; color: rgba(255, 255, 255, 0.8); } .purchase-section .purchase-btn { width: 100%; height: 96rpx; background: linear-gradient(45deg, #ffd700, #ffed4e); border-radius: 50rpx; border: none; box-shadow: 0 8rpx 24rpx rgba(255, 215, 0, 0.3); transition: all 0.3s ease; } .purchase-section .purchase-btn:active { transform: translateY(2rpx); box-shadow: 0 4rpx 16rpx rgba(255, 215, 0, 0.4); } .purchase-section .purchase-btn .btn-text { font-size: 32rpx; font-weight: 600; color: #333; } /* 背景装饰 */ .bg-decoration { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 1; } .bg-decoration .decoration-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.05); } .bg-decoration .decoration-circle.circle-1 { width: 300rpx; height: 300rpx; top: -150rpx; right: -100rpx; } .bg-decoration .decoration-circle.circle-2 { width: 200rpx; height: 200rpx; bottom: 200rpx; left: -100rpx; } .bg-decoration .decoration-circle.circle-3 { width: 150rpx; height: 150rpx; top: 50%; right: 50rpx; transform: translateY(-50%); } /* 响应式调整 */ @media (max-width: 375px) { .benefits-grid { grid-template-columns: 1fr; } .vip-header .vip-title { font-size: 42rpx; } .main-content { padding: 40rpx 30rpx; } }