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 11{
22 "name" : " sub-store-front-end" ,
3- "version" : " 2.15.53 " ,
3+ "version" : " 2.15.54 " ,
44 "private" : true ,
55 "scripts" : {
66 "dev" : " vite --host" ,
Original file line number Diff line number Diff line change @@ -419,8 +419,10 @@ function checkNeedConfiguration() {
419419 // overflow: hidden;
420420 flex : 1 ;
421421 display : flex ;
422+ align-items : center ;
422423 flex-direction : column ;
423424 overflow : auto ;
425+ width : 100% ;
424426 }
425427
426428 overflow-y : auto ;
Original file line number Diff line number Diff line change 9393 border-radius : 8px ;
9494 overflow : auto ;
9595 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+ }
96117}
97118.nut-button {
98119 margin-right : 10px ;
Original file line number Diff line number Diff line change 4141 flex : 1 ;
4242 padding : 56px 0 v-bind (height ) 0 ;
4343 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+ }
4457 }
4558
4659 </style >
Original file line number Diff line number Diff line change 394394
395395 .compare-table-row {
396396 padding : 0 var (--safe-area-side );
397- width : 100 vw ;
397+ width : 100 % ;
398398 cursor : pointer ;
399399 }
400400
408408 display : grid ;
409409 grid-template-columns : 46% 1fr 1fr 1fr 1fr ;
410410
411- li {
412- }
413411 li ,
414412 td {
415413 display : flex ;
493491 font-size : 12px ;
494492 background : inherit ;
495493 color : var (--comment-text-color );
494+ width : 100% ;
495+ flex : 1 ;
496496 }
497497
498498 .compare-page-header {
508508 color : var (--primary-text-color );
509509 background : var (--background-color );
510510 border-color : var (--divider-color );
511- width : 100 vw ;
511+ width : 100 % ;
512512 .title {
513513 white-space : nowrap ;
514514 }
517517 text-overflow : ellipsis ;
518518 white-space : nowrap ;
519519 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+ }
520528 }
521529 h1 {
522530 display : flex ;
561569 overflow-y : auto ;
562570 -webkit-overflow-scrolling : touch ;
563571 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+ }
564599 }
565600
566601 .divider ,
Original file line number Diff line number Diff line change @@ -934,6 +934,7 @@ const handleEditGlobalClick = () => {
934934 display : flex ;
935935 justify-content : space-between ;
936936 bottom : 0 ;
937+ left : 0 ;
937938 width : 100% ;
938939 padding : 8px var (--safe-area-side ) calc (v-bind (" padding" ) + 8px ) var (--safe-area-side );
939940 z-index : 20 ;
@@ -947,19 +948,18 @@ const handleEditGlobalClick = () => {
947948 display : flex ;
948949 justify-content : center ;
949950 align-items : center ;
950-
951951 svg {
952952 margin-right : 4px ;
953953 }
954954 }
955955
956- // .compare-btn {
957- // background: transparent;
958- // width: 36%;
959- // }
956+ .compare-btn {
957+ background : transparent ;
958+ width : 36% ;
959+ }
960960
961961 .submit-btn {
962- width : 67 % ;
962+ width : 62 % ;
963963 }
964964}
965965
Original file line number Diff line number Diff line change @@ -1382,6 +1382,7 @@ const handleEditGlobalClick = () => {
13821382 display : flex ;
13831383 justify-content : space-between ;
13841384 bottom : 0 ;
1385+ left : 0 ;
13851386 width : 100% ;
13861387 padding : 8px var (--safe-area-side ) calc (v-bind (" padding" ) + 8px )
13871388 var (--safe-area-side );
@@ -1396,7 +1397,6 @@ const handleEditGlobalClick = () => {
13961397 display : flex ;
13971398 justify-content : center ;
13981399 align-items : center ;
1399-
14001400 svg {
14011401 margin-right : 4px ;
14021402 }
Original file line number Diff line number Diff line change 55 pop-class =" share-popup"
66 position =" center"
77 :style =" {
8- width: `90%` ,
8+ width:'88vw' ,
99 padding: '20px 12px 0 12px',
1010 backgroundColor: 'var(--background-color)',
1111 }"
You can’t perform that action at this time.
0 commit comments