新框架PDA前端(祈禧6月初版本)
南骏 池
3 天以前 3ff569f00d22919e47cab8fb6d7d9867fd115d97
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
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
html, body {
    width: 100%;
    height: 100%;
    font-family: Microsoft YaHei,Helvitica,Verdana,Arial,san-serif;
    padding: 0px;
    margin: 0px;
/*    font-family: '宋体', 'Microsoft YaHei', sans-serif;*/
}
 
a, a:hover {
    color: #000;
}
.padTop {
    height:30px;
}
.login {
    width: 100%;
    background-color: #fff;
    padding: 0 0.3rem;
    box-sizing: border-box;
    overflow: hidden;
}
 
.login-wrapper {
    width: 85%;
    border: 1px solid rgba(187, 187, 187, 1);
    margin: 0 auto;
    border-radius: 0.3rem;
    box-shadow: 0 0 0.533rem rgba(170, 170, 170, 1);
}
 
.login .avatar {
    width: 1.2rem;
    margin: 1rem auto 0.77rem auto;
    overflow: hidden;
}
 
.login h1 {
    height: 0.6933rem;
    text-align: center;
    font-size: 0.42rem;
    margin-top: 1.12rem; color:rgba(170, 170, 170, 1);
    font-weight: normal;
}
dl, dt, dd {
    margin: 0rem;
    padding: 0rem;
}
 
    dl dt {
        display: inline-block;
        float: left;
    }
 
.bg-white {
    background-color: #fff;
}
.bg-info {
    background-color: #0283EF;
}
 
.font-bold {
    font-weight: bold;
}
 
.font-black {
    color: #000 !important;
}
 
.font-remark{
    color: #888888;
}
 
.font-danger {
    color: #dc3545 !important;
}
 
.font-warning {
    color: #ffc107 !important;
}
 
.font-info {
    color: #0960bd !important;
}
 
.font-white {
    color: #fff !important;
}
 
.font {
    font-size: .3733rem;
}
 
.font-sm {
    font-size: .2533rem;
}
 
.font-lg {
    font-size: .4267rem;
}
 
.font-xl {
    font-size: .48rem;
}
 
 
.padding {
    padding: .1067rem;
}
 
.padding-left {
    padding-left: .1067rem;
}
 
.padding-right {
    padding-right: .1067rem;
}
 
.padding-top {
    padding-top: .1067rem;
}
 
.padding-bottom {
    padding-bottom: .1067rem;
}
 
.padding-sm {
    padding: .0533rem;
}
 
.padding-sm-left {
    padding-left: .0533rem;
}
 
.padding-sm-right {
    padding-right: .0533rem;
}
 
.padding-sm-top {
    padding-top: .0533rem;
}
 
.padding-sm-bottom {
    padding-bottom: .0533rem;
}
 
.padding-lg {
    padding: .16rem;
}
 
.padding-lg-top {
    padding-top: .16rem;
}
 
.padding-xl {
    padding: .4267rem;
}
 
.padding-xl-top {
    padding-top: .4267rem;
}
 
.padding-xl-bottom {
    padding-bottom: .4267rem;
}
 
.margin {
    margin: .1067rem !important;
}
 
.margin-top {
    margin-top: .1067rem;
}
 
.margin-sm {
    margin: .0533rem;
}
 
.margin-sm-top {
    margin-top: .0533rem;
}
 
.margin-sm-left {
    margin-left: .0533rem;
}
 
.margin-sm-right {
    margin-right: .0533rem;
}
 
.margin-lg {
    margin: .16rem !important;
}
 
.margin-lg-top {
    margin-top: .16rem;
}
 
.margin-lg-left {
    margin-left: .16rem;
}
 
.margin-lg-right {
    margin-right: .16rem !important;
}
 
.margin-lg-bottom {
    margin-bottom: .16rem;
}
 
 
.flex-col-between {
    display: flex;
    flex-wrap: nowarp;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0rem;
    margin-top: 0rem;
    align-content: space-around;
}
 
.flex-row-between {
    display: flex;
    flex-wrap: nowarp;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 0rem;
    margin-top: 0rem;
}
 
.flex-row-flow {
    display: flex;
    flex-wrap: nowarp;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 0rem;
    margin-top: 0rem;
}
 
.flex-row-column {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    margin-bottom: 0rem;
    margin-top: 0rem;
    width: 100%;
}
 
