营销:适配商城装修组件【用户卡片】

pull/20/head
owen 2023-12-01 23:12:43 +08:00
parent 8755d64683
commit cfd6551732
3 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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" />
<!-- 会员组件资产卡片 -->

View File

@ -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;