bureauDetail.vue
3.9 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<template>
<view class="bureau_detail">
<!-- 详情头部 -->
<view class="bureau_header">
<u-navbar placeholder :autoBack="true" leftIconColor="#fff" bgColor="transparent" />
<view class="detail_info">
<view class="left">
<image class="cover_img" src="@/static/homeImg/bgimg.webp" mode=""></image>
</view>
<view class="right">
<text class="f-32 l-h-38 f-w-500">北宋奇案·汴京</text>
<view class="top">
<text class="col-primary">8.6分</text>
<text>古风/推理/悬疑/其他</text>
</view>
<view class="top">
<text>4男2女</text>
<text>8小时</text>
<text>高阶</text>
</view>
<view class="top">
<text class="col-primary f-w-500 f-36 l-h-48">¥148元/人</text>
<text>1号包间</text>
</view>
</view>
</view>
<!-- 门店 -->
<view class="store">
<image class="logo_img" src="@/static/homeImg/home.png" mode="widthFix"></image>
<text>门店:猎人事务所</text>
</view>
</view>
<!-- 组局人员 -->
<view class="bureau_body">
<view class="people_box">
<view class="people_header">
<view class="left">
<view class="col-9 f-24 l-h-32 mb-10">开始时间</view>
<view class="col-f f-28 l-h-38">06月06日 周四 14:00</view>
</view>
<view class="right">
<image style="width: 120rpx;height: 80rpx;" src="@/static/homeImg/cat.png" mode=""></image>
<view>
<view class="col-9 f-24 l-h-32 mb-10">空余车位</view>
<view class="col-f f-28 l-h-38">等<text class="col-primary">1</text>男<text class="col-primary">1</text>女</view>
</view>
</view>
</view>
<view class="people_body">
<image v-for="(item, index) in urls" :key="index" class="avatar" :src="item" mode=""></image>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
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',
'https://cdn.uviewui.com/uview/album/7.jpg',
'https://cdn.uviewui.com/uview/album/6.jpg',
'https://cdn.uviewui.com/uview/album/5.jpg'
]
};
}
}
</script>
<style lang="scss" scoped>
.bureau_header{
position: relative;
height: 600rpx;
background: radial-gradient(ellipse, #fff -110%, #1d2a3a 60%);
.detail_info{
display: flex;
align-items: center;
margin-top: 40rpx;
padding-left: 30rpx;
.left{
width: 180rpx;
height: 240rpx;
border-radius: 8rpx;
overflow: hidden;
margin-right: 20rpx;
.cover_img{
width: 100%;
height: 100%;
}
}
.right{
display: flex;
flex-direction: column;
flex: 1;
font-size: 24rpx;
line-height: 32rpx;
color: #fff;
.top{
display: flex;
align-items: center;
gap: 20rpx;
margin-top: 30rpx;
}
}
}
.store{
display: flex;
align-items: center;
justify-content: center;
position: absolute;
left: 30rpx;
bottom: 40rpx;
width: 340rpx;
height: 60rpx;
font-size: 24rpx;
color: #fff;
background: linear-gradient(270deg, rgba(51,51,51,0.6) 0%, rgba(34,34,34,0.6) 51%, rgba(51,51,51,0.6) 100%);
border-radius: 8rpx;
.logo_img{
width: 32rpx;
margin-right: 10rpx;
}
}
}
.bureau_body{
height: calc(100vh - 590rpx);
border-radius: 10rpx;
margin-top: -10rpx;
padding: 40rpx 30rpx;
box-sizing: border-box;
.people_box{
padding: 20rpx;
background: #333333;
border-radius: 20rpx;
.people_header{
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
.right{
display: flex;
align-items: center;
gap: 20rpx;
}
}
.people_body{
display: flex;
flex-wrap: wrap;
gap: 26rpx;
height: 260rpx;
padding: 20rpx;
background: #FFFFFF;
border-radius: 12rpx;
.avatar{
width: 100rpx;
height: 100rpx;
border-radius: 50%;
}
}
}
}
</style>