Authored by ZhongW

no message

@@ -57,7 +57,9 @@ @@ -57,7 +57,9 @@
57 [[/if]] 57 [[/if]]
58 </div> 58 </div>
59 <div class="cover-color"> 59 <div class="cover-color">
60 - <a href="javascript:;" class="btn btn-primary move_sort left" data-i=[[_index]]>左移</a> 60 + [[if _index != 0]]
  61 + <a href="javascript:;" class="btn btn-primary move_sort left" data-i=[[_index]]>左移</a>
  62 + [[/if]]
61 <a href="javascript:;" class="btn btn-primary move_sort right" id=[[index]]"move_right"[[_index]] data-i=[[_index]]>右移</a> 63 <a href="javascript:;" class="btn btn-primary move_sort right" id=[[index]]"move_right"[[_index]] data-i=[[_index]]>右移</a>
62 </div> 64 </div>
63 </li> 65 </li>
@@ -42,7 +42,7 @@ var Iaccount = { @@ -42,7 +42,7 @@ var Iaccount = {
42 var apiCofig = { 42 var apiCofig = {
43 //root:__dirname, 43 //root:__dirname,
44 EnvConst:{ 44 EnvConst:{
45 - domain:"http://192.168.102.210:8088/platform", 45 + domain:"http://127.0.0.1:8080/platform",
46 // domain:"http://172.16.6.200:8088/platform", 46 // domain:"http://172.16.6.200:8088/platform",
47 yohoSearch: 'http://192.168.102.216:8080/yohosearch', 47 yohoSearch: 'http://192.168.102.216:8080/yohosearch',
48 system:Iaccount 48 system:Iaccount
@@ -325,18 +325,11 @@ function renderGoodList() { @@ -325,18 +325,11 @@ function renderGoodList() {
325 goodsList: goodsList, 325 goodsList: goodsList,
326 gender:gender 326 gender:gender
327 })); 327 }));
328 - 328 +
  329 +
329 for(var i in goodsList){ 330 for(var i in goodsList){
330 - // var index = goodsList[i].goodsImagesList.length;  
331 - // alert(index);  
332 - // $(".right").each(function(){  
333 - // alert($(this).attr("data-i"))  
334 - // })  
335 - // $(".cover-image-list").hasAttr()  
336 - // alert(typeof($(".move_sort").find(".right").attr("data-i")))  
337 - // if(=="undefined"  
338 - // $(".move_sort") data-i ind("")  
339 - // addFengmian(uesImgIndex, uesImgMap[i]); 331 + alert(i+"move_right"+goodsList.length);
  332 + $("#"+i+"move_right"+goodsList.length).hide()
340 } 333 }
341 334
342 335