feat: 按运行时布局渲染首页模块
This commit is contained in:
1 parent
0f35cab436
commit
13a2d3c676
3 files changed
+8
-6
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<view class="page">
|
||||
<founder-card brand="{{brand}}" />
|
||||
<brand-hero hero="{{hero}}" bind:explore="goWorks" />
|
||||
<trust-proof content="{{trustContent}}" />
|
||||
<trust-manifesto content="{{trustContent}}" />
|
||||
<offering-list offerings="{{offerings}}" bind:open="selectOffering" bind:more="goWorks" />
|
||||
<founder-card wx:if="{{layout.indexOf('founder-card') !== -1}}" brand="{{brand}}" />
|
||||
<brand-hero wx:if="{{layout.indexOf('brand-hero') !== -1}}" hero="{{hero}}" bind:explore="goWorks" />
|
||||
<trust-proof wx:if="{{layout.indexOf('trust-proof') !== -1}}" content="{{trustContent}}" />
|
||||
<trust-manifesto wx:if="{{layout.indexOf('trust-manifesto') !== -1}}" content="{{trustContent}}" />
|
||||
<offering-list wx:if="{{layout.indexOf('offering-list') !== -1}}" offerings="{{offerings}}" bind:open="selectOffering" bind:more="goWorks" />
|
||||
</view>
|
||||
Reference in new issue
Block a user