處理偶數方案-左側的數值重新計算一下
var lw = rightSlice.last().width(),
lh = rightSlice.last().height(),
oloop = Math.floor(this.posterItems.length/2);
if(this.posterItems.length%2 === 0){
lh = lh * this.setting.scaleTop;
lw = lw * this.setting.scaleTop;
}
var lw = rightSlice.last().width(),
lh = rightSlice.last().height(),
oloop = Math.floor(this.posterItems.length/2);
if(this.posterItems.length%2 === 0){
lh = lh * this.setting.scaleTop;
lw = lw * this.setting.scaleTop;
}
2017-07-20
哈哈哈,根據老師說的自己改寫了下,感覺自己寫的很渣
https://github.com/wohenxion/JRotate
https://github.com/wohenxion/JRotate
2017-06-16