Files
kami_boss/views/walmart-card/group.html
danial 4db18969d3 feat(page): 新增沃尔玛分组页面及相关路由
- 在 PageAuthController 中添加了 WalmartGroupPage 方法,用于处理沃尔玛分组页面的逻辑。
- 在 router_pages.go 中新增了对应的路由配置。
- 新增了 group.html 文件,构建了沃尔玛分组页面的基本结构和 iframe 加载逻辑。
- 更新了 index.html 文件,调整了模态框的结构和样式,确保用户体验更佳。
2025-04-26 22:57:14 +08:00

21 lines
379 B
HTML

<!DOCTYPE html>
<html lang="zh">
<body>
<iframe src="">
</iframe>
</body>
<style>
iframe {
width: 100%;
height: 90vh;
}
</style>
<script>
// 构建链接
const url = "{{.portalHost}}" + "/iframe/WalmartGroup?token={{.token}}";
// 链接添加至到iframe中
document.getElementsByTagName("iframe")[0].src = url;
</script>
</html>