LOGO 首页 OA教程 ERP教程 模切知识交流 PMS教程 CRM教程 技术文档 其他文档  
 
网站管理员

【Web开发】弹窗HTML源码

admin
2026年8月17日 18:7 本文热度 129

<!DOCTYPE html>

<html lang="zh-CN">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>成功提示弹窗‑横向布局</title>

<style>

*{margin:0;padding:0;box-sizing:border-box;}

body{

    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

    background:#44484c;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:100vh;

}

/*遮罩层*/

.modal-mask{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,0.45);

    display:flex;

    align-items:center;

    justify-content:center;

}

/*弹窗主体 横向布局*/

.modal-success{

    width:520px;

    background:#ffffff;

    border-radius:16px;

    padding:26px 30px;

    box-shadow:0 14px 32px rgba(0,0,0,0.12);

    display:flex;

    align-items:center;

    gap:20px;

}

/*左侧绿色对勾图标*/

.modal-icon-wrap{

    width:52px;

    height:52px;

    border-radius:50%;

    background:rgba(0,180,104,0.12);

    display:flex;

    align-items:center;

    justify-content:center;

    flex‑shrink:0;

}

.modal-icon{

    color:#00b468;

    font-size:28px;

    font-weight:bold;

}

/*中间文字区域*/

.modal-text-wrap{

    flex:1;

}

.modal-title{

    font-size:17px;

    font-weight:600;

    color:#1d2129;

    margin-bottom:4px;

}

.modal-desc{

   

    color:#4e5969;

}

/*右侧按钮*/

.modal-btn-wrap{

    flex‑shrink:0;

}

.btn-confirm{

    min-width:104px;

    padding:10px 22px;

    background:#165DFF;

    color:#fff;

    border:none;

    border-radius:9px;

   

    cursor:pointer;

    transition:0.2s ease;

}

.btn-confirm:hover{

    background:#0e4bdb;

}

</style>

</head>

<body>

<div class="modal-mask">

    <div class="modal-success">

        <!--左侧成功图标-->

        <div class="modal-icon-wrap">

            <div class="modal-icon">✓</div>

        </div>

        <!--中间文字区域-->

        <div class="modal-text-wrap">

            <div class="modal-title">操作成功</div>

            <div class="modal-desc">好友申请已发送</div>

        </div>

        <!--右侧确定按钮-->

        <div class="modal-btn-wrap">

            <button class="btn-confirm">确定</button>

        </div>

    </div>

</div>

</body>

</html>


阅读原文:点击这里


该文章在 2026/8/17 18:07:08 编辑过
关键字查询
相关文章
正在查询...
点晴ERP是一款针对中小制造业的专业生产管理软件系统,系统成熟度和易用性得到了国内大量中小企业的青睐。
点晴PMS码头管理系统主要针对港口码头集装箱与散货日常运作、调度、堆场、车队、财务费用、相关报表等业务管理,结合码头的业务特点,围绕调度、堆场作业而开发的。集技术的先进性、管理的有效性于一体,是物流码头及其他港口类企业的高效ERP管理信息系统。
点晴WMS仓储管理系统提供了货物产品管理,销售管理,采购管理,仓储管理,仓库管理,保质期管理,货位管理,库位管理,生产管理,WMS管理系统,标签打印,条形码,二维码管理,批号管理软件。
点晴免费OA是一款软件和通用服务都免费,不限功能、不限时间、不限用户的免费OA协同办公管理系统。
Copyright 2010-2026 ClickSun All Rights Reserved  粤ICP备13012886号-1  粤公网安备44030602007207号