Browse Source

feat(卡券):样式优化

zhoumuhao 3 years ago
parent
commit
b6cc0c68e3

+ 2 - 2
pages/activityInfo/activityInfo.wxss

@@ -4,10 +4,10 @@ Page {
   background-color: #BF2637;
   box-sizing: border-box;
   padding-top: 102px;
-  padding-left: 26px;
+  /* padding-left: 26px; */
 }
 .info{
-  width: 327px;
+  width: 100%;
   height: 428px;
   /* margin-top: 102px; */
   align-items: center;

+ 2 - 2
pages/activityList/activityList.wxss

@@ -102,7 +102,7 @@ Page {
 }
 
 .bottom-left {
-  width: 215px;
+  width: 218px;
   height: 20px;
   line-height: 20px;
   font-size: 9.5px;
@@ -120,7 +120,7 @@ Page {
   text-align: center;
   line-height: 20px;
   border-radius: 10px;
-  margin-right: 25px !important;
+  margin-right: 16px !important;
   padding: 0 0;
 
 }

+ 3 - 3
pages/receiveCoupon/receiveCoupon.js

@@ -20,12 +20,12 @@ Page({
    */
   onLoad: function (options) {
     let _self = this;
-    if(options.codeId) {
+    if(options.id) {
       _self.setData({
-        codeId:options.codeId,
+        codeId:options.id,
       })
       //根据codeId查出该活动是否过期
-      _self.getShareActivityCode(options.codeId);
+      _self.getShareActivityCode(options.id);
     }
   },
   //根据code-id获取券详情信息 判断该codeId是否过期