Commit 4100783e authored by wangwei's avatar wangwei

星星系统

parent 7247dadf
<template> <template>
<div class="nofinish-block" :style="{backgroundImage:`url('${noFinishBg}')`}"> <div class="nofinish-block" :style="{backgroundImage:`url('${noFinishBg}')`}">
<div class="title">
学习还未完成
</div>
<div class="desc">
书山有路勤为径 学海无涯苦作舟
</div>
<div class="go-on"> <div class="go-on">
继续学习 继续学习
</div> </div>
...@@ -25,9 +30,32 @@ ...@@ -25,9 +30,32 @@
width: 235*@toVw; width: 235*@toVw;
height: 270*@toVw; height: 270*@toVw;
position: relative; position: relative;
background-size: 100% 100%;
text-align: center;
color: white;
.title{
font-size:28*@toVw;
font-family:PingFang-SC-Bold;
font-weight:bold;
padding-top: 40*@toVw;
}
.desc{
font-size:14*@toVw;
margin-top: 5*@toVw;
font-family:PingFang-SC-Medium;
font-weight:500;
}
.go-on{ .go-on{
position: absolute; position: absolute;
; background: #FCD900 ;
font-size: 16*@toVw;
color: white;
bottom: -25*@toVw;
left: 50%;
margin-left: -75*@toVw;
font-family:PingFang-SC-Bold;
padding:15*@toVw 45*@toVw;
border-radius: 200*@toVw;
} }
} }
</style> </style>
...@@ -34,11 +34,14 @@ ...@@ -34,11 +34,14 @@
</div> </div>
</div> </div>
<div class="finish-block" v-if="nowShow === 3"> <div class="finish-block" v-if="nowShow === 3">
<img :src="finishStuat"> <img :src="finishStuat" @click="finishStudy">
</div> </div>
</div> </div>
<mt-popup> <mt-popup
<no-finish-dia/> v-model="popupVisible" style="background: transparent">
<div @click="popupVisible=false">
<no-finish-dia/>
</div>
</mt-popup> </mt-popup>
<guide-block/> <guide-block/>
</div> </div>
...@@ -61,6 +64,7 @@ ...@@ -61,6 +64,7 @@
data(){ data(){
return{ return{
finishStuat:finishStuat, finishStuat:finishStuat,
popupVisible:true,
ageShow:false, ageShow:false,
showObj:{ showObj:{
video:[], video:[],
...@@ -82,6 +86,9 @@ ...@@ -82,6 +86,9 @@
this.changeAge(this.contentData.age) this.changeAge(this.contentData.age)
}, },
methods:{ methods:{
finishStudy(){
this.popupVisible = true
},
videoEnd(event){ videoEnd(event){
event.srcElement.play() event.srcElement.play()
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment