Files
kami_boss/views/walmart-card/account.html
danial 21aee3f08a refactor(walmart-card): 更新沃尔玛充值页面路由和 iframe URL
- 修改 account.html 和 order.html 中的 iframe URL,将 JD 替换为 Walmart
- 更新 router_pages.go 中的路由配置,将 JDAccountPage 和 JDOrderPage 替换为 WalmartAccountPage 和 WalmartOrderPage
2025-01-13 21:32:11 +08:00

19 lines
371 B
HTML

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