chore: lint code
This commit is contained in:
@@ -17,7 +17,6 @@ const searchModes: {
|
|||||||
id: 'survival',
|
id: 'survival',
|
||||||
name: '生存模式',
|
name: '生存模式',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ const triggerGtm = (val: string) => {
|
|||||||
action: val,
|
action: val,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -31,7 +30,7 @@ const triggerGtm = (val: string) => {
|
|||||||
@click="triggerGtm(dish.name)"
|
@click="triggerGtm(dish.name)"
|
||||||
>
|
>
|
||||||
<span m="r-1" class="inline-flex justify-center items-center" text="sm blue-700 dark:blue-200">
|
<span m="r-1" class="inline-flex justify-center items-center" text="sm blue-700 dark:blue-200">
|
||||||
{{ (dish.tags?.includes('杂烩') ? '🍲' : dish.emojis.join(' ')) + ' ' + dish.name }}
|
{{ `${dish.tags?.includes('杂烩') ? '🍲' : dish.emojis.join(' ')} ${dish.name}` }}
|
||||||
</span>
|
</span>
|
||||||
<span v-for="tool, i in tools" :key="i" inline-flex>
|
<span v-for="tool, i in tools" :key="i" inline-flex>
|
||||||
<div v-if="dish.tools?.includes(tool.name)" :class="tool.icon" />
|
<div v-if="dish.tools?.includes(tool.name)" :class="tool.icon" />
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ defineProps<{
|
|||||||
<template>
|
<template>
|
||||||
<span
|
<span
|
||||||
class="tag rounded" p="x-2"
|
class="tag rounded" p="x-2"
|
||||||
:border="'~ stone-200 dark:stone-600'"
|
border="~ stone-200 dark:stone-600"
|
||||||
:bg="active ? 'stone-600 opacity-100' : 'stone-300 opacity-5'"
|
:bg="active ? 'stone-600 opacity-100' : 'stone-300 opacity-5'"
|
||||||
:text="active ? 'stone-100' : 'stone-800 dark:stone-200'"
|
:text="active ? 'stone-100' : 'stone-800 dark:stone-200'"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user