This commit is contained in:
2025-09-29 21:38:32 +08:00
parent ed26244cdb
commit 19117de6c8
182 changed files with 11590 additions and 2156 deletions

View File

@@ -0,0 +1,289 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 藏青系主色(高亮) */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
/* 表单控件尺寸(统一配置,避免页面内硬编码) */
body {
background: linear-gradient(180deg, #f8fbff 0%, #ffffff 60%) !important;
}
.vip-page {
min-height: 100vh;
padding: 1rem 0.75rem 3.75rem;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 0.875rem;
}
.vip-hero {
display: flex;
align-items: center;
gap: 0.625rem;
padding: 0.8125rem 0.875rem;
border-radius: 0.75rem;
background: rgba(255, 255, 255, 0.98);
border: 0.0625rem solid #edf2f9;
box-shadow: 0 0.3125rem 0.9375rem rgba(76, 141, 255, 0.12);
}
.hero-icon {
width: 2.75rem;
height: 2.75rem;
border-radius: 0.75rem;
background: #f0f6ff;
padding: 0.375rem;
}
.hero-text {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.hero-title {
font-size: 1.125rem;
font-weight: 800;
color: #4C8DFF;
letter-spacing: 0.03125rem;
}
.hero-subtitle {
font-size: 0.8125rem;
color: #5175b5;
line-height: 1.125rem;
}
.status-pill {
flex: 0 0 auto;
padding: 0.375rem 0.625rem;
border-radius: 31.21875rem;
background: #e6edfb;
color: #4463a6;
font-size: 0.75rem;
font-weight: 700;
border: 0.0625rem solid rgba(76, 141, 255, 0.2);
}
.status-pill.active {
background: #4c8dff;
color: #fff;
border-color: #4c8dff;
}
/* 指定 hero 内激活态徽标文本为黑色 */
.vip-hero .status-pill.active uni-text {
color: #000 !important;
}
.vip-summary {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.5rem;
background: rgba(255, 255, 255, 0.98);
padding: 0.75rem;
border-radius: 0.75rem;
border: 0.0625rem solid #eef3fb;
box-shadow: 0 0.25rem 0.75rem rgba(99, 132, 191, 0.1);
}
.summary-item {
background: #f6f9ff;
border-radius: 0.5625rem;
padding: 0.6875rem 0.75rem;
display: flex;
flex-direction: column;
gap: 0.375rem;
border: 0.0625rem solid rgba(76, 141, 255, 0.12);
}
.summary-label {
font-size: 0.75rem;
color: #5f7394;
}
.summary-value {
font-size: 0.9375rem;
font-weight: 700;
color: #1f2c3d;
}
.summary-value.success {
color: #1ead91;
}
.summary-value.highlight {
color: #2f58d1;
}
.benefit-section {
background: rgba(255, 255, 255, 0.98);
border-radius: 0.75rem;
padding: 0.875rem;
border: 0.0625rem solid #edf2f9;
box-shadow: 0 0.375rem 0.875rem rgba(32, 75, 143, 0.1);
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.section-header {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.section-title {
font-size: 1.0625rem;
font-weight: 800;
color: #111;
}
.section-subtitle {
font-size: 0.75rem;
color: #5f7394;
line-height: 1.0625rem;
}
.benefit-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.625rem;
}
.benefit-card {
background: #f7faff;
border-radius: 0.625rem;
padding: 0.75rem 0.625rem;
border: 0.0625rem solid rgba(76, 141, 255, 0.12);
box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.04);
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.4375rem;
}
.benefit-icon {
width: 1.5rem;
height: 1.5rem;
}
.benefit-title {
font-size: 0.875rem;
font-weight: 700;
color: #111;
}
.benefit-desc {
font-size: 0.75rem;
line-height: 1.0625rem;
color: #5f7394;
}
.purchase-card {
margin-top: auto;
background: linear-gradient(135deg, rgba(76, 141, 255, 0.14) 0%, rgba(76, 141, 255, 0.06) 100%);
border-radius: 0.875rem;
padding: 0.9375rem 0.875rem;
display: flex;
align-items: center;
gap: 0.75rem;
border: 0.0625rem solid rgba(76, 141, 255, 0.18);
box-shadow: 0 0.3125rem 0.75rem rgba(76, 141, 255, 0.15);
}
.purchase-text {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.3125rem;
}
.purchase-title {
font-size: 1rem;
font-weight: 800;
color: #4C8DFF;
}
.purchase-desc {
font-size: 0.75rem;
color: #4463a6;
line-height: 1.0625rem;
}
.purchase-btn {
flex: 0 0 auto;
padding: 0.625rem 1.125rem;
border-radius: 31.21875rem;
border: none;
background: linear-gradient(135deg, #4788ff 0%, #2d6be6 100%);
color: #fff;
font-size: 0.875rem;
font-weight: 700;
box-shadow: 0 0.3125rem 0.6875rem rgba(45, 107, 230, 0.2);
}
.purchase-btn:active {
opacity: 0.88;
}
.apply-card {
margin-top: 0;
background: linear-gradient(135deg, rgba(30, 173, 145, 0.14) 0%, rgba(30, 173, 145, 0.06) 100%);
border-radius: 0.875rem;
padding: 0.9375rem 0.875rem;
display: flex;
align-items: center;
gap: 0.75rem;
border: 0.0625rem solid rgba(30, 173, 145, 0.18);
box-shadow: 0 0.3125rem 0.75rem rgba(30, 173, 145, 0.15);
}
.apply-text {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.3125rem;
}
.apply-title {
font-size: 1rem;
font-weight: 800;
color: #1ead91;
}
.apply-desc {
font-size: 0.75rem;
color: #247a66;
line-height: 1.0625rem;
}
.apply-btn {
flex: 0 0 auto;
padding: 0.625rem 1.125rem;
border-radius: 31.21875rem;
border: none;
background-color: transparent;
background: linear-gradient(135deg, #1ead91 0%, #159b7e 100%);
color: #fff;
font-size: 0.875rem;
font-weight: 700;
box-shadow: 0 0.3125rem 0.6875rem rgba(21, 155, 126, 0.2);
}
.apply-btn::after {
border: none;
}
.apply-btn:active {
opacity: 0.9;
}
.apply-btn.disabled {
opacity: 0.5;
background: #c7e8df;
color: #fff;
box-shadow: none;
pointer-events: none;
}
@media (max-width: 375px) {
.vip-summary {
grid-template-columns: 1fr;
}
.benefit-grid {
grid-template-columns: 1fr;
}
.purchase-card {
flex-direction: column;
align-items: stretch;
}
.status-pill {
display: none;
}
}