task#13769,答题完成,弹窗提示优化
This commit is contained in:
@ -28,8 +28,8 @@
|
|||||||
<div class="empty" v-show="showEmpty">
|
<div class="empty" v-show="showEmpty">
|
||||||
<img src="@/assets/empty.png" />
|
<img src="@/assets/empty.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="poupWrap" v-if="showPoup">
|
<div class="poupCommon" v-if="showPoup">
|
||||||
<div class="container">
|
<div class="container showPoupContainer">
|
||||||
<div class="con">
|
<div class="con">
|
||||||
<div class="title">培训提醒</div>
|
<div class="title">培训提醒</div>
|
||||||
<div class="content">欢迎使用中道供应商APP。请您先完成培训,阅读文章,并问答相应问题。完成后即可正常使用APP。祝您使用愉快!</div>
|
<div class="content">欢迎使用中道供应商APP。请您先完成培训,阅读文章,并问答相应问题。完成后即可正常使用APP。祝您使用愉快!</div>
|
||||||
@ -41,8 +41,8 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="poupWrap" v-if="isFinished">
|
<div class="poupCommon" v-if="isFinished">
|
||||||
<div class="container">
|
<div class="container finishContainer">
|
||||||
<div class="con">
|
<div class="con">
|
||||||
<div class="title">提示</div>
|
<div class="title">提示</div>
|
||||||
<div class="content">恭喜您,您已经全部完成培训!现在您可以正常使用我们的app,请前往体验。</div>
|
<div class="content">恭喜您,您已经全部完成培训!现在您可以正常使用我们的app,请前往体验。</div>
|
||||||
@ -78,6 +78,8 @@ export default {
|
|||||||
isLoading:false,
|
isLoading:false,
|
||||||
showPoup:true,//进入弹框
|
showPoup:true,//进入弹框
|
||||||
isFinished:false,
|
isFinished:false,
|
||||||
|
// showPoup:false,//进入弹框
|
||||||
|
// isFinished:true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -170,18 +172,33 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
.poupWrap{
|
.poupCommon{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(0,0,0,.7);
|
background-color: rgba(0,0,0,.7);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
.showPoupContainer{
|
||||||
|
height: 310px;
|
||||||
|
background-size: 320px 310px;
|
||||||
|
.content{
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
.btnWrap{
|
||||||
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.finishContainer{
|
||||||
|
height: 260px;
|
||||||
|
background-size: 320px 260px;
|
||||||
|
.con{
|
||||||
|
top: 80px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
.container{
|
.container{
|
||||||
width: 320px;
|
width: 320px;
|
||||||
height: 310px;
|
|
||||||
background-image: url("@/assets/trainBg.png");
|
background-image: url("@/assets/trainBg.png");
|
||||||
background-size: 320px 310px;
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -213,7 +230,6 @@ export default {
|
|||||||
line-height: 23px;
|
line-height: 23px;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
margin-bottom: 20px;
|
|
||||||
margin-left: 35px;
|
margin-left: 35px;
|
||||||
}
|
}
|
||||||
.line{
|
.line{
|
||||||
@ -227,7 +243,6 @@ export default {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
margin-top: 6px;
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
.closeBtn{
|
.closeBtn{
|
||||||
@ -243,4 +258,77 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//.poupWrap{
|
||||||
|
// width: 100%;
|
||||||
|
// height: 100%;
|
||||||
|
// background-color: rgba(0,0,0,.7);
|
||||||
|
// position: absolute;
|
||||||
|
// top: 0;
|
||||||
|
// left: 0;
|
||||||
|
// .container{
|
||||||
|
// width: 320px;
|
||||||
|
// height: 310px;
|
||||||
|
// background-image: url("@/assets/trainBg.png");
|
||||||
|
// background-size: 320px 310px;
|
||||||
|
// background-repeat: no-repeat;
|
||||||
|
// position: absolute;
|
||||||
|
// top: 0;
|
||||||
|
// bottom: 0;
|
||||||
|
// left: 0;
|
||||||
|
// right: 0;
|
||||||
|
// margin: auto;
|
||||||
|
// .con{
|
||||||
|
// position: absolute;
|
||||||
|
// top: 100px;
|
||||||
|
// left: 20px;
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
// .title{
|
||||||
|
// font-weight: bold;
|
||||||
|
// font-size: 19px;
|
||||||
|
// color: #3364B7;
|
||||||
|
// line-height: 26px;
|
||||||
|
// width: 70%;
|
||||||
|
// margin-left: 35px;
|
||||||
|
// text-align: center;
|
||||||
|
// }
|
||||||
|
// .content{
|
||||||
|
// width: 70%;
|
||||||
|
// height: 92px;
|
||||||
|
// font-size: 14px;
|
||||||
|
// color: #4C5361;
|
||||||
|
// line-height: 23px;
|
||||||
|
// text-align: justify;
|
||||||
|
// margin-top: 8px;
|
||||||
|
// margin-bottom: 20px;
|
||||||
|
// margin-left: 35px;
|
||||||
|
// }
|
||||||
|
// .line{
|
||||||
|
// width: 285px;
|
||||||
|
// height: 1px;
|
||||||
|
// border-bottom: 1px solid #F1F2F5;
|
||||||
|
// }
|
||||||
|
// .btnWrap{
|
||||||
|
// width: 92%;
|
||||||
|
// font-weight: bold;
|
||||||
|
// font-size: 13px;
|
||||||
|
// display: flex;
|
||||||
|
// justify-content: space-around;
|
||||||
|
// margin-top: 6px;
|
||||||
|
// height: 40px;
|
||||||
|
// line-height: 40px;
|
||||||
|
// .closeBtn{
|
||||||
|
// color: #999B9F;
|
||||||
|
// }
|
||||||
|
// .line{
|
||||||
|
// width: 1px;
|
||||||
|
// height: 48px;
|
||||||
|
// border-right: 1px solid #F1F2F5;
|
||||||
|
// }
|
||||||
|
// .nextBtn{
|
||||||
|
// color: #3364B7;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//}
|
||||||
</style>
|
</style>
|
||||||
|
Reference in New Issue
Block a user