task#13728, 新人培训进入弹框更改

This commit is contained in:
2024-05-15 11:53:00 +08:00
parent 5dd995d82d
commit b120960c80
2 changed files with 72 additions and 27 deletions

BIN
src/assets/trainBg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -24,17 +24,22 @@
</template> </template>
</div> </div>
</van-pull-refresh> </van-pull-refresh>
<van-popup v-model="showPoup" class="poupWrap">
<div class="wrap">
<div class="title">培训提醒</div>
<div class="content">欢迎使用中道供应商APP请您先完成培训阅读文章并问答相应问题完成后即可正常使用APP祝您使用愉快!</div>
<div class="btn" @click="showPoup = false">确定</div>
</div>
</van-popup>
</div> </div>
<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="container">
<div class="title">培训提醒</div>
<div class="content">欢迎使用中道供应商APP请您先完成培训阅读文章并问答相应问题完成后即可正常使用APP祝您使用愉快!</div>
<div class="line"></div>
<div class="btnWrap">
<div class="closeBtn" @click="showPoup = false">关闭</div>
<div class="line"></div>
<div class="nextBtn" @click="showPoup = false">前往</div>
</div>
</div>
</div>
</div> </div>
</template> </template>
@ -137,30 +142,70 @@ export default {
margin-right: 8px; margin-right: 8px;
text-align: right text-align: right
} }
.poupWrap{
box-sizing: border-box;
width: 75%;
padding:15px 20px;
border-radius: 8px;
height: 160px;
.wrap{ .wrap{
display: flex; position: relative;
flex-direction: column; }
justify-content: space-between; .poupWrap{
align-items: center; position: absolute;
background-color: #FFFFFF; width: 320px;
height: 310px;
background-image: url("@/assets/trainBg.png");
background-size: 320px 310px;
background-repeat: no-repeat;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
.container{
position: absolute;
top: 100px;
left: 20px;
.title{ .title{
font-weight: bold; font-weight: bold;
} font-size: 19px;
.btn{ color: #3364B7;
width: 100%; line-height: 26px;
height: 30px; width: 70%;
line-height: 30px; margin-left: 35px;
text-align: center; text-align: center;
background-color: #2A5094; }
border-radius: 15px; .content{
color: #FFFFFF; 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;
}
} }
} }
} }