forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHorizontalBasic.vue
More file actions
61 lines (53 loc) · 1.53 KB
/
HorizontalBasic.vue
File metadata and controls
61 lines (53 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<template>
<div class="q-pa-md row items-start q-gutter-md">
<q-card class="my-card" flat bordered>
<q-card-section horizontal>
<q-card-section>
{{ lorem }}
</q-card-section>
<q-img
class="col-5"
src="https://cdn.quasar.dev/img/parallax2.jpg"
/>
</q-card-section>
</q-card>
<q-card class="my-card" flat bordered>
<q-card-section horizontal>
<q-card-section>
{{ lorem }}
</q-card-section>
<q-separator vertical />
<q-card-section>
{{ lorem }}
</q-card-section>
</q-card-section>
</q-card>
<q-card class="my-card" flat bordered>
<q-card-section horizontal>
<q-img
class="col"
src="https://cdn.quasar.dev/img/mountains.jpg"
/>
<q-card-actions vertical class="justify-around q-px-md">
<q-btn flat round color="red" icon="favorite" />
<q-btn flat round color="accent" icon="bookmark" />
<q-btn flat round color="primary" icon="share" />
</q-card-actions>
</q-card-section>
</q-card>
</div>
</template>
<script>
export default {
data () {
return {
lorem: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}
}
}
</script>
<style lang="sass" scoped>
.my-card
width: 100%
max-width: 350px
</style>