diff --git a/public/themes/simpleboot3/portal/classify/classify.html b/public/themes/simpleboot3/portal/classify/classify.html index 01bd232..47e23da 100644 --- a/public/themes/simpleboot3/portal/classify/classify.html +++ b/public/themes/simpleboot3/portal/classify/classify.html @@ -49,10 +49,10 @@ <ul> <li>综合</li> <li>销量 - <img src="__TMPL__/public/assets/images/24.png" alt=""> + <img src="__TMPL__/public/assets/images/s1.png" alt=""> </li> <li>价格 - <img src="__TMPL__/public/assets/images/24.png" alt=""> + <img src="__TMPL__/public/assets/images/s1.png" alt=""> </li> </ul> </div> @@ -127,6 +127,15 @@ $('.cl_nav ul li').click(function() { $(this).addClass('cl_navActive').siblings().removeClass('cl_navActive'); }) + $('.se_nav ul li').click(function() { + $(this).addClass('se_navactvie').siblings().removeClass('se_navactvie'); + $(this).addClass('se_navactvie').siblings().children('img').attr('src', 'img/s1.png') + if ($(this).children('img').attr('src') == "img/s1.png") { + $(this).children('img').attr('src', 'img/s2.png') + } else { + $(this).children('img').attr('src', 'img/s1.png') + } + }) </script> </body> diff --git a/public/themes/simpleboot3/public/assets/css/base.css b/public/themes/simpleboot3/public/assets/css/base.css index df7c4e2..e09dd28 100644 --- a/public/themes/simpleboot3/public/assets/css/base.css +++ b/public/themes/simpleboot3/public/assets/css/base.css @@ -21,6 +21,9 @@ body { opacity: 1 } +.se_nav .se_navactvie { + color: #FF7700; +} /* search */ @@ -380,7 +383,7 @@ body { } .se_nav ul li img { - width: 0.16rem; + width: 0.22rem; height: 0.22rem; margin-left: 0.08rem; } diff --git a/public/themes/simpleboot3/public/assets/images/s1.png b/public/themes/simpleboot3/public/assets/images/s1.png new file mode 100644 index 0000000..030cf16 Binary files /dev/null and b/public/themes/simpleboot3/public/assets/images/s1.png differ diff --git a/public/themes/simpleboot3/public/assets/images/s2.png b/public/themes/simpleboot3/public/assets/images/s2.png new file mode 100644 index 0000000..4936d76 Binary files /dev/null and b/public/themes/simpleboot3/public/assets/images/s2.png differ