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: () => {