- 修改首页菜单,恢复并增强骆驼token管理模块,增加提前拉单管理入口 - 新增AlipayPrefetchPage处理器,提供提前拉单管理页面数据支持 - 添加对应路由/jd-alipay-prefetch.html - 创建camelOilPrefetch.html页面,嵌入iframe展示提前拉单内容 - 通过token参数和portalHost动态构建iframe地址完成认证和展示
21 lines
355 B
HTML
21 lines
355 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
|
|
<body>
|
|
<iframe src="">
|
|
</iframe>
|
|
</body>
|
|
<style>
|
|
iframe {
|
|
width: 100%;
|
|
height: 90vh;
|
|
}
|
|
</style>
|
|
<script>
|
|
// 构建链接
|
|
const url = "{{.portalHost}}" + "/iframe/camelOilPrefetch?token={{.token}}";
|
|
// 链接添加至到iframe中
|
|
document.getElementsByTagName("iframe")[0].src = url;
|
|
</script>
|
|
|
|
</html> |