Sfoglia il codice sorgente

抽奖页面金额调整

kk.shi 3 anni fa
parent
commit
fdde913db6
2 ha cambiato i file con 13 aggiunte e 2 eliminazioni
  1. 3 0
      pages/luckDraw/profile.js
  2. 10 2
      pages/luckDraw/profile.wxss

+ 3 - 0
pages/luckDraw/profile.js

@@ -117,6 +117,9 @@ Page({
             if(v.couponType == 'D' && v.discount >0){
                 v.discount /= 10
             }
+            if(v.couponType == 'C' && v.discount >0){
+                v.reduceCost /= 100
+            }
         })
 
         if (this.data.page == 1) {

+ 10 - 2
pages/luckDraw/profile.wxss

@@ -140,8 +140,16 @@
   height: 100%;
 }
 
-.luck-draw-zkz4,.luck-draw-djz5{
-  font-size: 118rpx;
+.luck-draw-zkz4 {
+  font-size: 110rpx;
+  font-family: Impact;
+  font-weight: 400;
+  color: #443E5B;
+  line-height: 142rpx;
+}
+
+.luck-draw-djz5{
+  font-size: 90rpx;
   font-family: Impact;
   font-weight: 400;
   color: #443E5B;