zhs 3 年之前
父節點
當前提交
cec173f51f
共有 2 個文件被更改,包括 10 次插入5 次删除
  1. 4 0
      src/main/resources/static/css/homeIndex.css
  2. 6 5
      src/main/resources/static/js/personal/function.js

+ 4 - 0
src/main/resources/static/css/homeIndex.css

@@ -172,4 +172,8 @@ html,body{
     float: left;
     line-height: 38px;
     color: #86c2ea;
+}
+.wx_pay div{
+    width: 24px;
+    height: 24px;
 }

+ 6 - 5
src/main/resources/static/js/personal/function.js

@@ -420,11 +420,12 @@ function rotationTrainingOfferNum(uuid){
             dataType: "json",
             success: (data) => {
                 if(data.data == 1){
-                    clearInterval(offerNumPayRunInterval);
-                    gysTopUpNum();
-                    layer.closeAll();
-                    layer.msg("充值成功", {icon: 1});
-                    load();
+                    parent.layer.msg("充值成功", { icon: 1, time: 1500 }, function(){
+                        load();
+                        clearInterval(offerNumPayRunInterval);
+                        gysTopUpNum();
+                        layer.closeAll();
+                    });
                 }
             },
             error: () => {