print_set.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <div class="dssc-form-default">
  4. <form method="post" action="{:url('Sellerdeliverset/print_set')}" enctype="multipart/form-data" id="my_store_form">
  5. <dl class="setup">
  6. <dt>{$Think.lang.store_printsetup_desc}{$Think.lang.ds_colon}</dt>
  7. <dd><textarea name="store_printexplain" cols="150" rows="3" class="textarea w400" id="store_printexplain">{$store_info.store_printexplain}</textarea>
  8. <p class="hint">{$Think.lang.store_printsetup_tip1|raw}</p>
  9. </dd>
  10. </dl>
  11. <dl class="setup">
  12. <dt>{$Think.lang.store_printsetup_stampimg}{$Think.lang.ds_colon}</dt>
  13. <dd>
  14. <input type="hidden" name="store_stamp_old" value="{$store_info.store_seal}" />
  15. <div class="dssc-upload-thumb watermark-pic">
  16. <p><img src="{if !empty($store_info['store_seal'])}{:ds_get_pic(ATTACH_STORE,$store_info.store_seal)}{/if}" ds_type="store_seal" /></p>
  17. </div>
  18. <p>
  19. <input name="store_seal" type="file" hidefocus="true" ds_type="change_store_stamp"/>
  20. </p>
  21. <p class="hint">{$Think.lang.store_printsetup_tip2|raw}
  22. </p>
  23. </dd>
  24. </dl>
  25. <div class="bottom">
  26. <input type="submit" class="submit" value="{$Think.lang.store_goods_class_submit}" />
  27. </div>
  28. </form>
  29. </div>
  30. <script type="text/javascript">
  31. $(function () {
  32. $('#my_store_form').validate({
  33. rules: {
  34. store_printexplain: {
  35. required: true,
  36. rangelength: [0, 100]
  37. },
  38. },
  39. messages: {
  40. store_printexplain: {
  41. required: '<i class="iconfont">&#xe64c;</i>{$Think.lang.store_printsetup_desc_error}',
  42. rangelength: '{$Think.lang.store_printsetup_desc_error}'
  43. }
  44. }
  45. });
  46. });
  47. </script>
  48. {/block}