Authored by mali

二手库存优化

... ... @@ -431,7 +431,7 @@ function getTableColumn() {
}
function openModal(type, indexNo, imageUrl, imageInfo, skup){
$('#picType').value(type);
$('#picType').val(type);
if (type == 0) {
$("#showImg").attr("src",imageUrl);
//$("#imageInfo").text(imageInfo);
... ... @@ -496,7 +496,7 @@ function lastImg(){
//如果还要继续向前遍历则 index<0 此时我们使index = images.length-1(数组的最后一个下标) 实现重复展示图片效果
index = images.length-1;
}
if ($('#picType').value() == 1) {
if ($('#picType').val() == 1) {
$("#showImg").attr("src",images[index].imageUrl);
$("#imageInfo").text(images[index].imageDesc);
} else {
... ... @@ -513,7 +513,7 @@ function nextImg(){
index = 0;
}
if ($('#picType').value() == 1) {
if ($('#picType').val() == 1) {
$("#showImg").attr("src",images[index].imageUrl);
$("#imageInfo").text(images[index].imageDesc);
} else {
... ...