mirror of
https://github.com/nexus-stc/hyperboria
synced 2025-02-21 14:31:08 +01:00
- [nexus] Switch bot - [bot] Added extra receivers functionality GitOrigin-RevId: 68fc32d3e79ff411758f54f435fe8680fc42dead
33 lines
758 B
Vue
33 lines
758 B
Vue
<template lang="pug">
|
|
ul
|
|
li(v-for='document in documents')
|
|
v-scimag-search-item(v-if="document.index_alias == 'scimag'", :document='document', :key='document.id')
|
|
v-scitech-search-item(v-if="document.index_alias == 'scitech'", :document='document', :key='document.id')
|
|
</template>
|
|
|
|
<script>
|
|
import VScimagSearchItem from '@/components/v-scimag-search-item'
|
|
import VScitechSearchItem from '@/components/v-scitech-search-item'
|
|
|
|
export default {
|
|
name: 'SearchList',
|
|
components: { VScimagSearchItem, VScitechSearchItem },
|
|
props: {
|
|
documents: {
|
|
type: Array,
|
|
required: true
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
li {
|
|
padding-bottom: 15px;
|
|
padding-left: 0;
|
|
&:after {
|
|
content: none;
|
|
}
|
|
}
|
|
</style>
|