987 lines
19 KiB
CSS
987 lines
19 KiB
CSS
/* ========== 页面整体布局 ========== */
|
|
.ticket-wallet-page {
|
|
min-height: 100vh;
|
|
background: radial-gradient(circle at center, #fef4f4 0%, #f3e5e5 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* ========== 顶部导航栏 ========== */
|
|
.top-nav-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 88rpx;
|
|
padding: 0 24rpx;
|
|
background: rgba(255, 255, 255, 0.85);
|
|
/* #ifdef H5 || APP-PLUS */
|
|
backdrop-filter: blur(20rpx);
|
|
/* #endif */
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 99;
|
|
border-bottom: 1rpx solid rgba(225, 37, 27, 0.08);
|
|
/* #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP */
|
|
padding-top: constant(safe-area-inset-top);
|
|
padding-top: env(safe-area-inset-top);
|
|
/* #endif */
|
|
}
|
|
|
|
.nav-back {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.back-arrow {
|
|
font-size: 48rpx;
|
|
color: #333;
|
|
line-height: 1;
|
|
}
|
|
|
|
.nav-title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4rpx;
|
|
}
|
|
|
|
.title-text {
|
|
font-size: 34rpx;
|
|
font-weight: 900;
|
|
color: #1a1a1a;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.ticket-count {
|
|
font-size: 22rpx;
|
|
color: #e1251b;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.nav-placeholder {
|
|
width: 60rpx;
|
|
}
|
|
|
|
/* ========== 主滚动区域 ========== */
|
|
.wallet-scroll {
|
|
flex: 1;
|
|
height: calc(100vh - 88rpx);
|
|
}
|
|
|
|
/* #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP */
|
|
.wallet-scroll {
|
|
height: calc(100vh - 88rpx - constant(safe-area-inset-top));
|
|
height: calc(100vh - 88rpx - env(safe-area-inset-top));
|
|
}
|
|
/* #endif */
|
|
|
|
/* ========== 顶部潮流 Banner ========== */
|
|
.brand-banner {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 480rpx;
|
|
background: #ffffff;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-bottom: 4rpx solid #000000;
|
|
}
|
|
|
|
/* 氛围模糊渐变光晕 */
|
|
.ambiance-light-1 {
|
|
position: absolute;
|
|
top: -40rpx;
|
|
right: -40rpx;
|
|
width: 240rpx;
|
|
height: 240rpx;
|
|
border-radius: 50%;
|
|
background: #f6483b;
|
|
opacity: 0.35;
|
|
filter: blur(60rpx);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ambiance-light-2 {
|
|
position: absolute;
|
|
top: 320rpx;
|
|
left: -60rpx;
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 50%;
|
|
background: #f6483b;
|
|
opacity: 0.35;
|
|
filter: blur(50rpx);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 等高线线条背景与动画 (使用 scale/translate 分开确保 MP 兼容) */
|
|
.contour-bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
color: #000000;
|
|
pointer-events: none;
|
|
animation: wave-pulse 12s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes wave-pulse {
|
|
0%, 100% {
|
|
transform: scale(1);
|
|
transform-origin: center;
|
|
opacity: 0.10;
|
|
}
|
|
50% {
|
|
transform: scale(1.05);
|
|
transform-origin: center;
|
|
opacity: 0.16;
|
|
}
|
|
}
|
|
|
|
/* SVG 兼容类 (增强编译模式下启用) */
|
|
.svg-compat {
|
|
/* 小程序增强编译模式下 SVG 动画正常 */
|
|
}
|
|
|
|
/* 旋转黑胶唱片大与小 */
|
|
.record-disc-large {
|
|
position: absolute;
|
|
top: 20rpx;
|
|
right: 20rpx;
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
transform: rotate(25deg);
|
|
filter: drop-shadow(0 8rpx 20rpx rgba(0, 0, 0, 0.15));
|
|
animation: spin-record 10s linear infinite;
|
|
z-index: 5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.record-disc-small {
|
|
position: absolute;
|
|
top: 300rpx;
|
|
left: 10rpx;
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
transform: rotate(-15deg);
|
|
filter: drop-shadow(0 6rpx 15rpx rgba(0, 0, 0, 0.12));
|
|
animation: spin-record 12s linear infinite;
|
|
z-index: 5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.record-body {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, #2d2d2d 0%, #111111 60%, #1a1a1a 100%);
|
|
border: 4rpx solid #333333;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
box-shadow: inset 0 0 20rpx rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.record-circle-1 {
|
|
position: absolute;
|
|
top: 10%;
|
|
left: 10%;
|
|
right: 10%;
|
|
bottom: 10%;
|
|
border: 2rpx solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.record-circle-2 {
|
|
position: absolute;
|
|
top: 20%;
|
|
left: 20%;
|
|
right: 20%;
|
|
bottom: 20%;
|
|
border: 2rpx solid rgba(255, 255, 255, 0.04);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.record-center {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
border-radius: 50%;
|
|
background: #f4f5f6;
|
|
border: 2rpx solid #000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.record-dot {
|
|
width: 14rpx;
|
|
height: 14rpx;
|
|
border-radius: 50%;
|
|
background: #000;
|
|
}
|
|
|
|
@keyframes spin-record {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* 涂鸦笑脸 */
|
|
.graffiti-face {
|
|
position: absolute;
|
|
bottom: 40rpx;
|
|
right: 180rpx;
|
|
transform: rotate(12deg);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.graffiti-svg {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
color: #000000;
|
|
}
|
|
|
|
/* 侧边竖排文字 */
|
|
.live-music-tag {
|
|
position: absolute;
|
|
left: 24rpx;
|
|
top: 40rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-transform: uppercase;
|
|
font-size: 14rpx;
|
|
font-weight: 900;
|
|
color: #000000;
|
|
letter-spacing: 0.15em;
|
|
line-height: 1.2;
|
|
pointer-events: none;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.live-music-dot {
|
|
margin: 6rpx 0;
|
|
color: #e1251b;
|
|
font-weight: 900;
|
|
font-size: 16rpx;
|
|
}
|
|
|
|
.live-music-subtag {
|
|
position: absolute;
|
|
left: 56rpx;
|
|
top: 40rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-transform: uppercase;
|
|
font-size: 12rpx;
|
|
font-weight: 700;
|
|
color: #888888;
|
|
letter-spacing: 0.1em;
|
|
line-height: 1.2;
|
|
pointer-events: none;
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* 品牌旋转星标 Hub */
|
|
.brand-star-hub {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10;
|
|
}
|
|
|
|
.rotating-text-svg {
|
|
position: absolute;
|
|
width: 280rpx;
|
|
height: 280rpx;
|
|
animation: spin-slow 20s linear infinite;
|
|
}
|
|
|
|
@keyframes spin-slow {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
.star-core-svg {
|
|
width: 190rpx;
|
|
height: 190rpx;
|
|
filter: drop-shadow(0 6rpx 15rpx rgba(0, 0, 0, 0.15));
|
|
}
|
|
|
|
.brand-label-plate {
|
|
position: absolute;
|
|
background: #e1251b;
|
|
color: #ffffff;
|
|
font-weight: 900;
|
|
padding: 4rpx 16rpx;
|
|
font-size: 18rpx;
|
|
transform: rotate(-5deg);
|
|
border: 4rpx solid #000000;
|
|
letter-spacing: 0.1em;
|
|
box-shadow: 0 6rpx 12rpx rgba(0, 0, 0, 0.15);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
|
|
/* ========== 门票主面板容器 ========== */
|
|
.ticket-panel-container {
|
|
position: relative;
|
|
background: #ffffff;
|
|
border-radius: 48rpx 48rpx 0 0;
|
|
padding: 40rpx 30rpx 160rpx;
|
|
margin-top: -40rpx;
|
|
min-height: calc(100vh - 480rpx);
|
|
box-shadow: 0 -16rpx 40rpx rgba(0, 0, 0, 0.03);
|
|
z-index: 30;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP */
|
|
.ticket-panel-container {
|
|
min-height: calc(100vh - 480rpx - constant(safe-area-inset-top));
|
|
min-height: calc(100vh - 480rpx - env(safe-area-inset-top));
|
|
}
|
|
/* #endif */
|
|
|
|
.section-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
margin-bottom: 30rpx;
|
|
padding: 0 10rpx;
|
|
}
|
|
|
|
.section-main-title {
|
|
font-size: 40rpx;
|
|
font-weight: 900;
|
|
color: #000000;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.section-count-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6rpx;
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
color: #000000;
|
|
}
|
|
|
|
.section-count-number {
|
|
font-size: 36rpx;
|
|
font-weight: 900;
|
|
color: #e1251b;
|
|
font-family: 'Montserrat', sans-serif;
|
|
}
|
|
|
|
/* ========== 潮流打孔门票卡片 ========== */
|
|
.ticket-group-card {
|
|
background: #ffffff;
|
|
border-radius: 36rpx;
|
|
margin-bottom: 40rpx;
|
|
overflow: hidden;
|
|
position: relative;
|
|
box-shadow: 0 16rpx 48rpx rgba(0, 0, 0, 0.05), 0 4rpx 12rpx rgba(0, 0, 0, 0.015);
|
|
transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
|
|
border: 1rpx solid rgba(0, 0, 0, 0.045);
|
|
}
|
|
|
|
/* 点击微小缩放反馈 */
|
|
.ticket-group-card:not(.history-card):active {
|
|
transform: scale(0.985);
|
|
box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
/* 完美物理打孔(利用定位和半圆背景) */
|
|
.ticket-punch-hole-left {
|
|
position: absolute;
|
|
left: -16rpx;
|
|
bottom: 74rpx; /* 对齐虚线 */
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
background: #f3e5e5;
|
|
border-radius: 50%;
|
|
z-index: 10;
|
|
border: 1rpx solid rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.ticket-punch-hole-right {
|
|
position: absolute;
|
|
right: -16rpx;
|
|
bottom: 74rpx; /* 对齐虚线 */
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
background: #f3e5e5;
|
|
border-radius: 50%;
|
|
z-index: 10;
|
|
border: 1rpx solid rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
/* 门票卡内部容器 */
|
|
.card-inner-box {
|
|
padding: 36rpx 36rpx;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* ========== 卡片头部(影院+电话/地图) ========== */
|
|
.card-header-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: 24rpx;
|
|
border-bottom: 2rpx dashed rgba(0, 0, 0, 0.05);
|
|
margin-bottom: 28rpx;
|
|
}
|
|
|
|
.cinema-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.cinema-star-icon {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
color: #000000;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.cinema-title-text {
|
|
font-size: 28rpx;
|
|
font-weight: 800;
|
|
color: #1a1a1a;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.action-circle-btn {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
border-radius: 50%;
|
|
background: rgba(0, 0, 0, 0.03);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
|
|
}
|
|
|
|
.action-circle-btn:active {
|
|
background: rgba(225, 37, 27, 0.08);
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.action-btn-icon {
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
color: #444444;
|
|
}
|
|
|
|
/* ========== 卡片内容(主信息 + 竖屏海报) ========== */
|
|
.card-content-body {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 24rpx;
|
|
}
|
|
|
|
.card-left-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.movie-title-text {
|
|
font-size: 36rpx;
|
|
font-weight: 800;
|
|
color: #111111;
|
|
line-height: 1.35;
|
|
margin-bottom: 12rpx;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.movie-format-tag {
|
|
font-size: 20rpx;
|
|
font-weight: 700;
|
|
color: #8c8c8c;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 24rpx;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ========== 场次时间样式 ========== */
|
|
.session-time-text {
|
|
font-size: 42rpx;
|
|
font-weight: 900;
|
|
color: #000000;
|
|
letter-spacing: -0.01em;
|
|
line-height: 1.1;
|
|
margin-bottom: 24rpx;
|
|
font-family: 'Montserrat', sans-serif;
|
|
background: linear-gradient(135deg, #e1251b 0%, #ff6b35 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
/* 场次日期(如果需要单独显示日期) */
|
|
.session-date-text {
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
color: #8c8c8c;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 4rpx;
|
|
font-family: 'Montserrat', sans-serif;
|
|
}
|
|
|
|
/* ========== 座位信息块 ========== */
|
|
.seat-badge-block {
|
|
background: #fdf8f8;
|
|
border: 1rpx solid rgba(225, 37, 27, 0.08);
|
|
border-radius: 24rpx;
|
|
padding: 20rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.seat-hall-text {
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
color: #1a1a1a;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.iconfont-location {
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.seat-detail-wrap {
|
|
min-width: 0;
|
|
}
|
|
|
|
.seat-numbers-list {
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.seat-item {
|
|
background: #e1251b;
|
|
color: #ffffff;
|
|
padding: 6rpx 16rpx;
|
|
border-radius: 12rpx;
|
|
font-size: 22rpx;
|
|
font-weight: bold;
|
|
box-shadow: 0 4rpx 10rpx rgba(225, 37, 27, 0.15);
|
|
}
|
|
|
|
.seat-separator {
|
|
color: #e1251b;
|
|
margin: 0 4rpx;
|
|
}
|
|
|
|
/* ========== 潮流海报小卡 ========== */
|
|
.card-right-poster {
|
|
position: relative;
|
|
width: 170rpx;
|
|
height: 238rpx;
|
|
border-radius: 20rpx;
|
|
overflow: hidden;
|
|
box-shadow: 0 16rpx 32rpx rgba(0, 0, 0, 0.15);
|
|
flex-shrink: 0;
|
|
background: #000000;
|
|
}
|
|
|
|
/* 海报红光氛围灯效 */
|
|
.poster-spotlight {
|
|
position: absolute;
|
|
top: 10rpx;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
border-radius: 50%;
|
|
background: rgba(225, 37, 27, 0.35);
|
|
filter: blur(10rpx);
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.poster-image-item {
|
|
width: 100%;
|
|
height: 100%;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.ticket-group-card:hover .poster-image-item {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* 海报底部的文本覆盖叠层(若无海报图时炫酷替代) */
|
|
.poster-text-overlay {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 16rpx 8rpx;
|
|
background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
z-index: 3;
|
|
}
|
|
|
|
.poster-abbr-title {
|
|
font-size: 20rpx;
|
|
color: #e1251b;
|
|
font-weight: 900;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 2rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.poster-en-title {
|
|
font-size: 11rpx;
|
|
color: #aaaaaa;
|
|
font-weight: 700;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
transform: scale(0.85);
|
|
}
|
|
|
|
/* 2D/3D等制式水印浮标 */
|
|
.poster-format-badge {
|
|
position: absolute;
|
|
top: 12rpx;
|
|
right: 12rpx;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
backdrop-filter: blur(8px);
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 8rpx;
|
|
font-size: 16rpx;
|
|
font-weight: 800;
|
|
color: #ffffff;
|
|
letter-spacing: 0.05em;
|
|
border: 1rpx solid rgba(255, 255, 255, 0.15);
|
|
z-index: 3;
|
|
}
|
|
|
|
/* ========== 物理分割虚线和查看票码 ========== */
|
|
.ticket-card-footer {
|
|
margin-top: 28rpx;
|
|
border-top: 2rpx dashed rgba(225, 37, 27, 0.15);
|
|
padding-top: 24rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.footer-tip-text {
|
|
font-size: 22rpx;
|
|
color: #999999;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.view-code-text {
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
color: #e1251b;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.ticket-group-card:active .view-code-text {
|
|
transform: translateX(4rpx);
|
|
}
|
|
|
|
|
|
/* ========== 空状态 ========== */
|
|
.empty-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 120rpx 60rpx;
|
|
gap: 24rpx;
|
|
}
|
|
|
|
.empty-icon {
|
|
width: 240rpx;
|
|
height: 240rpx;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 30rpx;
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.empty-tip {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ========== 加载骨架屏 ========== */
|
|
.loading-section {
|
|
padding: 24rpx;
|
|
}
|
|
|
|
.skeleton-card {
|
|
background: #ffffff;
|
|
border-radius: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
overflow: hidden;
|
|
padding: 24rpx;
|
|
}
|
|
|
|
.skeleton-header {
|
|
display: flex;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.skeleton-thumb {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
border-radius: 12rpx;
|
|
background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.skeleton-meta {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16rpx;
|
|
justify-content: center;
|
|
}
|
|
|
|
.skeleton-line {
|
|
height: 28rpx;
|
|
border-radius: 6rpx;
|
|
background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
.skeleton-line.short {
|
|
width: 60%;
|
|
}
|
|
|
|
.skeleton-divider {
|
|
height: 1rpx;
|
|
background: #f5f5f5;
|
|
margin: 20rpx 0;
|
|
}
|
|
|
|
.skeleton-footer {
|
|
height: 30rpx;
|
|
border-radius: 6rpx;
|
|
background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
width: 40%;
|
|
}
|
|
|
|
@keyframes skeleton-shimmer {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
|
|
/* ========== 历史票根区域 ========== */
|
|
.history-section-title-wrap {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 60rpx;
|
|
margin-bottom: 24rpx;
|
|
padding: 0 10rpx;
|
|
}
|
|
|
|
.history-section-title {
|
|
font-size: 24rpx;
|
|
font-weight: 900;
|
|
color: #8c8c8c;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* 已使用历史门票(下沉半透明) */
|
|
.history-card {
|
|
opacity: 0.55;
|
|
border: 1rpx solid rgba(0, 0, 0, 0.03);
|
|
box-shadow: none;
|
|
filter: saturate(20%);
|
|
}
|
|
|
|
.history-card .ticket-punch-hole-left,
|
|
.history-card .ticket-punch-hole-right {
|
|
background: #f3e5e5;
|
|
border-color: rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.history-card .seat-item {
|
|
background: #888888;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.history-card .cinema-title-text,
|
|
.history-card .movie-title-text,
|
|
.history-card .session-time-text {
|
|
color: #666666;
|
|
}
|
|
|
|
/* 核销印章动效与定位 */
|
|
.stamp-container {
|
|
position: absolute;
|
|
right: 50rpx;
|
|
top: 40rpx;
|
|
z-index: 20;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.verified-stamp {
|
|
border: 4rpx solid #888888;
|
|
color: #888888;
|
|
font-size: 18rpx;
|
|
font-weight: 900;
|
|
padding: 6rpx 14rpx;
|
|
border-radius: 8rpx;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
transform: rotate(-18deg);
|
|
box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.05);
|
|
animation: stamp-slam 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
|
|
display: inline-block;
|
|
}
|
|
|
|
.verified-stamp.refunded {
|
|
border-color: #ff9900;
|
|
color: #ff9900;
|
|
}
|
|
|
|
@keyframes stamp-slam {
|
|
0% {
|
|
transform: scale(3) rotate(-35deg);
|
|
opacity: 0;
|
|
}
|
|
70% {
|
|
transform: scale(0.95) rotate(-15deg);
|
|
opacity: 0.9;
|
|
}
|
|
100% {
|
|
transform: scale(1) rotate(-18deg);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
|
|
/* ========== 底部安全区占位 ========== */
|
|
.safe-area-bottom {
|
|
height: constant(safe-area-inset-bottom);
|
|
height: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
/* ========== Mock 弹窗样式 ========== */
|
|
.info-modal-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
/* #ifdef H5 || APP-PLUS */
|
|
backdrop-filter: blur(12rpx);
|
|
/* #endif */
|
|
z-index: 9999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.info-modal-content {
|
|
background: #ffffff;
|
|
width: 580rpx;
|
|
border-radius: 48rpx;
|
|
padding: 48rpx 40rpx 36rpx;
|
|
box-shadow: 0 24rpx 60rpx rgba(0, 0, 0, 0.25);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
border: 4rpx solid #000000;
|
|
}
|
|
|
|
.info-modal-icon {
|
|
font-size: 64rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.info-modal-title {
|
|
font-size: 34rpx;
|
|
font-weight: 900;
|
|
color: #000000;
|
|
margin-bottom: 24rpx;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.info-modal-scroll {
|
|
max-height: 320rpx;
|
|
width: 100%;
|
|
background: #f8f9fa;
|
|
border-radius: 24rpx;
|
|
padding: 24rpx;
|
|
box-sizing: border-box;
|
|
margin-bottom: 32rpx;
|
|
border: 2rpx solid #e9ebe8;
|
|
}
|
|
|
|
.info-modal-text {
|
|
font-size: 24rpx;
|
|
color: #555555;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-modal-btn {
|
|
width: 100%;
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
background: #000000;
|
|
color: #ffffff;
|
|
font-size: 28rpx;
|
|
font-weight: 900;
|
|
border-radius: 24rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.info-modal-btn:active {
|
|
background: #333333;
|
|
}
|
|
|