|
@@ -353,8 +353,9 @@
|
|
|
},
|
|
|
|
|
|
swpBtnRight(){
|
|
|
- var length=this.recommendList.length
|
|
|
- var num=Math.ceil(length/2)
|
|
|
+ var length=this.recommendList.length;
|
|
|
+ var num=Math.ceil(length/2)-1
|
|
|
+ console.log(num+'---'+this.swpIndex)
|
|
|
if(this.swpIndex<num){
|
|
|
this.swpIndex++
|
|
|
}
|