File tree Expand file tree Collapse file tree 8 files changed +84
-13
lines changed Expand file tree Collapse file tree 8 files changed +84
-13
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sub-store-front-end" ,
3
- "version" : " 2.15.53 " ,
3
+ "version" : " 2.15.54 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " vite --host" ,
Original file line number Diff line number Diff line change @@ -419,8 +419,10 @@ function checkNeedConfiguration() {
419
419
// overflow: hidden;
420
420
flex : 1 ;
421
421
display : flex ;
422
+ align-items : center ;
422
423
flex-direction : column ;
423
424
overflow : auto ;
425
+ width : 100% ;
424
426
}
425
427
426
428
overflow-y : auto ;
Original file line number Diff line number Diff line change 93
93
border-radius : 8px ;
94
94
overflow : auto ;
95
95
padding-bottom : 24px ;
96
+
97
+ // PC/平板端响应式最大宽度限制
98
+ @media screen and (min-width : 600px ) {
99
+ max-width : 500px ;
100
+ width : 500px ;
101
+ }
102
+
103
+ @media screen and (min-width : 768px ) {
104
+ max-width : 600px ;
105
+ width : 600px ;
106
+ }
107
+
108
+ @media screen and (min-width : 1024px ) {
109
+ max-width : 700px ;
110
+ width : 700px ;
111
+ }
112
+
113
+ @media screen and (min-width : 1200px ) {
114
+ max-width : 800px ;
115
+ width : 800px ;
116
+ }
96
117
}
97
118
.nut-button {
98
119
margin-right : 10px ;
Original file line number Diff line number Diff line change 41
41
flex : 1 ;
42
42
padding : 56px 0 v-bind (height ) 0 ;
43
43
overflow : auto ;
44
+ width : 100% ;
45
+ @media screen and (min-width : 600px ) {
46
+ max-width : 85% ;
47
+ }
48
+ @media screen and (min-width : 768px ) {
49
+ max-width : 630px ;
50
+ }
51
+ @media screen and (min-width : 900px ) {
52
+ max-width : 700px ;
53
+ }
54
+ @media screen and (min-width : 1200px ) {
55
+ max-width : 900px ;
56
+ }
44
57
}
45
58
46
59
</style >
Original file line number Diff line number Diff line change 394
394
395
395
.compare-table-row {
396
396
padding : 0 var (--safe-area-side );
397
- width : 100 vw ;
397
+ width : 100 % ;
398
398
cursor : pointer ;
399
399
}
400
400
408
408
display : grid ;
409
409
grid-template-columns : 46% 1fr 1fr 1fr 1fr ;
410
410
411
- li {
412
- }
413
411
li ,
414
412
td {
415
413
display : flex ;
493
491
font-size : 12px ;
494
492
background : inherit ;
495
493
color : var (--comment-text-color );
494
+ width : 100% ;
495
+ flex : 1 ;
496
496
}
497
497
498
498
.compare-page-header {
508
508
color : var (--primary-text-color );
509
509
background : var (--background-color );
510
510
border-color : var (--divider-color );
511
- width : 100 vw ;
511
+ width : 100 % ;
512
512
.title {
513
513
white-space : nowrap ;
514
514
}
517
517
text-overflow : ellipsis ;
518
518
white-space : nowrap ;
519
519
max-width : 40vw ;
520
+
521
+ @media screen and (min-width : 768px ) {
522
+ max-width : 300px ;
523
+ }
524
+
525
+ @media screen and (min-width : 1024px ) {
526
+ max-width : 400px ;
527
+ }
520
528
}
521
529
h1 {
522
530
display : flex ;
561
569
overflow-y : auto ;
562
570
-webkit-overflow-scrolling : touch ;
563
571
background : var (--background-color );
572
+ display : flex ;
573
+ flex-direction : column ;
574
+ align-items : center ;
575
+
576
+ @media screen and (min-width : 768px ) {
577
+ .compare-page-header ,
578
+ .compare-page-body {
579
+ width : 85% ;
580
+ max-width : 800px ;
581
+ }
582
+ }
583
+
584
+ @media screen and (min-width : 900px ) {
585
+ .compare-page-header ,
586
+ .compare-page-body {
587
+ width : 80% ;
588
+ max-width : 900px ;
589
+ }
590
+ }
591
+
592
+ @media screen and (min-width : 1200px ) {
593
+ .compare-page-header ,
594
+ .compare-page-body {
595
+ width : 75% ;
596
+ max-width : 1000px ;
597
+ }
598
+ }
564
599
}
565
600
566
601
.divider ,
Original file line number Diff line number Diff line change @@ -934,6 +934,7 @@ const handleEditGlobalClick = () => {
934
934
display : flex ;
935
935
justify-content : space-between ;
936
936
bottom : 0 ;
937
+ left : 0 ;
937
938
width : 100% ;
938
939
padding : 8px var (--safe-area-side ) calc (v-bind (" padding" ) + 8px ) var (--safe-area-side );
939
940
z-index : 20 ;
@@ -947,19 +948,18 @@ const handleEditGlobalClick = () => {
947
948
display : flex ;
948
949
justify-content : center ;
949
950
align-items : center ;
950
-
951
951
svg {
952
952
margin-right : 4px ;
953
953
}
954
954
}
955
955
956
- // .compare-btn {
957
- // background: transparent;
958
- // width: 36%;
959
- // }
956
+ .compare-btn {
957
+ background : transparent ;
958
+ width : 36% ;
959
+ }
960
960
961
961
.submit-btn {
962
- width : 67 % ;
962
+ width : 62 % ;
963
963
}
964
964
}
965
965
Original file line number Diff line number Diff line change @@ -1382,6 +1382,7 @@ const handleEditGlobalClick = () => {
1382
1382
display : flex ;
1383
1383
justify-content : space-between ;
1384
1384
bottom : 0 ;
1385
+ left : 0 ;
1385
1386
width : 100% ;
1386
1387
padding : 8px var (--safe-area-side ) calc (v-bind (" padding" ) + 8px )
1387
1388
var (--safe-area-side );
@@ -1396,7 +1397,6 @@ const handleEditGlobalClick = () => {
1396
1397
display : flex ;
1397
1398
justify-content : center ;
1398
1399
align-items : center ;
1399
-
1400
1400
svg {
1401
1401
margin-right : 4px ;
1402
1402
}
Original file line number Diff line number Diff line change 5
5
pop-class =" share-popup"
6
6
position =" center"
7
7
:style =" {
8
- width: `90%` ,
8
+ width:'88vw' ,
9
9
padding: '20px 12px 0 12px',
10
10
backgroundColor: 'var(--background-color)',
11
11
}"
You can’t perform that action at this time.
0 commit comments