Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

34 wiersze
622 B

  1. <template>
  2. <div class="entries">
  3. <span class="entry" v-for="entry in entries"
  4. @click="$emit('select', entry.value)"
  5. >{{entry.text}}</span>
  6. </div>
  7. </template>
  8. <style scoped>
  9. .entries {
  10. display: flex;
  11. flex-flow: column;
  12. position: absolute;
  13. left: 0;
  14. background: var(--secondary-bg);
  15. width: 100%;
  16. margin-top: 5px;
  17. z-index: 3;
  18. border: 1px solid black;
  19. top: 100%;
  20. }
  21. .entry {
  22. border-bottom: 1px solid var(--text);
  23. padding: 5px;
  24. cursor: pointer;
  25. }
  26. </style>
  27. <script setup>
  28. const props = defineProps(['entries'])
  29. const emits = defineEmits(['select'])
  30. </script>