|
@@ -24,7 +24,7 @@
|
|
|
<!--头部搜索框-->
|
|
|
<div class="search-cotainer">
|
|
|
<div class="mui-input-row mui-search">
|
|
|
- <input id="search" name="search" class="my-search-ipt" type="text" placeholder="输入产品名称">
|
|
|
+ <input id="search" name="search" class="my-search-ipt" type="text" placeholder='大家都在搜电动牙刷刷头""'>
|
|
|
</div>
|
|
|
<span class="iconfont icon-caidan"></span>
|
|
|
<span class="my-btn-cancel">取消</span>
|
|
@@ -262,16 +262,19 @@
|
|
|
"label": this.typeName
|
|
|
});
|
|
|
$.each(this.childTypeList, function() {
|
|
|
- var li = document.createElement("li");
|
|
|
- li.className = 'line';
|
|
|
- li.innerHTML = '<a name="' + this.typeId + '" item="' + this.childTypeId + '"><div>' + this.childTypeName + '</div></a>';
|
|
|
- caidan.appendChild(li);
|
|
|
- colors.push({
|
|
|
- "id": colors.length + 1,
|
|
|
- "typeId": this.typeId,
|
|
|
- "label": this.childTypeName,
|
|
|
- "childTypeId": this.childTypeId
|
|
|
- });
|
|
|
+ if(this.typeId!=4){
|
|
|
+ var li = document.createElement("li");
|
|
|
+ li.className = 'line';
|
|
|
+ li.innerHTML = '<a name="' + this.typeId + '" item="' + this.childTypeId + '"><div>' + this.childTypeName + '</div></a>';
|
|
|
+ caidan.appendChild(li);
|
|
|
+ colors.push({
|
|
|
+ "id": colors.length + 1,
|
|
|
+ "typeId": this.typeId,
|
|
|
+ "label": this.childTypeName,
|
|
|
+ "childTypeId": this.childTypeId
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
});
|
|
|
//遍历产品配件
|
|
|
if(this.typeId == 4) {
|