|
|
@@ -6,6 +6,7 @@ section.profile_card_list.w-full
|
|
6
|
6
|
:key='profile.profile_id'
|
|
7
|
7
|
@throwout='swipped(profile)'
|
|
8
|
8
|
v-for='profile in profiles'
|
|
|
9
|
+ :style='{ "left": `vh` }'
|
|
9
|
10
|
)
|
|
10
|
11
|
.card.b-solid.rounded.p-0.bg-cover(
|
|
11
|
12
|
:style='{ "background-image": `url(${profile.user.user_media})` }'
|
|
|
@@ -17,8 +18,6 @@ section.profile_card_list.w-full
|
|
17
|
18
|
</template>
|
|
18
|
19
|
|
|
19
|
20
|
<script>
|
|
20
|
|
-
|
|
21
|
|
-
|
|
22
|
21
|
export default {
|
|
23
|
22
|
name: 'ProfileCardList',
|
|
24
|
23
|
props: {
|
|
|
@@ -77,10 +76,29 @@ export default {
|
|
77
|
76
|
}
|
|
78
|
77
|
</script>
|
|
79
|
78
|
<style lang="postcss">
|
|
80
|
|
-.profile_card_list_container
|
|
|
79
|
+@import '../sss/card.scss'
|
|
|
80
|
+
|
|
|
81
|
+.profile_card_list
|
|
81
|
82
|
display: flex
|
|
82
|
83
|
justify-content: center
|
|
83
|
84
|
margin: 5vh 0 0 0
|
|
|
85
|
+ position: relative
|
|
|
86
|
+
|
|
|
87
|
+
|
|
|
88
|
+.profile_card_list_container
|
|
|
89
|
+ margin: 0 auto
|
|
|
90
|
+ width: 30%
|
|
|
91
|
+ position: relative
|
|
|
92
|
+ .swipe
|
|
|
93
|
+ list-style: none
|
|
|
94
|
+ background: #fff
|
|
|
95
|
+ box-shadow: 0 0 2px rgba(0,0,0,.2), 1px 1px 1px rgba(0,0,0,.2)
|
|
|
96
|
+ position: absolute
|
|
|
97
|
+ line-height: 300px
|
|
|
98
|
+ text-align: center
|
|
|
99
|
+ border: 1px solid #ECECEC
|
|
|
100
|
+ border-radius: 8px
|
|
|
101
|
+
|
|
84
|
102
|
|
|
85
|
103
|
.swipe
|
|
86
|
104
|
|
|
|
@@ -92,7 +110,6 @@ export default {
|
|
92
|
110
|
max-width: 85vw
|
|
93
|
111
|
height: 50vh
|
|
94
|
112
|
background-position: center
|
|
95
|
|
- border-radius: 3vh
|
|
96
|
113
|
border: 1px solid #fff
|
|
97
|
114
|
&_content
|
|
98
|
115
|
width: 100%
|