styled listview
This commit is contained in:
parent
87776c69e4
commit
6b032c8306
1 changed files with 13 additions and 11 deletions
|
@ -77,7 +77,7 @@
|
||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
class="imgHolder"
|
class="imgHolder"
|
||||||
verticalAlignment="top"
|
verticalAlignment="center"
|
||||||
v-if="recipe.imageSrc"
|
v-if="recipe.imageSrc"
|
||||||
:src="recipe.imageSrc"
|
:src="recipe.imageSrc"
|
||||||
stretch="none"
|
stretch="none"
|
||||||
|
@ -87,8 +87,8 @@
|
||||||
/>
|
/>
|
||||||
<Label
|
<Label
|
||||||
v-else
|
v-else
|
||||||
|
verticalAlignment="center"
|
||||||
class="ico imgHolder"
|
class="ico imgHolder"
|
||||||
verticalAlignment="top"
|
|
||||||
@loaded="centerLabel"
|
@loaded="centerLabel"
|
||||||
width="96"
|
width="96"
|
||||||
height="96"
|
height="96"
|
||||||
|
@ -161,6 +161,7 @@
|
||||||
/>
|
/>
|
||||||
<StackLayout class="recipeInfo" row="1">
|
<StackLayout class="recipeInfo" row="1">
|
||||||
<Label :text="recipe.title" class="tb title tw" />
|
<Label :text="recipe.title" class="tb title tw" />
|
||||||
|
<FlexboxLayout flexWrap="wrap">
|
||||||
<StackLayout class="attributes" orientation="horizontal">
|
<StackLayout class="attributes" orientation="horizontal">
|
||||||
<Label class="ico sm" :text="icon.cuisine" />
|
<Label class="ico sm" :text="icon.cuisine" />
|
||||||
<Label class="attr" :text="recipe.cuisine | L" />
|
<Label class="attr" :text="recipe.cuisine | L" />
|
||||||
|
@ -169,6 +170,7 @@
|
||||||
<Label class="ico sm" :text="icon.category" />
|
<Label class="ico sm" :text="icon.category" />
|
||||||
<Label class="attr" :text="recipe.category | L" />
|
<Label class="attr" :text="recipe.category | L" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
</FlexboxLayout>
|
||||||
<StackLayout
|
<StackLayout
|
||||||
:hidden="!recipe.tags.length"
|
:hidden="!recipe.tags.length"
|
||||||
class="attributes"
|
class="attributes"
|
||||||
|
@ -182,7 +184,7 @@
|
||||||
</v-template>
|
</v-template>
|
||||||
<v-template name="photogrid">
|
<v-template name="photogrid">
|
||||||
<GridLayout
|
<GridLayout
|
||||||
class="recipeItem grid"
|
class="recipeItem grid photogrid"
|
||||||
:class="getItemPos(recipe.id)"
|
:class="getItemPos(recipe.id)"
|
||||||
rows="auto, auto"
|
rows="auto, auto"
|
||||||
columns="*"
|
columns="*"
|
||||||
|
|
Loading…
Reference in a new issue