作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

商户申请

... ... @@ -369,15 +369,15 @@ class Member extends WechatBase
$this->redirect('audit2');
}
$business_images = explode(',',$data['business_images']);
foreach($business_images as $key => $b_i){
$business_images[$key] = $domain_name.$b_i;
}
// foreach($business_images as $key => $b_i){
// $business_images[$key] = $domain_name.$b_i;
// }
$data['business_images'] = $business_images;
$other_images = explode(',',$data['other_images']);
foreach($other_images as $key => $o_i){
$other_images[$key] = $domain_name.$o_i;
}
// foreach($other_images as $key => $o_i){
// $other_images[$key] = $domain_name.$o_i;
// }
$data['other_images'] = $other_images;
}
$this->assign('user_id',$this->user_id);
... ...
... ... @@ -56,6 +56,7 @@
{foreach name="$data.business_images" item="b_i"}
<div class="images">
<img src="{$b_i}"/>
<input type="hidden" class="business_images" value="{$}"/>
<div class="close_img">
<img src="__CDN__/assets/advertising/img/close.png"/>
</div>
... ... @@ -80,6 +81,9 @@
{foreach name="$data.other_images" item="o_i"}
<div class="images">
<img src="{$o_i}"/>
<div class="close_img">
<img src="__CDN__/assets/advertising/img/close.png"/>
</div>
</div>
{/foreach}
<div class="submit_img_add upload_one">
... ...