2021-01-29 09:18:22 +01:00
|
|
|
<template lang="pug">
|
|
|
|
ul
|
|
|
|
li(v-for='scoredDocument in scoredDocuments')
|
2021-04-23 17:23:02 +02:00
|
|
|
search-item(:scored-document='scoredDocument', :key='scoredDocument.typedDocument.scitech.id')
|
2021-01-29 09:18:22 +01:00
|
|
|
</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>
|