@italentjs/italent-sidebar
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -5,3 +5,3 @@ /* | ||
last-verson:v0.3.2 | ||
test ci | ||
test ci2 | ||
*/ | ||
@@ -14,9 +14,9 @@ define(['talent',"$.cookie"],function(Talent){ | ||
this["JST"]["sidebar/multiple-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '\n\n<a class="list-1st-a" index="' +((__t = ( index)) == null ? '' : __t) +'"\n\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'"\n\thref=\'javascript:;\'>\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = (( !newCount?'':'sd-new-message'))) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t<span class="red-remind" data-name="feed-all-indicator" ></span>\n\t\t<span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n <span class="sd-icon-after"></span>\n</a>\n\n'; if(children.length){ ;__p += '\n\t\t<ul class="list-2sd-ul">\n\t\t\t'; Talent._.each(children,function(item,index){ ;__p += '\n\t\t\t\t<li>\n\t\t\t\t\t<a \n\t\t\t\t\t\tclass="list-2sd-li ' +((__t = ( 'ani-item-' + index )) == null ? '' : __t) +' ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'bg-highlight':''))) == null ? '' : __t) +' "\n\t\t\t\t\t\thref="' +((__t = ((item.href == '' || item.href == '#' || item.type == 'iframe')?'javascript:;':(item.href))) == null ? '' : __t) +'"\n\t\t\t\t\t\tindex="' +((__t = (index)) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'"\n\t\t\t\t\t\ttarget= "' +((__t = ( (item.type=='intLink')?'_self':(item.type=='extLink'||item.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n\t\t\t\t\t\t<span>' +((__t = ( item.title )) == null ? '' : __t) +'</span>\n\t\t\t\t\t\t<span class=" ' +((__t = (item.MenuPoint && item.MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t\t\t\t\t\t<span class="new-tip mult-new-tip" data-name="update-tip" ></span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n'; } ;__p += '\n';}return __p}; | ||
this["JST"]["sidebar/multiple-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '\n\n<a class="list-1st-a" index="' +((__t = ( index)) == null ? '' : __t) +'"\n\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'"\n\thref=\'javascript:;\'>\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = (( !newCount?'':'sd-new-message'))) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t<span class="red-remind" data-name="feed-all-indicator" ></span>\n\t\t<span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n <span class="sd-icon-after"></span>\n</a>\n\n'; if(children.length){ ;__p += '\n\t\t<ul class="list-2sd-ul">\n\t\t\t'; Talent._.each(children,function(item,index){ ;__p += '\n\t\t\t\t<li>\n\t\t\t\t\t<a \n\t\t\t\t\t\tclass="list-2sd-li ' +((__t = ( 'ani-item-' + index )) == null ? '' : __t) +' ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'bg-highlight':''))) == null ? '' : __t) +' "\n\t\t\t\t\t\thref=\'' +((__t = ((item.href == "" || item.href == "#" || item.type == "iframe") ? "javascript:;":(item.href))) == null ? '' : __t) +'\'\n\t\t\t\t\t\tindex="' +((__t = (index)) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'"\n\t\t\t\t\t\ttarget= "' +((__t = ( (item.type=='intLink')?'_self':(item.type=='extLink'||item.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n\t\t\t\t\t\t<span>' +((__t = ( item.title )) == null ? '' : __t) +'</span>\n\t\t\t\t\t\t<span class=" ' +((__t = (item.MenuPoint && item.MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t\t\t\t\t\t<span class="new-tip mult-new-tip" data-name="update-tip" ></span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n'; } ;__p += '\n';}return __p}; | ||
this["JST"]["sidebar/narrow-list-extend"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<ul class="list-narrow-wrapper">\n ';Talent._.each(menuArry,function(item,superindex){;__p += '\n <li class="list-1st2-li ' +((__t = ( ('sp-item-' +superindex) )) == null ? '' : __t) +' ' +((__t = ( (item.children&&item.children.length)?'has-sub-list':'no-sub-list' )) == null ? '' : __t) +' ' +((__t = (item.isQuickEntry?'quick-entry-extend':'')) == null ? '' : __t) +'">\n <a \n class="list-1st2-a ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'shadow-bg':''))) == null ? '' : __t) +'" \n href="' +((__t = ((item.href == '' || item.href == '#' || item.type == 'iframe')?'javascript:void(0)':(item.href))) == null ? '' : __t) +'" \n index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n isSuperItem="true"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (item.title)) == null ? '' : __t) +'\n <span class="sd-icon-after" ></span>\n </a>\n '; if(item.children&&item.children.length){ ;__p += '\n <ul class="list-2sd2-ul top-position">\n ';Talent._.each(item.children,function(subItem,subIndex){;__p += '\n <li class="list-2sd2-li ' +((__t = ( 'ani-index-' + subIndex )) == null ? '' : __t) +' ' +((__t = ((subItem.isActive?'shadow-bg':''))) == null ? '' : __t) +'">\n <a \n href="' +((__t = ((subItem.href =='' || subItem.href =='#' || subItem.type == 'iframe')?'javascript:void(0)':subItem.href)) == null ? '' : __t) +'"\n class="shadow-list-a ' +((__t = ( (subItem.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +'" \n super-name="' +((__t = ( item.code)) == null ? '' : __t) +'"\n sub-name="' +((__t = ( subItem.code)) == null ? '' : __t) +'"\n super-index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n sub-index="' +((__t = ( subIndex)) == null ? '' : __t) +'"\n target= "' +((__t = ( (subItem.type=='intLink')?'_self':(subItem.type=='extLink' || subItem.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: subItem.id, appid:subItem.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (subItem.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (subItem.title)) == null ? '' : __t) +'\n </a>\n </li>\n '; }) ;__p += '\n </ul>\n '; } ;__p += '\n </li>\n ';});__p += '\n</ul>\n';}return __p}; | ||
this["JST"]["sidebar/narrow-list-extend"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<ul class="list-narrow-wrapper">\n ';Talent._.each(menuArry,function(item,superindex){;__p += '\n <li class="list-1st2-li ' +((__t = ( ('sp-item-' +superindex) )) == null ? '' : __t) +' ' +((__t = ( (item.children&&item.children.length)?'has-sub-list':'no-sub-list' )) == null ? '' : __t) +' ' +((__t = (item.isQuickEntry?'quick-entry-extend':'')) == null ? '' : __t) +'">\n <a \n class="list-1st2-a ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'shadow-bg':''))) == null ? '' : __t) +'" \n href=\'' +((__t = ((item.href == "" || item.href == "#" || item.type == "iframe")?"javascript:void(0)":(item.href))) == null ? '' : __t) +'\' \n index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n isSuperItem="true"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (item.title)) == null ? '' : __t) +'\n <span class="sd-icon-after" ></span>\n </a>\n '; if(item.children&&item.children.length){ ;__p += '\n <ul class="list-2sd2-ul top-position">\n ';Talent._.each(item.children,function(subItem,subIndex){;__p += '\n <li class="list-2sd2-li ' +((__t = ( 'ani-index-' + subIndex )) == null ? '' : __t) +' ' +((__t = ((subItem.isActive?'shadow-bg':''))) == null ? '' : __t) +'">\n <a \n href=\'' +((__t = ((subItem.href =="" || subItem.href =="#" || subItem.type == "iframe")?"javascript:void(0)":subItem.href)) == null ? '' : __t) +'\'\n class="shadow-list-a ' +((__t = ( (subItem.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +'" \n super-name="' +((__t = ( item.code)) == null ? '' : __t) +'"\n sub-name="' +((__t = ( subItem.code)) == null ? '' : __t) +'"\n super-index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n sub-index="' +((__t = ( subIndex)) == null ? '' : __t) +'"\n target= "' +((__t = ( (subItem.type=='intLink')?'_self':(subItem.type=='extLink' || subItem.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: subItem.id, appid:subItem.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (subItem.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (subItem.title)) == null ? '' : __t) +'\n </a>\n </li>\n '; }) ;__p += '\n </ul>\n '; } ;__p += '\n </li>\n ';});__p += '\n</ul>\n';}return __p}; | ||
this["JST"]["sidebar/side-bar"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '<div class="status-switch-wrapper">\n <span class="status-switch" data-name="switch">\n <span class="line-1"></span>\n <span class="line-2"></span>\n <span class="line-3"></span>\n </span>\n</div>\n<div data-name=\'top-shadow\' class="shadow-node-top"></div>\n<div class="list-outer-wrapper">\n <ul class="list-1st-ul">\n \t<div class="bg-slider-region"></div>\n </ul>\n</div>\n<div class="list-narrow-extend"></div>\n<div data-name=\'bottom-shadow\' class="shadow-node-bottom"></div>';}return __p}; | ||
this["JST"]["sidebar/single-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '\n<a class="list-1st-a ' +((__t = ( isActive?'bg-highlight':'' )) == null ? '' : __t) +' ' +((__t = ( (type=='iframe')?'is-iframe':'' )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'" \n\thref="' +((__t = ((href == '' || href == '#' || type == 'iframe')?'javascript:;':(href))) == null ? '' : __t) +'" \n\tindex="' +((__t = ( index)) == null ? '' : __t) +'" \n\ttarget= "' +((__t = ( (type=='intLink')?'_self':(type=='extLink' || type=='newPage'?'_blank':''))) == null ? '' : __t) +'"\n\tdata-trigger="' +((__t = ( (type=='iframe')?false:'')) == null ? '' : __t) +'">\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = ((newCount?'sd-new-message':'') )) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +' " >\n <span class="red-remind" data-name="feed-all-indicator" ></span>\n <span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n</a>';}return __p}; | ||
this["JST"]["sidebar/single-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '\n<a class="list-1st-a ' +((__t = ( isActive?'bg-highlight':'' )) == null ? '' : __t) +' ' +((__t = ( (type=='iframe')?'is-iframe':'' )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'" \n\thref=\'' +((__t = ((href == "" || href == "#" || type == "iframe") ? "javascript:;":(href))) == null ? '' : __t) +'\'\n\tindex="' +((__t = ( index)) == null ? '' : __t) +'" \n\ttarget= "' +((__t = ( (type=='intLink')?'_self':(type=='extLink' || type=='newPage'?'_blank':''))) == null ? '' : __t) +'"\n\tdata-trigger="' +((__t = ( (type=='iframe')?false:'')) == null ? '' : __t) +'">\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = ((newCount?'sd-new-message':'') )) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +' " >\n <span class="red-remind" data-name="feed-all-indicator" ></span>\n <span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n</a>';}return __p}; | ||
return this["JST"]; | ||
@@ -608,3 +608,3 @@ })(); | ||
// 或者,如果self.preOpenList不是null,并且当前打开的和self.preOpenList不相同,并且进入到1020时,选中第一个 | ||
if ((self.preOpenList && self.preOpenList != listInfo.target || !self.preOpenList) && (appid == 1020 && appud == 962)) { | ||
if ((self.preOpenList && self.preOpenList != listInfo.target || !self.preOpenList) && (appid == 1020 || appid == 962)) { | ||
self._timer = setTimeout(function () { | ||
@@ -611,0 +611,0 @@ baseView.simSubNavClick(0); |
10
index.js
@@ -5,3 +5,3 @@ /* | ||
last-verson:v0.3.2 | ||
test ci | ||
test ci2 | ||
*/ | ||
@@ -14,9 +14,9 @@ define(['talent',"$.cookie"],function(Talent){ | ||
this["JST"]["sidebar/multiple-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '\n\n<a class="list-1st-a" index="' +((__t = ( index)) == null ? '' : __t) +'"\n\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'"\n\thref=\'javascript:;\'>\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = (( !newCount?'':'sd-new-message'))) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t<span class="red-remind" data-name="feed-all-indicator" ></span>\n\t\t<span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n <span class="sd-icon-after"></span>\n</a>\n\n'; if(children.length){ ;__p += '\n\t\t<ul class="list-2sd-ul">\n\t\t\t'; Talent._.each(children,function(item,index){ ;__p += '\n\t\t\t\t<li>\n\t\t\t\t\t<a \n\t\t\t\t\t\tclass="list-2sd-li ' +((__t = ( 'ani-item-' + index )) == null ? '' : __t) +' ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'bg-highlight':''))) == null ? '' : __t) +' "\n\t\t\t\t\t\thref="' +((__t = ((item.href == '' || item.href == '#' || item.type == 'iframe')?'javascript:;':(item.href))) == null ? '' : __t) +'"\n\t\t\t\t\t\tindex="' +((__t = (index)) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'"\n\t\t\t\t\t\ttarget= "' +((__t = ( (item.type=='intLink')?'_self':(item.type=='extLink'||item.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n\t\t\t\t\t\t<span>' +((__t = ( item.title )) == null ? '' : __t) +'</span>\n\t\t\t\t\t\t<span class=" ' +((__t = (item.MenuPoint && item.MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t\t\t\t\t\t<span class="new-tip mult-new-tip" data-name="update-tip" ></span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n'; } ;__p += '\n';}return __p}; | ||
this["JST"]["sidebar/multiple-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '\n\n<a class="list-1st-a" index="' +((__t = ( index)) == null ? '' : __t) +'"\n\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'"\n\thref=\'javascript:;\'>\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = (( !newCount?'':'sd-new-message'))) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t<span class="red-remind" data-name="feed-all-indicator" ></span>\n\t\t<span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n <span class="sd-icon-after"></span>\n</a>\n\n'; if(children.length){ ;__p += '\n\t\t<ul class="list-2sd-ul">\n\t\t\t'; Talent._.each(children,function(item,index){ ;__p += '\n\t\t\t\t<li>\n\t\t\t\t\t<a \n\t\t\t\t\t\tclass="list-2sd-li ' +((__t = ( 'ani-item-' + index )) == null ? '' : __t) +' ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'bg-highlight':''))) == null ? '' : __t) +' "\n\t\t\t\t\t\thref=\'' +((__t = ((item.href == "" || item.href == "#" || item.type == "iframe") ? "javascript:;":(item.href))) == null ? '' : __t) +'\'\n\t\t\t\t\t\tindex="' +((__t = (index)) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'"\n\t\t\t\t\t\ttarget= "' +((__t = ( (item.type=='intLink')?'_self':(item.type=='extLink'||item.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n\t\t\t\t\t\t<span>' +((__t = ( item.title )) == null ? '' : __t) +'</span>\n\t\t\t\t\t\t<span class=" ' +((__t = (item.MenuPoint && item.MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t\t\t\t\t\t<span class="new-tip mult-new-tip" data-name="update-tip" ></span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n'; } ;__p += '\n';}return __p}; | ||
this["JST"]["sidebar/narrow-list-extend"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<ul class="list-narrow-wrapper">\n ';Talent._.each(menuArry,function(item,superindex){;__p += '\n <li class="list-1st2-li ' +((__t = ( ('sp-item-' +superindex) )) == null ? '' : __t) +' ' +((__t = ( (item.children&&item.children.length)?'has-sub-list':'no-sub-list' )) == null ? '' : __t) +' ' +((__t = (item.isQuickEntry?'quick-entry-extend':'')) == null ? '' : __t) +'">\n <a \n class="list-1st2-a ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'shadow-bg':''))) == null ? '' : __t) +'" \n href="' +((__t = ((item.href == '' || item.href == '#' || item.type == 'iframe')?'javascript:void(0)':(item.href))) == null ? '' : __t) +'" \n index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n isSuperItem="true"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (item.title)) == null ? '' : __t) +'\n <span class="sd-icon-after" ></span>\n </a>\n '; if(item.children&&item.children.length){ ;__p += '\n <ul class="list-2sd2-ul top-position">\n ';Talent._.each(item.children,function(subItem,subIndex){;__p += '\n <li class="list-2sd2-li ' +((__t = ( 'ani-index-' + subIndex )) == null ? '' : __t) +' ' +((__t = ((subItem.isActive?'shadow-bg':''))) == null ? '' : __t) +'">\n <a \n href="' +((__t = ((subItem.href =='' || subItem.href =='#' || subItem.type == 'iframe')?'javascript:void(0)':subItem.href)) == null ? '' : __t) +'"\n class="shadow-list-a ' +((__t = ( (subItem.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +'" \n super-name="' +((__t = ( item.code)) == null ? '' : __t) +'"\n sub-name="' +((__t = ( subItem.code)) == null ? '' : __t) +'"\n super-index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n sub-index="' +((__t = ( subIndex)) == null ? '' : __t) +'"\n target= "' +((__t = ( (subItem.type=='intLink')?'_self':(subItem.type=='extLink' || subItem.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: subItem.id, appid:subItem.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (subItem.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (subItem.title)) == null ? '' : __t) +'\n </a>\n </li>\n '; }) ;__p += '\n </ul>\n '; } ;__p += '\n </li>\n ';});__p += '\n</ul>\n';}return __p}; | ||
this["JST"]["sidebar/narrow-list-extend"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<ul class="list-narrow-wrapper">\n ';Talent._.each(menuArry,function(item,superindex){;__p += '\n <li class="list-1st2-li ' +((__t = ( ('sp-item-' +superindex) )) == null ? '' : __t) +' ' +((__t = ( (item.children&&item.children.length)?'has-sub-list':'no-sub-list' )) == null ? '' : __t) +' ' +((__t = (item.isQuickEntry?'quick-entry-extend':'')) == null ? '' : __t) +'">\n <a \n class="list-1st2-a ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'shadow-bg':''))) == null ? '' : __t) +'" \n href=\'' +((__t = ((item.href == "" || item.href == "#" || item.type == "iframe")?"javascript:void(0)":(item.href))) == null ? '' : __t) +'\' \n index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n isSuperItem="true"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (item.title)) == null ? '' : __t) +'\n <span class="sd-icon-after" ></span>\n </a>\n '; if(item.children&&item.children.length){ ;__p += '\n <ul class="list-2sd2-ul top-position">\n ';Talent._.each(item.children,function(subItem,subIndex){;__p += '\n <li class="list-2sd2-li ' +((__t = ( 'ani-index-' + subIndex )) == null ? '' : __t) +' ' +((__t = ((subItem.isActive?'shadow-bg':''))) == null ? '' : __t) +'">\n <a \n href=\'' +((__t = ((subItem.href =="" || subItem.href =="#" || subItem.type == "iframe")?"javascript:void(0)":subItem.href)) == null ? '' : __t) +'\'\n class="shadow-list-a ' +((__t = ( (subItem.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +'" \n super-name="' +((__t = ( item.code)) == null ? '' : __t) +'"\n sub-name="' +((__t = ( subItem.code)) == null ? '' : __t) +'"\n super-index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n sub-index="' +((__t = ( subIndex)) == null ? '' : __t) +'"\n target= "' +((__t = ( (subItem.type=='intLink')?'_self':(subItem.type=='extLink' || subItem.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: subItem.id, appid:subItem.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (subItem.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (subItem.title)) == null ? '' : __t) +'\n </a>\n </li>\n '; }) ;__p += '\n </ul>\n '; } ;__p += '\n </li>\n ';});__p += '\n</ul>\n';}return __p}; | ||
this["JST"]["sidebar/side-bar"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '<div class="status-switch-wrapper">\n <span class="status-switch" data-name="switch">\n <span class="line-1"></span>\n <span class="line-2"></span>\n <span class="line-3"></span>\n </span>\n</div>\n<div data-name=\'top-shadow\' class="shadow-node-top"></div>\n<div class="list-outer-wrapper">\n <ul class="list-1st-ul">\n \t<div class="bg-slider-region"></div>\n </ul>\n</div>\n<div class="list-narrow-extend"></div>\n<div data-name=\'bottom-shadow\' class="shadow-node-bottom"></div>';}return __p}; | ||
this["JST"]["sidebar/single-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '\n<a class="list-1st-a ' +((__t = ( isActive?'bg-highlight':'' )) == null ? '' : __t) +' ' +((__t = ( (type=='iframe')?'is-iframe':'' )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'" \n\thref="' +((__t = ((href == '' || href == '#' || type == 'iframe')?'javascript:;':(href))) == null ? '' : __t) +'" \n\tindex="' +((__t = ( index)) == null ? '' : __t) +'" \n\ttarget= "' +((__t = ( (type=='intLink')?'_self':(type=='extLink' || type=='newPage'?'_blank':''))) == null ? '' : __t) +'"\n\tdata-trigger="' +((__t = ( (type=='iframe')?false:'')) == null ? '' : __t) +'">\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = ((newCount?'sd-new-message':'') )) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +' " >\n <span class="red-remind" data-name="feed-all-indicator" ></span>\n <span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n</a>';}return __p}; | ||
this["JST"]["sidebar/single-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '\n<a class="list-1st-a ' +((__t = ( isActive?'bg-highlight':'' )) == null ? '' : __t) +' ' +((__t = ( (type=='iframe')?'is-iframe':'' )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'" \n\thref=\'' +((__t = ((href == "" || href == "#" || type == "iframe") ? "javascript:;":(href))) == null ? '' : __t) +'\'\n\tindex="' +((__t = ( index)) == null ? '' : __t) +'" \n\ttarget= "' +((__t = ( (type=='intLink')?'_self':(type=='extLink' || type=='newPage'?'_blank':''))) == null ? '' : __t) +'"\n\tdata-trigger="' +((__t = ( (type=='iframe')?false:'')) == null ? '' : __t) +'">\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = ((newCount?'sd-new-message':'') )) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +' " >\n <span class="red-remind" data-name="feed-all-indicator" ></span>\n <span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n</a>';}return __p}; | ||
return this["JST"]; | ||
@@ -608,3 +608,3 @@ })(); | ||
// 或者,如果self.preOpenList不是null,并且当前打开的和self.preOpenList不相同,并且进入到1020时,选中第一个 | ||
if ((self.preOpenList && self.preOpenList != listInfo.target || !self.preOpenList) && (appid == 1020 && appud == 962)) { | ||
if ((self.preOpenList && self.preOpenList != listInfo.target || !self.preOpenList) && (appid == 1020 || appid == 962)) { | ||
self._timer = setTimeout(function () { | ||
@@ -611,0 +611,0 @@ baseView.simSubNavClick(0); |
@@ -6,3 +6,3 @@ { | ||
"main": "index.js", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"devDependencies": { | ||
@@ -9,0 +9,0 @@ "grunt": "~0.4.1", |
@@ -5,3 +5,3 @@ /* | ||
last-verson:v0.3.2 | ||
test ci | ||
test ci2 | ||
*/ | ||
@@ -8,0 +8,0 @@ define(['talent',"$.cookie"],function(Talent){ |
@@ -129,3 +129,3 @@ var SideBar = Talent.Layout.extend({ | ||
// 或者,如果self.preOpenList不是null,并且当前打开的和self.preOpenList不相同,并且进入到1020时,选中第一个 | ||
if ((self.preOpenList && self.preOpenList != listInfo.target || !self.preOpenList) && (appid == 1020 && appud == 962)) { | ||
if ((self.preOpenList && self.preOpenList != listInfo.target || !self.preOpenList) && (appid == 1020 || appid == 962)) { | ||
self._timer = setTimeout(function () { | ||
@@ -132,0 +132,0 @@ baseView.simSubNavClick(0); |
@@ -5,8 +5,8 @@ this["JST"] = this["JST"] || {}; | ||
this["JST"]["sidebar/multiple-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '\n\n<a class="list-1st-a" index="' +((__t = ( index)) == null ? '' : __t) +'"\n\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'"\n\thref=\'javascript:;\'>\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = (( !newCount?'':'sd-new-message'))) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t<span class="red-remind" data-name="feed-all-indicator" ></span>\n\t\t<span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n <span class="sd-icon-after"></span>\n</a>\n\n'; if(children.length){ ;__p += '\n\t\t<ul class="list-2sd-ul">\n\t\t\t'; Talent._.each(children,function(item,index){ ;__p += '\n\t\t\t\t<li>\n\t\t\t\t\t<a \n\t\t\t\t\t\tclass="list-2sd-li ' +((__t = ( 'ani-item-' + index )) == null ? '' : __t) +' ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'bg-highlight':''))) == null ? '' : __t) +' "\n\t\t\t\t\t\thref="' +((__t = ((item.href == '' || item.href == '#' || item.type == 'iframe')?'javascript:;':(item.href))) == null ? '' : __t) +'"\n\t\t\t\t\t\tindex="' +((__t = (index)) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'"\n\t\t\t\t\t\ttarget= "' +((__t = ( (item.type=='intLink')?'_self':(item.type=='extLink'||item.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n\t\t\t\t\t\t<span>' +((__t = ( item.title )) == null ? '' : __t) +'</span>\n\t\t\t\t\t\t<span class=" ' +((__t = (item.MenuPoint && item.MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t\t\t\t\t\t<span class="new-tip mult-new-tip" data-name="update-tip" ></span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n'; } ;__p += '\n';}return __p}; | ||
this["JST"]["sidebar/multiple-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '\n\n<a class="list-1st-a" index="' +((__t = ( index)) == null ? '' : __t) +'"\n\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'"\n\thref=\'javascript:;\'>\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = (( !newCount?'':'sd-new-message'))) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t<span class="red-remind" data-name="feed-all-indicator" ></span>\n\t\t<span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n <span class="sd-icon-after"></span>\n</a>\n\n'; if(children.length){ ;__p += '\n\t\t<ul class="list-2sd-ul">\n\t\t\t'; Talent._.each(children,function(item,index){ ;__p += '\n\t\t\t\t<li>\n\t\t\t\t\t<a \n\t\t\t\t\t\tclass="list-2sd-li ' +((__t = ( 'ani-item-' + index )) == null ? '' : __t) +' ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'bg-highlight':''))) == null ? '' : __t) +' "\n\t\t\t\t\t\thref=\'' +((__t = ((item.href == "" || item.href == "#" || item.type == "iframe") ? "javascript:;":(item.href))) == null ? '' : __t) +'\'\n\t\t\t\t\t\tindex="' +((__t = (index)) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'"\n\t\t\t\t\t\ttarget= "' +((__t = ( (item.type=='intLink')?'_self':(item.type=='extLink'||item.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n\t\t\t\t\t\tdata-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n\t\t\t\t\t\t<span>' +((__t = ( item.title )) == null ? '' : __t) +'</span>\n\t\t\t\t\t\t<span class=" ' +((__t = (item.MenuPoint && item.MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +'" >\n\t\t\t\t\t\t\t<span class="new-tip mult-new-tip" data-name="update-tip" ></span>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t'; }) ;__p += '\n\t\t</ul>\n'; } ;__p += '\n';}return __p}; | ||
this["JST"]["sidebar/narrow-list-extend"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<ul class="list-narrow-wrapper">\n ';Talent._.each(menuArry,function(item,superindex){;__p += '\n <li class="list-1st2-li ' +((__t = ( ('sp-item-' +superindex) )) == null ? '' : __t) +' ' +((__t = ( (item.children&&item.children.length)?'has-sub-list':'no-sub-list' )) == null ? '' : __t) +' ' +((__t = (item.isQuickEntry?'quick-entry-extend':'')) == null ? '' : __t) +'">\n <a \n class="list-1st2-a ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'shadow-bg':''))) == null ? '' : __t) +'" \n href="' +((__t = ((item.href == '' || item.href == '#' || item.type == 'iframe')?'javascript:void(0)':(item.href))) == null ? '' : __t) +'" \n index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n isSuperItem="true"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (item.title)) == null ? '' : __t) +'\n <span class="sd-icon-after" ></span>\n </a>\n '; if(item.children&&item.children.length){ ;__p += '\n <ul class="list-2sd2-ul top-position">\n ';Talent._.each(item.children,function(subItem,subIndex){;__p += '\n <li class="list-2sd2-li ' +((__t = ( 'ani-index-' + subIndex )) == null ? '' : __t) +' ' +((__t = ((subItem.isActive?'shadow-bg':''))) == null ? '' : __t) +'">\n <a \n href="' +((__t = ((subItem.href =='' || subItem.href =='#' || subItem.type == 'iframe')?'javascript:void(0)':subItem.href)) == null ? '' : __t) +'"\n class="shadow-list-a ' +((__t = ( (subItem.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +'" \n super-name="' +((__t = ( item.code)) == null ? '' : __t) +'"\n sub-name="' +((__t = ( subItem.code)) == null ? '' : __t) +'"\n super-index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n sub-index="' +((__t = ( subIndex)) == null ? '' : __t) +'"\n target= "' +((__t = ( (subItem.type=='intLink')?'_self':(subItem.type=='extLink' || subItem.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: subItem.id, appid:subItem.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (subItem.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (subItem.title)) == null ? '' : __t) +'\n </a>\n </li>\n '; }) ;__p += '\n </ul>\n '; } ;__p += '\n </li>\n ';});__p += '\n</ul>\n';}return __p}; | ||
this["JST"]["sidebar/narrow-list-extend"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape, __j = Array.prototype.join;function print() { __p += __j.call(arguments, '') }with (obj) {__p += '<ul class="list-narrow-wrapper">\n ';Talent._.each(menuArry,function(item,superindex){;__p += '\n <li class="list-1st2-li ' +((__t = ( ('sp-item-' +superindex) )) == null ? '' : __t) +' ' +((__t = ( (item.children&&item.children.length)?'has-sub-list':'no-sub-list' )) == null ? '' : __t) +' ' +((__t = (item.isQuickEntry?'quick-entry-extend':'')) == null ? '' : __t) +'">\n <a \n class="list-1st2-a ' +((__t = ( (item.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +' ' +((__t = ((item.isActive?'shadow-bg':''))) == null ? '' : __t) +'" \n href=\'' +((__t = ((item.href == "" || item.href == "#" || item.type == "iframe")?"javascript:void(0)":(item.href))) == null ? '' : __t) +'\' \n index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n isSuperItem="true"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: item.id, appid:item.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (item.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (item.title)) == null ? '' : __t) +'\n <span class="sd-icon-after" ></span>\n </a>\n '; if(item.children&&item.children.length){ ;__p += '\n <ul class="list-2sd2-ul top-position">\n ';Talent._.each(item.children,function(subItem,subIndex){;__p += '\n <li class="list-2sd2-li ' +((__t = ( 'ani-index-' + subIndex )) == null ? '' : __t) +' ' +((__t = ((subItem.isActive?'shadow-bg':''))) == null ? '' : __t) +'">\n <a \n href=\'' +((__t = ((subItem.href =="" || subItem.href =="#" || subItem.type == "iframe")?"javascript:void(0)":subItem.href)) == null ? '' : __t) +'\'\n class="shadow-list-a ' +((__t = ( (subItem.type == 'iframe')?'is-iframe':'' )) == null ? '' : __t) +'" \n super-name="' +((__t = ( item.code)) == null ? '' : __t) +'"\n sub-name="' +((__t = ( subItem.code)) == null ? '' : __t) +'"\n super-index="' +((__t = ( superindex)) == null ? '' : __t) +'"\n sub-index="' +((__t = ( subIndex)) == null ? '' : __t) +'"\n target= "' +((__t = ( (subItem.type=='intLink')?'_self':(subItem.type=='extLink' || subItem.type=='newPage'?'_blank':'') )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: subItem.id, appid:subItem.appId })})))) == null ? '' : __t) +'" \n data-trigger="' +((__t = ( (subItem.type=='iframe')?false:'')) == null ? '' : __t) +'">\n ' +((__t = (subItem.title)) == null ? '' : __t) +'\n </a>\n </li>\n '; }) ;__p += '\n </ul>\n '; } ;__p += '\n </li>\n ';});__p += '\n</ul>\n';}return __p}; | ||
this["JST"]["sidebar/side-bar"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '<div class="status-switch-wrapper">\n <span class="status-switch" data-name="switch">\n <span class="line-1"></span>\n <span class="line-2"></span>\n <span class="line-3"></span>\n </span>\n</div>\n<div data-name=\'top-shadow\' class="shadow-node-top"></div>\n<div class="list-outer-wrapper">\n <ul class="list-1st-ul">\n \t<div class="bg-slider-region"></div>\n </ul>\n</div>\n<div class="list-narrow-extend"></div>\n<div data-name=\'bottom-shadow\' class="shadow-node-bottom"></div>';}return __p}; | ||
this["JST"]["sidebar/single-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '\n<a class="list-1st-a ' +((__t = ( isActive?'bg-highlight':'' )) == null ? '' : __t) +' ' +((__t = ( (type=='iframe')?'is-iframe':'' )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'" \n\thref="' +((__t = ((href == '' || href == '#' || type == 'iframe')?'javascript:;':(href))) == null ? '' : __t) +'" \n\tindex="' +((__t = ( index)) == null ? '' : __t) +'" \n\ttarget= "' +((__t = ( (type=='intLink')?'_self':(type=='extLink' || type=='newPage'?'_blank':''))) == null ? '' : __t) +'"\n\tdata-trigger="' +((__t = ( (type=='iframe')?false:'')) == null ? '' : __t) +'">\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = ((newCount?'sd-new-message':'') )) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +' " >\n <span class="red-remind" data-name="feed-all-indicator" ></span>\n <span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n</a>';}return __p}; | ||
this["JST"]["sidebar/single-menu-item"] = function(obj) {obj || (obj = {});var __t, __p = '', __e = _.escape;with (obj) {__p += '\n<a class="list-1st-a ' +((__t = ( isActive?'bg-highlight':'' )) == null ? '' : __t) +' ' +((__t = ( (type=='iframe')?'is-iframe':'' )) == null ? '' : __t) +'"\n data-udc="' +((__t = (encodeURIComponent(JSON.stringify({ext: JSON.stringify({type:'globalMenu', id: id, appid:appId })})))) == null ? '' : __t) +'" \n\thref=\'' +((__t = ((href == "" || href == "#" || type == "iframe") ? "javascript:;":(href))) == null ? '' : __t) +'\'\n\tindex="' +((__t = ( index)) == null ? '' : __t) +'" \n\ttarget= "' +((__t = ( (type=='intLink')?'_self':(type=='extLink' || type=='newPage'?'_blank':''))) == null ? '' : __t) +'"\n\tdata-trigger="' +((__t = ( (type=='iframe')?false:'')) == null ? '' : __t) +'">\n <span class="sd-icon-before ' +((__t = (iconName)) == null ? '' : __t) +' ' +((__t = ((newCount?'sd-new-message':'') )) == null ? '' : __t) +' ' +((__t = (MenuPoint && MenuPoint.value?'sd-update-tip':'')) == null ? '' : __t) +' " >\n <span class="red-remind" data-name="feed-all-indicator" ></span>\n <span class="new-tip" data-name="update-tip" ></span>\n </span>\n <span class="text">' +((__t = (title)) == null ? '' : __t) +'</span>\n</a>';}return __p}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43856492
1300
261518