1
0
mirror of synced 2025-11-06 04:20:50 +08:00
Files
cook/app/pages/tabs/home/index.vue
2025-10-07 00:23:01 +08:00

40 lines
918 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script lang="ts" setup>
definePageMeta({
alias: ['/', '/home', '/tabs'],
})
useHead({
title: '食用手册',
})
const ionContentRef = ref<HTMLElement>()
const rStore = useRecipeStore()
</script>
<template>
<ion-page>
<ion-header>
<ion-toolbar>
<ion-title>
<button
class="m-auto flex cursor-pointer items-center gap-2 transition active:text-green-800 hover:(text-green-600)"
title="重置"
@click="rStore.reset"
>
<div v-if="rStore.selectedStuff.length" i-mdi-pot-steam-outline />
<div v-else i-mdi-pot-mix-outline />
<span>
好的今天我们来做菜
</span>
</button>
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content ref="ionContentRef" class="text-center">
<ChooseFood />
</ion-content>
</ion-page>
</template>