refactor: 抽取首页品牌与宣言模块

This commit is contained in:
que01 committed 2026-09-22 22:42:17 +08:00
1 parent 3d3e8c95f5
commit 48f64a85c5
11 files changed
+12 -4

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
<view class="page">
<founder-card brand="{{brand}}" />
<view class="hero"><image class="hero-image" src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=80" mode="aspectFill"/><view class="hero-shade"/><view class="hero-copy"><text class="eyebrow">年度落成实景 · 莫干山庄园</text><text class="hero-title">万籁系列 · 铸铜冷锻双轴入户门</text><text class="hero-slogan">门高 3.4m · 德国静音地轴</text><button class="hero-button" bindtap="goWorks">探索全系作品 →</button></view></view>
<brand-hero hero="{{hero}}" bind:explore="goWorks" />
<trust-proof content="{{trustContent}}" />
<view class="trust"><text class="eyebrow">林境门作品质宣言</text><text class="section-title light">拒绝流水线拼装</text><view wx:for="{{trustContent.pillars}}" wx:key="title"><text class="work-name light">{{item.title}}</text><text class="body light-body">{{item.desc}}</text></view></view>
<trust-manifesto content="{{trustContent}}" />
<offering-list offerings="{{offerings}}" bind:open="selectOffering" bind:more="goWorks" />
</view>