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