金融软件网站建设公司排名,做的好的网站开发,物业管理系统价格,wordpress google字体插件2015-03-31 22:02 2011人阅读 评论(0) 收藏 举报 版权声明#xff1a;本文为博主原创文章#xff0c;未经博主允许不得转载。 appframework3.0好像是3月24日发布的#xff0c;今天31号#xff0c;发现和之前的appframework2.1 || 2.2并不同。 jqmobi3.0中不在支持 data-… 2015-03-31 22:02 2011人阅读 评论(0) 收藏 举报 版权声明本文为博主原创文章未经博主允许不得转载。 appframework3.0好像是3月24日发布的今天31号发现和之前的appframework2.1 || 2.2并不同。 jqmobi3.0中不在支持 data-load/data-unload 属性。 如果想继续用 以前的 data-load/data-unload 可以复制一下代码放到您的程序中They are renamed, and there is now before events too. If you liked the old way, you could always write a plugin to enable it. [plain] view plaincopy //psuedo code var dispatchPanelEvent:function(fnc,myPanel){ if (typeof fnc string window[fnc]) { return window[fnc](myPanel); } else if(fnc.indexOf(.)!-1){ var scopewindow,itemsfnc.split(.),lenitems.length,i0; for(i;ilen-1;i){ scopescope[items[i]]; if(scopeundefined) return; } return scope[items[i]](myPanel); } }; $(document).on(panelload,function(e){ var hasLoad$(e.target).attr(data-load); return dispatchPanelEvent(hasLoad,e.target); }) $(document).on(panelunload,function(e){ var hasLoad$(e.target).attr(data-unload); return dispatchPanelEvent(hasLoad,e.target); }) 结构 idmainview 肯定是 app页面的主视图。 idsplashscreen 是加载页面过渡的代码块。 在idmainview 中直接header 和 footer 应该是默认的公共顶部和底部。nav是左右导航idleft做导航idright是右导航。 左右导航中还包含header和footer可以以classpages再分多个页面。 data-include“包含一个子页面。 data-left-drawerleft 声明左导航。 classpanel声明一个画面。 data-titleMain是当前画面顶部标题。如果没有可能会继承上一级的header。 data-selectedtrue 默认选中这个画面。 data-tabnavbar_ui 选中的idnavbar_ui的ID。 data-footerfooterui自定义底部导航。 title也是标题出现在顶部不知道和data-titleMain区别。 data-menu-close 关闭左右导航。 data-menu-close data-right-menuright 关闭又侧导航。 οnclick$.afui.drawer.hide(#left) 关闭idleft的导航。 $.afui.drawer.show(#right,right,push)打开右导航像推动效果。 data-transitionslide 转场效果为slide转载于:https://www.cnblogs.com/aishangliming/p/6206829.html