<script setup>
import Navbar from "@/components/common/Navbar.vue";
import NavTab from "@/components/common/NavTab.vue";

const props = defineProps(["ctx"])
</script>

<template>
	<Navbar>
		<template #tabs>
			<NavTab href="." value="index" name="计费方式"></NavTab>
			<NavTab href=".prices" v-if="ctx.showPrices" value="price" name="价格"></NavTab>
			<NavTab href=".calculator" v-if="ctx.showPrices" value="calculator" name="价格计算器"></NavTab>
		</template>
	</Navbar>
</template>

<style scoped>

</style>