feat: 将阿成信任内容迁移为品牌数据
This commit is contained in:
1 parent
55989a5dfe
commit
774ae2c8e3
19 files changed
+142
-35
No files matched your search
@@ -4,7 +4,7 @@ const { openPage } = require("../../utils/navigation");
|
||||
Page({
|
||||
data: {
|
||||
brand: {},
|
||||
trustContent: [],
|
||||
trustItems: [],
|
||||
records: [],
|
||||
error: "",
|
||||
},
|
||||
@@ -13,7 +13,7 @@ Page({
|
||||
.then((workspace) =>
|
||||
this.setData({
|
||||
brand: workspace.brand || {},
|
||||
trustContent: workspace.trustPresentation || {},
|
||||
trustItems: workspace.trustItems || [],
|
||||
records: [],
|
||||
}),
|
||||
)
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="page"><view wx:if="{{error}}" class="runtime-error">{{error}}</view><block wx:else><acheng-profile brand="{{brand}}" presentation="{{brand.visualPresentation.profile}}" records-count="{{records.length}}" bind:call="call" bind:copy="copyWechat" bind:records="recordsPage" /><view class="proof-grid"><view><text class="proof-icon">✓</text><text>健康证公示</text><text>每年体检合格</text></view><view><text class="proof-icon">◆</text><text>摊贩登记卡</text><text>正规合规备案</text></view><view><text class="proof-icon">✦</text><text>每日消杀</text><text>食具恒温消毒</text></view></view><view class="card"><text class="card-title">他们都在阿成这订过餐</text><text>校街舞社年度专场 · 52 人份</text><text>信息学院科创竞赛 · 连签 5 天</text><text>7 号楼庆功宴 · 8 人定制</text></view><view class="promise"><text>回复承诺:备料期 15 分钟内联系,出摊高峰 1 小时内回复。</text></view></block></view>
|
||||
<view class="page"><view wx:if="{{error}}" class="runtime-error">{{error}}</view><block wx:else><acheng-profile brand="{{brand}}" presentation="{{brand.visualPresentation.profile}}" records-count="{{records.length}}" bind:call="call" bind:copy="copyWechat" bind:records="recordsPage" /><block wx:for="{{trustItems}}" wx:key="title"><view wx:if="{{item.type === 'coverage' || item.type === 'credential' || item.type === 'case' || item.type === 'promise'}}" class="card"><text class="card-title">{{item.title}}</text><text wx:if="{{item.summary}}">{{item.summary}}</text><text>{{item.content}}</text></view></block></block></view>
|
||||
Reference in new issue
Block a user