.text-v-center {
    display: flex;
    display: -webkit-flex;
    align-items: center;
}
 
.text-center {
    text-align: center;
}
 
.text-left {
    text-align: left;
}
 
.text-right {
    text-align: right !important;
}
 
.clear {
    display: block;
    clear: both;
}
.round-button {
    position: fixed; /* 定位为固定位置 */
    right: 20px; /* 距离右边界20像素 */
    bottom: 20px; /* 距离底部边界20像素 */
    padding: 20px; /* 内边距 */
    background-color: #007bff; /* 背景颜色 */
    color: white; /* 文字颜色 */
    border-radius: 50px; /* 圆角半径 */
    cursor: pointer; /* 鼠标悬停时显示指针形状 */
    user-select: none; /* 禁止选中文本 */
    z-index: 1000; /* 确保按钮在最上层显示 */
    text-align: center; /* 文字居中 */
}
 
    .round-button:hover {
        background-color: #0056b3; /* 鼠标悬停时的背景颜色 */
    }
 
.myinfo dt {
    display: block;
    float: left;
    width: 1.2rem;
    height: 1.2rem;
}
 
.myinfo dd {
    text-align: left;
    line-height: 0.45rem;
    padding-left: 1.5rem;
}
 
.myinfo .van-field__control {
    text-align: right !important;
}
 
.emputy {
    text-align: center;
    height: 100%;
    margin-top: 100px;
}
 
.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 确保遮罩在其他内容之上 */
}
 
 
.van-tab-left .van-tab {
    -webkit-justify-content: left !important;
    justify-content: left !important
}
 
.van-tab {
    font-size: .2733rem;
}
 
.mySolid .van-cell::after {
    border-bottom: .0267rem solid #646566;
}
.mySolid .van-row {
    border-bottom: .0267rem solid #646566;
}
 
/*2025-02-19 池南骏修改
    begin
*/
.van-cell {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: .030rem .1000rem;
    overflow: hidden;
    color: #323233;
    font-size: .28rem;
    line-height: .45rem;
    background-color: #fff;
    align-items: center; /* 垂直居中对齐 */
}
 
/* 当屏幕宽度小于或等于600px时应用的样式 */
@media (max-width: 500px) {
    .van-cell {
        font-size: .33rem; /* 更小的字体大小 */
        line-height: .50rem;
        padding: .020rem .0800rem; /* 更小的内边距 */
    }
 
    /* 减少左侧标题的字体大小并使颜色更淡 */
    .van-field__label {
        color: #000000!important; /* 更淡的颜色 */
    }
    .van-field--disabled .van-field__label {
        color: #000000 !important;
    }
 
    /*IQC检验整体样式 20250322 池南骏*/
    .van-popup__close-icon--top-right {
        top: .35rem;
        right: -.00rem;
    }
 
 
    .van-popup--right {
        top: 53.5%;
        right: 0;
        -webkit-transform: translate3d(0, -50%, 0);
        transform: translate3d(0, -50%, 0);
    }
 
}
 
/* 当屏幕宽度大于600px且小于或等于1024px时应用的样式 */
@media (min-width: 500px) and (max-width: 1600px) {
 
 
    /*IQC检验整体样式 20250322 池南骏*/
    .van-popup__close-icon--top-right {
        top: .25rem;
        right: -.00rem;
    }
 
    .van-cell {
        font-size: .20rem; /* 中等字体大小 */
        line-height: .23rem;
        padding: .025rem .0900rem; /* 中等内边距 */
    }
 
    /* 减少左侧标题的字体大小并使颜色更淡 */
    .van-field__label {
        color: #9c9898; /* 更淡的颜色 */
        margin-right: 0rem;
        font-size: .20rem; /* 字体大小减小 */
    }
    .van-field--disabled .van-field__label {
        color: #9c9898 !important;
    }
 
    /* 增加右侧输入区域的字体大小并加深颜色 */
    .van-cell__value {
        color: #333; /* 深色 */
        font-size: .25rem; /* 字体大小增大 */
    }
 
    .van-cell--clickable {
        cursor: pointer;
        font-size: .30rem; /* 字体大小增大 */
        font-weight: bold; /* 字体加粗 */
    }
 
    .van-checkbox__icon {
        font-size: 0.28rem;
    }
 
    .van-popup--right {
        top: 50%;
        right: 0;
        -webkit-transform: translate3d(0, -50%, 0);
        transform: translate3d(0, -50%, 0);
    }
}
 
