2021-10-01 14:40:07 +00:00
|
|
|
<template>
|
|
|
|
<div class="collect-quotes">
|
2021-10-04 09:11:44 +00:00
|
|
|
<CollectQuotesExplain />
|
2021-10-04 06:46:36 +00:00
|
|
|
<div class="collect-quotes__list" v-for="quote in quotes" :key="quote.id">
|
|
|
|
<div class="collect-quotes__quote">
|
|
|
|
{{ quote.quote }}
|
|
|
|
</div>
|
|
|
|
<div class="collect-quotes__actions">
|
|
|
|
<div class="collect-quotes__icon collect-quotes__icon-edit" />
|
|
|
|
<div class="collect-quotes__icon collect-quotes__icon-delete" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-01 14:40:07 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
2021-10-04 06:46:36 +00:00
|
|
|
export default {
|
|
|
|
computed: {
|
|
|
|
quotes() {
|
|
|
|
return this.$store.state.myQuotes.quotes
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async fetch() {
|
|
|
|
await this.$engine.getMyQuotes()
|
|
|
|
},
|
2021-10-01 14:40:07 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.collect-quotes {
|
2021-10-04 09:11:44 +00:00
|
|
|
color: #ffc0c0;
|
2021-10-04 06:46:36 +00:00
|
|
|
}
|
2021-10-01 14:40:07 +00:00
|
|
|
</style>
|