Browse Source

任务大厅增加提示

chenrong 1 year ago
parent
commit
5affd408d7
2 changed files with 11 additions and 1 deletions
  1. 1 1
      manifest.json
  2. 10 0
      pages/task/index.vue

+ 1 - 1
manifest.json

@@ -1,5 +1,5 @@
 {
 {
-    "name" : "潮米卡牌小程序",
+    "name" : "潮米卡牌",
     "appid" : "__UNI__642FD30",
     "appid" : "__UNI__642FD30",
     "description" : "",
     "description" : "",
     "versionName" : "1.0.0",
     "versionName" : "1.0.0",

+ 10 - 0
pages/task/index.vue

@@ -85,6 +85,7 @@
             领取
             领取
           </div>
           </div>
         </div>
         </div>
+        <div class="tip">每日消费满{{ limitPrice }}元达标,连续7天,若期间有一日未达标,则任务重置</div>
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>
@@ -101,6 +102,7 @@ export default {
       currentNum: 0,
       currentNum: 0,
       totalNum: 0,
       totalNum: 0,
       couponPrice: 0,
       couponPrice: 0,
+      limitPrice: 0,
       status: 0,
       status: 0,
     }
     }
   },
   },
@@ -140,6 +142,7 @@ export default {
         this.totalNum = rs.data.totalNum
         this.totalNum = rs.data.totalNum
         this.couponPrice = rs.data.couponPrice
         this.couponPrice = rs.data.couponPrice
         this.status = rs.data.status
         this.status = rs.data.status
+        this.limitPrice = rs.data.limitPrice
         console.log(rs)
         console.log(rs)
       })
       })
     },
     },
@@ -190,4 +193,11 @@ export default {
   width: 90%;
   width: 90%;
   background-image: linear-gradient(45deg, #f5eeea 0%, #faab86 100%);
   background-image: linear-gradient(45deg, #f5eeea 0%, #faab86 100%);
 }
 }
+.tip {
+  margin-top: 5px;
+  // text-align: center;
+  padding: 0 15px;
+  color: #969696;
+  font-size: 12px;
+}
 </style>
 </style>