|  | @@ -106,6 +106,9 @@ export default {
 | 
											
												
													
														|  |        realStatus: this.$store.getters.realStatus || 0, // 实名状态(0-未认证 1-认证中 2-认证通过 3-认证失败)
 |  |        realStatus: this.$store.getters.realStatus || 0, // 实名状态(0-未认证 1-认证中 2-认证通过 3-认证失败)
 | 
											
												
													
														|  |        userRole: sessionStorage.getItem('userRole'), // 用户角色(0-游客 1-设计师 2-owner 3-评委)
 |  |        userRole: sessionStorage.getItem('userRole'), // 用户角色(0-游客 1-设计师 2-owner 3-评委)
 | 
											
												
													
														|  |        showView: true,
 |  |        showView: true,
 | 
											
												
													
														|  | 
 |  | +      cansaitime:'',
 | 
											
												
													
														|  | 
 |  | +      appleStime:Number,
 | 
											
												
													
														|  | 
 |  | +      newtime: Number,
 | 
											
												
													
														|  |        megagameId: '',
 |  |        megagameId: '',
 | 
											
												
													
														|  |        uid: '',
 |  |        uid: '',
 | 
											
												
													
														|  |        tableData: [{
 |  |        tableData: [{
 | 
											
										
											
												
													
														|  | @@ -143,16 +146,27 @@ export default {
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |        request(params)
 |  |        request(params)
 | 
											
												
													
														|  |          .then((res) => {
 |  |          .then((res) => {
 | 
											
												
													
														|  | -          this.megagameId = res.megagameId
 |  | 
 | 
											
												
													
														|  | 
 |  | +          this.megagameId = res.megagameId;
 | 
											
												
													
														|  | 
 |  | +          this.cansaitime=res.appleStime;
 | 
											
												
													
														|  |            // this.uid=res.uid;
 |  |            // this.uid=res.uid;
 | 
											
												
													
														|  |          })
 |  |          })
 | 
											
												
													
														|  |          .catch((err) => {})
 |  |          .catch((err) => {})
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +shijiantime(times) {
 | 
											
												
													
														|  | 
 |  | +      var timearr = times.replace(' ', ':').replace(/\:/g, '-').split('-')
 | 
											
												
													
														|  | 
 |  | +      var timestr = '' + timearr[0] + '-' + timearr[1] + '-' + timearr[2]
 | 
											
												
													
														|  | 
 |  | +      return timestr
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |      canjia() {
 |  |      canjia() {
 | 
											
												
													
														|  |        let loginStatus = this.$store.getters.loginStatus
 |  |        let loginStatus = this.$store.getters.loginStatus
 | 
											
												
													
														|  | 
 |  | +          var myDate = new Date()
 | 
											
												
													
														|  | 
 |  | +          this.newtime = myDate.getTime(myDate)
 | 
											
												
													
														|  | 
 |  | +         this.cansaitime = this.shijiantime( this.cansaitime) 
 | 
											
												
													
														|  | 
 |  | +           let time=new Date( this.cansaitime);
 | 
											
												
													
														|  | 
 |  | +           this.appleStime=time.getTime(time);
 | 
											
												
													
														|  |        if (loginStatus) {
 |  |        if (loginStatus) {
 | 
											
												
													
														|  | -        // 判断子账户是否实名
 |  | 
 | 
											
												
													
														|  | 
 |  | +          if( this.newtime>this.appleStime){
 | 
											
												
													
														|  | 
 |  | +       // 判断子账户是否实名
 | 
											
												
													
														|  |          if (this.userType == 2 || this.realStatus == 2) {
 |  |          if (this.userType == 2 || this.realStatus == 2) {
 | 
											
												
													
														|  |            this.noentry()
 |  |            this.noentry()
 | 
											
												
													
														|  |          } else {
 |  |          } else {
 | 
											
										
											
												
													
														|  | @@ -160,6 +174,9 @@ export default {
 | 
											
												
													
														|  |            this.$message.error('请先去实名制')
 |  |            this.$message.error('请先去实名制')
 | 
											
												
													
														|  |            // this.$router.replace(`/userLayout/real`)
 |  |            // this.$router.replace(`/userLayout/real`)
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | 
 |  | +      }else{
 | 
											
												
													
														|  | 
 |  | +          this.$message.error('比赛还没开始')
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  |        } else {
 |  |        } else {
 | 
											
												
													
														|  |          this.$message.error('请先登录')
 |  |          this.$message.error('请先登录')
 | 
											
												
													
														|  |        }
 |  |        }
 |