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

@@ -61,4 +61,9 @@ const props = defineProps({
}); });
</script> </script>
<style scoped lang="scss"></style> <style scoped lang="scss">
@font-face {
font-family: znicons;
src: url("@/static/fonts/znicons.ttf");
}
</style>

View File

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

Binary file not shown.