家谱现有接口调试50%
This commit is contained in:
@@ -0,0 +1,258 @@
|
||||
.app-hero .container {
|
||||
min-height: 500px;
|
||||
padding-top: 74px;
|
||||
padding-bottom: 74px;
|
||||
}
|
||||
|
||||
.hero-copy {
|
||||
position: relative;
|
||||
padding-left: 28px;
|
||||
}
|
||||
|
||||
.hero-copy:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 58px;
|
||||
width: 4px;
|
||||
height: 132px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, var(--red), var(--gold));
|
||||
}
|
||||
|
||||
.hero-buttons {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.app-stats {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-top: 24px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.app-stats span {
|
||||
padding: 10px 14px;
|
||||
border: 1px solid rgba(224, 211, 189, .78);
|
||||
border-radius: 999px;
|
||||
color: #6d766f;
|
||||
background: rgba(255,253,248,.74);
|
||||
box-shadow: 0 14px 32px rgba(72, 57, 38, .06);
|
||||
font-weight: 800;
|
||||
transition: transform .22s ease, color .22s ease, background .22s ease;
|
||||
}
|
||||
|
||||
.app-stats span:hover {
|
||||
color: #fff;
|
||||
background: var(--green);
|
||||
transform: translateY(-3px);
|
||||
}
|
||||
|
||||
.app-shot-wrap {
|
||||
position: relative;
|
||||
min-height: 390px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 30px;
|
||||
overflow: hidden;
|
||||
background:
|
||||
radial-gradient(circle at 18% 20%, rgba(200,59,50,.12), transparent 24%),
|
||||
radial-gradient(circle at 80% 24%, rgba(71,111,99,.16), transparent 30%),
|
||||
linear-gradient(135deg, #f7efe2, #edf4ef);
|
||||
}
|
||||
|
||||
.app-shot-wrap:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 22px;
|
||||
border: 1px solid rgba(224, 211, 189, .62);
|
||||
border-radius: 22px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.app-orbit {
|
||||
position: absolute;
|
||||
right: 64px;
|
||||
top: 44px;
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 50%;
|
||||
background: rgba(196, 146, 69, .18);
|
||||
animation: appOrbit 4.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.phone-shot {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
width: 185px;
|
||||
height: 380px;
|
||||
object-fit: cover;
|
||||
object-position: top center;
|
||||
border: 8px solid #252b28;
|
||||
border-radius: 28px;
|
||||
box-shadow: 0 26px 60px rgba(33, 28, 22, .2);
|
||||
transition: transform .3s ease, box-shadow .3s ease;
|
||||
}
|
||||
|
||||
.phone-shot.first {
|
||||
animation: phoneFloatA 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.phone-shot.second {
|
||||
transform: translateY(28px);
|
||||
animation: phoneFloatB 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.app-shot-wrap:hover .phone-shot {
|
||||
box-shadow: 0 34px 70px rgba(33, 28, 22, .26);
|
||||
}
|
||||
|
||||
.app-feature-section {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.app-feature-section:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 58px;
|
||||
width: 520px;
|
||||
height: 180px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(196, 146, 69, .09), transparent 68%);
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.app-feature-card {
|
||||
min-height: 190px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.app-feature-card:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -42%;
|
||||
top: 0;
|
||||
width: 36%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255,255,255,.54), transparent);
|
||||
transform: skewX(-18deg);
|
||||
transition: left .56s ease;
|
||||
}
|
||||
|
||||
.app-feature-card:hover:after {
|
||||
left: 112%;
|
||||
}
|
||||
|
||||
.app-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin-bottom: 18px;
|
||||
border-radius: 14px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--red);
|
||||
background: #f7e4dc;
|
||||
font-family: "SimSun", "Songti SC", serif;
|
||||
font-size: 22px;
|
||||
font-weight: 900;
|
||||
transition: transform .26s ease, background .26s ease, color .26s ease;
|
||||
}
|
||||
|
||||
.app-feature-card:hover .app-icon {
|
||||
color: #fff;
|
||||
background: var(--red);
|
||||
transform: rotate(-6deg) scale(1.08);
|
||||
}
|
||||
|
||||
.app-promotion-section {
|
||||
/* 应用推广列表承载后端推广内容,不在 JS 中写样式 */
|
||||
background: #fffdf8;
|
||||
}
|
||||
|
||||
.promotion-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.promotion-card {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
background: #fffaf0;
|
||||
box-shadow: 0 18px 42px rgba(57, 48, 36, .08);
|
||||
transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
|
||||
}
|
||||
|
||||
.promotion-card:hover {
|
||||
border-color: rgba(196, 146, 69, .42);
|
||||
box-shadow: 0 24px 54px rgba(57, 48, 36, .12);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.promotion-card img {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
background: #f3eadc;
|
||||
}
|
||||
|
||||
.promotion-card div {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.promotion-card h3 {
|
||||
margin-bottom: 8px;
|
||||
color: var(--ink);
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.promotion-card p {
|
||||
margin: 0 0 12px;
|
||||
color: var(--muted);
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.promotion-card span {
|
||||
color: var(--red);
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.tilt-card {
|
||||
transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
|
||||
transition: transform .18s ease, box-shadow .24s ease, border-color .24s ease;
|
||||
}
|
||||
|
||||
.tilt-card:hover {
|
||||
--lift: -6px;
|
||||
}
|
||||
|
||||
@keyframes phoneFloatA {
|
||||
0%, 100% { transform: translateY(0) rotate(-1deg); }
|
||||
50% { transform: translateY(-8px) rotate(1deg); }
|
||||
}
|
||||
|
||||
@keyframes phoneFloatB {
|
||||
0%, 100% { transform: translateY(28px) rotate(1deg); }
|
||||
50% { transform: translateY(18px) rotate(-1deg); }
|
||||
}
|
||||
|
||||
@keyframes appOrbit {
|
||||
0%, 100% { opacity: .5; transform: scale(.92); }
|
||||
50% { opacity: 1; transform: scale(1.08); }
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.hero-copy { padding-left: 0; }
|
||||
.hero-copy:before { display: none; }
|
||||
.phone-shot.second { display: none; }
|
||||
.promotion-list { grid-template-columns: 1fr; }
|
||||
}
|
||||
Reference in New Issue
Block a user