'首页样式'

This commit is contained in:
2026-08-22 10:08:07 +08:00
parent d53bde57b6
commit d822f594a9
20 changed files with 695 additions and 464 deletions
+51 -44
View File
@@ -1,5 +1,5 @@
<template>
<!-- 平台功能 + 集成平台 -->
<!-- 用强大的功能开启盈利快车道 - Figma 1455:1490 -->
<view class="feature-section">
<text class="section-title">用强大的功能开启盈利快车道</text>
@@ -13,22 +13,22 @@
:key="index"
@tap="onFeatTap(index)"
>
<text class="feat-num">0{{ index + 1 }}</text>
<text class="feat-title">{{ item.title }}</text>
<text class="feat-desc">{{ item.desc }}</text>
<text class="feat-num">{{ item.step }}</text>
<view class="feat-text">
<text class="feat-title">{{ item.title }}</text>
<text class="feat-desc">{{ item.desc }}</text>
</view>
</view>
</view>
</scroll-view>
<!-- 集成平台大图 -->
<!-- 集成平台大图 - 370x257 8px圆角 -->
<view class="integration-wrap">
<view class="integration-box">
<image
class="integration-img"
src="/static/images/home/Rectangle_64_1484_1735.png"
mode="widthFix"
></image>
</view>
<image
class="integration-img"
src="/static/images/home/Rectangle_64_1484_1735.png"
mode="widthFix"
></image>
</view>
</view>
</template>
@@ -59,38 +59,45 @@ export default {
<style scoped>
.feature-section {
width: 100%;
padding: 70rpx 0 0 0;
padding: 96rpx 0 0 0;
background: #ffffff;
box-sizing: border-box;
}
/* 区块标题 - 20px Heavy #1A1A1A 居中 */
.section-title {
display: block;
padding: 0 32rpx;
font-size: 38rpx;
font-weight: 700;
text-align: center;
font-size: 40rpx;
font-weight: 900;
color: #1a1a1a;
margin-bottom: 30rpx;
line-height: 1.45;
margin-bottom: 64rpx;
}
/* 功能卡片横向滚动 */
.feat-scroll {
width: 100%;
white-space: nowrap;
margin-bottom: 50rpx;
padding: 0 20rpx;
box-sizing: border-box;
}
.feat-list {
display: inline-flex;
gap: 20rpx;
padding: 0 32rpx;
gap: 16rpx;
}
/* 卡片 - 166x80 圆角6px */
.feat-card {
flex-shrink: 0;
width: 320rpx;
padding: 28rpx 24rpx;
background: #f8f8f8;
width: 332rpx;
height: 160rpx;
padding: 20rpx;
background: #f2f2f2;
border-radius: 12rpx;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 16rpx;
}
.feat-card.active {
background: #ff6800;
@@ -99,47 +106,47 @@ export default {
font-size: 32rpx;
font-weight: 900;
color: #ff6800;
line-height: 1;
margin-bottom: 12rpx;
line-height: 52rpx;
}
.feat-card.active .feat-num {
color: #ffffff;
}
.feat-text {
flex: 1;
display: flex;
flex-direction: column;
}
.feat-title {
font-size: 28rpx;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 8rpx;
font-size: 32rpx;
font-weight: 500;
color: #000000;
line-height: 44rpx;
}
.feat-card.active .feat-title {
color: #ffffff;
}
.feat-desc {
margin-top: 6rpx;
font-size: 20rpx;
color: #999999;
line-height: 1.5;
color: #000000;
opacity: 0.6;
line-height: 1.45;
white-space: normal;
}
.feat-card.active .feat-desc {
color: rgba(255, 255, 255, 0.85);
color: #ffffff;
opacity: 1;
}
/* 集成平台大图 */
/* 集成平台大图 - 370x257 8px圆角 */
.integration-wrap {
padding: 0 32rpx;
}
.integration-box {
width: 100%;
background: #ff6800;
border-radius: 16rpx;
padding: 30rpx;
margin-top: 20rpx;
padding: 0 18rpx;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
}
.integration-img {
width: 100%;
border-radius: 16rpx;
display: block;
}
</style>