...
|
...
|
@@ -60,7 +60,7 @@ |
|
|
{foreach name="$data.business_images" item="b_i"}
|
|
|
<div class="images">
|
|
|
<img src="{$b_i}"/>
|
|
|
<input type="hidden" class="business_images[]" value="{$b_i}"/>
|
|
|
<input type="hidden" class="business_images" value="{$b_i}"/>
|
|
|
<div class="close_img">
|
|
|
<img src="__CDN__/assets/advertising/img/close.png"/>
|
|
|
</div>
|
...
|
...
|
@@ -85,7 +85,7 @@ |
|
|
{foreach name="$data.other_images" item="o_i"}
|
|
|
<div class="images">
|
|
|
<img src="{$o_i}"/>
|
|
|
<input type="hidden" class="other_images[]" value="{$b_i}"/>
|
|
|
<input type="hidden" class="other_images" value="{$b_i}"/>
|
|
|
<div class="close_img">
|
|
|
<img src="__CDN__/assets/advertising/img/close.png"/>
|
|
|
</div>
|
...
|
...
|
@@ -194,9 +194,11 @@ |
|
|
var merchant_mobile = $('#merchant_mobile').val();
|
|
|
var area = $('#area').val();
|
|
|
var brief = $('#brief').val();
|
|
|
var business_images = $('.business_images').val();
|
|
|
var business_images = [];
|
|
|
for(var i = 0 ;i < $('.business_images').length ; i++){
|
|
|
business_images.push($('.business_images').eq(i).val());
|
|
|
}
|
|
|
console.log(business_images);
|
|
|
|
|
|
})
|
|
|
})
|
|
|
</script>
|
...
|
...
|
|