Blame view

pages/receiptRegistration/receiptRegistrationDetail.vue 8.65 KB
1f3f2378   起风了   我的第一次
1
2
  <template>

  	<view class="page">

5e015590   smile   111
3
4
5
6
7
8
9
10
11
12
13
14
  		<view class="content">

  			<view class="message-list">

  				<view class="titleall-box">

  					<view class="titleall-left">

  						<view class="titleall-left-line"></view>接报信息

  					</view>

  				</view>

  				<view class="info-box">

  					<view class="info-box-list">

  						<view class="info-box-width1">

  							<view class="info-box-small">接报时间</view>

  							<view class="info-box-overflow">{{message.reportTime}}</view>

1f3f2378   起风了   我的第一次
15
16
  						</view>

  					</view>

5e015590   smile   111
17
18
19
20
  					<view class="info-box-list">

  						<view class="info-box-width1">

  							<view class="info-box-small">接报渠道</view>

  							<view class="info-box-overflow">{{message.reportPlatform}}</view>

1f3f2378   起风了   我的第一次
21
  						</view>

5e015590   smile   111
22
23
24
25
26
  					</view>

  					<view class="info-box-list">

  						<view class="info-box-width1">

  							<view class="info-box-small">发生地点</view>

  							<view class="info-box-overflow">{{message.incidentLocation}}</view>

1f3f2378   起风了   我的第一次
27
  						</view>

5e015590   smile   111
28
29
30
31
32
  					</view>

  					<view class="info-box-list">

  						<view class="info-box-width">

  							<view class="info-box-small">儿童姓名</view>

  							<view class="info-box-overflow">{{message.childName}}</view>

1f3f2378   起风了   我的第一次
33
  						</view>

5e015590   smile   111
34
35
36
  						<view class="info-box-width">

  							<view class="info-box-small">儿童性别</view>

  							<view class="info-box-overflow">{{message.sex == 0 ? '男':message.sex == 1 ? '女': '未填写'}}

1f3f2378   起风了   我的第一次
37
38
  							</view>

  						</view>

5e015590   smile   111
39
40
41
42
43
  					</view>

  					<view class="info-box-list">

  						<view class="info-box-width">

  							<view class="info-box-small">儿童年龄</view>

  							<view class="info-box-overflow">{{message.age}}</view>

1f3f2378   起风了   我的第一次
44
  						</view>

5e015590   smile   111
45
46
47
48
49
  					</view>

  					<view class="info-box-list">

  						<view class="info-box-width1">

  							<view class="info-box-small">报告原因</view>

  							<view class="info-box-overflow">{{message.reportReason}}</view>

1f3f2378   起风了   我的第一次
50
  						</view>

5e015590   smile   111
51
52
53
54
55
  					</view>

  					<view class="info-box-list">

  						<view class="info-box-width1">

  							<view class="info-box-small">其他信息</view>

  							<view class="info-box-overflow">{{message.reportRecord}}</view>

1f3f2378   起风了   我的第一次
56
57
58
  						</view>

  					</view>

  				</view>

5e015590   smile   111
59
60
61
62
63
  			</view>

  			<view class="message-list">

  				<view class="titleall-box">

  					<view class="titleall-left">

  						<view class="titleall-left-line"></view>报告人信息

1f3f2378   起风了   我的第一次
64
  					</view>

5e015590   smile   111
65
66
67
68
69
70
  				</view>

  				<view class="info-box">

  					<view class="info-box-list">

  						<view class="info-box-width">

  							<view class="info-box-small">姓名</view>

  							<view class="info-box-overflow">{{message.reporterName}}</view>

1f3f2378   起风了   我的第一次
71
  						</view>

5e015590   smile   111
72
73
74
  						<view class="info-box-width">

  							<view class="info-box-small">与儿童关系</view>

  							<view class="info-box-overflow">{{message.relationshipWithChild}}</view>

1f3f2378   起风了   我的第一次
75
  						</view>

5e015590   smile   111
76
77
78
79
80
81
82
83
84
85
86
87
  					</view>

  					<view class="info-box-list">

  						<view class="info-box-width">

  							<view class="info-box-small">电话</view>

  							<view class="info-box-overflow">{{message.phone}}</view>

  						</view>

  					</view>

  					<view class="info-box-list">

  						<view class="info-box-width1">

  							<view class="info-box-small">报告主体</view>

  							<view class="info-box-overflow">{{message.reporterType}}<span

  									v-if="message.reporterType != null">:</span>{{content}}</view>

