fix: details by product suggestion
This commit is contained in:
@@ -64,9 +64,12 @@ const clickTool = (item: StuffItem) => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div m="y-4">
|
||||
<h2 text="xl" font="bold" p="1">
|
||||
๐ฅฌ ไปๅคฉๆณๅ่
|
||||
<h2 m="t-4" text="xl" font="bold" p="1">
|
||||
็ฌฌไธๆญฅ๏ผ๐ฅ ้ๆฉ้ฃๆ
|
||||
</h2>
|
||||
<div>
|
||||
<h2 opacity="90" text="base" font="bold" p="1">
|
||||
๐ฅฌ ่่ไปฌ
|
||||
</h2>
|
||||
<VegetableTag
|
||||
v-for="item, i in vegetable" :key="i"
|
||||
@@ -85,8 +88,8 @@ const clickTool = (item: StuffItem) => {
|
||||
</VegetableTag>
|
||||
</div>
|
||||
<div m="y-4">
|
||||
<h2 text="xl" font="bold" p="1">
|
||||
๐ฅฉ ่ฟๆณๅ็น่
|
||||
<h2 opacity="90" text="base" font="bold" p="1">
|
||||
๐ฅฉ ่่ไปฌ
|
||||
</h2>
|
||||
<MeatTag
|
||||
v-for="item, i in meat" :key="i"
|
||||
@@ -103,7 +106,7 @@ const clickTool = (item: StuffItem) => {
|
||||
</div>
|
||||
<div m="y-4">
|
||||
<h2 text="xl" font="bold" p="1">
|
||||
๐ ๆณๆฅ็นไธป้ฃ
|
||||
็ฌฌไบๆญฅ๏ผ๐ ้ๆฉไธป้ฃ
|
||||
</h2>
|
||||
<StapleTag
|
||||
v-for="item, i in staple" :key="i"
|
||||
@@ -120,7 +123,7 @@ const clickTool = (item: StuffItem) => {
|
||||
</div>
|
||||
<div m="t-4">
|
||||
<h2 text="xl" font="bold" p="1">
|
||||
๐ณ ๆ็ฎ็จๅจๅ
ท
|
||||
็ฌฌไธๆญฅ๏ผ๐ณ ้ๆฉๅจๅ
ท
|
||||
</h2>
|
||||
<ToolTag
|
||||
v-for="item, i in tools" :key="i"
|
||||
@@ -156,25 +159,33 @@ const clickTool = (item: StuffItem) => {
|
||||
<h2 text="xl" font="bold" p="1">
|
||||
๐ฒ ไปๅคฉ็้ฅญ่
|
||||
<br>
|
||||
<small class="inline-flex justify-center items-center" text="xs">่่ฐฑๆฐๆฎๆฅๆบ๏ผ
|
||||
<small 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/v/food" 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>
|
||||
</small>
|
||||
</h2>
|
||||
<Transition mode="out-in">
|
||||
<div v-if="displayedRecipe.length">
|
||||
<div p="2">
|
||||
<span v-if="!curStuff.length && !curTools.length" text="sm" p="2">
|
||||
ไฝ ่ฆๅ
้้ฃๆๆๅทฅๅ
ทๅฆ๏ฝ
|
||||
</span>
|
||||
|
||||
<span v-else-if="displayedRecipe.length">
|
||||
<DishTag v-for="item, i in displayedRecipe" :key="i" :dish="item" />
|
||||
</div>
|
||||
<p v-else p="2">
|
||||
๐ข ่ฟๆฒกๆ่ฟๆ ท็้ฃ่ฐฑๅขโฆโฆ
|
||||
</span>
|
||||
|
||||
<span v-else text="sm">
|
||||
่ฟๆฒกๆ่ฟๆ ท็ปๅๅบ็้ฃ่ฐฑๅขโฆ้ๆฐ้ๆฉไธไธๅง
|
||||
</span>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<a class="text-sm text-blue-600 dark:text-blue-400" href="https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt" target="_blank">
|
||||
โค๏ธ ้็ฆป้ฃ็จๆๅๅคงๅ
จ โค๏ธ
|
||||
<a m="t-4" border="b-1 dashed" class="inline-flex text-sm text-blue-600 dark:text-blue-400" href="https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt" target="_blank">
|
||||
ๅนฒ้ฅญๆป็ฅ๏ผ้็ฆป้ฃ็จๆๅๅคงๅ
จ
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</Transition>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -428,3 +428,21 @@ biangbiang้ข,้ขๆก,https://www.bilibili.com/video/BV1844y157GL,็ฎๅ,,ๆฒนๆณผ,
|
||||
ๅนฒ้
่ฑ่,่ฑ่ใๆด่ฑ,https://www.bilibili.com/video/BV1Rb4y147bZ,ๆฎ้,,,ไธๅฃๅคง้
|
||||
่ๆฑ่ฑ่,่ฑ่ใ็ช่,https://www.bilibili.com/video/BV1J541187QQ,ๆฎ้,,,ไธๅฃๅคง้
|
||||
่ฑ่่พไป็้ฅญ,่ฑ่ใ่พไปใ็ฑณ้ฅญใๆด่ฑใ่ก่ๅ,https://www.bilibili.com/video/BV1z4411a7dy,ๆฎ้,,,ไธๅฃๅคง้
|
||||
็ฝ่็้ฆ่,็ฝ่ใ่่,https://www.bilibili.com/video/BV1MS4y117Kp,ๆฎ้,,,ไธๅฃๅคง้
|
||||
้ฆ่็ฝ่ๆฑค,็ฝ่ใ่่,https://www.bilibili.com/video/BV1Cs411G7bw,ๆฎ้,,,ไธๅฃๅคง้
|
||||
็ฝ่็ๅ่ฑ็,็ฝ่ใๅ่ฑ,https://www.bilibili.com/video/BV17y4y1e76x,ๆฎ้,,,ไธๅฃๅคง้
|
||||
็ฝ่่ๅท,็ฝ่ใ็ช่ใๆด่ฑใ็ช่ใ็ฑณ้ฅญใ้ธก่,https://www.bilibili.com/video/BV1Ru411C7Hn,ๅฐ้พ,,,ไธๅฃๅคง้
|
||||
็ฝ่ไธไธ้ฅผ,็ฝ่ใ่ก่ๅใ่ฅฟ่ซ่ฆใ้ธก่,https://www.bilibili.com/video/BV1oF411B7Ys,ๆฎ้,,,ไธๅฃๅคง้
|
||||
็ฝ่้ธก่ธ่ๅท,็ฝ่ใ้ธก่ธ่ใ้ธก่,https://www.bilibili.com/video/BV1nf4y127Cx,,,,ไธๅฃๅคง้
|
||||
็ฝ่้
ฟ่,็ฝ่ใ็ช่ใ่ก่ๅใ่่,https://www.bilibili.com/video/BV1Q5411J7oT,,,,ไธๅฃๅคง้
|
||||
ๅคง่พ็ง็ฝ่,็ฝ่ใ่พ,https://www.bilibili.com/video/BV1yT4y157x5,,,,ไธๅฃๅคง้
|
||||
็ฝ่้ธก่็,็ฝ่ใ้ธก่,https://www.bilibili.com/video/BV1rb411F7en,,,,ไธๅฃๅคง้
|
||||
็ฝ่่ทๅ
่,็ฝ่ใ้ธก่ใ็ช่,https://www.bilibili.com/video/BV16W411a7V8,,,,ไธๅฃๅคง้
|
||||
้
ธ่พฃๅคง็ฝ่,็ฝ่,https://www.bilibili.com/video/BV1aJ411z7z9,,,,ไธๅฃๅคง้
|
||||
็ฝ่้ธก่ธ่,็ฝ่ใ้ธก่ธ่,https://www.bilibili.com/video/BV1nf4y127Cx,,,,ไธๅฃๅคง้
|
||||
็็ณ็ฝ่,็ฝ่ใ้ธก่,https://www.bilibili.com/video/BV1x3411y7eN,,,,ไธๅฃๅคง้
|
||||
้ๆบ็ฝ่,็ฝ่,https://www.bilibili.com/video/BV12K4y157im,,,,ไธๅฃๅคง้
|
||||
็ซ่
ฟ็ฝ่่ฑ่
็
ฒ,็ฝ่ใ่ฑ่
ใ้ฆ่ ,https://www.bilibili.com/video/BV1o44y1r7hX,,,,ไธๅฃๅคง้
|
||||
็ฝ่ๅท็ซ้
,็ฝ่ใ่่ใ่ก่ๅใ้ฆ่ ,https://www.bilibili.com/video/BV1wY411n7Vk,,,,ไธๅฃๅคง้
|
||||
่ธ่็พน๏ผ็กฌๆ ธ0ๅคฑ่ดฅ็๏ผ,้ธก่,https://www.bilibili.com/video/BV1x441117r4,,,,ไธๅฃๅคง้
|
||||
็ๆฑ่้ฅผ,็ช่ใ้ธก่,https://www.bilibili.com/video/BV1Cm4y1X7ej,,,,ไธๅฃๅคง้
|
||||
|
||||
|
@@ -2,7 +2,7 @@ import { acceptHMRUpdate, defineStore } from 'pinia'
|
||||
|
||||
export const useRecipeStore = defineStore('recipe', () => {
|
||||
const curStuff = ref(new Set<string>())
|
||||
const curTools = ref(new Set<string>(['ไธๅฃๅคง้
']))
|
||||
const curTools = ref(new Set<string>())
|
||||
|
||||
const selectedStuff = computed(() => Array.from(curStuff.value))
|
||||
const selectedTools = computed(() => Array.from(curTools.value))
|
||||
@@ -31,7 +31,6 @@ export const useRecipeStore = defineStore('recipe', () => {
|
||||
function reset() {
|
||||
curStuff.value.clear()
|
||||
curTools.value.clear()
|
||||
curTools.value.add('ไธๅฃๅคง้
')
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user