
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_12')"><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="flex justify-center ">
<div class=" flex justify-between align-center" style="width: 50%;">
<div class="pickGroup left">
<div>
<article class="flex align-center justify-between mb20" style="gap: 60px;">
<img src="../../../../resources/img/img121_62s.png" alt="">
<div >
<button class="blue-c">
</button>
</div>
</article>
<article class="flex align-center justify-between mb20" style="gap: 60px;">
<img src="../../../../resources/img/img122_62s.png" alt="">
<div >
<button class="blue-c">
</button>
</div>
</article>
<article class="flex align-center justify-between mb20" style="gap: 60px;">
<img src="../../../../resources/img/img123_62s.png" alt="">
<div class="flex">
<button class="blue-c">
</button>
</div>
</article>
</div>
</div>
<div class="pickGroup right">
<div>
<article class="flex align-center justify-between mb20" style="gap: 60px;">
<div class="flex">
<button class="blue-c">
</button>
</div>
<img src="../../../../resources/img/img121_62s.png" alt="">
</article>
<article class="flex align-center justify-between mb20" style="gap: 60px;">
<div class="flex">
<button class="blue-c">
</button>
</div>
<img src="../../../../resources/img/img122_62s.png" alt="">
</article>
<article class="flex align-center justify-between mb20" style="gap: 60px;">
<div class="flex">
<button class="blue-c">
</button>
</div>
<img src="../../../../resources/img/img123_62s.png" alt="">
</article>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="next-btn" @click="goToPage('Chapter3_14')"><img src="../../../../resources/img/right.png" alt=""></div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
timer: '00',
showButton1: false,
showButton2: false,
showButton3: false,
showButton4: false,
}
},
methods: {
goToPage(page) {
this.$router.push({ name: page });
},
handleDrag(dragNumber) {
// Drag 버튼 숨기기
// 여기서는 상태 관리를 통해 버튼을 제어합니다.
if (dragNumber === 1) {
this.showButton1 = false;
} else if (dragNumber === 2) {
this.showButton2 = false;
} else if (dragNumber === 3) {
this.showButton3 = false;
}
},
showButton(dropNumber) {
// Drop 영역의 이미지 클릭 이벤트 핸들러 설정
// 여기서는 상태 관리를 통해 버튼을 보이게 합니다.
if (dropNumber === 1) {
this.showButton1 = true;
} else if (dropNumber === 2) {
this.showButton2 = true;
} else if (dropNumber === 3) {
this.showButton3 = true;
} else if (dropNumber === 4) {
this.showButton4 = true;
}
},
startTimer() {
if (this.intervalId) {
clearInterval(this.intervalId);
}
this.timer = 5;
this.intervalId = setInterval(() => {
if (this.timer > 0) {
this.timer--;
} else {
clearInterval(this.intervalId);
}
}, 1000);
}
},
watch: {
},
computed: {
},
components: {
},
mounted() {
}
}
</script>
<style scoped>
.textbox {height: 60px;}
.textbox p{font-size: 28px; font-weight: bold; line-height: 65px;}
.dropGroup button {
position: relative;
}
.dropGroup button p {
font-size: 48px;
}
.dragGroup button p {
font-size: 48px;
}
</style>