1f3f2378   起风了   我的第一次
88
89
90
  						</view>

  					</view>

  				</view>

5e015590   smile   111
91
92
93
94
95
96
  			</view>

  			<view class="top-box"

  				@click="gopath('/pages/receiptRegistration/receiptRegistrationSchedule?item=' +JSON.stringify(item.caseByCaseHelpFlowPos))">

  				<view>查看进度</view>

  				<view class="top-box-img">

  					<image src="../../static/right2.png"></image>

1f3f2378   起风了   我的第一次
97
98
  				</view>

  			</view>

5e015590   smile   111
99
  		</view>

1f3f2378   起风了   我的第一次
100
101
102
103
104
105
106
107
108
  	</view>

  </template>

  

  <script>

  	import BASE_URL from "@/common/config.js"

  	export default {

  		data() {

  			return {

  				// 接报信息

5e015590   smile   111
109
110
111
112
  				message: {},

  				// 报告主体内容

  				content: '',

  				item: {}

1f3f2378   起风了   我的第一次
113
114
  			};

  		},

5e015590   smile   111
115
  		computed: {},

cfa1fec6   “DataPlanet”   111
116
117
118
119
120
121
122
123
124
125
  		onLoad(params) {

  			this.item = JSON.parse(params.item);

  			this.message = this.item.chiAdoptCaseRegistrationPo;

  			if (this.message.reporterType == '群众') {

  				this.content = this.message.reporterOccupation;

  			} else {

  				this.content = this.message.reporterOrganizationName;

  			}

  			console.log('item', this.item)

  		},

1f3f2378   起风了   我的第一次
126
127
128
129
130
131
132
133
134
135
136
137
138
139
  		methods: {

  			gopath(e) {

  				uni.navigateTo({

  					url: e

  				})

  			},

  		}

  	}

  </script>

  

  <style scoped lang="scss">

  	.page {

  		padding-bottom: 10rpx;

  	}

5e015590   smile   111
140
  

