Browse Source

背景图适配

李海聪 4 years ago
parent
commit
e78fc74f6a

+ 11 - 7
pages/Pay/css/pay.css

@@ -1,11 +1,15 @@
+page {
+  height: 100%;
+}
+
 .container {
 .container {
   position: relative;
   position: relative;
-  width: 750rpx;
-  height: 1334rpx;
+  width: 100%;
+  height: 100%;
   font-family: "MicrosoftYaHei";
   font-family: "MicrosoftYaHei";
   font-weight: 400;
   font-weight: 400;
   background-image: url(../../static/images/bg.png);
   background-image: url(../../static/images/bg.png);
-  background-size: 100% 100%;
+  background-size: cover;
   background-attachment: fixed;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
 }
 }
@@ -106,7 +110,7 @@
 .container .messageCard .item-form .item-pay .ite {
 .container .messageCard .item-form .item-pay .ite {
   display: inline-block;
   display: inline-block;
   width: 200rpx;
   width: 200rpx;
-  height: 60rpx;
+  height: 80rpx;
   line-height: 89rpx;
   line-height: 89rpx;
   margin-left: 20rpx;
   margin-left: 20rpx;
   font-size: 32rpx;
   font-size: 32rpx;
@@ -118,7 +122,7 @@
 .container .messageCard .item-form .item-pay .content {
 .container .messageCard .item-form .item-pay .content {
   display: inline-block;
   display: inline-block;
   width: 400rpx;
   width: 400rpx;
-  height: 60rpx;
+  height: 80rpx;
   overflow: hidden;
   overflow: hidden;
   white-space: nowrap;
   white-space: nowrap;
   text-overflow: ellipsis;
   text-overflow: ellipsis;
@@ -198,7 +202,7 @@
   flex-direction: column;
   flex-direction: column;
   justify-content: flex-start;
   justify-content: flex-start;
   position: absolute;
   position: absolute;
-  top: 384rpx;
+  top: 284rpx;
   left: 50%;
   left: 50%;
   transform: translateX(-325rpx);
   transform: translateX(-325rpx);
   width: 650rpx;
   width: 650rpx;
@@ -318,7 +322,7 @@
   flex-direction: column;
   flex-direction: column;
   justify-content: flex-start;
   justify-content: flex-start;
   position: absolute;
   position: absolute;
-  top: 301rpx;
+  top: 201rpx;
   left: 50%;
   left: 50%;
   transform: translateX(-325rpx);
   transform: translateX(-325rpx);
   width: 650rpx;
   width: 650rpx;

File diff suppressed because it is too large
+ 1 - 1
pages/Pay/css/pay.min.css


+ 10 - 7
pages/Pay/css/pay.scss

@@ -1,11 +1,14 @@
+page {
+    height: 100%;
+}
 .container {
 .container {
     position: relative;
     position: relative;
-    width: 750rpx;
-    height: 1334rpx;
+    width: 100%;
+    height: 100%;
     font-family: "MicrosoftYaHei";
     font-family: "MicrosoftYaHei";
     font-weight: 400;
     font-weight: 400;
     background-image: url(../../static/images/bg.png);
     background-image: url(../../static/images/bg.png);
-    background-size: 100% 100%;
+    background-size: cover;
     background-attachment: fixed;
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     &::-webkit-scrollbar {
     &::-webkit-scrollbar {
@@ -89,7 +92,7 @@
                 .ite {
                 .ite {
                     display: inline-block;
                     display: inline-block;
                     width: 200rpx;
                     width: 200rpx;
-                    height: 60rpx;
+                    height: 80rpx;
                     line-height: 89rpx;
                     line-height: 89rpx;
                     margin-left: 20rpx;
                     margin-left: 20rpx;
                     font-size: 32rpx;
                     font-size: 32rpx;
@@ -99,7 +102,7 @@
                 .content {
                 .content {
                     display: inline-block;
                     display: inline-block;
                     width: 400rpx;
                     width: 400rpx;
-                    height: 60rpx;
+                    height: 80rpx;
                     overflow: hidden; //多出部分隐藏
                     overflow: hidden; //多出部分隐藏
                     white-space: nowrap; //一行显示
                     white-space: nowrap; //一行显示
                     text-overflow: ellipsis; //是否显示省略号
                     text-overflow: ellipsis; //是否显示省略号
@@ -178,7 +181,7 @@
         flex-direction: column;
         flex-direction: column;
         justify-content: flex-start;
         justify-content: flex-start;
         position: absolute;
         position: absolute;
-        top: 384rpx;
+        top: 284rpx;
         left: 50%;
         left: 50%;
         transform: translateX(-325rpx);
         transform: translateX(-325rpx);
         width: 650rpx;
         width: 650rpx;
@@ -284,7 +287,7 @@
         flex-direction: column;
         flex-direction: column;
         justify-content: flex-start;
         justify-content: flex-start;
         position: absolute;
         position: absolute;
-        top: 301rpx;
+        top: 201rpx;
         left: 50%;
         left: 50%;
         transform: translateX(-325rpx);
         transform: translateX(-325rpx);
         width: 650rpx;
         width: 650rpx;

+ 8 - 4
pages/order/css/order.css

@@ -1,9 +1,13 @@
+page {
+  height: 100%;
+}
+
 .container {
 .container {
   position: relative;
   position: relative;
-  width: 750rpx;
-  height: 1334rpx;
+  width: 100%;
+  height: 100%;
   background-image: url(../../static/images/bg.png);
   background-image: url(../../static/images/bg.png);
-  background-size: 100% 100%;
+  background-size: cover;
   background-attachment: fixed;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
   box-sizing: border-box;
   box-sizing: border-box;
@@ -192,7 +196,7 @@
   flex-direction: column;
   flex-direction: column;
   justify-content: flex-start;
   justify-content: flex-start;
   position: absolute;
   position: absolute;
-  top: 301rpx;
+  top: 196rpx;
   left: 50%;
   left: 50%;
   transform: translateX(-325rpx);
   transform: translateX(-325rpx);
   width: 650rpx;
   width: 650rpx;

File diff suppressed because it is too large
+ 1 - 1
pages/order/css/order.min.css


+ 7 - 4
pages/order/css/order.scss

@@ -1,9 +1,12 @@
+page {
+    height: 100%;
+}
 .container {
 .container {
     position: relative;
     position: relative;
-    width: 750rpx;
-    height: 1334rpx;
+    width: 100%;
+    height: 100%;
     background-image: url(../../static/images/bg.png);
     background-image: url(../../static/images/bg.png);
-    background-size: 100% 100%;
+    background-size: cover;
     background-attachment: fixed;
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     box-sizing: border-box;
     box-sizing: border-box;
@@ -169,7 +172,7 @@
         flex-direction: column;
         flex-direction: column;
         justify-content: flex-start;
         justify-content: flex-start;
         position: absolute;
         position: absolute;
-        top: 301rpx;
+        top: 196rpx;
         left: 50%;
         left: 50%;
         transform: translateX(-325rpx);
         transform: translateX(-325rpx);
         width: 650rpx;
         width: 650rpx;

+ 12 - 8
pages/parentPay/css/parentPay.css

@@ -1,6 +1,10 @@
+page {
+  height: 100%;
+}
+
 .container {
 .container {
-  width: 750rpx;
-  height: 1334rpx;
+  width: 100%;
+  height: 100%;
 }
 }
 
 
 .container::-webkit-scrollbar {
 .container::-webkit-scrollbar {
@@ -40,7 +44,7 @@
   font-family: "MicrosoftYaHei";
   font-family: "MicrosoftYaHei";
   font-weight: 400;
   font-weight: 400;
   background-image: url(../../static/images/bg.png);
   background-image: url(../../static/images/bg.png);
-  background-size: 100% 100%;
+  background-size: cover;
   background-attachment: fixed;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
 }
 }
@@ -136,7 +140,7 @@
   flex-direction: column;
   flex-direction: column;
   justify-content: flex-start;
   justify-content: flex-start;
   position: absolute;
   position: absolute;
-  top: 384rpx;
+  top: 284rpx;
   left: 50%;
   left: 50%;
   transform: translateX(-325rpx);
   transform: translateX(-325rpx);
   width: 650rpx;
   width: 650rpx;
@@ -262,7 +266,7 @@
   font-family: "MicrosoftYaHei";
   font-family: "MicrosoftYaHei";
   font-weight: 400;
   font-weight: 400;
   background-image: url(../../static/images/bg.png);
   background-image: url(../../static/images/bg.png);
-  background-size: 100% 100%;
+  background-size: cover;
   background-attachment: fixed;
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
 }
 }
@@ -318,7 +322,7 @@
 .content2 .messageCard .item-form .item-pay .ite {
 .content2 .messageCard .item-form .item-pay .ite {
   display: inline-block;
   display: inline-block;
   width: 200rpx;
   width: 200rpx;
-  height: 60rpx;
+  height: 80rpx;
   line-height: 89rpx;
   line-height: 89rpx;
   margin-left: 20rpx;
   margin-left: 20rpx;
   font-size: 32rpx;
   font-size: 32rpx;
@@ -330,7 +334,7 @@
 .content2 .messageCard .item-form .item-pay .content {
 .content2 .messageCard .item-form .item-pay .content {
   display: inline-block;
   display: inline-block;
   width: 400rpx;
   width: 400rpx;
-  height: 60rpx;
+  height: 80rpx;
   overflow: hidden;
   overflow: hidden;
   white-space: nowrap;
   white-space: nowrap;
   text-overflow: ellipsis;
   text-overflow: ellipsis;
@@ -410,7 +414,7 @@
   flex-direction: column;
   flex-direction: column;
   justify-content: flex-start;
   justify-content: flex-start;
   position: absolute;
   position: absolute;
-  top: 301rpx;
+  top: 201rpx;
   left: 50%;
   left: 50%;
   transform: translateX(-325rpx);
   transform: translateX(-325rpx);
   width: 650rpx;
   width: 650rpx;

File diff suppressed because it is too large
+ 1 - 1
pages/parentPay/css/parentPay.min.css


+ 11 - 8
pages/parentPay/css/parentPay.scss

@@ -1,6 +1,9 @@
+page {
+    height: 100%;
+}
 .container {
 .container {
-    width: 750rpx;
-    height: 1334rpx;
+    width: 100%;
+    height: 100%;
     &::-webkit-scrollbar {
     &::-webkit-scrollbar {
         width: 16px;
         width: 16px;
         height: 16px;
         height: 16px;
@@ -34,7 +37,7 @@
     font-family: "MicrosoftYaHei";
     font-family: "MicrosoftYaHei";
     font-weight: 400;
     font-weight: 400;
     background-image: url(../../static/images/bg.png);
     background-image: url(../../static/images/bg.png);
-    background-size: 100% 100%;
+    background-size: cover;
     background-attachment: fixed;
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     .mark {
     .mark {
@@ -121,7 +124,7 @@
         flex-direction: column;
         flex-direction: column;
         justify-content: flex-start;
         justify-content: flex-start;
         position: absolute;
         position: absolute;
-        top: 384rpx;
+        top: 284rpx;
         left: 50%;
         left: 50%;
         transform: translateX(-325rpx);
         transform: translateX(-325rpx);
         width: 650rpx;
         width: 650rpx;
@@ -233,7 +236,7 @@
     font-family: "MicrosoftYaHei";
     font-family: "MicrosoftYaHei";
     font-weight: 400;
     font-weight: 400;
     background-image: url(../../static/images/bg.png);
     background-image: url(../../static/images/bg.png);
-    background-size: 100% 100%;
+    background-size: cover;
     background-attachment: fixed;
     background-attachment: fixed;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     .mark {
     .mark {
@@ -278,7 +281,7 @@
                 .ite {
                 .ite {
                     display: inline-block;
                     display: inline-block;
                     width: 200rpx;
                     width: 200rpx;
-                    height: 60rpx;
+                    height: 80rpx;
                     line-height: 89rpx;
                     line-height: 89rpx;
                     margin-left: 20rpx;
                     margin-left: 20rpx;
                     font-size: 32rpx;
                     font-size: 32rpx;
@@ -288,7 +291,7 @@
                 .content {
                 .content {
                     display: inline-block;
                     display: inline-block;
                     width: 400rpx;
                     width: 400rpx;
-                    height: 60rpx;
+                    height: 80rpx;
                     overflow: hidden; //多出部分隐藏
                     overflow: hidden; //多出部分隐藏
                     white-space: nowrap; //一行显示
                     white-space: nowrap; //一行显示
                     text-overflow: ellipsis; //是否显示省略号
                     text-overflow: ellipsis; //是否显示省略号
@@ -366,7 +369,7 @@
         flex-direction: column;
         flex-direction: column;
         justify-content: flex-start;
         justify-content: flex-start;
         position: absolute;
         position: absolute;
-        top: 301rpx;
+        top: 201rpx;
         left: 50%;
         left: 50%;
         transform: translateX(-325rpx);
         transform: translateX(-325rpx);
         width: 650rpx;
         width: 650rpx;