@zhangzhen
2017-09-15T09:53:35.000000Z
字数 1003
阅读 1298
owo
页面内容:
引用一部分前端资源文件
<!DOCTYPE html ><html lang="zh-cmn-Hans"><head><meta charset="utf-8"><title>猩便利无人货架分析系统</title><link href="<@static />/app/skynet/static/css/app.css" rel=stylesheet></head><body><div id="app"></div><script>window.INIT_APP_DATA = {// 当前页面的菜单数据menus: [{id: 1,title: '订单维度',subItems: [{id: 11,title: '订单每日汇总',url: 'type11'}]}, {id: 2,title: '货架维度',subItems: [{id: 21,title: '货架每日汇总',url: 'type21'}, {id: 22,title: '货架数量和订单量周报',url: 'type22'}]}],// 当前页面需要的 `iframe` srcpageSrc: 'http://das.base.shuju.aliyun.com/shulaibao/preview.htm?spm=5176.7734353.2.3.tcATyy&pageId=703d6621-7aa0-4716-bcc1-515e3da794c2&accessToken=4a20bafc-ed0c-4db1-ac6c-08cfff3defa9'};</script><script type="text/javascript" src="<@static />/app/skynet/static/js/manifest.js"></script><script type="text/javascript" src="<@static />/app/skynet/static/js/vendor.js"></script><script type="text/javascript" src="<@static />/app/skynet/static/js/app.js"></script></body></html>
其中, 第 7, 41, 42, 43 行的 static 部分需要读取Lion 中 key 为
static.staticUrlPrefix的值.