refactor(store-service): favorite store 테스트 코드 작성
favorite store 테스트 코드 작성
This commit is contained in:
43
customer-vue/src/components/SlideStore.vue
Normal file
43
customer-vue/src/components/SlideStore.vue
Normal file
@@ -0,0 +1,43 @@
|
||||
<template>
|
||||
<div >
|
||||
<v-slide-group
|
||||
show-arrows="desktop"
|
||||
>
|
||||
<v-slide-item
|
||||
v-for="item in storeList"
|
||||
:key="item.id"
|
||||
>
|
||||
<v-card
|
||||
elevation="7"
|
||||
class="my-3 mx-3"
|
||||
height="250"
|
||||
width="165"
|
||||
>
|
||||
<v-img
|
||||
height="165"
|
||||
width="165"
|
||||
src="https://cdn.vuetifyjs.com/images/cards/cooking.png"
|
||||
></v-img>
|
||||
<v-card-subtitle style="white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">{{item.name}}</v-card-subtitle>
|
||||
<v-card-text>
|
||||
거리 : {{item.distance}}
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</v-slide-item>
|
||||
</v-slide-group>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "SlideStore",
|
||||
props:{
|
||||
storeList:Array,
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user