358 lines
6.5 KiB
Plaintext
Raw Normal View History

2026-07-01 15:10:17 +08:00
page{
background-color: rgb(247, 247, 247);
}
.page-content{
background-color: rgb(247, 247, 247);
background: linear-gradient(190deg, #49a5fc 0%, #f7f7f7 800rpx, #f7f7f7 100%);
padding: 0 30rpx;
box-sizing: border-box;
min-height: 100vh;
padding-bottom: 80rpx;
}
/* ===== 头部 ===== */
.header {
/* background: linear-gradient(160deg, #0d1f3c 0%, #0d2a55 100%); */
padding: 0 44rpx 52rpx;
position: relative;
overflow: hidden;
}
.header-glow {
position: absolute;
width: 500rpx;
height: 500rpx;
border-radius: 50%;
background: radial-gradient(circle, rgba(0,130,255,0.2) 0%, transparent 70%);
top: -180rpx;
right: -120rpx;
pointer-events: none;
}
.header-content {
position: relative;
z-index: 1;
padding-top: 6rpx;
}
.header-kicker {
font-size: 22rpx;
color: #4fc3f7;
letter-spacing: 3rpx;
margin-bottom: 18rpx;
font-weight: 500;
}
.header-title {
font-size: 58rpx;
font-weight: bold;
color: #fff;
line-height: 1.15;
margin-bottom: 22rpx;
letter-spacing: 1rpx;
}
.header-meta {
display: flex;
align-items: center;
gap: 14rpx;
font-size: 24rpx;
color: rgba(255,255,255,0.45);
}
.meta-dot {
width: 8rpx;
height: 8rpx;
border-radius: 50%;
background: #4fc3f7;
opacity: 0.7;
flex-shrink: 0;
}
/* ===== 2列卡片网格 ===== */
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 28rpx;
padding: 30rpx 0 ;
box-sizing: border-box;
}
/* 单张卡片 */
.card {
border-radius: 22rpx;
padding: 28rpx 24rpx 24rpx;
box-sizing: border-box;
display: flex;
flex-direction: column;
/* height: 272rpx; */
position: relative;
overflow: hidden;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.12);
}
.card:active {
opacity: 0.82;
transform: scale(0.96);
}
/* 卡片内装饰圆 */
.card-circle-1 {
position: absolute;
width: 200rpx;
height: 200rpx;
border-radius: 50%;
background: rgba(255, 255, 255, 0.12);
top: -80rpx;
right: -60rpx;
pointer-events: none;
}
.card-circle-2 {
position: absolute;
width: 100rpx;
height: 100rpx;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
bottom: -30rpx;
left: -20rpx;
pointer-events: none;
}
/* emoji 区域:占据卡片中局上半部分 */
.card-emoji-wrap {
flex: 1;
display: flex;
align-items: center;
position: relative;
z-index: 1;
}
.card-emoji-wrap image {
width: 100rpx;
height: 100rpx;
}
.card-emoji {
font-size: 80rpx;
line-height: 1;
filter: drop-shadow(0 4rpx 8rpx rgba(0, 0, 0, 0.15));
}
/* 底部:名称 + 箭头同一行 */
.card-bottom {
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 1;
}
.card-name {
font-size: 30rpx;
font-weight: bold;
color: #fff;
line-height: 1;
text-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.15);
}
.card-arrow-circle {
width: 48rpx;
height: 48rpx;
border-radius: 50%;
background: rgba(255, 255, 255, 0.25);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.card-arrow-text {
font-size: 32rpx;
color: #fff;
line-height: 1;
margin-top: -2rpx;
padding-left: 2rpx;
}
/* ===== 8种卡片颜色 ===== */
.c0 { background: linear-gradient(140deg, #ff6b6b 0%, #ee2d2d98 100%); }
.c1 { background: linear-gradient(140deg, #ffa340 0%, #f0600098 100%); }
.c2 { background: linear-gradient(140deg, #20c997 0%, #0a8f6098 100%); }
.c3 { background: linear-gradient(140deg, #a855f7 0%, #6d28d998 100%); }
.c4 { background: linear-gradient(140deg, #3b82f6 0%, #1d4ed898 100%); }
.c5 { background: linear-gradient(140deg, #06b6d4 0%, #0284c798 100%); }
.c6 { background: linear-gradient(140deg, #f43f8e 0%, #be185d98 100%); }
.c7 { background: linear-gradient(140deg, #34d399 0%, #05966998 100%); }
.title{
font-weight: bold;
font-size: 32rpx;
display: flex;
align-items: center;
justify-content: center;
margin-top: 66rpx;
margin-bottom: 20rpx;
}
.title-before{
height: 24rpx;
border-radius: 6rpx;
width: 6rpx;
margin-right: 20rpx;
background:linear-gradient(180.00deg, rgb(38, 165, 246),rgba(38, 165, 246, 0) 100%)
}
.play{
padding: 0 30rpx 0 30rpx;
box-sizing: border-box;
display: flex;
justify-content: space-between;
/* margin-bottom: -170rpx; */
/* min-height: 428rpx; */
height: 350rpx;
overflow: hidden;
}
.logo-play{
margin-right: -82rpx;
width: 428rpx;
height: 428rpx;
/* z-index: 1; */
/* overflow: hidden; */
}
.play-text{
font-size: 28rpx;
padding-top: 70rpx;
}
.text-style{
font-weight: bold;
}
.text-line{
height: 16rpx;
background-color: #FFC20E;
border-radius: 10rpx;
width: 110rpx;
margin-top: -18rpx;
margin-bottom: 10rpx;
}
.tab{
width: 536rpx;
display: flex;
height: 80rpx;
font-size: 28rpx;
margin-top: -80rpx;
font-weight: bold;
}
.tab-l{
flex: 1;
background-color: rgba(38, 165, 246, 1);
/* backdrop-filter: blur(20rpx); */
border-radius: 20rpx 0 0 0;
color: #000;
}
.tab-l-content{
background-color: #fff;
border-radius: 20rpx 38rpx 0 0;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
}
.tab-r{
flex: 1;
background:linear-gradient(90deg,rgba(255,255,255,1) 0%, rgba(255,255,255,.6) 30%) ;
border-radius: 0 20rpx 0 0rpx;
}
.tab-r-content{
background: linear-gradient(90deg, rgba(38, 165, 246, 1) 0%, rgba(38, 165, 246, 0.7) 50%,
rgba(38, 165, 246, 0.7) 100%);
border-radius: 0 20rpx 0 38rpx;
display: flex;
align-items: center;
justify-content: center;
height: 80rpx;
color: #fff;
}
.card1{
width: 100%;
background: #fff;
border-radius: 0 20rpx 20rpx 20rpx;
padding: 16rpx 18rpx 24rpx;
box-sizing: border-box;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
}
.iconn{
margin-right: 6rpx;
margin-top: -6rpx;
}
.cell{
padding: 44rpx 4rpx;
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 26rpx;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.left{
display: flex;
align-items: center;
}
.left-img{
width: 48rpx;
height: 48rpx;
margin-right: 26rpx;
}
.desc{
text-align: center;
font-size: 26rpx;
max-width: 60%;
text-align: left;
}
.name{
margin-top: 4rpx;
font-size: 24rpx;
color: #777777;
}
.right{
border-radius: 75px;
background: rgb(38, 166, 246);
padding: 12rpx 0rpx;
width: 120rpx;
color: #fff;
font-size: 24rpx;
box-sizing: border-box;
text-align: center;
width: 160rpx;
min-width: 160rpx;
}
.use{
color: rgb(38, 166, 246);
background-color: #fff;
border: 2rpx solid rgb(38, 166, 246);
}