<a href="javascript:void(0);" nctype="meai_cancel" class="dssc-btn mt5"><i class=" icon-circle-arrow-up"></i>关闭相册</a>
<div class="goods-gallery add-step2">
    <a class='sample_demo' id="select_submit" href="{:url('/Home/Selleralbum/pic_list',['item'=>'goods'])}" style="display:none;">{$Think.lang.ds_submit}</a>
  <div class="nav">
      <span class="l">{$Think.lang.store_goods_album_users} >
    <?php if(isset($class_name) && $class_name != ''){echo $class_name;}else{?>
    {$Think.lang.store_goods_album_all_photo}
    <?php }?>
    </span><span class="r">
    <select name="jumpMenu" id="jumpMenu" style="width:100px;">
      <option value="0" style="width:80px;">{$Think.lang.ds_please_choose}</option>
      <?php foreach($class_list as $val) { ?>
      <option style="width:80px;" value="<?php echo $val['aclass_id']; ?>" {if condition="$val.aclass_id eq $Think.param.id"}selected{/if}><?php echo $val['aclass_name']; ?></option>
      <?php } ?>
    </select>
    </span></div>
  <?php if(!empty($pic_list)){?>
  <ul class="list">
    <?php foreach ($pic_list as $v){?>
    <li onclick="<?php if ($output['type'] == 'replace') {?>replace<?php } else {?>insert<?php }?>_mobile_img('<?php echo thumb($v, 1280);?>');"><a href="JavaScript:void(0);"><img src="<?php echo thumb($v, 240);?>" title='<?php echo $v['apic_name']?>'/></a></li>
    <?php }?>
  </ul>
  <?php }else{?>
  <div class="warning-option"><i class="icon-warning-sign"></i><span>相册中暂无图片</span></div>
  <?php }?>
  <div class="pagination">{$show_page}</div>
</div>
<script type="text/javascript">
$(function(){
    $('[nctype="mea_img"]').find('a[class="demo"]').click(function(){
        $('[nctype="mea_img"]').load($(this).attr('href'));
        return false;
    });
    $('#jumpMenu').change(function(){
        $('[nctype="mea_img"]').load(SITE_URL+'index.php/Selleralbum/pic_list.html?item=mobile<?php if ($type == 'replace') {?>&type=replace<?php }?>&id=' + $(this).val());
    });
});
</script>