feat: 收口多品牌与模板构建基础

This commit is contained in:
que01 committed 2026-09-25 02:55:46 +08:00
1 parent 0425a1c672
commit 77224ea51f
317 files changed
+11290 -1158

No files matched your search

@@ -1,3 +1,7 @@
Component({
properties: { content: { type: Object, value: {} }, variant: { type: String, value: "default" } },
properties: {
content: { type: Object, value: {} },
presentation: { type: Object, value: {} },
variant: { type: String, value: "default" },
},
});
@@ -1 +1,11 @@
<view class="intro"><text class="eyebrow dark">主理人工艺与信任凭证</text><text class="section-title">14 年,只做门与空间的关系</text><text class="body">{{content.bio}}</text><view class="stats"><view wx:for="{{content.stats}}" wx:key="value"><text class="stat-value">{{item.value}}</text><text class="stat-label">{{item.label}}</text><text class="body">{{item.sub}}</text></view></view></view>
<view class="trust-section">
<view class="trust-head"><text class="eyebrow">{{presentation.proofEyebrow || '信任凭证'}}</text></view>
<view class="stats">
<view wx:for="{{content.stats}}" wx:key="value" class="stat-card"><text class="stat-value">{{item.value}}</text><text class="stat-label">{{item.label}}</text><text class="stat-sub">{{item.sub}}</text></view>
</view>
<view class="manifesto">
<view class="manifesto-head"><text>{{presentation.manifestoEyebrow}}</text><text>{{presentation.manifestoTitle}}</text></view>
<view wx:for="{{content.pillars}}" wx:key="title" class="pillar"><view class="pillar-icon">{{item.icon === 'tree' ? '木' : item.icon === 'ruler' ? '尺' : '盾'}}</view><view><text class="pillar-title">{{item.title}}</text><text class="pillar-desc">{{item.desc}}</text></view></view>
</view>
<view class="flow-card"><text class="flow-eyebrow">{{presentation.flowEyebrow}}</text><text class="flow-title">{{presentation.flowTitle}}</text><view class="flow-grid"><view wx:for="{{content.serviceFlow}}" wx:key="step" class="flow-item"><text class="flow-step">{{item.step}}</text><text class="flow-name">{{item.name}}</text><text class="flow-desc">{{item.desc}}</text></view></view></view>
</view>
@@ -1,7 +1,11 @@
.intro {
margin-top: 22rpx;
padding: 28rpx;
background: #fff;
.trust-section {
padding: 0 40rpx 42rpx;
}
.trust-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
}
.eyebrow {
display: block;
@@ -9,26 +13,21 @@
font-size: 20rpx;
letter-spacing: 3rpx;
}
.section-title {
display: block;
margin-top: 12rpx;
font: 40rpx serif;
}
.body {
display: block;
margin-top: 12rpx;
color: #77736b;
font-size: 25rpx;
line-height: 1.7;
.trust-link {
color: #8a6846;
font-size: 21rpx;
}
.stats {
display: grid;
grid-template-columns: 1fr 1fr;
margin-top: 24rpx;
gap: 16rpx;
margin-bottom: 18rpx;
}
.stats view {
padding: 16rpx 0;
border-top: 1rpx solid #e6ded5;
.stat-card {
padding: 22rpx;
background: #fff;
border: 1rpx solid #e6ded5;
border-radius: 16rpx;
}
.stat-value {
display: block;
@@ -38,4 +37,123 @@
.stat-label {
display: block;
font-size: 22rpx;
margin-top: 4rpx;
font-weight: 600;
}
.stat-sub {
display: block;
margin-top: 6rpx;
color: #77736b;
font-size: 18rpx;
line-height: 1.5;
}
.manifesto {
padding: 28rpx;
border-radius: 20rpx;
background: #202221;
color: #fff;
}
.manifesto-head {
display: flex;
justify-content: space-between;
padding-bottom: 18rpx;
margin-bottom: 20rpx;
border-bottom: 1rpx solid rgba(255, 255, 255, 0.12);
color: #d9c8b2;
font-size: 20rpx;
}
.manifesto-head text:last-child {
color: rgba(255, 255, 255, 0.5);
font-size: 18rpx;
}
.pillar {
display: flex;
gap: 16rpx;
margin-top: 20rpx;
}
.pillar-icon {
width: 44rpx;
height: 44rpx;
flex: 0 0 44rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8rpx;
background: rgba(138, 104, 70, 0.3);
color: #d9c8b2;
font-size: 18rpx;
}
.pillar-title,
.pillar-desc {
display: block;
}
.pillar-title {
font-size: 22rpx;
}
.pillar-desc {
margin-top: 5rpx;
color: rgba(255, 255, 255, 0.62);
font-size: 18rpx;
line-height: 1.55;
}
.flow-card {
margin-top: 22rpx;
padding: 32rpx 24rpx;
border: 1rpx solid #e6ded5;
border-radius: 20rpx;
background: #efece6;
text-align: center;
}
.flow-eyebrow,
.flow-title,
.flow-sub {
display: block;
}
.flow-eyebrow {
color: #8a6846;
font-size: 18rpx;
letter-spacing: 2rpx;
}
.flow-title {
margin-top: 6rpx;
font: 30rpx serif;
}
.flow-sub {
margin-top: 8rpx;
color: #77736b;
font-size: 18rpx;
}
.flow-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16rpx;
margin-top: 26rpx;
text-align: left;
}
.flow-item {
padding: 18rpx;
border: 1rpx solid #e6ded5;
border-radius: 14rpx;
background: #fff;
}
.flow-step,
.flow-name,
.flow-desc {
display: block;
}
.flow-step {
color: #8a6846;
font-size: 18rpx;
font-weight: 700;
}
.flow-name {
margin-top: 5rpx;
font-size: 21rpx;
font-weight: 600;
}
.flow-desc {
margin-top: 6rpx;
color: #77736b;
font-size: 17rpx;
line-height: 1.5;
}