12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- {extend name="default/base/base_seller" /}
- {block name="seller_main"}
- <div class="dssc-form-default">
- <form method="post" action="{:url('Sellerdeliverset/print_set')}" enctype="multipart/form-data" id="my_store_form">
- <dl class="setup">
- <dt>{$Think.lang.store_printsetup_desc}{$Think.lang.ds_colon}</dt>
- <dd><textarea name="store_printexplain" cols="150" rows="3" class="textarea w400" id="store_printexplain">{$store_info.store_printexplain}</textarea>
- <p class="hint">{$Think.lang.store_printsetup_tip1|raw}</p>
- </dd>
- </dl>
- <dl class="setup">
- <dt>{$Think.lang.store_printsetup_stampimg}{$Think.lang.ds_colon}</dt>
- <dd>
- <input type="hidden" name="store_stamp_old" value="{$store_info.store_seal}" />
- <div class="dssc-upload-thumb watermark-pic">
- <p><img src="{if !empty($store_info['store_seal'])}{:ds_get_pic(ATTACH_STORE,$store_info.store_seal)}{/if}" ds_type="store_seal" /></p>
- </div>
- <p>
- <input name="store_seal" type="file" hidefocus="true" ds_type="change_store_stamp"/>
- </p>
- <p class="hint">{$Think.lang.store_printsetup_tip2|raw}
- </p>
- </dd>
- </dl>
- <div class="bottom">
- <input type="submit" class="submit" value="{$Think.lang.store_goods_class_submit}" />
- </div>
- </form>
- </div>
- <script type="text/javascript">
- $(function () {
- $('#my_store_form').validate({
- rules: {
- store_printexplain: {
- required: true,
- rangelength: [0, 100]
- },
- },
- messages: {
- store_printexplain: {
- required: '<i class="iconfont"></i>{$Think.lang.store_printsetup_desc_error}',
- rangelength: '{$Think.lang.store_printsetup_desc_error}'
- }
- }
- });
- });
- </script>
- {/block}
|