Browse Source

hiddenegg fix

master
gsd 1 year ago
parent
commit
4a1eaefc78
  1. 9
      src/components/Others/HiddenEgg.vue

9
src/components/Others/HiddenEgg.vue

@ -1,5 +1,5 @@
<template> <template>
<div :style="getBackgroundStyle()" v-if="user_input === `upupdowndownleftrightleftrightba`"> <div :style="getBackgroundStyle()" v-if="showme === true">
<div class="md-layout md-alignment-top-center"> <div class="md-layout md-alignment-top-center">
<div class="md-layout-item md-size-40"> <div class="md-layout-item md-size-40">
<img style="float: right; z-index: 1;padding-top: 15%" :src="require('@/assets/images/hiddenegg/styletext.png')"> <img style="float: right; z-index: 1;padding-top: 15%" :src="require('@/assets/images/hiddenegg/styletext.png')">
@ -48,7 +48,8 @@ export default {
components: {Devochka}, components: {Devochka},
data: () => ({ data: () => ({
player_string:"", player_string:"",
user_input:"" user_input:"",
showme:false
}), }),
props: { props: {
}, },
@ -88,6 +89,10 @@ export default {
case "ArrowRight": {this.user_input += "right"; break} case "ArrowRight": {this.user_input += "right"; break}
default: {this.user_input = ""; break} default: {this.user_input = ""; break}
} }
//ВИТАЛЯ ПОШЕЛ НАХУЙ
if (this.user_input === `upupdowndownleftrightleftrightba`) {
this.showme = true;
}
} }
}, },
created() { created() {

Loading…
Cancel
Save