
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<template>
<div id="Chapter1_1" class="content-wrap">
<div style="margin: 30px 0px 50px; width: 20%">
<router-link to="/MyPlan.page">
<div class="logo mb25"><img src="../../../../resources/img/logo2.png" alt="" /></div>
</router-link>
</div>
<div class="title-box mb25 flex align-center mt40">
<span class="title mr40">1. Hello WORLD</span>
<span class="subtitle">my name is dd</span>
</div>
<div class="flex justify-between align-center">
<div class="pre-btn" @click="goToPage('Chapter3_10')"><img src="../../../../resources/img/left.png" alt="" /></div>
<div class="content title-box">
<p class="title mt25 title-bg">step3.</p>
<div class="flex align-center mb30">
<p class="subtitle2 mr20">그림을 보고 빈칸을 채우세요.</p>
<!-- <button><img src="../../../../resources/img/btn10_s.png" alt="">
</button> -->
</div>
<div class="text-ct">
<div class="time-hint">
<button class="hint-btn">HINT</button>
<div class="time-bg mt20">
<div>
<div class="time">
<p class="second">{{ timer }}</p>
<p class="text">sec</p>
</div>
</div>
</div>
</div>
<div class="imgGroup mt20">
<img src="../../../../resources/img/img115_58s.png" alt="" />
<!-- <p class="title1 mt10"><strong>진수가 거절한 제안</strong>은 무엇인지 우리말로 쓰세요.</p> -->
<div class="mt50 flex justify-center" style="gap: 50px">
<input class="yellow-bd" type="text" v-model="answer1" />
<p class="title3">e</p>
<input class="yellow-bd" type="text" v-model="answer2" />
</div>
</div>
</div>
<button class="submit-button" @click="handleSubmit()">제출하기</button>
</div>
<div class="next-btn" @click="goToPage('Chapter3_12')"><img src="../../../../resources/img/right.png" alt="" /></div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
timer: "00",
answer1: null,
answer2: null,
text: "e",
};
},
methods: {
goToPage(page) {
this.$router.push({ name: page });
},
startTimer() {
if (this.intervalId) {
clearInterval(this.intervalId);
}
this.timer = 5;
this.intervalId = setInterval(() => {
if (this.timer > 0) {
this.timer--;
} else {
clearInterval(this.intervalId);
}
}, 1000);
},
handleSubmit() {
let answer = this.answer1 + this.text + this.answer2;
console.log("정답 : ", answer);
this.answer1 = null;
this.answer2 = null;
},
},
watch: {},
computed: {},
components: {},
mounted() {},
};
</script>
<style scoped>
input.yellow-bd {
width: 76px;
}
.dropGroup button {
position: relative;
}
.dropGroup button p {
font-size: 48px;
}
.dragGroup {
background-color: #f2f4f8;
padding: 30px 50px;
width: max-content;
border-radius: 20px;
}
.dragGroup button p {
font-size: 48px;
}
.submit-button {
position: absolute;
background-color: #ffba08;
padding: 10px 30px;
border-radius: 10px;
font-size: 28px;
font-family: "ONEMobilePOPOTF";
right: 5rem;
bottom: 3rem;
}
</style>