diff --git a/public/index.html b/public/index.html index 9cc0ad1..a19b8c3 100644 --- a/public/index.html +++ b/public/index.html @@ -23,6 +23,15 @@ localStorage.setItem('id_token_puzzle', token) } + diff --git a/src/assets/styles/common.css b/src/assets/styles/common.css index e2132f9..515fa66 100644 --- a/src/assets/styles/common.css +++ b/src/assets/styles/common.css @@ -7,7 +7,8 @@ html, body { - overflow: hidden; + overflow-x: hidden; + overflow-y: scroll; width: 100%; height: 100%; position: absolute; diff --git a/src/store/result.js b/src/store/result.js index 540f17f..200e06b 100644 --- a/src/store/result.js +++ b/src/store/result.js @@ -28,7 +28,7 @@ const initialState = { first_flag: 'unlock', second_flag: 'lock', third_flag: 'lock', - fourth_flag: 'lock', + fourth_flag: 'unlock', current_pass: null, default_pass: 'first', user_time: 0, diff --git a/src/views/fourth.vue b/src/views/fourth.vue index a491565..d19d124 100644 --- a/src/views/fourth.vue +++ b/src/views/fourth.vue @@ -167,9 +167,12 @@ export default { } }, successIF(a, b) { - for (var i = 0; i < this.num; i++) { - for (var j = 0; j < this.num; j++) { - if (!(a[i][j] === b[i][j])) { + if(!(a[0][3] === b[0][3])){ + return false; + } + for (var i = 0; i < this.num; i++) { + for (var j = 5; j < this.num; j++) { + if (!(i==2&&j==4)&&!(a[i][j] === b[i][j])) { return false; } } diff --git a/src/views/home.vue b/src/views/home.vue index 80b558f..2009039 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -38,7 +38,7 @@ export default { // height: 1207px; height: 100%; background-image: url("../assets/img/home/home_bg.jpg"); - background-repeat: repeat-y; + background-repeat: repeat; background-position: 0% 0%; background-size: contain; .btn {