Commit 05106c46 by lmf

调试代码

parent 5c2acdd7
......@@ -100,7 +100,7 @@ class GalleryManagement implements \Magento\Catalog\Api\ProductAttributeMediaGal
$existingMediaGalleryEntries = $product->getMediaGalleryEntries();
if ($existingMediaGalleryEntries == null) {
throw new NoSuchEntityException(
__('No image with the provided ID was found. Verify the ID and try again.')
__('No image with the provided ID was found. Verify the ID and try again 11111111111.')
);
}
$found = false;
......@@ -116,7 +116,7 @@ class GalleryManagement implements \Magento\Catalog\Api\ProductAttributeMediaGal
}
if (!$found) {
throw new NoSuchEntityException(
__('No image with the provided ID was found. Verify the ID and try again.')
__('No image with the provided ID was found. Verify the ID and try again 22222222222.')
);
}
$product->setMediaGalleryEntries($existingMediaGalleryEntries);
......
......@@ -67,18 +67,18 @@
overflow:"hidden"
}).children(".imgbox").css({
"width":"100%",
"height":"280px",
}).children("a").css({
position: "absolute",
left:1920,
top:0,
"width":"100%",
"height":"280px",
}).eq(0).css({
left:0
}).end().children("img").css({
"width":"100%",
"height":"280px",
});
}
this._obj.init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment