fix:重新报名弹窗样式重写

This commit is contained in:
zxj
2025-11-18 20:08:01 +08:00
parent 6b5c6c2ba9
commit d307356570

View File

@@ -405,10 +405,10 @@ export default {
}
},
async returnEnroll() {
this.$confirm("是否重新报名社招新员工项目", {
this.$confirm("是否重新报名社招新员工项目?", {
title: "报名确认",
type: "warning",
customClass: "confirm",
customClass: "returnEnroll",
}).then(async () => {
const res = await enrollRequest();
if (res.data.sendToOaSuccess != 0) {
@@ -846,13 +846,16 @@ export default {
</style>
<style lang="scss">
.confirm {
width: 420px;
.returnEnroll {
width: 380px;
height: auto;
.el-message-box__header {
display: block;
position: relative;
padding: 15px 15px 10px;
.el-message-box__title {
font-size: 16px;
}
}
.el-message-box__content {
padding: 10px 15px;
@@ -861,6 +864,11 @@ export default {
text-align: left;
font-weight: 500;
margin-top: 0px;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
Microsoft YaHei, SimSun, sans-serif;
}
.el-message-box__status {
display: block;
}
.el-message-box__btns {
padding: 5px 15px 0;
@@ -874,6 +882,9 @@ export default {
height: auto;
}
}
.el-message-box__btns button:nth-child(2) {
margin-left: 10px;
}
}
</style>