feat: 商品详情的接口对接

This commit is contained in:
2026-03-11 15:06:17 +08:00
parent 7d7dc1ccc5
commit ecb1611cc0
3 changed files with 29 additions and 8 deletions

View File

@@ -5,13 +5,14 @@
title="套餐包含内容"
/>
<view class="flex flex-items-start flex-col"
v-for="(moduleItem, index) in goodsData.commodityPurchaseInstruction
.commodityPurchaseInstructionModuleEntityList"
:key="index"
v-for="(item, index) in goodsData.commodityPackageConfig" :key="index"
>
<text class="ml-4 font-size-14 color-171717 line-height-20">
{{ moduleItem.moduleTitle }}
</text>
<view class="title-row ml-4 mb-4">
<text class="left font-size-14 color-171717">{{ item.name }}</text>
<view class="sep" aria-hidden="true"></view>
<text class="right font-size-14 color-171717">{{ item.count }}</text>
</view>
</view>
</view>
</template>
@@ -34,5 +35,5 @@ const props = defineProps({
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>