Pārlūkot izejas kodu

feat(优化页面)

xing.li 3 gadi atpakaļ
vecāks
revīzija
214fb929d5

+ 1 - 1
app.wxss

@@ -45,7 +45,7 @@ Page{
 }
 .card{
   box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
-  border: 1px solid #ebeef5;
+  border: 1px solid #cccccc;
 }
 
 .f18{

+ 22 - 7
pages/couponList/couponList.wxss

@@ -1,6 +1,6 @@
-page{
+/* page{
   background-color: #F8F8F8;
-}
+} */
 
 .container .logo {
   height: 400rpx;
@@ -67,10 +67,10 @@ page{
 
 
 .cash{
-  padding: 10px 10px;
+  /* padding: 10px 10px; */
   box-sizing: border-box;
-  background-color:#fff;
-  margin-top: 14px;
+  /* background-color:#fff; */
+  margin-top: 260px;
 }
 .cash-img{
   background-image: url("https://dy.shpr.top/xcxActivity/activityList_orange.png");
@@ -80,7 +80,12 @@ page{
   background-image: url("https://dy.shpr.top/xcxActivity/activityList_skyblue.png");
 }
 .coupon-list {
-
+  padding: 10px 10px;
+  box-sizing: border-box;
+  background-image: url(https://dy.shpr.top/images/bg-red-3.jpg);
+  background-repeat: no-repeat;
+  background-size: 100% 100%;
+  -moz-background-size: 100% 100%;
 }
 .gray {
   filter: grayscale(100%);
@@ -111,7 +116,7 @@ page{
   display: flex;
   flex-flow: row nowrap;
   justify-content: space-between;
-  margin-bottom: 20px;
+  /* margin-bottom: 20px; */
 
 }
 
@@ -169,4 +174,14 @@ color: #FFFFFF;
   color: #FFFFFF;
   margin:auto 0px;
   margin-right: 29px;
+}
+
+page{
+    width: 100%;
+    height: 100%;
+    background-image: url(https://dy.shpr.top/images/bg-red-2.jpg);
+    background-repeat: no-repeat;
+    background-size: 100% 100%;
+    -moz-background-size: 100% 100%;
+    box-sizing: border-box;
 }

+ 11 - 4
pages/person/person.wxss

@@ -80,8 +80,8 @@
   display: flex;
   width: 100%;
   height: 120rpx;
-  background-color: #fff;
-  border-bottom: 1px solid #ebeef5;
+  /* background-color: #fff; */
+  border-bottom: 1px solid #cccccc;
   justify-content: flex-start;
   position: relative;
 }
@@ -109,8 +109,8 @@
   display: flex;
   width: 100%;
   height: 120rpx;
-  background-color: #fff;
-  border-bottom: 1px solid #ebeef5;
+  /* background-color: #fff; */
+  border-bottom: 1px solid #cccccc;
   justify-content: flex-start;
   position: relative;
 }
@@ -133,3 +133,10 @@
   right: 30rpx;
   top: 45rpx;
 }
+
+page{
+  background-image: url(https://dy.shpr.top/images/bg-white.jpg);
+    background-repeat: no-repeat;
+    background-size: 100% 100%;
+    -moz-background-size: 100% 100%;
+}

+ 18 - 8
pages/qrCode/qrCode.wxss

@@ -4,26 +4,36 @@
 }
 
 .qrcode {
-    margin-top: 200rpx;
+    /* margin-top: 200rpx; */
     display: flex;
-    justify-content: center;
+    justify-content: space-between;
     width: 100%;
     flex-direction: column;
     align-items: center;
+    height: 310px;
 }
 
 .txt {
     text-align: center;
-    color: #BF2637;
+    color: #ffffff;
     width: 100%;
-    position: absolute;
-    top: 321px;
+    /* position: absolute; */
+    /* top: 321px; */
 }
 
 .txt-top {
   text-align: center;
-  color: #BF2637;
+  color: #ffffff;
   width: 100%;
-  position: absolute;
-  top: 73px;
+  /* position: absolute; */
+  /* top: 73px; */
+}
+
+page{
+  background-image: url(https://dy.shpr.top/images/bg-red-1.jpg); 
+    background-repeat: no-repeat;
+    background-size: 100% 100%;
+    -moz-background-size: 100% 100%;
+    box-sizing: border-box;
+    padding-top: 330px;
 }

+ 6 - 0
project.private.config.json

@@ -77,6 +77,12 @@
           "pathName": "pages/couponList/couponList",
           "query": "",
           "scene": null
+        },
+        {
+          "name": "pages/qrCode/qrCode",
+          "pathName": "pages/qrCode/qrCode",
+          "query": "sn=2d3b8980-0b95-4beb-9ce6-2255b0881644&name=A005%E5%85%A8%E5%9B%BD200-80",
+          "scene": null
         }
       ]
     }