소스 검색

简章判断和回调修改

lex-xin 5 년 전
부모
커밋
8408457462

BIN
dist/app.16848289902f5ea59bff.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/app.ca9762b57e5aa475f8ee.js


BIN
dist/app.ca9762b57e5aa475f8ee.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/css/PaymentResult.699250a9.css


+ 1 - 0
dist/css/SignUp.6c74568f.css

@@ -0,0 +1 @@
+.SignUp[data-v-c4cdf882]{max-width:700px;position:relative;overflow-y:auto;overflow-x:hidden;background-color:#fff;margin:0 auto}.container[data-v-c4cdf882]{min-height:100vh;background:url(../img/signUpBg.8e6b6a64.png) no-repeat top #f3f4f8;background-size:contain;overflow:hidden}.container h2[data-v-c4cdf882]{position:absolute;padding-top:.4rem;color:#fff;font-size:.26rem;font-weight:700;width:2.1rem;text-align:left;margin-left:.16rem}.container .section[data-v-c4cdf882]{background:#fff;margin:1.87rem .16rem .15rem;border-radius:.1rem;padding:.22rem}.container .section .title[data-v-c4cdf882]{margin-top:.28rem;font-size:.18rem;color:#1a1a1a;font-weight:500}.container .section .content[data-v-c4cdf882]{padding-top:.05rem;color:grey;font-size:.16rem;word-break:break-all}.container .sectionStatus[data-v-c4cdf882]{text-align:center;padding:1rem 0 .5rem}.container .sectionStatus img[data-v-c4cdf882]{width:1.2rem}.container .sectionStatus h3[data-v-c4cdf882]{padding-top:.3rem;font-size:.18rem;color:#1a1a1a}.container .sectionStatus p[data-v-c4cdf882]{padding-top:.05rem;font-size:.14rem;color:#999}.container .protocol[data-v-c4cdf882]{font-size:.14rem;margin-bottom:.3rem;text-align:center;display:block;color:#0091ff}.container .van-button--primary[data-v-c4cdf882]{margin:.36rem 0 .18rem;background-color:var(--main-color);border:1px solid var(--main-color);color:#fff;font-size:.18rem;height:.5rem;line-height:.52rem;width:90%;margin-left:5%}

+ 0 - 1
dist/css/SignUp.a7eaa079.css

@@ -1 +0,0 @@
-.SignUp[data-v-6c56b174]{max-width:700px;position:relative;overflow-y:auto;overflow-x:hidden;background-color:#fff;margin:0 auto}.container[data-v-6c56b174]{min-height:100vh;background:url(../img/signUpBg.8e6b6a64.png) no-repeat top #f3f4f8;background-size:contain;overflow:hidden}.container h2[data-v-6c56b174]{position:absolute;padding-top:.4rem;color:#fff;font-size:.26rem;font-weight:700;width:2.1rem;text-align:left;margin-left:.16rem}.container .section[data-v-6c56b174]{background:#fff;margin:1.87rem .16rem .15rem;border-radius:.1rem;padding:.22rem}.container .section .title[data-v-6c56b174]{margin-top:.28rem;font-size:.18rem;color:#1a1a1a;font-weight:500}.container .section .content[data-v-6c56b174]{padding-top:.05rem;color:grey;font-size:.16rem;word-break:break-all}.container .sectionStatus[data-v-6c56b174]{text-align:center;padding:1rem 0 .5rem}.container .sectionStatus img[data-v-6c56b174]{width:1.2rem}.container .sectionStatus h3[data-v-6c56b174]{padding-top:.3rem;font-size:.18rem;color:#1a1a1a}.container .sectionStatus p[data-v-6c56b174]{padding-top:.05rem;font-size:.14rem;color:#999}.container .protocol[data-v-6c56b174]{font-size:.14rem;margin-bottom:.3rem;text-align:center;display:block;color:#0091ff}.container .van-button--primary[data-v-6c56b174]{margin:.36rem 0 .18rem;background-color:var(--main-color);border:1px solid var(--main-color);color:#fff;font-size:.18rem;height:.5rem;line-height:.52rem;width:90%;margin-left:5%}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/PaymentResult.1bbaaf1b.js


BIN
dist/js/PaymentResult.1bbaaf1b.js.gz


BIN
dist/js/PaymentResult.ceb27fa7.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/SignUp.55ed1580.js


BIN
dist/js/SignUp.55ed1580.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/SignUp.ab821cb5.js


BIN
dist/js/SignUp.ab821cb5.js.gz


+ 17 - 12
src/views/PaymentResult.vue

@@ -101,18 +101,23 @@ export default {
         window.addEventListener(
             "popstate",
             function(e) {
-                const examId = localStorage.getItem("examId")
-                const organId = localStorage.getItem("organId")
-                // window.location.replace(
-                //     window.location.href.toString().replace(window.location.hash, "") + `#/signUp?examId=${examId}&organId=${organId}`
-                // );
-                that.$router.push({
-                    path: "/signUp",
-                    query: {
-                        examId: examId,
-                        organId: organId
-                    }
-                })
+                const ua = window.navigator.userAgent.toLowerCase()
+                if (ua.match(/MicroMessenger/i) == 'micromessenger') {
+                    WeixinJSBridge.call('closeWindow')
+                } else {
+                    const examId = localStorage.getItem("examId")
+                    const organId = localStorage.getItem("organId")
+                    // window.location.replace(
+                    //     window.location.href.toString().replace(window.location.hash, "") + `#/signUp?examId=${examId}&organId=${organId}`
+                    // );
+                    that.$router.push({
+                        path: "/signUp",
+                        query: {
+                            examId: examId,
+                            organId: organId
+                        }
+                    })
+                }
             },
             false
         );

+ 1 - 1
src/views/signup/SignUp.vue

@@ -3,7 +3,7 @@
         <!-- <m-header /> -->
 		<div v-show="show" class="container" :style="backgroundImg">
 			<h2>{{ baseInfo.posterTitle }}</h2>
-			<div class="section" v-if="baseInfo.transStatus === 'APPLIED'" key="status">
+			<div class="section" v-if="baseInfo.transStatus === 'APPLIED' || baseInfo.transStatus === 'EXAM_ING' || baseInfo.transStatus === 'EXAM_END' || baseInfo.transStatus === 'RESULT_CONFIRM' || baseInfo.transStatus === 'CLOSE'" key="status">
 				<div class="sectionStatus">
 					<img src="../../assets/images/level/sign_over.png" alt="">
 					<h3>您来迟啦,报名已结束~</h3>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.