setting.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {extend name="default/base/base_member" /}
  2. {block name="member_btn"}
  3. {if $isallowsend}
  4. <a href="{:url('Membermessage/sendmsg')}" class="dsm-btn dsm-btn-orange" title="{$Think.lang.home_message_send_message}"><i class="iconfont">&#xe75a;</i>{$Think.lang.home_message_send_message}</a>
  5. {/if}
  6. {/block}
  7. {block name="member_main"}
  8. <div class="dsm-message-setting">
  9. <form method="post" action="{:url('Membermessage/setting')}" id="setting_form">
  10. <dl>
  11. <dt><span><i class="iconfont">&#xe69a;</i></span>{$Think.lang.order_transaction_notification}</dt>
  12. <dd>
  13. <ul>
  14. <li>
  15. <input type="checkbox" name="order_payment_success" id="order_payment_success" value="1" {if $setting_array.order_payment_success}checked{/if} />
  16. <label for="order_payment_success">{$Think.lang.payment_success_prompt}</label></li>
  17. <li>
  18. <input type="checkbox" name="order_deliver_success" id="order_deliver_success" value="1" {if $setting_array.order_deliver_success}checked{/if} />
  19. <label for="order_deliver_success">{$Think.lang.goods_delivery_prompt}</label></li>
  20. <li>
  21. <input type="checkbox" name="vr_code_will_expire" id="vr_code_will_expire" value="1" {if $setting_array.vr_code_will_expire}checked{/if} />
  22. <label for="vr_code_will_expire">{$Think.lang.reminder_redemption_code_expire}</label></li>
  23. </ul>
  24. </dd>
  25. </dl>
  26. <dl>
  27. <dt><span><i class="iconfont">&#xe6a1;</i></span>{$Think.lang.reminder_balance_card}</dt>
  28. <dd>
  29. <ul>
  30. <li>
  31. <input type="checkbox" name="predeposit_change" id="predeposit_change" value="1" {if $setting_array.predeposit_change}checked{/if} />
  32. <label for="predeposit_change">{$Think.lang.balance_change_reminder}</label></li>
  33. <li>
  34. <input type="checkbox" name="recharge_card_balance_change" id="recharge_card_balance_change" value="1" {if $setting_array.recharge_card_balance_change}checked{/if} />
  35. <label for="recharge_card_balance_change">{$Think.lang.recharge_card_balance_reminder}</label></li>
  36. <li>
  37. <input type="checkbox" name="voucher_use" id="voucher_use" value="1" {if $setting_array.voucher_use}checked{/if} />
  38. <label for="voucher_use">{$Think.lang.voucher_use_reminder}</label></li>
  39. <li>
  40. <input type="checkbox" name="voucher_will_expire" id="voucher_will_expire" value="1" {if $setting_array.voucher_will_expire}checked{/if} />
  41. <label for="voucher_will_expire">{$Think.lang.voucher_about_expire}</label></li>
  42. </ul>
  43. </dd>
  44. </dl>
  45. <dl>
  46. <dt><span><i class="iconfont">&#xe615;</i></span>{$Think.lang.service_message}</dt>
  47. <dd>
  48. <ul>
  49. <li>
  50. <input type="checkbox" name="refund_return_notice" id="refund_return_notice" value="1" {if $setting_array.refund_return_notice}checked{/if} />
  51. <label for="refund_return_notice">{$Think.lang.return_service_messageexchange_message}</label></li>
  52. <li>
  53. <input type="checkbox" name="arrival_notice" id="arrival_notice" value="1" {if $setting_array.arrival_notice}checked{/if} />
  54. <label for="arrival_notice">{$Think.lang.arrival_notification_message}</label></li>
  55. <li>
  56. <input type="checkbox" name="consult_goods_reply" id="consult_goods_reply" value="1" {if $setting_array.consult_goods_reply}checked{/if} />
  57. <label for="consult_goods_reply">{$Think.lang.prompt_consultation_reply}</label></li>
  58. <li>
  59. <input type="checkbox" name="consult_mall_reply" id="consult_mall_reply" value="1" {if $setting_array.consult_mall_reply}checked{/if} />
  60. <label for="consult_mall_reply">{$Think.lang.platform_consultation_response_prompt}</label></li>
  61. </ul>
  62. </dd>
  63. </dl>
  64. <div class="bottom tc">
  65. <input id="btn_inform_submit" type="submit" class="submit" value="{$Think.lang.ds_submit}" />
  66. </div>
  67. </form>
  68. </div>
  69. <script>
  70. $(document).ready(function(){
  71. $('#setting_form').validate({
  72. submitHandler:function(form){
  73. ds_ajaxpost('setting_form');
  74. },
  75. });
  76. });
  77. </script>
  78. {/block}