fix: button title
This commit is contained in:
@@ -1 +0,0 @@
|
||||
SXyLwVzY6K7yEt0c
|
||||
1
src/components.d.ts
vendored
1
src/components.d.ts
vendored
@@ -5,7 +5,6 @@ import '@vue/runtime-core'
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
export interface GlobalComponents {
|
||||
AnimateStuff: typeof import('./components/AnimateStuff.vue')['default']
|
||||
BaseFooter: typeof import('./components/BaseFooter.vue')['default']
|
||||
ChooseFood: typeof import('./components/ChooseFood.vue')['default']
|
||||
Counter: typeof import('./components/Counter.vue')['default']
|
||||
|
||||
@@ -9,18 +9,18 @@ onBeforeMount(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div p="4" class="flex flex-col justify-center items-center" opacity="70" text="sm">
|
||||
<a v-if="displayICP" class="flex" href="https://beian.miit.gov.cn/" target="_blank">
|
||||
<div p="4" class="flex flex-col justify-center items-center" text="sm">
|
||||
<a v-if="displayICP" opacity="80" class="flex" href="https://beian.miit.gov.cn/" target="_blank">
|
||||
苏ICP备17038157号
|
||||
</a>
|
||||
<div m="y-2" class="inline-flex justify-center items-center" text="xs">
|
||||
<a class="inline-flex justify-center items-center" style="color: #ea7a99" href="https://www.bilibili.com" target="_blank">
|
||||
<a class="inline-flex justify-center items-center" style="color: #ea7b99" href="https://www.bilibili.com" target="_blank">
|
||||
<span inline-flex>菜谱视频来源:</span>
|
||||
<div class="inline-flex" i-ri-bilibili-line />
|
||||
<span m="l-1" class="inline-flex" style="margin-top: 1px;">B 站</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex justify-center items-center">
|
||||
<div opacity="80" class="flex justify-center items-center">
|
||||
©️ <a href="https://github.com/YunYouJun/cook" target="_blank">Cook</a>
|
||||
<div text="xs" m="x-1" i-ri-cloud-line />
|
||||
<a href="https://www.yunyoujun.cn" target="_blank">云游君</a>
|
||||
|
||||
@@ -8,6 +8,7 @@ const rStore = useRecipeStore()
|
||||
<div text-4xl m="t-4">
|
||||
<button
|
||||
class="cursor-pointer transition hover:(text-green-600) active:text-green-800"
|
||||
title="重置"
|
||||
@click="rStore.reset"
|
||||
>
|
||||
<div v-if="rStore.selectedStuff.length" i-mdi-pot-steam-outline />
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
import { meat, staple, vegetable } from '~/data/food'
|
||||
|
||||
/**
|
||||
* 从材料生成 Emoji
|
||||
* @param stuff
|
||||
* @returns
|
||||
*/
|
||||
export function generateEmojisFromStuff(stuff: string[]) {
|
||||
const emojis: string[] = []
|
||||
stuff.forEach((item) => {
|
||||
|
||||
Reference in New Issue
Block a user