增加菜单

This commit is contained in:
尹吉欢
2018-04-08 10:22:58 +08:00
parent d379bde4e3
commit cc2521102a
2 changed files with 10 additions and 4 deletions
+9 -3
View File
@@ -18,12 +18,18 @@
<span class="mui-icon iconfont icon-tab01"></span>
<span class="mui-tab-label">首页</span>
</a>
<a class="mui-tab-item" id="quotations">
<span class="mui-icon iconfont icon-tab02"></span>
<span class="mui-tab-label">行情</span>
</a>
<a class="mui-tab-item" id="selfInfo">
<a class="mui-tab-item" id="evaluation" href="views/evaluate/evaluateList.html">
<span class="mui-icon iconfont icon-tab03"></span>
<span class="mui-tab-label">评估</span>
</a>
<a class="mui-tab-item" id="selfInfo" href="views/user/userInfo.html">
<span class="mui-icon iconfont icon-tab04"></span>
<span class="mui-tab-label">我的</span>
</a>
@@ -34,10 +40,10 @@
<script src="js/push-common.js"></script>
<script type="text/javascript" charset="utf-8">
document.getElementById("quotations").setAttribute("href", BASE_PATH + '/quotations/index');
document.getElementById("selfInfo").setAttribute("href", BASE_PATH + '/selfInfo/index');
//document.getElementById("selfInfo").setAttribute("href", BASE_PATH + '/selfInfo/index');
//mui初始化
mui.init();
var subpages = ['yfindex.html', BASE_PATH + '/quotations/index', BASE_PATH +'/selfInfo/index'];
var subpages = ['yfindex.html', BASE_PATH + '/quotations/index', 'views/evaluate/evaluateList.html', 'views/user/userInfo.html'];
var subpage_style = {
top: '0',
bottom: '50px',
+1 -1
View File
@@ -14,7 +14,7 @@
"icons": {
"144": "icon.png"
},
"launch_path": "/views/myfocus/myFocus.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
"launch_path": "main.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
"developer": {
"name": "",/*开发者名称*/
"email": "",/*开发者邮箱地址*/