Newer
Older
<template>
<div class="d-flex align-center search-bar-container white">
<SearchAutocomplete label="Search in EUbOPEN" :examples="examples" eubopen/>
</div>
</template>
<script>
import SearchAutocomplete from '~/web-components-submodule/components/common/Masthead/Autocomplete/SearchAutocomplete.vue'
export default {
components: {
SearchAutocomplete,
},
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
data() {
return {
examples: [
{
key: 'BAY-693',
value: 'BAY-693',
title: 'BAY-693',
type: 'default',
},
{
key: 'Kinase',
value: 'Kinase',
title: 'Kinase',
type: 'default',
},
{
key: 'BRD4',
value: 'BRD4',
title: 'BRD4',
type: 'default',
},
{
key: 'P18113',
value: 'P18113',
title: 'P18113',
type: 'default',
},
{
key: 'TRPA1',
value: 'TRPA1',
title: 'TRPA1',
type: 'default',
},
{
key: 'PTGFR',
value: 'PTGFR',
title: 'PTGFR',
type: 'default',
},
],
}
},
}
</script>
<style lang="scss" scoped>
.search-bar-container {
width: 100%;
.input-container {
padding: 0 0 0 5px;
width: 100%;
.search-input {
margin-top: 0;
}
}
}
</style>