- 新增camel-oil目录下token、account、order三个iframe页面,展示对应数据 - 在index.html侧边栏添加Apple充值管理菜单及其下的token、账户、订单子菜单 - 在pageController中添加AlipayTokenPage、AlipayAccountPage、AlipayOrderPage页面处理函数 - 新增对应路由,支持跳转至新增的骆驼相关页面 - iframe页面通过参数拼接token和portalHost,动态加载数据展示页面内容
21 lines
352 B
HTML
21 lines
352 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
|
|
<body>
|
|
<iframe src="">
|
|
</iframe>
|
|
</body>
|
|
<style>
|
|
iframe {
|
|
width: 100%;
|
|
height: 90vh;
|
|
}
|
|
</style>
|
|
<script>
|
|
// 构建链接
|
|
const url = "{{.portalHost}}" + "/iframe/camelOilToken?token={{.token}}";
|
|
// 链接添加至到iframe中
|
|
document.getElementsByTagName("iframe")[0].src = url;
|
|
</script>
|
|
|
|
</html> |