Browse Source

修改首页显示问题

lex-xin 4 years ago
parent
commit
f4860e6545

File diff suppressed because it is too large
+ 0 - 0
dist/app.530192a69c8039cb1004.js


BIN
dist/app.530192a69c8039cb1004.js.gz


BIN
dist/app.db3265a6c57e37b963e2.js.gz


+ 0 - 1
dist/css/SignUp.7dc1e91b.css

@@ -1 +0,0 @@
-.SignUp[data-v-c9ccd8ac]{height:100vh;max-width:700px;position:relative;overflow-y:auto;overflow-x:hidden;background-color:#fff;margin:0 auto}.container[data-v-c9ccd8ac]{min-height:100vh;background:url(../img/signUpBg.e551d4ac.png) no-repeat top #f3f4f8;background-size:contain;overflow:hidden}.container h2[data-v-c9ccd8ac]{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-c9ccd8ac]{background:#fff;margin:2.2rem .16rem 0;border-radius:.1rem;padding:.22rem}.container .section .title[data-v-c9ccd8ac]{margin-top:.28rem;font-size:.18rem;color:#1a1a1a}.container .section .content[data-v-c9ccd8ac]{padding-top:.05rem;color:grey;font-size:.16rem}.container .protocol[data-v-c9ccd8ac]{font-size:.14rem;margin-bottom:.3rem;text-align:center;display:block;color:#0091ff}.container .van-button--primary[data-v-c9ccd8ac]{margin:.35rem 0 .1rem;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%}

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

@@ -0,0 +1 @@
+.SignUp[data-v-36776ff3]{max-width:700px;position:relative;overflow-y:auto;overflow-x:hidden;background-color:#fff;margin:0 auto}.container[data-v-36776ff3]{min-height:100vh;background:url(../img/signUpBg.e551d4ac.png) no-repeat top #f3f4f8;background-size:contain;overflow:hidden}.container h2[data-v-36776ff3]{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-36776ff3]{background:#fff;margin:2.2rem .16rem 0;border-radius:.1rem;padding:.22rem}.container .section .title[data-v-36776ff3]{margin-top:.28rem;font-size:.18rem;color:#1a1a1a}.container .section .content[data-v-36776ff3]{padding-top:.05rem;color:grey;font-size:.16rem}.container .protocol[data-v-36776ff3]{font-size:.14rem;margin-bottom:.3rem;text-align:center;display:block;color:#0091ff}.container .van-button--primary[data-v-36776ff3]{margin:.35rem 0 .1rem;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%}

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/js/SignUp.1d462d9d.js


BIN
dist/js/SignUp.1d462d9d.js.gz


File diff suppressed because it is too large
+ 0 - 0
dist/js/SignUp.2f6fb591.js


BIN
dist/js/SignUp.2f6fb591.js.gz


+ 2 - 3
src/views/signup/SignUp.vue

@@ -78,8 +78,8 @@ export default {
 					let tempData = res.data.data
 					let tempStatus = false
 					const nowTime = +new Date(),
-						startTime = +new Date(tempData.enrollStartTime),
-						endTime = +new Date(tempData.enrollEndTime)
+						startTime = +new Date(dayjs(tempData.enrollStartTime)),
+						endTime = +new Date(dayjs(tempData.enrollEndTime))
 					// (未开始 || 报名中) && 在报名时间范围内则可以报名
 					if((tempData.status == "NOT_START" || tempData.status == "APPLYING") && nowTime >= startTime && nowTime <= endTime) {
 						tempStatus = true
@@ -127,7 +127,6 @@ export default {
 </script>
 <style lang="less" scoped>
 .SignUp {
-	height: 100vh;
 	max-width: 700px;
 	position: relative;
     overflow-y: auto;

Some files were not shown because too many files changed in this diff