|
1
|
<template>
|
1
|
<template>
|
|
2
|
- <view class="core-personnel" :class="{ 'history': mode == 'history' }">
|
2
|
+ <view class="product" :class="{ 'history': mode == 'history' }">
|
|
3
|
|
3
|
|
|
4
|
<!-- 新增&详情-产品 -->
|
4
|
<!-- 新增&详情-产品 -->
|
|
5
|
- <view class="header" :class="{ 'bp': mode !== 'add' }">
|
5
|
+ <view class="header bp" >
|
|
6
|
<image class="opCollapse" src="/static/images/title.png" />
|
6
|
<image class="opCollapse" src="/static/images/title.png" />
|
|
7
|
<text class="title">产品</text>
|
7
|
<text class="title">产品</text>
|
|
8
|
<view class="ops">
|
8
|
<view class="ops">
|
|
9
|
- <image v-if="mode === 'add'" class="opAdd" @click="onAdd" src="/static/images/plus.png" />
|
9
|
+ <!-- <image v-if="mode === 'add'" class="opAdd" @click="onAdd" src="/static/images/plus.png" /> -->
|
|
10
|
<view v-if="mode === 'view'" class="op1" @click="toggleViewCollapse">
|
10
|
<view v-if="mode === 'view'" class="op1" @click="toggleViewCollapse">
|
|
11
|
<image class="opAdd" :src="collapsedView ? '/static/images/down.png' : '/static/images/up.png'" />
|
11
|
<image class="opAdd" :src="collapsedView ? '/static/images/down.png' : '/static/images/up.png'" />
|
|
12
|
<text class="op">{{ collapsedView ? '展开' : '收起' }} </text>
|
12
|
<text class="op">{{ collapsedView ? '展开' : '收起' }} </text>
|
|
@@ -15,74 +15,58 @@ |
|
@@ -15,74 +15,58 @@ |
|
15
|
</view>
|
15
|
</view>
|
|
16
|
</view>
|
16
|
</view>
|
|
17
|
|
17
|
|
|
18
|
- <view v-if="mode === 'add'" class="add-list">
|
|
|
|
19
|
- <view v-for="(item, idx) in items" :key="idx" class="block">
|
|
|
|
20
|
- <uni-list v-show="item.collapsed">
|
|
|
|
21
|
- <uni-list-item title="姓名">
|
|
|
|
22
|
- <template v-slot:footer>
|
|
|
|
23
|
- <uni-easyinput v-model="item.name" :inputBorder="false" placeholder="请输入姓名" />
|
|
|
|
24
|
- </template>
|
|
|
|
25
|
- </uni-list-item>
|
|
|
|
26
|
- <uni-list-item class="select-item" :class="item.sexName ? 'is-filled' : 'is-empty'" clickable
|
|
|
|
27
|
- @click="openProductSheet(idx)" :rightText="item.sexName || '请选择性别'" showArrow>
|
|
|
|
28
|
- <template v-slot:body>
|
|
|
|
29
|
- <view class="item-title"><text>性别</text></view>
|
|
|
|
30
|
- </template>
|
|
|
|
31
|
- </uni-list-item>
|
|
|
|
32
|
- </uni-list>
|
|
|
|
33
|
- <uni-list v-show="!item.collapsed">
|
|
|
|
34
|
- <uni-list-item title="姓名">
|
|
|
|
35
|
- <template v-slot:footer>
|
|
|
|
36
|
- <uni-easyinput v-model="item.name" :inputBorder="false" placeholder="请输入姓名" />
|
|
|
|
37
|
- </template>
|
|
|
|
38
|
- </uni-list-item>
|
|
|
|
39
|
- <uni-list-item class="select-item" :class="item.sexName ? 'is-filled' : 'is-empty'" clickable
|
|
|
|
40
|
- @click="openProductSheet(idx)" :rightText="item.sexName || '请选择性别'" showArrow>
|
|
|
|
41
|
- <template v-slot:body>
|
|
|
|
42
|
- <view class="item-title"><text>性别</text></view>
|
|
|
|
43
|
- </template>
|
|
|
|
44
|
- </uni-list-item>
|
|
|
|
45
|
- <uni-list-item title="籍贯">
|
|
|
|
46
|
- <template v-slot:footer>
|
|
|
|
47
|
- <uni-easyinput v-model="item.nativePlace" :inputBorder="false" placeholder="请输入籍贯" />
|
|
|
|
48
|
- </template>
|
|
|
|
49
|
- </uni-list-item>
|
|
|
|
50
|
- <uni-list-item title="年龄">
|
|
|
|
51
|
- <template v-slot:footer>
|
|
|
|
52
|
- <uni-easyinput v-model="item.age" :inputBorder="false" placeholder="请输入年龄" />
|
|
|
|
53
|
- </template>
|
|
|
|
54
|
- </uni-list-item>
|
|
|
|
55
|
- <uni-list-item title="职务">
|
|
|
|
56
|
- <template v-slot:footer>
|
|
|
|
57
|
- <uni-easyinput v-model="item.position" :inputBorder="false" placeholder="请输入职务" />
|
|
|
|
58
|
- </template>
|
|
|
|
59
|
- </uni-list-item>
|
|
|
|
60
|
- <uni-list-item title="手机">
|
|
|
|
61
|
- <template v-slot:footer>
|
|
|
|
62
|
- <uni-easyinput v-model="item.mobile" :inputBorder="false" placeholder="请输入手机" />
|
|
|
|
63
|
- </template>
|
|
|
|
64
|
- </uni-list-item>
|
|
|
|
65
|
- <uni-list-item title="固定电话">
|
|
|
|
66
|
- <template v-slot:footer>
|
|
|
|
67
|
- <uni-easyinput v-model="item.phone" :inputBorder="false" placeholder="请输入固定电话" />
|
|
|
|
68
|
- </template>
|
|
|
|
69
|
- </uni-list-item>
|
|
|
|
70
|
- <uni-list-item title="邮箱地址">
|
|
|
|
71
|
- <template v-slot:footer>
|
|
|
|
72
|
- <uni-easyinput v-model="item.email" :inputBorder="false" placeholder="请输入邮箱地址" />
|
|
|
|
73
|
- </template>
|
|
|
|
74
|
- </uni-list-item>
|
|
|
|
75
|
- <uni-list-item title="现住址">
|
|
|
|
76
|
- <template v-slot:footer>
|
|
|
|
77
|
- <uni-easyinput v-model="item.address" :inputBorder="false" placeholder="请输入现住址" />
|
|
|
|
78
|
- </template>
|
|
|
|
79
|
- </uni-list-item>
|
|
|
|
80
|
- </uni-list>
|
18
|
+ <view v-if="mode === 'add'" class="section">
|
|
|
|
19
|
+ <view v-for="(item, idx) in items" :key="'a-' + idx" class="block">
|
|
|
|
20
|
+ <view class="row"><text class="label">行业</text><text class="value">{{ item.industry }}</text></view>
|
|
|
|
21
|
+ <view class="row"><text class="label">品质</text><text class="value">{{ item.quality }}</text></view>
|
|
|
|
22
|
+ <view class="row"><text class="label">牌号</text><text class="value">{{ item.brand }}</text></view>
|
|
|
|
23
|
+
|
|
|
|
24
|
+ <view v-show="!item.collapsed">
|
|
|
|
25
|
+ <view class="row row-spec"><text class="label">规格(mm)</text>
|
|
|
|
26
|
+ <view class="value value-spec">
|
|
|
|
27
|
+ <view class="value-spec_val">{{ item.thickness }}</view>
|
|
|
|
28
|
+ <view class="value-spec_box">
|
|
|
|
29
|
+ <view class="value-spec_box_1">+{{ item.thicknessTolPos }}</view>
|
|
|
|
30
|
+ <view class="value-spec_box_2">-{{ item.thicknessTolNeg }}</view>
|
|
|
|
31
|
+ </view>
|
|
|
|
32
|
+ <view class="value-spec_val p12">*</view>
|
|
|
|
33
|
+ <view class="value-spec_val">{{ item.width }}</view>
|
|
|
|
34
|
+ <view class="value-spec_box">
|
|
|
|
35
|
+ <view class="value-spec_box_1">+{{ item.widthTolPos }}</view>
|
|
|
|
36
|
+ <view class="value-spec_box_2">-{{ item.widthTolNeg }}</view>
|
|
|
|
37
|
+ </view>
|
|
|
|
38
|
+ <view class="value-spec_val p12">*</view>
|
|
|
|
39
|
+ <view class="value-spec_val">{{ item.length }}</view>
|
|
|
|
40
|
+ <view class="value-spec_box">
|
|
|
|
41
|
+ <view class="value-spec_box_1">+{{ item.lengthTolPos }}</view>
|
|
|
|
42
|
+ <view class="value-spec_box_2">-{{ item.lengthTolNeg }}</view>
|
|
|
|
43
|
+ </view>
|
|
|
|
44
|
+ </view>
|
|
|
|
45
|
+ </view>
|
|
|
|
46
|
+ <view class="row"><text class="label">状态</text><text class="value">{{ item.status }}</text></view>
|
|
|
|
47
|
+ <view class="row" :class="{ 'noneStyle': !item.showSalesPrice }"><text class="label">数量kg</text><text
|
|
|
|
48
|
+ class="value">{{ item.quantity }}</text>
|
|
|
|
49
|
+ </view>
|
|
|
|
50
|
+ <view class="row" :class="{ 'noneStyle': item.showSalesPrice }" v-if="item.showSalesPrice"><text
|
|
|
|
51
|
+ class="label">销售价格</text><text class="value">{{
|
|
|
|
52
|
+ item.salesPrice }}</text></view>
|
|
|
|
53
|
+
|
|
|
|
54
|
+ <uni-list class="edit-list">
|
|
|
|
55
|
+ <uni-list-item title="发货日期">
|
|
|
|
56
|
+ <template v-slot:footer>
|
|
|
|
57
|
+ <uni-datetime-picker type="date" v-model="item.deliveryDate" />
|
|
|
|
58
|
+ </template>
|
|
|
|
59
|
+ </uni-list-item>
|
|
|
|
60
|
+ <uni-list-item title="考核超协">
|
|
|
|
61
|
+ <template v-slot:footer>
|
|
|
|
62
|
+ <uni-easyinput v-model="item.assessmentExceedsAgreement" placeholder="请输入考核超协"
|
|
|
|
63
|
+ :inputBorder="false" />
|
|
|
|
64
|
+ </template>
|
|
|
|
65
|
+ </uni-list-item>
|
|
|
|
66
|
+ </uni-list>
|
|
|
|
67
|
+ </view>
|
|
|
|
68
|
+
|
|
81
|
<view class="block-ops">
|
69
|
<view class="block-ops">
|
|
82
|
- <div class="del" @click="onRemove(item.personId)">
|
|
|
|
83
|
- <image src="/static/images/delete.png" class="icon" />
|
|
|
|
84
|
- 删除
|
|
|
|
85
|
- </div>
|
|
|
|
86
|
<div class="toggle" @click="toggleItem(idx)">
|
70
|
<div class="toggle" @click="toggleItem(idx)">
|
|
87
|
<image :src="item.collapsed ? '/static/images/up.png' : '/static/images/down.png'"
|
71
|
<image :src="item.collapsed ? '/static/images/up.png' : '/static/images/down.png'"
|
|
88
|
class="icon" />
|
72
|
class="icon" />
|
|
@@ -270,17 +254,6 @@ export default { |
|
@@ -270,17 +254,6 @@ export default { |
|
270
|
}
|
254
|
}
|
|
271
|
</script>
|
255
|
</script>
|
|
272
|
<style lang="scss" scoped>
|
256
|
<style lang="scss" scoped>
|
|
273
|
-.core-personnel {
|
|
|
|
274
|
- margin-top: 10px;
|
|
|
|
275
|
-
|
|
|
|
276
|
- &.history {
|
|
|
|
277
|
- margin-top: 0;
|
|
|
|
278
|
-
|
|
|
|
279
|
- .header {
|
|
|
|
280
|
- padding: 32rpx 0 0 32rpx;
|
|
|
|
281
|
- }
|
|
|
|
282
|
- }
|
|
|
|
283
|
-}
|
|
|
|
284
|
|
257
|
|
|
285
|
.header {
|
258
|
.header {
|
|
286
|
background-color: #fff;
|
259
|
background-color: #fff;
|
|
@@ -289,7 +262,7 @@ export default { |
|
@@ -289,7 +262,7 @@ export default { |
|
289
|
padding: 24rpx 32rpx;
|
262
|
padding: 24rpx 32rpx;
|
|
290
|
|
263
|
|
|
291
|
&.bp {
|
264
|
&.bp {
|
|
292
|
- border-bottom: 1rpx dashed #f0f0f0;
|
265
|
+ border-bottom: 1px solid #f0f0f0;
|
|
293
|
}
|
266
|
}
|
|
294
|
}
|
267
|
}
|
|
295
|
|
268
|
|
|
@@ -336,58 +309,139 @@ export default { |
|
@@ -336,58 +309,139 @@ export default { |
|
336
|
}
|
309
|
}
|
|
337
|
|
310
|
|
|
338
|
|
311
|
|
|
339
|
-.block {
|
|
|
|
340
|
- background: #fff;
|
|
|
|
341
|
- margin-bottom: 20rpx;
|
|
|
|
342
|
-}
|
|
|
|
343
|
-
|
|
|
|
344
|
-::v-deep .uni-list-item__content {
|
|
|
|
345
|
- display: flex;
|
|
|
|
346
|
- justify-content: center;
|
|
|
|
347
|
-}
|
|
|
|
348
|
-
|
|
|
|
349
|
::v-deep .uni-list {
|
312
|
::v-deep .uni-list {
|
|
350
|
background: transparent;
|
313
|
background: transparent;
|
|
351
|
|
314
|
|
|
352
|
&-item {
|
315
|
&-item {
|
|
353
|
- &__container {
|
|
|
|
354
|
- padding: 32rpx;
|
316
|
+ &__extra-text {
|
|
|
|
317
|
+ font-size: 32rpx;
|
|
355
|
}
|
318
|
}
|
|
356
|
|
319
|
|
|
357
|
&__content-title {
|
320
|
&__content-title {
|
|
358
|
- font-size: 28rpx;
|
321
|
+ font-size: 32rpx;
|
|
359
|
color: rgba(0, 0, 0, 0.9);
|
322
|
color: rgba(0, 0, 0, 0.9);
|
|
360
|
}
|
323
|
}
|
|
361
|
|
324
|
|
|
362
|
- &__extra-text {
|
|
|
|
363
|
- font-size: 32rpx;
|
|
|
|
364
|
- }
|
325
|
+ &__container {
|
|
|
|
326
|
+ padding: 32rpx;
|
|
|
|
327
|
+ align-items: center;
|
|
365
|
|
328
|
|
|
366
|
- .uni-easyinput {
|
|
|
|
367
|
- width: 100%;
|
329
|
+ .uni-easyinput {
|
|
368
|
|
330
|
|
|
369
|
- &__placeholder-class {
|
|
|
|
370
|
- font-size: 32rpx;
|
|
|
|
371
|
- color: rgba(0, 0, 0, 0.4);
|
331
|
+ .is-disabled {
|
|
|
|
332
|
+ background-color: transparent !important;
|
|
|
|
333
|
+ }
|
|
|
|
334
|
+
|
|
|
|
335
|
+ &__placeholder-class {
|
|
|
|
336
|
+ font-size: 32rpx;
|
|
|
|
337
|
+ color: rgba(0, 0, 0, 0.4);
|
|
|
|
338
|
+ }
|
|
|
|
339
|
+
|
|
|
|
340
|
+ &__content {
|
|
|
|
341
|
+ border: none;
|
|
|
|
342
|
+
|
|
|
|
343
|
+ &-input {
|
|
|
|
344
|
+ padding-left: 0 !important;
|
|
|
|
345
|
+ height: 48rpx;
|
|
|
|
346
|
+ line-height: 48rpx;
|
|
|
|
347
|
+ font-size: 32rpx;
|
|
|
|
348
|
+ }
|
|
|
|
349
|
+
|
|
|
|
350
|
+ .content-clear-icon {
|
|
|
|
351
|
+ font-size: 44rpx !important;
|
|
|
|
352
|
+ }
|
|
|
|
353
|
+ }
|
|
372
|
}
|
354
|
}
|
|
373
|
|
355
|
|
|
374
|
- &__content {
|
|
|
|
375
|
- border: none;
|
356
|
+ .amount-row {
|
|
|
|
357
|
+ flex: 1;
|
|
376
|
display: flex;
|
358
|
display: flex;
|
|
|
|
359
|
+ align-items: center;
|
|
377
|
|
360
|
|
|
378
|
- &-input {
|
|
|
|
379
|
- padding-left: 0 !important;
|
|
|
|
380
|
- height: 48rpx;
|
|
|
|
381
|
- line-height: 48rpx;
|
|
|
|
382
|
- font-size: 32rpx;
|
361
|
+ .uni-easyinput {
|
|
|
|
362
|
+ flex: 1;
|
|
|
|
363
|
+ }
|
|
|
|
364
|
+
|
|
|
|
365
|
+ .unit {
|
|
|
|
366
|
+ margin-left: 16rpx;
|
|
|
|
367
|
+ color: rgba(0, 0, 0, 0.9);
|
|
383
|
}
|
368
|
}
|
|
384
|
}
|
369
|
}
|
|
385
|
|
370
|
|
|
386
|
- .uni-input-placeholder {
|
|
|
|
387
|
- // z-index: 2;
|
371
|
+ .item-title,
|
|
|
|
372
|
+ .uni-list-item__content {
|
|
|
|
373
|
+ flex: none;
|
|
|
|
374
|
+ min-height: 48rpx;
|
|
|
|
375
|
+ line-height: 48rpx;
|
|
|
|
376
|
+ font-size: 32rpx;
|
|
|
|
377
|
+ position: relative;
|
|
|
|
378
|
+ width: 162rpx;
|
|
|
|
379
|
+ margin-right: 32rpx;
|
|
|
|
380
|
+ color: rgba(0, 0, 0, 0.9);
|
|
|
|
381
|
+ padding-right: 0;
|
|
|
|
382
|
+
|
|
|
|
383
|
+
|
|
|
|
384
|
+ .required {
|
|
|
|
385
|
+ color: red;
|
|
|
|
386
|
+ position: absolute;
|
|
|
|
387
|
+ top: 50%;
|
|
|
|
388
|
+ transform: translateY(-50%);
|
|
|
|
389
|
+ left: -16rpx;
|
|
|
|
390
|
+ }
|
|
388
|
}
|
391
|
}
|
|
|
|
392
|
+
|
|
389
|
}
|
393
|
}
|
|
|
|
394
|
+
|
|
|
|
395
|
+ &.select-item {
|
|
|
|
396
|
+ &.is-empty {
|
|
|
|
397
|
+ .uni-list-item__extra-text {
|
|
|
|
398
|
+ color: rgba(0, 0, 0, 0.4) !important;
|
|
|
|
399
|
+ }
|
|
|
|
400
|
+ }
|
|
|
|
401
|
+
|
|
|
|
402
|
+ &.is-filled {
|
|
|
|
403
|
+ .uni-list-item__extra-text {
|
|
|
|
404
|
+ color: rgba(0, 0, 0, 0.9) !important;
|
|
|
|
405
|
+ }
|
|
|
|
406
|
+ }
|
|
|
|
407
|
+
|
|
|
|
408
|
+ .serial-number-row {
|
|
|
|
409
|
+ display: flex;
|
|
|
|
410
|
+ align-items: center;
|
|
|
|
411
|
+ }
|
|
|
|
412
|
+
|
|
|
|
413
|
+ }
|
|
|
|
414
|
+
|
|
|
|
415
|
+ &.mgb10 {
|
|
|
|
416
|
+ margin-bottom: 20rpx;
|
|
|
|
417
|
+ }
|
|
|
|
418
|
+
|
|
390
|
}
|
419
|
}
|
|
|
|
420
|
+
|
|
|
|
421
|
+ .title-header {
|
|
|
|
422
|
+ background-color: #fff;
|
|
|
|
423
|
+ display: flex;
|
|
|
|
424
|
+ align-items: center;
|
|
|
|
425
|
+ padding: 32rpx 32rpx 22rpx;
|
|
|
|
426
|
+
|
|
|
|
427
|
+ &_icon {
|
|
|
|
428
|
+ width: 32rpx;
|
|
|
|
429
|
+ height: 28rpx;
|
|
|
|
430
|
+ margin-right: 16rpx;
|
|
|
|
431
|
+ }
|
|
|
|
432
|
+
|
|
|
|
433
|
+ span {
|
|
|
|
434
|
+ color: rgba(0, 0, 0, 0.9);
|
|
|
|
435
|
+ font-size: 32rpx;
|
|
|
|
436
|
+ line-height: 44rpx;
|
|
|
|
437
|
+ font-weight: 600;
|
|
|
|
438
|
+ }
|
|
|
|
439
|
+ }
|
|
|
|
440
|
+}
|
|
|
|
441
|
+
|
|
|
|
442
|
+/* 只读 easyinput 根据内容自适应高度 */
|
|
|
|
443
|
+::v-deep .uni-list-item__container {
|
|
|
|
444
|
+ align-items: flex-start;
|
|
391
|
}
|
445
|
}
|
|
392
|
|
446
|
|
|
393
|
.block-ops {
|
447
|
.block-ops {
|
|
@@ -420,14 +474,13 @@ export default { |
|
@@ -420,14 +474,13 @@ export default { |
|
420
|
}
|
474
|
}
|
|
421
|
}
|
475
|
}
|
|
422
|
|
476
|
|
|
423
|
-.view-list {
|
|
|
|
424
|
- padding: 26rpx 32rpx;
|
|
|
|
425
|
- background: #ffffff;
|
477
|
+.section {
|
|
|
|
478
|
+ background: #f1f1f1;
|
|
|
|
479
|
+ margin-bottom: 20rpx;
|
|
426
|
|
480
|
|
|
427
|
- .card {
|
|
|
|
428
|
- background: #f3f3f3;
|
|
|
|
429
|
- border-radius: 16rpx;
|
|
|
|
430
|
- padding: 32rpx 44rpx;
|
481
|
+ .block {
|
|
|
|
482
|
+ background: #ffffff;
|
|
|
|
483
|
+ padding: 32rpx 0;
|
|
431
|
margin-bottom: 20rpx;
|
484
|
margin-bottom: 20rpx;
|
|
432
|
|
485
|
|
|
433
|
&:last-child {
|
486
|
&:last-child {
|
|
@@ -437,11 +490,18 @@ export default { |
|
@@ -437,11 +490,18 @@ export default { |
|
437
|
|
490
|
|
|
438
|
.row {
|
491
|
.row {
|
|
439
|
display: flex;
|
492
|
display: flex;
|
|
440
|
- margin-bottom: 24rpx;
|
493
|
+ // margin-bottom: 24rpx;
|
|
441
|
line-height: 32rpx;
|
494
|
line-height: 32rpx;
|
|
|
|
495
|
+ padding: 32rpx;
|
|
|
|
496
|
+ border-bottom: 1rpx solid #f2f2f2;
|
|
|
|
497
|
+
|
|
|
|
498
|
+
|
|
|
|
499
|
+ &.noneStyle {
|
|
|
|
500
|
+ border-bottom: 0;
|
|
|
|
501
|
+ border-bottom: none;
|
|
|
|
502
|
+ }
|
|
442
|
|
503
|
|
|
443
|
&.row-spec {
|
504
|
&.row-spec {
|
|
444
|
- height: 60rpx;
|
|
|
|
445
|
align-items: center;
|
505
|
align-items: center;
|
|
446
|
}
|
506
|
}
|
|
447
|
}
|
507
|
}
|
|
@@ -451,22 +511,24 @@ export default { |
|
@@ -451,22 +511,24 @@ export default { |
|
451
|
}
|
511
|
}
|
|
452
|
|
512
|
|
|
453
|
.label {
|
513
|
.label {
|
|
454
|
- width: 140rpx;
|
|
|
|
455
|
- margin-right: 14rpx;
|
|
|
|
456
|
- color: rgba(0, 0, 0, 0.6);
|
|
|
|
457
|
- font-size: 28rpx;
|
514
|
+ width: 162rpx;
|
|
|
|
515
|
+ margin-right: 32rpx;
|
|
|
|
516
|
+ color: rgba(0, 0, 0, 0.9);
|
|
|
|
517
|
+ font-size: 32rpx;
|
|
|
|
518
|
+ line-height: 48rpx;
|
|
458
|
}
|
519
|
}
|
|
459
|
|
520
|
|
|
460
|
.value {
|
521
|
.value {
|
|
461
|
flex: 1;
|
522
|
flex: 1;
|
|
462
|
color: rgba(0, 0, 0, 0.9);
|
523
|
color: rgba(0, 0, 0, 0.9);
|
|
463
|
- font-size: 28rpx;
|
524
|
+ font-size: 32rpx;
|
|
464
|
white-space: pre-wrap;
|
525
|
white-space: pre-wrap;
|
|
465
|
word-break: break-all;
|
526
|
word-break: break-all;
|
|
|
|
527
|
+ line-height: 48rpx;
|
|
466
|
}
|
528
|
}
|
|
467
|
|
529
|
|
|
468
|
.value-spec {
|
530
|
.value-spec {
|
|
469
|
- height: 60rpx;
|
531
|
+ height: 48rpx;
|
|
470
|
display: flex;
|
532
|
display: flex;
|
|
471
|
align-items: center;
|
533
|
align-items: center;
|
|
472
|
color: #000000;
|
534
|
color: #000000;
|
|
@@ -474,19 +536,19 @@ export default { |
|
@@ -474,19 +536,19 @@ export default { |
|
474
|
&_box {
|
536
|
&_box {
|
|
475
|
position: relative;
|
537
|
position: relative;
|
|
476
|
width: 60rpx;
|
538
|
width: 60rpx;
|
|
477
|
- height: 60rpx;
|
539
|
+ height: 48rpx;
|
|
478
|
|
540
|
|
|
479
|
&_1 {
|
541
|
&_1 {
|
|
480
|
font-size: 16rpx;
|
542
|
font-size: 16rpx;
|
|
481
|
position: absolute;
|
543
|
position: absolute;
|
|
482
|
- top: 0;
|
544
|
+ top: -10rpx;
|
|
483
|
left: 0;
|
545
|
left: 0;
|
|
484
|
}
|
546
|
}
|
|
485
|
|
547
|
|
|
486
|
&_2 {
|
548
|
&_2 {
|
|
487
|
font-size: 16rpx;
|
549
|
font-size: 16rpx;
|
|
488
|
position: absolute;
|
550
|
position: absolute;
|
|
489
|
- bottom: 0;
|
551
|
+ bottom: -10rpx;
|
|
490
|
left: 0;
|
552
|
left: 0;
|
|
491
|
}
|
553
|
}
|
|
492
|
}
|
554
|
}
|
|
@@ -537,8 +599,8 @@ export default { |
|
@@ -537,8 +599,8 @@ export default { |
|
537
|
}
|
599
|
}
|
|
538
|
}
|
600
|
}
|
|
539
|
|
601
|
|
|
540
|
-.history-list {
|
|
|
|
541
|
- padding: 20rpx 32rpx;
|
602
|
+.view-list {
|
|
|
|
603
|
+ padding: 26rpx 32rpx;
|
|
542
|
background: #ffffff;
|
604
|
background: #ffffff;
|
|
543
|
|
605
|
|
|
544
|
.card {
|
606
|
.card {
|
|
@@ -556,6 +618,11 @@ export default { |
|
@@ -556,6 +618,11 @@ export default { |
|
556
|
display: flex;
|
618
|
display: flex;
|
|
557
|
margin-bottom: 24rpx;
|
619
|
margin-bottom: 24rpx;
|
|
558
|
line-height: 32rpx;
|
620
|
line-height: 32rpx;
|
|
|
|
621
|
+
|
|
|
|
622
|
+ &.row-spec {
|
|
|
|
623
|
+ height: 60rpx;
|
|
|
|
624
|
+ align-items: center;
|
|
|
|
625
|
+ }
|
|
559
|
}
|
626
|
}
|
|
560
|
|
627
|
|
|
561
|
.row:last-child {
|
628
|
.row:last-child {
|
|
@@ -563,7 +630,7 @@ export default { |
|
@@ -563,7 +630,7 @@ export default { |
|
563
|
}
|
630
|
}
|
|
564
|
|
631
|
|
|
565
|
.label {
|
632
|
.label {
|
|
566
|
- width: 180rpx;
|
633
|
+ width: 140rpx;
|
|
567
|
margin-right: 14rpx;
|
634
|
margin-right: 14rpx;
|
|
568
|
color: rgba(0, 0, 0, 0.6);
|
635
|
color: rgba(0, 0, 0, 0.6);
|
|
569
|
font-size: 28rpx;
|
636
|
font-size: 28rpx;
|
|
@@ -575,9 +642,76 @@ export default { |
|
@@ -575,9 +642,76 @@ export default { |
|
575
|
font-size: 28rpx;
|
642
|
font-size: 28rpx;
|
|
576
|
white-space: pre-wrap;
|
643
|
white-space: pre-wrap;
|
|
577
|
word-break: break-all;
|
644
|
word-break: break-all;
|
|
|
|
645
|
+ }
|
|
|
|
646
|
+
|
|
|
|
647
|
+ .value-spec {
|
|
|
|
648
|
+ height: 60rpx;
|
|
|
|
649
|
+ display: flex;
|
|
|
|
650
|
+ align-items: center;
|
|
|
|
651
|
+ color: #000000;
|
|
|
|
652
|
+
|
|
|
|
653
|
+ &_box {
|
|
|
|
654
|
+ position: relative;
|
|
|
|
655
|
+ width: 60rpx;
|
|
|
|
656
|
+ height: 60rpx;
|
|
|
|
657
|
+
|
|
|
|
658
|
+ &_1 {
|
|
|
|
659
|
+ font-size: 16rpx;
|
|
|
|
660
|
+ position: absolute;
|
|
|
|
661
|
+ top: 0;
|
|
|
|
662
|
+ left: 0;
|
|
|
|
663
|
+ }
|
|
|
|
664
|
+
|
|
|
|
665
|
+ &_2 {
|
|
|
|
666
|
+ font-size: 16rpx;
|
|
|
|
667
|
+ position: absolute;
|
|
|
|
668
|
+ bottom: 0;
|
|
|
|
669
|
+ left: 0;
|
|
|
|
670
|
+ }
|
|
|
|
671
|
+ }
|
|
|
|
672
|
+
|
|
|
|
673
|
+ &_val {
|
|
|
|
674
|
+ font-size: 28rpx;
|
|
|
|
675
|
+
|
|
|
|
676
|
+ &.p12 {
|
|
|
|
677
|
+ padding-right: 12rpx;
|
|
|
|
678
|
+ }
|
|
|
|
679
|
+ }
|
|
|
|
680
|
+ }
|
|
578
|
|
681
|
|
|
579
|
- &.change {
|
|
|
|
580
|
- color: $theme-primary;
|
682
|
+ .view-total {
|
|
|
|
683
|
+ padding-top: 20rpx;
|
|
|
|
684
|
+
|
|
|
|
685
|
+ .head {
|
|
|
|
686
|
+ font-size: 32rpx;
|
|
|
|
687
|
+ font-weight: 600;
|
|
|
|
688
|
+ line-height: 50rpx;
|
|
|
|
689
|
+ color: rgba(0, 0, 0, 0.9);
|
|
|
|
690
|
+ padding-bottom: 16rpx;
|
|
|
|
691
|
+ margin-bottom: 24rpx;
|
|
|
|
692
|
+ ;
|
|
|
|
693
|
+ border-bottom: 1px dashed #E7E7E7;
|
|
|
|
694
|
+ }
|
|
|
|
695
|
+
|
|
|
|
696
|
+ .row {
|
|
|
|
697
|
+ display: flex;
|
|
|
|
698
|
+ margin-bottom: 24rpx;
|
|
|
|
699
|
+ line-height: 32rpx;
|
|
|
|
700
|
+
|
|
|
|
701
|
+ .label {
|
|
|
|
702
|
+ width: 180rpx;
|
|
|
|
703
|
+ margin-right: 14rpx;
|
|
|
|
704
|
+ color: rgba(0, 0, 0, 0.6);
|
|
|
|
705
|
+ font-size: 28rpx;
|
|
|
|
706
|
+ }
|
|
|
|
707
|
+
|
|
|
|
708
|
+ .value {
|
|
|
|
709
|
+ flex: 1;
|
|
|
|
710
|
+ color: rgba(0, 0, 0, 0.9);
|
|
|
|
711
|
+ font-size: 28rpx;
|
|
|
|
712
|
+ white-space: pre-wrap;
|
|
|
|
713
|
+ word-break: break-all;
|
|
|
|
714
|
+ }
|
|
581
|
}
|
715
|
}
|
|
582
|
}
|
716
|
}
|
|
583
|
}
|
717
|
}
|