2018-12-08 08:48:15 +01:00
|
|
|
<template>
|
2018-12-20 06:32:53 +01:00
|
|
|
<section>
|
2025-01-23 09:31:51 +01:00
|
|
|
<nav class="buttons is-centered mb-4 fd-is-square">
|
2023-07-26 08:05:13 +02:00
|
|
|
<router-link
|
2024-02-27 16:27:37 +01:00
|
|
|
v-for="index in indices"
|
|
|
|
:key="index"
|
2025-01-23 09:31:51 +01:00
|
|
|
class="button is-small"
|
2024-03-13 17:32:35 +01:00
|
|
|
:to="{ hash: `#index_${index}`, query: $route.query }"
|
2023-07-26 08:05:13 +02:00
|
|
|
>
|
2024-04-21 17:44:55 +02:00
|
|
|
{{ index }}
|
|
|
|
</router-link>
|
2018-12-20 06:32:53 +01:00
|
|
|
</nav>
|
|
|
|
</section>
|
2018-12-08 08:48:15 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'IndexButtonList',
|
2024-02-28 13:10:08 +01:00
|
|
|
props: { indices: { required: true, type: Array } }
|
2018-12-08 08:48:15 +01:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2025-01-23 09:31:51 +01:00
|
|
|
<style></style>
|