Authored by whb

字符处理

... ... @@ -373,7 +373,7 @@ define('yohood', function(require, exports) {
$(".brand-content").html(template.replace('{li}', html));
} else {
$(".brand-content").html("");
$(".brand-content").html(noSearchTemplate.replace('{brand}', tools.escapeHTML(brand)));
$(".brand-content").html(noSearchTemplate.replace('{brand}', tools.escapeHTML(brand).replace(/\"/g,"“").replace(/\'/g,"‘")));
}
}
});
... ...
... ... @@ -29,7 +29,7 @@
<div class="brand-main">
<?php if($this->view->brandTotal):?>
<div class="search-wrap">
<input type="text" placeholder="搜索品牌..." maxlength="50">
<input type="text" placeholder="搜索品牌..." maxlength="30">
<a href="javascript:;" class="search-btn iconfont">&#xe611;</a>
</div>
<div class="brand-content">
... ...