add login mockup (for backend to testing) reading desc please + minor css fix

This commit is contained in:
SRP-mango 2023-09-01 03:10:33 +07:00
parent d2ed7fc3ea
commit 9b4b1a993c
6 changed files with 119 additions and 53 deletions

View file

@ -4,7 +4,9 @@
<v-btn :to="{name: 'home'}"
block rounded="lg"
min-width="20px"
max-width="120px">
max-width="120px"
class = "white-border"
>
<v-icon>mdi-map</v-icon>
แผนท
</v-btn>
@ -13,7 +15,8 @@
<v-btn :to="{name: 'favorite'}"
block rounded="lg"
min-width="20px"
max-width="120px">
max-width="120px"
class = "white-border">
<v-icon>mdi-heart</v-icon>
สถานทโปรด
</v-btn>
@ -21,7 +24,8 @@
<v-btn :to="{name: 'setting'}"
block rounded="lg"
min-width="20px"
max-width="120px">
max-width="120px"
class = "white-border">
<v-icon>mdi-cog</v-icon>
การตงค
</v-btn>
@ -39,7 +43,7 @@ import {RouterLink} from 'vue-router';
</script>
<style>
.v-btn {
.white-border {
min-width: 50px;
border: 3px solid rgba(255, 255, 255, 1);
}

34
src/components/TopBar.vue Normal file
View file

@ -0,0 +1,34 @@
<template>
<v-app-bar app class="custom-app-bar">
<v-app-bar-nav-icon @click="goBack" v-if="showBackIcon">
<v-icon large>mdi-arrow-left</v-icon>
</v-app-bar-nav-icon>
<v-toolbar-title class="text-center">{{ pageTitle }}</v-toolbar-title>
</v-app-bar>
</template>
<script>
export default {
props: {
showBackIcon: {
type: Boolean,
default: false
},
pageTitle: {
type: String,
default: ''
}
},
methods: {
goBack() {
this.$router.go(-1);
}
}
};
</script>
<style scoped>
.custom-app-bar {
box-shadow: none;
}
</style>