.van-button--small {
    height: 100%;
    padding: 0 .2133rem;
    font-size: .32rem;
    align-items: center; /* 垂直居中对齐 */
}
 
van-field__button {
    display: flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
    height: 100%; /* 按钮高度与父容器一致 */
    //min-height: 36px; /* 设置最小高度以避免过小 */
    padding: 0; /* 移除默认内边距 */
}
 
.van-button {
    position: relative;
    display: inline-flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
    box-sizing: border-box;
    height: 100%; /* 按钮高度与父容器一致 */
    margin: 0;
    padding: 0.1rem 0.1rem; /* 内边距可以根据需要调整 */
    font-size: inherit; /* 字体大小继承自父容器 */
    line-height: normal; /* 调整行高为正常值 */
    text-align: center;
    border-radius: 0.2rem; /* 圆角半径 */
    cursor: pointer;
    transition: opacity 0.2s;
    -webkit-appearance: none;
    white-space: nowrap; /* 防止文字换行 */
    font-size: .28rem;
}
 
/* 按钮长度根据内容自适应 */
.van-button {
    min-width: fit-content; /* 按钮宽度根据内容自动调整 */
}
 
 
/* 设置 checkbox 容器的样式 */
.checkbox-container {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 左右平均分布 */
    align-items: center; /* 垂直居中对齐 */
    padding: 0 0px; /* 内边距与 van-field 保持一致 */
}
 
    /* 调整 checkbox 的样式 */
    .checkbox-container .van-checkbox {
        flex: 1; /* 让每个 checkbox 占据相等的空间 */
        text-align: center; /* 文本居中显示 */
    }
 
.van-checkbox__icon--checked .van-icon {
    color: #1989fa !important; /* 勾选框的颜色设置为蓝色 */
}
 
/* 保持字体颜色不变 */
.van-checkbox__label {
    color: inherit !important; /* 字体颜色继承父级样式 */
}
 
/* 确保禁用状态下勾选框仍然显示为蓝色 */
.van-checkbox--disabled .van-checkbox__icon .van-icon {
    background-color: transparent !important; /* 移除禁用状态下的灰色背景 */
    /*border-color: #1989fa !important;*/ /* 设置禁用状态下的边框颜色为蓝色 */
    
}
 
.van-icon {
    font-size: 0.8em;
}
.van-tabs--line .van-tabs__wrap {
    height: 0.8rem;
}
 
/* 2025-02-19 池南骏修改
    end
*/
 
/*表格样式 2025-03-13 池南骏新增*/
.van-col {
    font-size: 12px; /* 调整字体大小 */
    word-wrap: break-word;
    word-break: break-all;
}
 
.blue-text {
    color: #1989fa; /* 设置字体颜色为蓝色 */
    font-weight: bold; /* 字体加粗 */
}
 
 
.van-nav-bar__title {
    max-width: 60%;
    margin: 0 auto;
    color: #323233;
    font-weight: 500;
    font-size: .32rem;
    font-weight: bold; /* 字体加粗 */
}
 
/*表头高度 2025-03-13 池南骏新增*/
.van-nav-bar__content {
    height: 0.9rem;
}
 
/* 表单字段分隔线 颜色淡一些 */
.van-cell-group .van-cell:not(:last-child)::after {
    border-bottom: 1px solid #eee !important;
    left: 0;
    right: 0;
}
/* 表体tab字段分隔线 颜色淡一些 */
.mySolid .van-row {
    border-bottom: .00267rem solid #b1b1b1;
}
 
/* 设置表头的输入框比例 */
.van-field__label {
    flex-basis: 25%;
}
 
