微调每日菜谱菜品样式
This commit is contained in:
1 parent
b807e92744
commit
adf10717ea
1 file changed
+9
-24
@@ -26,14 +26,9 @@
|
||||
<tr class="food">
|
||||
<td @click="addFood(1)">早餐</td>
|
||||
<div class="food_list">
|
||||
<td class="food_list_item" v-for="(item, index) in foodData1" :key="index">
|
||||
<el-image
|
||||
style="width: 80px; height: 80px"
|
||||
:src="imageBaseUrl + item.picUrl"
|
||||
fit="cover"
|
||||
@click="delteData(item.tid)"
|
||||
/>
|
||||
<div class="w-full flex justify-around items-center text-black">
|
||||
<td class="food_list_item" v-for="(item, index) in foodData1" :key="index" @click="delteData(item.tid)">
|
||||
<el-image style="width: 80px; height: 80px" :src="imageBaseUrl + item.picUrl" fit="cover" />
|
||||
<div class="w-full flex justify-around items-center text-black mt-2">
|
||||
<span>{{ item.name }}</span>
|
||||
<span class="mx-1">|</span>
|
||||
<span class="text-sm">{{ canteenCategoryOption.find((v: any) => v.id == item.categoryId)?.name }}</span>
|
||||
@@ -45,14 +40,9 @@
|
||||
<tr class="food">
|
||||
<td @click="addFood(2)">中餐</td>
|
||||
<div class="food_list">
|
||||
<td class="food_list_item" v-for="(item, index) in foodData2" :key="index">
|
||||
<el-image
|
||||
style="width: 80px; height: 80px"
|
||||
:src="imageBaseUrl + item.picUrl"
|
||||
fit="cover"
|
||||
@click="delteData(item.tid)"
|
||||
/>
|
||||
<div class="w-full flex justify-around items-center text-black">
|
||||
<td class="food_list_item" v-for="(item, index) in foodData2" :key="index" @click="delteData(item.tid)">
|
||||
<el-image style="width: 80px; height: 80px" :src="imageBaseUrl + item.picUrl" fit="cover" />
|
||||
<div class="w-full flex justify-around items-center text-black mt-2">
|
||||
<span>{{ item.name }}</span>
|
||||
<span class="mx-1">|</span>
|
||||
<span class="text-sm">{{ canteenCategoryOption.find((v: any) => v.id == item.categoryId)?.name }}</span>
|
||||
@@ -64,14 +54,9 @@
|
||||
<tr class="food">
|
||||
<td @click="addFood(3)">晚餐</td>
|
||||
<div class="food_list">
|
||||
<td class="food_list_item" v-for="(item, index) in foodData3" :key="index">
|
||||
<el-image
|
||||
style="width: 80px; height: 80px"
|
||||
:src="imageBaseUrl + item.picUrl"
|
||||
fit="cover"
|
||||
@click="delteData(item.tid)"
|
||||
/>
|
||||
<div class="w-full flex justify-around items-center text-black">
|
||||
<td class="food_list_item" v-for="(item, index) in foodData3" :key="index" @click="delteData(item.tid)">
|
||||
<el-image style="width: 80px; height: 80px" :src="imageBaseUrl + item.picUrl" fit="cover" />
|
||||
<div class="w-full flex justify-around items-center text-black mt-2">
|
||||
<span>{{ item.name }}</span>
|
||||
<span class="mx-1">|</span>
|
||||
<span class="text-sm">{{ canteenCategoryOption.find((v: any) => v.id == item.categoryId)?.name }}</span>
|
||||
|
||||
Reference in new issue
Block a user