pay.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. {extend name="default/base/base_joinin" /}
  2. {block name="joinin_main"}
  3. <div class="breadcrumb"><span class="iconfont">&#xe6ff;</span><span><a href="">{$Think.lang.homepage}</a></span> <span class="arrow">></span> <span>{$Think.lang.merchant_entry_application}</span> </div>
  4. <div class="main">
  5. <div class="sidebar">
  6. <div class="title">
  7. <h3>{$Think.lang.merchant_entry_application}</h3>
  8. </div>
  9. <div class="content">
  10. <dl>
  11. <dt class="{if $sub_step == 'step0'}current{/if}"> <i class="right"></i>{$Think.lang.enter_agreement}</dt>
  12. </dl>
  13. <dl show_id="0">
  14. <dt onclick="show_list('0');" style="cursor: pointer;"> <i class="down"></i>{$Think.lang.submit_application}</dt>
  15. <dd>
  16. <ul>
  17. <li class="{if $sub_step == 'step1'}current{/if}"><i></i>{$Think.lang.store_qualification_information}</li>
  18. <li class="{if $sub_step == 'step2'}current{/if}"><i></i>{$Think.lang.financial_qualification_information}</li>
  19. <li class="{if $sub_step == 'step3'}current{/if}"><i></i>{$Think.lang.store_operation_information}</li>
  20. </ul>
  21. </dd>
  22. </dl>
  23. <dl>
  24. <dt class="{if $sub_step == 'pay'}current{/if}"> <i class="right"></i>{$Think.lang.contract_signing_payment}</dt>
  25. </dl>
  26. <dl>
  27. <dt> <i class="right"></i>{$Think.lang.store_opening}</dt>
  28. </dl>
  29. </div>
  30. <div class="title">
  31. <h3>{$Think.lang.platform_contact}</h3>
  32. </div>
  33. <div class="content">
  34. <ul>
  35. <li>{$Think.lang.phone}:{$Think.config.ds_config.site_phone}</li>
  36. <li>{$Think.lang.email}:{$Think.config.ds_config.site_email}</li>
  37. </ul>
  38. </div>
  39. </div>
  40. <div class="right-layout">
  41. <div class="joinin-step">
  42. <ul>
  43. <li class="step1 {if $sub_step >= 'step0'}current{/if} {if $sub_step == 'pay'}current{/if}"><span>{$Think.lang.enter_agreement}</span></li>
  44. <li class="{if $sub_step >= 'step1'}current{/if} {if $sub_step == 'pay'}current{/if}"><span>{$Think.lang.store_qualification_information}</span></li>
  45. <li class="{if $sub_step >= 'step2'}current{/if} {if $sub_step == 'pay'}current{/if}"><span>{$Think.lang.financial_qualification_information}</span></li>
  46. <li class="{if $sub_step >= 'step3'}current{/if} {if $sub_step == 'pay'}current{/if}"><span>{$Think.lang.store_operation_information}</span></li>
  47. <li class="{if $sub_step >= 'step4'}current{/if} {if $sub_step == 'pay'}current{/if}"><span>{$Think.lang.contract_signing_payment}</span></li>
  48. <li class="step6"><span>{$Think.lang.store_opening}</span></li>
  49. </ul>
  50. </div>
  51. <div class="joinin-concrete">
  52. <link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
  53. <script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
  54. <script type="text/javascript">
  55. $(document).ready(function(){
  56. $('#form_paying_money_certificate').validate({
  57. errorPlacement: function(error, element){
  58. element.nextAll('span').first().after(error);
  59. },
  60. rules : {
  61. paying_money_certificate: {
  62. required: true
  63. },
  64. paying_money_certificate_explain: {
  65. maxlength: 100
  66. }
  67. },
  68. messages : {
  69. paying_money_certificate: {
  70. required: '{$Think.lang.select_upload_payment_voucher}'
  71. },
  72. paying_money_certificate_explain: {
  73. maxlength: jQuery.validator.format("{$Think.lang.most_words}")
  74. }
  75. }
  76. });
  77. $('input[name=payment_type]').click(function(){
  78. if($(this).val()=='offline'){
  79. $('*[dstype=offline]').show()
  80. }else{
  81. $('*[dstype=offline]').hide()
  82. }
  83. })
  84. $('#btn_paying_money_certificate').on('click', function() {
  85. if($('input[name=payment_type]:checked').val()=='offline'){
  86. $('#form_paying_money_certificate').submit();
  87. }else{
  88. window.location.href = "{:url('Buy/sj_pay')}";
  89. }
  90. });
  91. });
  92. </script>
  93. <div class="joinin-pay">
  94. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  95. <thead>
  96. <tr>
  97. <th colspan="6">{$Think.lang.store_contact_information}</th>
  98. </tr>
  99. </thead>
  100. <tbody>
  101. <tr>
  102. <th>{$Think.lang.store_name}:</th>
  103. <td>{$joinin_detail.company_name}</td>
  104. <th>{$Think.lang.location}:</th>
  105. <td>{$joinin_detail.company_address}</td>
  106. <th>{$Think.lang.detailed_address}:</th>
  107. <td>{$joinin_detail.company_address_detail}</td>
  108. </tr>
  109. <tr>
  110. <th>{$Think.lang.contact_name}:</th>
  111. <td>{$joinin_detail.contacts_name}</td>
  112. <th>{$Think.lang.contact_number}:</th>
  113. <td>{$joinin_detail.contacts_phone}</td>
  114. <th>{$Think.lang.email_address}:</th>
  115. <td>{$joinin_detail.contacts_email}</td>
  116. </tr>
  117. </tbody>
  118. </table>
  119. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  120. <thead>
  121. <tr>
  122. <th colspan="2">{$Think.lang.identification_information}</th>
  123. </tr>
  124. </thead>
  125. <tbody>
  126. <tr>
  127. <th>{$Think.lang.identification_number}:</th>
  128. <td>{$joinin_detail.contacts_name}</td>
  129. <td>{$joinin_detail.business_licence_number}</td>
  130. </tr>
  131. <tr>
  132. <th>{$Think.lang.identification_photo}:</th>
  133. <td colspan="20">
  134. {notempty name="$joinin_detail.business_licence_number_electronic"}
  135. <a data-lightbox="lightbox-image" href="{:get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic'])}"> <img src="{:get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic'])}" alt="" /> </a>
  136. {else /}
  137. {$Think.lang.not_uploaded}
  138. {/notempty}
  139. </td>
  140. </tr>
  141. <tr>
  142. <th>{$Think.lang.business_author_letter}:</th>
  143. <td colspan="20">
  144. {notempty name="$joinin_detail.business_author_letter"}
  145. <a data-lightbox="lightbox-image" href="{:get_store_joinin_imageurl($joinin_detail['business_author_letter'])}"> <img src="{:get_store_joinin_imageurl($joinin_detail['business_author_letter'])}" alt="" /> </a>
  146. {else /}
  147. {$Think.lang.not_uploaded}
  148. {/notempty}
  149. </td>
  150. </tr>
  151. </tbody>
  152. </table>
  153. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  154. <thead>
  155. <tr>
  156. <th colspan="2">{$Think.lang.settlement_account_information}:</th>
  157. </tr>
  158. </thead>
  159. <tbody>
  160. <tr>
  161. <th>{$Think.lang.alipay_account_name}:</th>
  162. <td>{$joinin_detail.settlement_bank_account_name}</td>
  163. </tr>
  164. <tr>
  165. <th>{$Think.lang.alipay_account}:</th>
  166. <td>{$joinin_detail.settlement_bank_account_number}</td>
  167. </tr>
  168. </tbody>
  169. </table>
  170. <form id="form_paying_money_certificate" action="{:url('Sellerjoininc2c/pay_save')}" method="post" enctype="multipart/form-data">
  171. <input id="verify_type" name="verify_type" type="hidden" />
  172. <input name="member_id" type="hidden" value="{$joinin_detail.member_id}" />
  173. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  174. <thead>
  175. <tr>
  176. <th colspan="2">{$Think.lang.store_operation_information}</th>
  177. </tr>
  178. </thead>
  179. <tbody>
  180. <tr>
  181. <th>{$Think.lang.seller_account}:</th>
  182. <td>{$joinin_detail.seller_name}</td>
  183. </tr>
  184. <tr>
  185. <th>{$Think.lang.store_name}:</th>
  186. <td>{$joinin_detail.store_name}</td>
  187. </tr>
  188. <tr>
  189. <th>{$Think.lang.store_level}:</th>
  190. <td>{$joinin_detail.storegrade_name}({$Think.lang.store_opening_expenses}:{$joinin_detail.storegrade_price|default="0"}{$Think.lang.ds_yuan}/{$Think.lang.year})</td>
  191. </tr>
  192. <tr>
  193. <th>{$Think.lang.store_opening_hours}:</th>
  194. <td>{$joinin_detail.joinin_year} {$Think.lang.year}</td>
  195. </tr>
  196. <tr>
  197. <th>{$Think.lang.store_classification}:</th>
  198. <td>{$joinin_detail.storeclass_name}({$Think.lang.deposit}:{$joinin_detail.storeclass_bail} {$Think.lang.ds_yuan}/{$Think.lang.year})</td>
  199. </tr>
  200. <tr>
  201. <th>{$Think.lang.total_amount_payable}:</th>
  202. <td>{$joinin_detail.paying_amount} {$Think.lang.ds_yuan}</td>
  203. </tr>
  204. <tr>
  205. <th>{$Think.lang.business_category}:</th>
  206. <td><table border="0" cellpadding="0" cellspacing="0" id="table_category" class="type">
  207. <thead>
  208. <tr>
  209. <th>{$Think.lang.ctegory_1}</th>
  210. <th>{$Think.lang.ctegory_2}</th>
  211. <th>{$Think.lang.ctegory_3}</th>
  212. <th>{$Think.lang.proportion}</th>
  213. </tr>
  214. </thead>
  215. <tbody>
  216. {notempty name="$joinin_detail.store_class_names"}
  217. {php}$store_class_names = unserialize($joinin_detail['store_class_names']);{/php}
  218. {php}$store_class_commis_rates = explode(',', $joinin_detail['store_class_commis_rates']);{/php}
  219. {notempty name="store_class_names"}
  220. <?php for($i=0, $length = count($store_class_names); $i < $length; $i++) {?>
  221. {php}@list($class1, $class2, $class3) = explode(',', $store_class_names[$i]);{/php}
  222. <tr>
  223. <td>{$class1|default='0'}</td>
  224. <td>{$class2|default='0'}</td>
  225. <td>{$class3|default='0'}</td>
  226. <td>{$store_class_commis_rates[$i]}%</td>
  227. </tr>
  228. <?php } ?>
  229. {/notempty}
  230. {/notempty}
  231. </tbody>
  232. </table></td>
  233. </tr>
  234. <tr>
  235. <th>{$Think.lang.audit_opinion}:</th>
  236. <td colspan="2">{$joinin_detail.joinin_message}</td>
  237. </tr>
  238. </tbody>
  239. </table>
  240. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  241. <tbody>
  242. <tr>
  243. <th>付款方式:</th>
  244. <td>
  245. <label><input type="radio" name="payment_type" value="online" checked="">在线支付</label>
  246. <label><input type="radio" name="payment_type" value="offline" >线下支付</label>
  247. </td>
  248. </tr>
  249. <tr dstype="offline" style="display: none">
  250. <th>{$Think.lang.upload_payment_voucher}:</th>
  251. <td>
  252. <input name="paying_money_certificate" type="file" />
  253. <span><a href="{:url('document/index',['code'=>'open_store'])}" target="_blank" title="不清楚平台收款账号,点击前往入驻协议查看">(不清楚平台收款账号?)</a></span>
  254. </td>
  255. </tr>
  256. <tr dstype="offline" style="display: none">
  257. <th>{$Think.lang.note}:</th>
  258. <td>
  259. <textarea name="paying_money_certificate_explain" rows="10" cols="30"></textarea>
  260. <span></span>
  261. </td>
  262. </tr></tbody>
  263. </table>
  264. </form>
  265. <div class="bottom"><a id="btn_paying_money_certificate" href="javascript:;" class="btn">{$Think.lang.ds_submit}</a></div></div>
  266. </div>
  267. </div>
  268. </div>
  269. {/block}