feat:增加菜谱显示模块
This commit is contained in:
25
src/components/Food/FoodOthersData.vue
Normal file
25
src/components/Food/FoodOthersData.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<div class="info-item card-item">
|
||||
<div class="title-info">
|
||||
<svg-icon name="home-others"/>
|
||||
<span class="sub-title">其他信息</span>
|
||||
</div>
|
||||
|
||||
<div class="others-info">
|
||||
<span class="others-title">备注:</span>
|
||||
<span v-if="foodStore.currentRecipe.remark">
|
||||
{{ foodStore.currentRecipe.remark }}
|
||||
</span>
|
||||
<span v-else>
|
||||
无
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useFoodStore } from '@/store/food.ts'
|
||||
import { SvgIcon } from 'vue3-common'
|
||||
|
||||
const foodStore = useFoodStore()
|
||||
</script>
|
||||
Reference in New Issue
Block a user