feat: 设置的搭建

This commit is contained in:
2025-10-22 18:37:50 +08:00
parent 2682b933f1
commit df5e9e92a1
3 changed files with 17 additions and 12 deletions

View File

@@ -1,30 +1,25 @@
<template>
<view class="mt-16">
<view
v-for="(moduleItem, index) in goodsData.commodityPurchaseInstruction
.commodityPurchaseInstructionModuleEntityList"
v-for="(moduleItem, index) in goodsData.commodityEquipment"
:key="index"
>
<view
class="flex flex-items-start flex-col pt-12 pb-12"
:class="{
'border-bottom':
index <
goodsData.commodityPurchaseInstruction
.commodityPurchaseInstructionModuleEntityList.length -
1,
'border-bottom': index < goodsData.commodityEquipment.length - 1,
}"
>
<view class="flex flex-items-center flex-row flex-shrink-0 mr-8">
<uni-icons fontFamily="znicons" size="20" color="#171717">{{
zniconsMap[moduleItem.moduleIcon]
zniconsMap[moduleItem.icon]
}}</uni-icons>
<text class="font-size-12 color-171717 line-height-20">{{
moduleItem.moduleTitle
moduleItem.title
}}</text>
</view>
<text class="flex-full font-size-12 color-525866 line-height-20 mt-4">{{
moduleItem.moduleContent
moduleItem.desc
}}</text>
</view>
</view>
@@ -44,4 +39,9 @@ const props = defineProps({
});
</script>
<style scoped lang="scss"></style>
<style scoped lang="scss">
@font-face {
font-family: znicons;
src: url("@/static/fonts/znicons.ttf");
}
</style>