1f3f2378   起风了   我的第一次
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
  	.listBox {

  		position: relative;

  		z-index: 1;

  	}

  

  	.content {

  		width: 100%;

  		// padding-bottom: 120rpx;

  	}

  

  	.topimg {

  		margin: 25rpx;

  

  		image {

  			width: 100%;

  			border-radius: 20rpx;

  		}

  	}

  

  	.titleall-box {

  		display: flex;

  		justify-content: space-between;

  		padding: 40rpx 20rpx 20rpx 0;

  

  		.titleall-left {

  			font-size: 32rpx;

  			font-weight: bold;

  			display: flex;

  			align-items: center;

  

  			.titleall-left-line {

  				width: 14rpx;

  				height: 36rpx;

  				border-radius: 0 10rpx 10rpx 0;

  				background-color: #667FFF;

  				box-shadow: 0 0 10rpx 5rpx #d1d9ff;

  				margin-right: 20rpx;

  			}

  		}

  	}

  

  	.message-list {

  		background-color: #FFFFFF;

  		border-radius: 20rpx;

  		font-size: 26rpx;

  		margin: 25rpx;

  

  		.info-box {

  			padding: 0 40rpx;

  			border-radius: 20rpx;

  			margin-bottom: 30rpx;

  

  			.info-box-list {

  				display: flex;

  				align-items: center;

  				border-bottom: 2rpx solid #ececec;

  				padding-top: 30rpx;

  				padding-bottom: 30rpx;

  

  				.width100 {

  					width: 100% !important;

  				}

5e015590   smile   111
203
  

1f3f2378   起风了   我的第一次
204
205
206
207
  				.info-box-width1 {

  					width: 100%;

  					font-size: 30rpx;

  					font-weight: bold;

5e015590   smile   111
208
  

1f3f2378   起风了   我的第一次
209
210
211
212
213
214
215
  					.info-box-overflow {

  						width: 95%;

  						display: -webkit-box;

  						-webkit-box-orient: vertical;

  						-webkit-line-clamp: 1;

  						overflow: hidden;

  					}

5e015590   smile   111
216
  

1f3f2378   起风了   我的第一次
217
218
219
220
221
222
  					.info-box-small {

  						font-size: 26rpx;

  						color: #a8a8a8;

  						font-weight: 500;

  						margin-bottom: 10rpx;

  					}

5e015590   smile   111
223
  

1f3f2378   起风了   我的第一次
224
225
  					.info-box-list-img {

  						margin-top: 30rpx;

5e015590   smile   111
226
  

1f3f2378   起风了   我的第一次
227
228
229
230
231
232
  						image {

  							width: 180rpx;

  							height: 180rpx;

  							border-radius: 20rpx;

  						}

  					}

5e015590   smile   111
233
  

1f3f2378   起风了   我的第一次
234
235
236
237
238
239
240
241
242
243
  					.info-box-list-sm {

  						background-color: #F7F7F7;

  						border-radius: 20rpx;

  						font-size: 28rpx;

  						color: #909090;

  						font-weight: 500;

  						width: 100%;

  						padding: 20rpx;

  						margin-top: 20rpx;

  					}

5e015590   smile   111
244
  

1f3f2378   起风了   我的第一次
245
246
247
248
  					.green {

  						color: #00D970;

  					}

  				}

5e015590   smile   111
249
  

1f3f2378   起风了   我的第一次
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
  				.info-box-width {

  					width: 50%;

  					font-size: 30rpx;

  					font-weight: bold;

  

  					.info-box-overflow {

  						width: 95%;

  						display: -webkit-box;

  						-webkit-box-orient: vertical;

  						-webkit-line-clamp: 1;

  						overflow: hidden;

  					}

  

  					.info-box-small {

  						font-size: 26rpx;

  						color: #a8a8a8;

  						font-weight: 500;

  						margin-bottom: 10rpx;

  					}

  

  					.info-box-list-img {

  						margin-top: 30rpx;

  

  						image {

  							width: 180rpx;

  							height: 180rpx;

  							border-radius: 20rpx;

  						}

  					}

  

  					.info-box-list-sm {

  						background-color: #F7F7F7;

  						border-radius: 20rpx;

  						font-size: 28rpx;

  						color: #909090;

  						font-weight: 500;

  						width: 100%;

  						padding: 20rpx;

  						margin-top: 20rpx;

  					}

  

  					.green {

  						color: #00D970;

  					}

  				}

  

  				.serve {

  					display: flex;

  					justify-content: space-between;

  					width: 100%;

  

  					.serve-title {

  						font-size: 30rpx;

  						font-weight: bold;

  					}

  

  					.serve-right {

  						font-size: 28rpx;

  						text-align: right;

  						color: #909090;

  

  						.serve-right-top {

  							margin-bottom: 20rpx;

  						}

  					}

  				}

  			}

  

  			.info-box-list:last-child {

  				border-bottom: 0;

  			}

  		}

  	}

  

  	.skip-btn {

  		display: flex;

  		align-items: center;

  		justify-content: center;

  		width: 100%;

  		height: 100rpx;

  		margin-top: 70rpx;

  		position: fixed;

  		bottom: 30rpx;

  

  		.cart-add {

  			display: flex;

  			align-items: center;

  			justify-content: center;

  			width: 38%;

  

  			image {

  				width: 253rpx;

  				height: 80rpx;

  				box-shadow: 5rpx 10rpx 20rpx 0 #efefef;

  				border-radius: 100rpx;

  			}

  

  			text {

  				font-size: 30rpx;

  				font-weight: bold;

  				color: #262626;

  				position: absolute;

  				z-index: 1;

  			}

  		}

  

  		.buy-at {

  			display: flex;

  			align-items: center;

  			justify-content: center;

  			width: 58%;

  

  			image {

  				width: 415rpx;

  				height: 80rpx;

  				box-shadow: 5rpx 10rpx 20rpx 0 #b7c8ff;

  				border-radius: 100rpx;

  			}

  

  			text {

  				font-size: 30rpx;

  				font-weight: bold;

  				color: #FFFFFF;

  				position: absolute;

  				z-index: 1;

  			}

  		}

  	}

5e015590   smile   111
378
  

1f3f2378   起风了   我的第一次
379
380
381
382
383
384
385
386
387
  	.top-box {

  		display: flex;

  		justify-content: space-between;

  		margin: 30rpx;

  		font-size: 30rpx;

  		font-weight: bold;

  		background-color: #fff;

  		border-radius: 20rpx;

  		padding: 30rpx;

5e015590   smile   111
388
  

1f3f2378   起风了   我的第一次
389
390
391
392
393
394
395
396
  		.top-box-img {

  			image {

  				width: 40rpx;

  				height: 40rpx;

  			}

  		}

  	}

  </style>