Commit 7055bca6 by lmf

修复上一步

parent c0ac4d45
...@@ -45,14 +45,14 @@ ...@@ -45,14 +45,14 @@
}) })
.prepend('<span class="ui-menu-icon-1 ui-icon-1">NEW</span>'); .prepend('<span class="ui-menu-icon-1 ui-icon-1">NEW</span>');
$('li.parent.nav-8', this.element) $('li.nav-8', this.element)
.children('a') .children('a')
.filter(function () { .filter(function () {
return $(this).children('.ui-icon-2').length === 0; return $(this).children('.ui-icon-2').length === 0;
}) })
.prepend('<span class="ui-menu-icon-2 ui-icon-2">SALE</span>'); .prepend('<span class="ui-menu-icon-2 ui-icon-2">SALE</span>');
$('li.parent.nav-6', this.element) $('li.nav-6', this.element)
.children('a') .children('a')
.filter(function () { .filter(function () {
return $(this).children('.ui-icon-3').length === 0; return $(this).children('.ui-icon-3').length === 0;
......
...@@ -37,14 +37,14 @@ define([ ...@@ -37,14 +37,14 @@ define([
}) })
.prepend('<span class="ui-menu-icon-1 ui-icon-1">NEW</span>'); .prepend('<span class="ui-menu-icon-1 ui-icon-1">NEW</span>');
$('li.parent.nav-8', this.element) $('li.nav-8', this.element)
.children('a') .children('a')
.filter(function () { .filter(function () {
return $(this).children('.ui-icon-2').length === 0; return $(this).children('.ui-icon-2').length === 0;
}) })
.prepend('<span class="ui-menu-icon-2 ui-icon-2">SALE</span>'); .prepend('<span class="ui-menu-icon-2 ui-icon-2">SALE</span>');
$('li.parent.nav-6', this.element) $('li.nav-6', this.element)
.children('a') .children('a')
.filter(function () { .filter(function () {
return $(this).children('.ui-icon-3').length === 0; return $(this).children('.ui-icon-3').length === 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment