
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 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')"><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">1. see the picture</p>
<button><img src="../../../../resources/img/btn10_s.png" alt="">
</button>
</div>
<div class="flex align-center justify-center" style="gap: 113px;">
<div class="time-bg">
<div>
<div class="time">
<p class="second">{{ timer }}</p>
<p class="text">sec</p>
</div>
</div>
</div>
<div class="pickGroup ">
<div class="flex" style="gap: 250px;">
<article class="text-ct">
<div class="mb30"><img src="../../../../resources/img/img107_50s.png" alt=""></div>
<button class="popTxt"><img src="../../../../resources/img/img136_71s.png" alt="">
<img style="display: none;" src="../../../../resources/img/img137_71s.png" alt="">
</button>
</article>
<article class="text-ct" >
<div class="mb30"><img src="../../../../resources/img/img108_50s.png" alt=""></div>
<button class="popTxt"><img src="../../../../resources/img/img136_71s.png" alt="">
<img style="display: none;" src="../../../../resources/img/img137_71s.png" alt="">
</button>
</article>
</div>
</div>
</div>
</div>
<div class="next-btn" @click="goToPage('Chapter3_2')"><img src="../../../../resources/img/right.png" alt=""></div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
timer:'00'
}
},
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);
}
},
watch: {
},
computed: {
},
components: {
},
mounted() {
}
}
</script>
<style scoped>
.imgGroup{width: fit-content;}
.imgGroup button {
position: relative;
}
.imgGroup button p,
.textbox p {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: fit-content;
height: fit-content;
background: #ffffffb8;
border-radius: 5px;
padding: 10px;
font-size: 48px;
font-family: 'ONEMobilePOP';
}
.pickGroup button {
position: relative;
margin-right: 30px;
}
.pickGroup button p {
font-size: 34px;
color: #c6c6c6;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>