#if($!obj.goods_main_photo)
#set($img="$!webPath/$!{obj.goods_main_photo.path}/$!{obj.goods_main_photo.name}")
#else
#set($img="$!webPath/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
#end
#set($img2="$!webPath/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
#set($img2_id="")
#set($img3="$!webPath/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
#set($img3_id="")
#set($img4="$!webPath/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
#set($img4_id="")
#set($img5="$!webPath/$!{config.goodsImage.path}/$!{config.goodsImage.name}")
#set($img5_id="")
#foreach($img in $obj.goods_photos)
#if($velocityCount==1)
#set($img2="$!webPath/$!{img.path}/$!{img.name}")
#set($img2_id="$!img.id")
#end
#if($velocityCount==2)
#set($img3="$!webPath/$!{img.path}/$!{img.name}")
#set($img3_id="$!img.id")
#end
#if($velocityCount==3)
#set($img4="$!webPath/$!{img.path}/$!{img.name}")
#set($img4_id="$!img.id")
#end
#if($velocityCount==4)
#set($img5="$!webPath/$!{img.path}/$!{img.name}")
#set($img5_id="$!img.id")
#end
#end
最多可发布5张商品图片
- 支持多图片同时选取上传。支持$!imageSuffix格式上传,建议选择尺寸300x300以上、大小2M内的图片。
- 用户图空间剩余:#if($!{img_remain_size}==0)空间不限制大小#else$!{img_remain_size}M#end,空间不足时将无法上传图片