update
This commit is contained in:
parent
577fcb53d2
commit
a4c1438e59
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user