Authored by tmq

品牌添加js

... ... @@ -415,6 +415,13 @@ define('yohood', function(require, exports) {
if($(".search-btn").size()) {
$(".search-btn").click();
}
$(".brand-list").on("mouseenter", "li > a", function(event) {
var $img = $(this).find("img");
$img.removeClass("grey-brand-logo");
}).on("mouseleave", "li > a", function() {
var $img = $(this).find("img");
$img.addClass("grey-brand-logo");
})
};
//详情页
... ...
<?php if(!empty($list)):?>
<?php foreach($list as $news):
$title = Util_StringHelper::substr_cn($news['title'], 90);
$description = Lib_Utils_StringHelper::substr_full_en(Lib_Utils_StringHelper::stripTags($news['content']), 80);
... ... @@ -41,3 +42,4 @@ $width = 308;
</div>
</div>
<?php endforeach;?>
<?php endif;?>
... ...