huangxiaojing 2 年之前
父节点
当前提交
c9a605e39d
共有 1 个文件被更改,包括 9 次插入5 次删除
  1. 9 5
      pages/activity/lottery/index.vue

+ 9 - 5
pages/activity/lottery/index.vue

@@ -80,7 +80,7 @@
         <div class="txt6">3、年卡特惠包合约到期后,如时长补充包仍有时长,年卡特惠包所属云手机可继续使用至时长用尽。</div>
         <div class="txt7">温馨提示:</div>
         <div class="txt6">1、请您理解:通过任何不正当手段参与活动,如借助非自然流量/外挂工具;利用技术漏洞,恶意退款,批量注册账号、买号等搅乱平台管理秩序的行为,臂云科技有权限制/取消用户的活动资格,不予发放/撤销相关交易及福利内容。</div>
-        <div class="txt6">2、如有疑问请联系唔即云APP客服咨询。</div>
+        <div class="txt6">2、如有疑问请联系双子星APP客服咨询。</div>
       </div>
     </van-popup>
   </div>
@@ -249,7 +249,8 @@ export default {
       } catch (error) {
         Toast({
           message: error.message,
-          position: 'top'
+          position: 'top',
+          duration: 3000
         });
       } finally {
         Toast.clear();
@@ -309,8 +310,8 @@ export default {
         }
         if (this.actualPrice === 9.9) {
           if (Number(localStorage.getItem('year-9-9')) !== 2)
-          this.makePoint('activity_9.9年卡')
-            localStorage.setItem('year-9-9', 1)
+            this.makePoint('activity_9.9年卡')
+          localStorage.setItem('year-9-9', 1)
         }
         this.mealId = res.data.mealId
         this.selMealId = res.data.mealId
@@ -331,7 +332,7 @@ export default {
     },
     makePoint(positionButton) {
       const now = new Date()
-      this.$axios.$post('/public/v5/buriedPointRecord/reportRecords',  [{client: this.client, eventCode: '27_抽奖流程', userName: this.$auth.user.userName, positionButton, operationTime: now.toISOString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '') }])
+      this.$axios.$post('/public/v5/buriedPointRecord/reportRecords', [{ client: this.client, eventCode: '27_抽奖流程', userName: this.$auth.user.userName, positionButton, operationTime: now.toISOString().replace(/T/g, ' ').replace(/\.[\d]{3}Z/, '') }])
     },
     // 已经转动完转盘触发的函数
     endRotation() {
@@ -349,6 +350,7 @@ export default {
         Toast({
           message: '当前活动已过期',
           position: 'top',
+          duration: 3000
         });
         return false;
       }
@@ -356,6 +358,7 @@ export default {
         Toast({
           message: '当前活动未开启',
           position: 'top',
+          duration: 3000
         });
         return false;
       }
@@ -363,6 +366,7 @@ export default {
         Toast({
           message: '当前活动已结束',
           position: 'top',
+          duration: 3000
         });
         return false;
       }