File tree Expand file tree Collapse file tree 1 file changed +37
-38
lines changed
Expand file tree Collapse file tree 1 file changed +37
-38
lines changed Original file line number Diff line number Diff line change 11<template >
22 <Page >
33 <ActionBar title =" NativeFlix" />
4- <StackLayout height =" 100%" >
5- <ListView
6- height =" 100%"
7- separatorColor =" transparent"
8- for =" item in flicks"
9- @itemTap =" onFlickTap" >
10- <v-template >
11- <GridLayout
12- height =" 280"
13- borderRadius =" 10"
14- class =" bg-secondary"
15- rows =" *, auto, auto"
16- columns =" *"
17- margin =" 5 10"
18- padding =" 0" >
19- <Image
20- row =" 0"
21- margin =" 0"
22- stretch =" aspectFill"
23- :src =" item.image" ></Image >
24- <Label
25- row =" 1"
26- margin =" 10 10 0 10"
27- fontWeight =" 700"
28- class =" text-primary"
29- fontSize =" 18"
30- :text =" item.title" ></Label >
31- <Label
32- row =" 2"
33- margin =" 0 10 10 10"
34- class =" text-secondary"
35- fontSize =" 14"
36- textWrap =" true"
37- :text =" item.description" ></Label >
38- </GridLayout >
39- </v-template >
40- </ListView >
41- </StackLayout >
4+
5+ <ListView
6+ height =" 100%"
7+ separatorColor =" transparent"
8+ for =" item in flicks"
9+ @itemTap =" onFlickTap" >
10+ <v-template >
11+ <GridLayout
12+ height =" 280"
13+ borderRadius =" 10"
14+ class =" bg-secondary"
15+ rows =" *, auto, auto"
16+ columns =" *"
17+ margin =" 5 10"
18+ padding =" 0" >
19+ <Image
20+ row =" 0"
21+ margin =" 0"
22+ stretch =" aspectFill"
23+ :src =" item.image" ></Image >
24+ <Label
25+ row =" 1"
26+ margin =" 10 10 0 10"
27+ fontWeight =" 700"
28+ class =" text-primary"
29+ fontSize =" 18"
30+ :text =" item.title" ></Label >
31+ <Label
32+ row =" 2"
33+ margin =" 0 10 10 10"
34+ class =" text-secondary"
35+ fontSize =" 14"
36+ textWrap =" true"
37+ :text =" item.description" ></Label >
38+ </GridLayout >
39+ </v-template >
40+ </ListView >
4241 </Page >
4342</template >
4443
You can’t perform that action at this time.
0 commit comments