营销:适配商城装修组件【用户卡片】
parent
8755d64683
commit
cfd6551732
|
@ -3,13 +3,13 @@
|
|||
title="我的"
|
||||
tabbar="/pages/index/user"
|
||||
navbar="custom"
|
||||
:bgStyle="template.style?.background"
|
||||
:bgStyle="template.page"
|
||||
:navbarStyle="template.style?.navbar"
|
||||
onShareAppMessage
|
||||
:showFloatButton="true"
|
||||
>
|
||||
<s-block v-for="(item, index) in template.data" :key="index" :styles="item.style">
|
||||
<s-block-item :type="item.type" :data="item.data" :styles="item.style" />
|
||||
<s-block v-for="(item, index) in template.components" :key="index" :styles="item.property.style">
|
||||
<s-block-item :type="item.id" :data="item.property" :styles="item.property.style" />
|
||||
</s-block>
|
||||
</s-layout>
|
||||
</template>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<s-richtext-block v-if="type === 'PromotionArticle'" :data="data" :styles="styles" />
|
||||
|
||||
<!-- 会员组件:会员卡片 -->
|
||||
<s-user-card v-if="type === 'userCard'" />
|
||||
<s-user-card v-if="type === 'UserCard'" />
|
||||
<!-- 会员组件:订单卡片 -->
|
||||
<s-order-card v-if="type === 'orderCard'" :data="data" />
|
||||
<!-- 会员组件:资产卡片 -->
|
||||
|
|
|
@ -110,7 +110,7 @@ const adaptTemplate = async (appTemplate) => {
|
|||
}
|
||||
}
|
||||
appTemplate.home = diyTemplate?.data?.home;
|
||||
// appTemplate.user = diyTemplate?.data?.user;
|
||||
appTemplate.user = diyTemplate?.data?.user;
|
||||
}
|
||||
|
||||
export default app;
|
||||
|
|
Loading…
Reference in New Issue