This commit is contained in:
lb 2023-08-18 17:01:41 +08:00
parent 577fcb53d2
commit a4c1438e59

View File

@ -6,28 +6,32 @@
--> -->
<template> <template>
<div class="equipment-pics"> <div class="equipment-pics">
hhh <img v-for="url,idx in images" :key="url" :src="url" alt="" />
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: "EquipmentPics", name: 'EquipmentPics',
components: {}, components: {},
props: {}, props: {},
data() { data() {
return {} return {
}, images: Array(10)
computed: {}, .fill(1)
methods: {}, .map((_, index) => `../assets/eq${index + 1}.jpg`),
} };
},
computed: {},
methods: {},
};
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.equipment-pics { .equipment-pics {
background: #fcfcfc; background: #fcfcfc;
padding: 12px; padding: 12px;
margin: 8px; margin: 8px;
} }
</style> </style>