yanderong
2026-07-11 5479370052eebd922169e739dd48869ef9bcac46
feat: 分公司订单数量不能为空,登陆后不进入导航和可视化
1个文件已修改
36 ■■■■■ 已修改文件
ManagementYKDTravel/guns-admin/src/main/webapp/WEB-INF/view/system/embedded/iframe.html 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ManagementYKDTravel/guns-admin/src/main/webapp/WEB-INF/view/system/embedded/iframe.html
@@ -18,15 +18,47 @@
        .embedded-frame {
            display: block;
            width: 100%;
            height: 100vh;
            height: calc(100vh - 56px);
            border: 0;
        }
        .bottom-toolbar {
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 12px;
            box-sizing: border-box;
            border-top: 1px solid #e5e5e5;
            background: #fff;
        }
        .share-btn {
            height: 36px;
            padding: 0 20px;
            border: 0;
            border-radius: 4px;
            background: #1677ff;
            color: #fff;
            cursor: pointer;
            font-size: 14px;
        }
        .share-btn:hover {
            background: #4096ff;
        }
    </style>
</head>
<body>
<iframe class="embedded-frame" src="${iframeSrc}" frameborder="0" seamless></iframe>
<div class="bottom-toolbar">
    <button class="share-btn" id="sharePageBtn" type="button">分享页面</button>
</div>
<script>
    window.open("${iframeSrc}", "_blank");
    document.getElementById("sharePageBtn").onclick = function () {
        window.open("${iframeSrc}", "_blank", "noopener,noreferrer");
    };
</script>
</body>
</html>