/* 全局样式优化 */
.content-wrapper {
    margin: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
 
 
 
/* 检验明细页输入框界面样式 */
.van-tag {
    font-size: .25rem;
    line-height: .40rem
}
    /* 检验明细页输入框界面样式 */
 
/*全局按钮缩小*/
.van-nav-bar__left, .van-nav-bar__right {
    font-size: .25rem;
}
 
/*调整搜索框字体的高度和大小*/
.van-search__action {
    padding: 0 .2133rem;
    color: #323233;
    font-size: .25rem;
    line-height: .25rem;
}
 
 
.content-wrapper-jymx {
    margin: 27px;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
 
.van-cell__value--alone {
    color: #323233;
    text-align: center;
}
 
.si-container {
    /*                padding: 0.16rem;*/
    padding: 8px 12px;
    height: 0.6rem;
}
 
/* 状态显示组 */
.si-status-group {
    display: flex;
    gap: 0.08rem;
    margin-bottom: 0.16rem;
}
 
.si-status-box {
    flex: 1;
    height: 0.6rem;
    border-radius: 0.08rem;
    display: flex;
    overflow: hidden;
}
 
/* 左侧状态标签 */
.si-status__left {
    width: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
 
    .si-status__left::after {
        content: '';
        position: absolute;
        right: -0.13rem;
        width: 0.27rem;
        height: 100%;
        transform: skewX(-10deg);
        z-index: 1;
    }
 
/* 右侧数值显示 */
.si-status__right {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 0.16rem;
    background: #fff;
    //font-weight: bold;
}
 
/* 状态类型修饰符 */
.si-status--ok .si-status__left {
    background: #07c160;
}
 
    .si-status--ok .si-status__left::after {
        background: #07c160;
    }
 
.si-status--error .si-status__left {
    background: #ee0a24;
}
 
    .si-status--error .si-status__left::after {
        background: #ee0a24;
    }
 
/* 输入框样式 */
.si-input-box {
    height: 0.6rem;
    border-radius: 0.08rem;
    display: flex;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0.02rem 0.04rem rgba(0,0,0,0.05);
    padding: 8px 12px;
}
 
.si-input__left {
    width: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f7ff;
    position: relative;
}
 
    .si-input__left::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 0.01rem;
        height: 50%;
        background: #d9d9d9;
    }
 
/* 统一文字样式 */
.si-status__label,
.si-input__label,
.si-status__right {
    font-size: 0.20rem;
    line-height: 0.23rem;
}
 
.si-input__label {
    color: #1890ff;
}
 
.si-status__label {
    color: #ffffff;
}
 
.si-status__right {
    justify-content: center; /* 新增居中 */
    background: #e3edf7;
    padding-right: 0.16rem;
    padding: 8px 12px;
}
 
/* Vant输入框深度定制 */
/*:deep(.si-input-field .van-field__control) {
                height: 0.6rem !important;
                font-size: 0.20rem !important;
                line-height: 0.23rem !important;
                color: #333;
            }*/
 
.van-icon-popup {
    font-size: 0.5rem;
}
 
.inline-title {
    display: flex;
    align-items: center;
    gap: 8px; /* 间距控制 */
    max-width: 80vw;
}
 
.release-no {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
 
.status-tag {
    flex-shrink: 0; /* 防止被压缩 */
    font-size: 12px;
    padding: 2px 6px;
}
 
/* 覆盖导航栏默认样式 */
:deep(.van-nav-bar__title) {
    max-width: none !important;
}
 
 
/* 深度覆盖vant样式,换行 */
:deep(.wrap-field .van-field__control) {
    white-space: pre-wrap !important;
    word-break: break-all !important;
    line-height: 1.5;
    min-height: 24px; /* 最小高度保障 */
    padding: 4px 0; /* 增加垂直间距 */
}
 
/* 专用内容容器,换行 */
.wrap-content {
    width: 100%;
    display: block;
}
 
 
/*            .si-input-box {
                display: flex;
                align-items: center;
                padding: 12px 16px;
            }*/
 
.input-container {
    flex: 1;
    display: flex;
    gap: 2px; /* 控制两个输入组之间的间距 */
    align-items: center;
    background: #e3edf7;
}
 
.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1; /* 使两个输入组均分剩余空间 */
    padding: 8px 12px;
}
 
.si-input-field {
    flex: 1; /* 输入框占据剩余空间 */
    width: 100%; /* 控制最大宽度 */
    background: #f7f8fa;
    border-radius: 4px;
    padding: 8px 12px;
}
 
/* 图片上传大小 */
.van-uploader__preview-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
 
.van-uploader__upload {
    width: 50px;
    height: 50px;
}
 
.uploader-container {
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* 流畅滚动(iOS) */
}
 
.van-uploader__preview-delete-icon {
    font-size: 1.8em;
}
/*IQC检验整体样式 20250322 池南骏*/