Compare commits
No commits in common. "master" and "69a55778ec315dd327bbf4efb2b99ffde0d713d8" have entirely different histories.
master
...
69a55778ec
@ -17,12 +17,9 @@
|
|||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<template #title>
|
<template #title>
|
||||||
<van-tag
|
<van-tag class="recipe-type-tag" plain type="primary">{{
|
||||||
class="recipe-type-tag"
|
constants.formatRecipeType(recipe.recipe_type)
|
||||||
plain
|
}}</van-tag>
|
||||||
v-bind:type="getTagType(recipe.recipe_type)"
|
|
||||||
>{{ constants.formatRecipeType(recipe.recipe_type) }}</van-tag
|
|
||||||
>
|
|
||||||
<span class="recipe-name"> {{ recipe.name }}</span>
|
<span class="recipe-name"> {{ recipe.name }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template #value>
|
<template #value>
|
||||||
@ -60,13 +57,6 @@ export default {
|
|||||||
constants: constants,
|
constants: constants,
|
||||||
is_link: true,
|
is_link: true,
|
||||||
activeNames: ['1'],
|
activeNames: ['1'],
|
||||||
getTagType: function (recipe_type) {
|
|
||||||
return {
|
|
||||||
[constants.RECIPE_TYPE_MEAT]: 'primary',
|
|
||||||
[constants.RECIPE_TYPE_VEGETABLE]: 'success',
|
|
||||||
[constants.RECIPE_TYPE_SOUP]: 'warning',
|
|
||||||
}[recipe_type];
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {},
|
mounted() {},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user