bookingInfoCard.vue
1.3 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
<template>
<view class="bookingInfoCard">
<view class="row_info">
<view class="left">拼球发起人:CLOOL</view>
</view>
<view class="row_info" style="margin: 28rpx 0;">
<view class="left">需求拼场:6人</view>
<MyButton title="拼场" size="small"></MyButton>
</view>
<view class="row_info">
<view class="left">
<text>已经拼场:</text>
<u-avatar-group
:urls="urls"
size="20"
gap="0"
/>
</view>
<MyButton title="邀请" size="small"></MyButton>
</view>
</view>
</template>
<script>
import MyButton from '@/components/myButton.vue'
export default{
components: { MyButton },
data(){
return {
urls: [
'https://cdn.uviewui.com/uview/album/1.jpg',
'https://cdn.uviewui.com/uview/album/2.jpg',
'https://cdn.uviewui.com/uview/album/3.jpg',
'https://cdn.uviewui.com/uview/album/4.jpg'
]
}
}
}
</script>
<style lang="scss" scoped>
.bookingInfoCard{
background: #FFFFFF;
border-radius: 16rpx;
padding: 26rpx 32rpx;
margin: 0 30rpx 24rpx;
.row_info{
display: flex;
align-items: center;
justify-content: space-between;
color: #333;
font-size: 28rpx;
line-height: 40rpx;
.left{
display: flex;
align-items: center;
}
}
}
</style>