123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- {extend name="default/base/base_seller" /}
- {block name="seller_main"}
- <form method="GET">
- <input type="hidden" value="{$Request.param.activity_id}" name="activity_id"/>
- <table class="dssc-default-table" >
- <thead>
- <tr>
- <th class="w50"></th>
- <th class="w300 tl">{$Think.lang.store_activity_goods_name}</th>
- <th>{$Think.lang.activity_apply_price}</th>
- <th class="w120">{$Think.lang.store_activity_confirmstatus}</th>
- </tr>
- </thead>
- <tbody>
- {notempty name="activitydetail_list"}
- {foreach name="activitydetail_list" item="v"}
- <tr class="bd-line">
- <td><div class="pic-thumb"><a href="{:url('Goods/index',['goods_id'=>$v.goods_id])}" target="_blank"><img src="{:goods_cthumb($v.goods_image,240,session('store_id'))}"></a></div></td>
- <td class="tl"><dl class="goods-name">
- <dt><a target="_blank" href="{:url('Goods/index',['goods_id'=>$v.goods_id])}">{$v.goods_name}</a></dt>
- </dl></td>
- <td>¥{$v.goods_price}</td>
- <td>{if $v.activitydetail_state == '1'}
- {$Think.lang.store_activity_pass}
- {else /}
- {if $v.activitydetail_state == '0' || $v.activitydetail_state == '3'}
- {$Think.lang.store_activity_audit}
- {/if}
- {/if}
- </td>
- </tr>
- {/foreach}
- {else /}
- <tr>
- <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont"></i><span>{$Think.lang.no_record}</span></div></td>
- </tr>
- {/notempty}
- </tbody>
- <tfoot>
- <tr>
- <td colspan="20"></td>
- </tr>
- </tfoot>
- </table>
- </form>
- <div class="div-goods-select">
- <form method="GET">
- <input type="hidden" name="activity_id" value="{$Request.get.activity_id}"/>
- <table class="search-form">
- <tr>
- <th class="w250"><strong>{$Think.lang.choose_products_event}</strong></th>
- <td class="w160"><input type="text" class="text w150" name="name" value="{$search.name}" placeholder="{$Think.lang.search_product_names}"/></td>
- <td class="w70 tc">
- <input type="submit" class="submit" value="{$Think.lang.store_activity_search}"/>
- </td>
- <td></td>
- </tr>
- </table>
- </form>
- <form method="POST" id="apply_form" action="{:url('Selleractivity/activity_apply_save')}">
- <input type="hidden" name="activity_id" value="{$Request.param.activity_id}"/>
- {notempty name="goods_list"}
- <div class="search-result">
- <ul class="goods-list">
- {foreach name="goods_list" item="goods"}
- <li>
- <div class="goods-thumb"><a href="{:url('Goods/index',['goods_id'=>$goods.goods_id])}" target="_blank"><img alt="{$goods.goods_name}" title="{$goods.goods_name}" src="{:goods_cthumb($goods['goods_image'], 240, session('store_id'))}"/></a></div>
- <dl class="goods-info">
- <dt>
- <input type="checkbox" value="{$goods.goods_id}" class="vm" name="item_id[]"/>
- <label><a href="{:url('Goods/index',['goods_id'=>$goods.goods_id])}" target="_blank">{$goods.goods_name}</a></label>
- </dt>
- <dd>{$Think.lang.sales_price}:¥{$goods.goods_price}</dd>
- </dl>
- </li>
- {/foreach}
- <div class="clear"></div>
- </ul>
- </div>
- <div class="pagination">{$show_page|raw}</div>
- {else /}
- <div class="warning-option"><i class="iconfont"></i><span>{$Think.lang.no_record}</span></div>
- {/notempty}
- {notempty name="goods_list"}
- <div class="bottom tc p10">
- <input id="submit_button" type="submit" value="{$Think.lang.store_activity_join_now}" class="submit">
- </div>
- {/notempty}
- </form>
- </div>
- <script>
- $(document).ready(function(){
- $('#apply_form').validate({
- submitHandler:function(form){
- ds_ajaxpost('apply_form','url',"{:url('Selleractivity/index')}");
- },
- });
- });
- </script>
- {/block}
|