浏览代码

积分查询等待

kk.shi 3 年之前
父节点
当前提交
a4f5b22f50
共有 2 个文件被更改,包括 17 次插入16 次删除
  1. 9 8
      pages/integral/integral.js
  2. 8 8
      pages/integral/integral.wxml

+ 9 - 8
pages/integral/integral.js

@@ -528,14 +528,15 @@ addClick(e) {
         }
 
     } else {
-        wx.showToast({
-            title: '先查询移动积分',
-            icon: 'error',
-            duration: 1000
-        });
-        setTimeout(() => {
-            this.scoreClick()
-        }, 1000)
+        // wx.showToast({
+        //     title: '先查询移动积分',
+        //     icon: 'error',
+        //     duration: 1000
+        // });
+        // setTimeout(() => {
+        //     this.scoreClick()
+        // }, 1000)
+        this.scoreClick()
     }
 },
 /** 刷新 */

+ 8 - 8
pages/integral/integral.wxml

@@ -144,12 +144,12 @@
 
   <!-- 查询中等待效果框 -->
   <view class="score-integral" wx:if="{{loading}}">
-    <!-- <view class="loading-bg-img">
-      <image class="loading-bg-image" src="../../images/logo.png" mode=""></image>
-    </view> -->
-     <view class="loading-bg-img" style="text-align: center;margin-top: 10rpx;">
-      <view style="font-weight: bold">中国移动积分查询中...</view>
+    <view class="loading-bg-img">
+      <image class="loading-bg-image" src="https://dy.shpr.top/shareActivity/loadingBg.png" mode=""></image>
     </view>
+     <!-- <view class="loading-bg-img" style="text-align: center;margin-top: 10rpx;">
+      <view style="font-weight: bold">中国移动积分查询中...</view>
+    </view> -->
     <view class="loading-title" style="margin: 30upx auto;">
       <text class="iconfont iconphone"></text>
       <text style="display:inline-block;color: #000000;">{{setPhone}}</text>
@@ -157,9 +157,9 @@
     <view class="loading-title">
       <text style="display:inline-block;">中国移动官方授权积分查询</text>
     </view>
-    <!-- <view class="loading">
-      <image class="loading-image" src="../../images/logo.png" mode=""></image>
-    </view> -->
+    <view class="loading">
+      <image class="loading-image" src="https://dy.shpr.top/shareActivity/loading.gif" mode=""></image>
+    </view>
   </view>
 
 <!-- 弹出框背景黑化 -->