mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-13 13:17:48 +01:00
30 lines
538 B
Vue
30 lines
538 B
Vue
|
<template lang="pug">
|
||
|
ul
|
||
|
li(v-for='scoredDocument in scoredDocuments')
|
||
|
search-item(:scored-document='scoredDocument', :key='scoredDocument.document.id')
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import SearchItem from '@/components/search-item'
|
||
|
export default {
|
||
|
name: 'SearchList',
|
||
|
components: { SearchItem },
|
||
|
props: {
|
||
|
scoredDocuments: {
|
||
|
type: Array,
|
||
|
required: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
li {
|
||
|
padding-bottom: 15px;
|
||
|
padding-left: 0;
|
||
|
&:after {
|
||
|
content: none;
|
||
|
}
|
||
|
}
|
||
|
</style>
|