wawa
This commit is contained in:
parent
c8613a771f
commit
40799a971d
|
@ -1,5 +1,7 @@
|
|||
<template>
|
||||
<router-link :to="'/visit/' + id" class="star"></router-link>
|
||||
<router-link :to="'/visit/' + id" class="star">
|
||||
<div class="star-color"></div>
|
||||
</router-link>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
@ -15,7 +17,7 @@ export default defineComponent({
|
|||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.star {
|
||||
.star-color {
|
||||
border-radius: 24px;
|
||||
margin: 12px;
|
||||
width: 24px;
|
||||
|
|
|
@ -7,7 +7,7 @@ const routes: Array<RouteRecordRaw> = [
|
|||
component: () => import("../views/DiscoverView.vue"),
|
||||
},
|
||||
{
|
||||
path: "/visit",
|
||||
path: "/visit/:id",
|
||||
name: "visiting 👽",
|
||||
component: () => import("../views/StarView.vue"),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue