/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .celebrate-root.data-v-313f45d6 { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; } .celebrate-particle.data-v-313f45d6 { position: absolute; top: -20rpx; border-radius: 4rpx; opacity: 0.9; animation: celebrate-fall-313f45d6 1.6s ease-in forwards; } @keyframes celebrate-fall-313f45d6 { 0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; } 100% { transform: translateY(110vh) rotate(540deg) scale(0.4); opacity: 0; } } .celebrate-card.data-v-313f45d6 { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%) scale(0.82); width: 78%; max-width: 560rpx; padding: 36rpx 32rpx 32rpx; background: rgba(255, 255, 255, 0.96); border-radius: 28rpx; box-shadow: 0 20rpx 60rpx rgba(8, 145, 178, 0.22); border: 2rpx solid rgba(8, 145, 178, 0.12); display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease; } .celebrate-card.pop.data-v-313f45d6 { opacity: 1; transform: translate(-50%, -50%) scale(1); } .celebrate-card-glow.data-v-313f45d6 { position: absolute; inset: -20rpx; border-radius: 36rpx; background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%); pointer-events: none; } .celebrate-card-title.data-v-313f45d6 { position: relative; z-index: 1; margin-top: 16rpx; font-size: 36rpx; font-weight: 800; color: #1b1c1a; } .celebrate-card-sub.data-v-313f45d6 { position: relative; z-index: 1; margin-top: 10rpx; font-size: 26rpx; color: #475569; line-height: 1.45; }