|
@@ -170,6 +170,8 @@
|
|
|
var parameter = {};
|
|
|
if(items != null) {
|
|
|
parameter["typeId"] = items;
|
|
|
+ parameter["pageSize"] = 100;
|
|
|
+ parameter["pageNO"] = 1;
|
|
|
}
|
|
|
$.ajax(base_path + '/wechat/product/productIndex?dates=' + new Date().getTime(), {
|
|
|
data: parameter,
|
|
@@ -234,15 +236,15 @@
|
|
|
}
|
|
|
var n = '';
|
|
|
mui(pro_list).each(function(index) {
|
|
|
- var div = document.createElement('div');
|
|
|
- div.className = 'index-title';
|
|
|
- div.innerHTML = '<strong>' + this.productChildTypeName + '</strong>';
|
|
|
- if(index == 0) {
|
|
|
- table1.appendChild(div);
|
|
|
- }
|
|
|
- if(n != '' && this.productChildTypeName != n) {
|
|
|
- table1.appendChild(div);
|
|
|
- }
|
|
|
+// var div = document.createElement('div');
|
|
|
+// div.className = 'index-title';
|
|
|
+// div.innerHTML = '<strong>' + this.productChildTypeName + '</strong>';
|
|
|
+// if(index == 0) {
|
|
|
+// table1.appendChild(div);
|
|
|
+// }
|
|
|
+// if(n != '' && this.productChildTypeName != n) {
|
|
|
+// table1.appendChild(div);
|
|
|
+// }
|
|
|
n = this.productChildTypeName;
|
|
|
var li = document.createElement('li');
|
|
|
li.setAttribute("name", this.productId);
|