base.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.web_set}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="post" enctype="multipart/form-data" name="form1" action="">
  13. <div class="ncap-form-default">
  14. <dl>
  15. <dt>{$Think.lang.site_name}</dt>
  16. <dd>
  17. <input id="site_name" name="site_name" value="{$list_config.site_name}" class="input-txt" type="text">
  18. <span class="err"></span>
  19. <p class="notic">{$Think.lang.web_name_notice}</p>
  20. </dd>
  21. </dl>
  22. <dl>
  23. <dt>{$Think.lang.fixed_suspension_state}</dt>
  24. <dd>
  25. <div class="onoff">
  26. <label for="fixed_suspension_state1" class="cb-enable {if condition="$list_config.fixed_suspension_state eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  27. <label for="fixed_suspension_state0" class="cb-disable {if condition="$list_config.fixed_suspension_state eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  28. <input id="fixed_suspension_state1" name="fixed_suspension_state" value="1" type="radio" {if condition="$list_config.fixed_suspension_state eq 1"} checked="checked"{/if}>
  29. <input id="fixed_suspension_state0" name="fixed_suspension_state" value="0" type="radio" {if condition="$list_config.fixed_suspension_state eq 0"} checked="checked"{/if}>
  30. </div>
  31. </dd>
  32. </dl>
  33. <dl id="fixed_suspension_img" class="noborder">
  34. <dt class="required"><label for="file_fixed_suspension_img">{$Think.lang.fixed_suspension_img}</label></dt>
  35. <dd class="vatop rowform">
  36. {notempty name="$list_config.fixed_suspension_img"}
  37. <span class="type-file-show"><img class="show_image" src="{$Think.ADMIN_SITE_ROOT}/images/preview.png">
  38. <div class="type-file-preview"><img src="{:ds_get_pic(ATTACH_COMMON,$list_config.fixed_suspension_img)}?{$Think.TIMESTAMP}"></div>
  39. </span>
  40. {/notempty}
  41. <span class="type-file-box">
  42. <input type='text' name='textfield' id='textfield6' class='type-file-text' />
  43. <input type='button' name='button' id='button1' value='上传' class='type-file-button' />
  44. <input name="fixed_suspension_img" id="file_fixed_suspension_img" type="file" class="type-file-file" id="site_logo" size="30" hidefocus="true">
  45. </span>
  46. <p class="notic">{$Think.lang.fixed_suspension_img_notice}</p>
  47. </dd>
  48. </dl>
  49. <dl>
  50. <dt>{$Think.lang.fixed_suspension_url}</dt>
  51. <dd>
  52. <input id="fixed_suspension_url" name="fixed_suspension_url" value="{$list_config.fixed_suspension_url}" class="input-txt" type="text">
  53. <span class="err"></span>
  54. <p class="notic">{$Think.lang.fixed_suspension_url_notice}</p>
  55. </dd>
  56. </dl>
  57. <dl>
  58. <dt>{$Think.lang.hot_search}</dt>
  59. <dd>
  60. <textarea id="hot_search" name="hot_search">{$list_config.hot_search}</textarea>
  61. <span class="err"></span>
  62. <p class="notic">{$Think.lang.field_notice}</p>
  63. </dd>
  64. </dl>
  65. <dl>
  66. <dt>{$Think.lang.h5_site_url}</dt>
  67. <dd>
  68. <input id="h5_site_url" name="h5_site_url" value="{$list_config.h5_site_url}" class="input-txt" type="text">
  69. <span class="err"></span>
  70. <p class="notic"></p>
  71. </dd>
  72. </dl>
  73. <!-- <dl>
  74. <dt>{$Think.lang.h5_store_site_url}</dt>
  75. <dd>
  76. <input id="h5_store_site_url" name="h5_store_site_url" value="{$list_config.h5_store_site_url}" class="input-txt" type="text">
  77. <span class="err"></span>
  78. <p class="notic"></p>
  79. </dd>
  80. </dl>
  81. <dl>
  82. <dt>{$Think.lang.h5_chain_site_url}</dt>
  83. <dd>
  84. <input id="h5_chain_site_url" name="h5_chain_site_url" value="{$list_config.h5_chain_site_url}" class="input-txt" type="text">
  85. <span class="err"></span>
  86. <p class="notic"></p>
  87. </dd>
  88. </dl>-->
  89. <dl>
  90. <dt>{$Think.lang.h5_force_redirect}</dt>
  91. <dd>
  92. <div class="onoff">
  93. <label for="h5_force_redirect1" class="cb-enable {if condition="$list_config.h5_force_redirect eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  94. <label for="h5_force_redirect0" class="cb-disable {if condition="$list_config.h5_force_redirect eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  95. <input id="h5_force_redirect1" name="h5_force_redirect" value="1" type="radio" {if condition="$list_config.h5_force_redirect eq 1"} checked="checked"{/if}>
  96. <input id="h5_force_redirect0" name="h5_force_redirect" value="0" type="radio" {if condition="$list_config.h5_force_redirect eq 0"} checked="checked"{/if}>
  97. </div>
  98. <p class="notic">{$Think.lang.h5_force_redirect_tips}</p>
  99. </dd>
  100. </dl>
  101. <!-- 开启商品发布审核 -->
  102. <dl>
  103. <dt>{$Think.lang.is_goods_verify}</dt>
  104. <dd>
  105. <div class="onoff">
  106. <label for="goods_verify_1" class="cb-enable {eq name='list_config.goods_verify' value='1'}selected{/eq}" title="{$Think.lang.ds_open}"><span>{$Think.lang.ds_open}</span></label>
  107. <label for="goods_verify_0" class="cb-disable {eq name='list_config.goods_verify' value='0'}selected{/eq}" title="{$Think.lang.ds_close}"><span>{$Think.lang.ds_close}</span></label>
  108. <input type="radio" id="goods_verify_1" name="goods_verify" value="1" {if $list_config.goods_verify=='1'}checked=checked{/if}>
  109. <input type="radio" id="goods_verify_0" name="goods_verify" value="0" {if $list_config.goods_verify=='0'}checked=checked{/if}>
  110. </div>
  111. <p class="notic">{$Think.lang.goods_verify_notice}</p>
  112. </dd>
  113. </dl>
  114. <!-- 商品全部审核通过 -->
  115. <dl dstype="goods_all_verify" style="display: none">
  116. <dt>{$Think.lang.is_goods_all_verify}</dt>
  117. <dd>
  118. <div class="onoff">
  119. <label for="goods_all_verify_1" class="cb-enable" title="{$Think.lang.ds_yes}"><span>{$Think.lang.ds_yes}</span></label>
  120. <label for="goods_all_verify_0" class="cb-disable selected" title="{$Think.lang.ds_no}"><span>{$Think.lang.ds_no}</span></label>
  121. <input type="radio" id="goods_all_verify_1" name="goods_all_verify" value="1">
  122. <input type="radio" id="goods_all_verify_0" name="goods_all_verify" value="0" checked=checked>
  123. </div>
  124. <p class="notic">{$Think.lang.goods_all_verify_notice}</p>
  125. </dd>
  126. </dl>
  127. <!-- 开启实名认证 -->
  128. <dl>
  129. <dt>{$Think.lang.member_auth}</dt>
  130. <dd>
  131. <div class="onoff">
  132. <label for="member_auth_1" class="cb-enable {if $list_config.member_auth == '1'}selected{/if}" title="{$Think.lang.ds_open}"><span>{$Think.lang.ds_open}</span></label>
  133. <label for="member_auth_0" class="cb-disable {if $list_config.member_auth == '0'}selected{/if}" title="{$Think.lang.ds_close}"><span>{$Think.lang.ds_close}</span></label>
  134. <input id="member_auth_1" name="member_auth" {if $list_config.member_auth == '1'} checked=checked {/if} value="1" type="radio">
  135. <input id="member_auth_0" name="member_auth" {if $list_config.member_auth == '0'} checked=checked {/if} value="0" type="radio">
  136. </div>
  137. <p class="notic">{$Think.lang.member_auth_notice}</p>
  138. </dd>
  139. </dl>
  140. <dl>
  141. <dt>{$Think.lang.mapak_type}</dt>
  142. <dd>
  143. <label class="radio-label">
  144. <i class="radio-common {if !$list_config.mapak_type || $list_config.mapak_type =='1'}selected{/if}">
  145. <input type="radio" value="1" name="mapak_type" class='gaoderadio' {if !$list_config.mapak_type || $list_config.mapak_type =='1'} checked="checked"{/if}>
  146. </i>
  147. <span>{$Think.lang.gaode_map}</span>
  148. </label>
  149. <label class="radio-label">
  150. <i class="radio-common {if $list_config.mapak_type =='2'}selected{/if}">
  151. <input type="radio" value="2" name="mapak_type" class='baiduradio' {if $list_config.mapak_type =='2'} checked="checked"{/if}>
  152. </i>
  153. <span>{$Think.lang.baidu_map}</span>
  154. </label>
  155. <span class="tips"></span>
  156. </dd>
  157. </dl>
  158. <dl class='gaodedl'>
  159. <dt>{$Think.lang.gaode_ak}</dt>
  160. <dd>
  161. <input id="gaode_ak" name="gaode_ak" value="{$list_config.gaode_ak}" class="input-txt" type="text">
  162. <span class="err"></span>
  163. <p class="notic"></p>
  164. </dd>
  165. </dl>
  166. <dl class='gaodedl'>
  167. <dt>{$Think.lang.gaode_jscode}</dt>
  168. <dd>
  169. <input id="gaode_jscode" name="gaode_jscode" value="{$list_config.gaode_jscode}" class="input-txt" type="text">
  170. <span class="err"></span>
  171. <p class="notic"></p>
  172. </dd>
  173. </dl>
  174. <dl class='baidudl'>
  175. <dt>{$Think.lang.baidu_mapservice_ak_key}</dt>
  176. <dd>
  177. <input id="baiduservice_ak" name="baiduservice_ak" value="{$list_config.baiduservice_ak}" class="input-txt" type="text">
  178. <span class="err"></span>
  179. <p class="notic"></p>
  180. </dd>
  181. </dl>
  182. <dl class='baidudl'>
  183. <dt>{$Think.lang.baidu_map_ak_key}</dt>
  184. <dd>
  185. <input id="baidu_ak" name="baidu_ak" value="{$list_config.baidu_ak}" class="input-txt" type="text">
  186. <span class="err"></span>
  187. <p class="notic"></p>
  188. </dd>
  189. </dl>
  190. <dl>
  191. <dt>{$Think.lang.icp_number}</dt>
  192. <dd>
  193. <input id="icp_number" name="icp_number" value="{$list_config.icp_number}" class="input-txt" type="text">
  194. <span class="err"></span>
  195. <p class="notic"></p>
  196. </dd>
  197. </dl>
  198. <dl>
  199. <dt>{$Think.lang.wab_number}</dt>
  200. <dd>
  201. <input id="wab_number" name="wab_number" value="{$list_config.wab_number}" class="input-txt" type="text">
  202. <span class="err"></span>
  203. <p class="notic"></p>
  204. </dd>
  205. </dl>
  206. <dl>
  207. <dt>{$Think.lang.site_phone}</dt>
  208. <dd>
  209. <input id="site_phone" name="site_phone" value="{$list_config.site_phone}" class="input-txt" type="text">
  210. <span class="err"></span>
  211. <p class="notic"></p>
  212. </dd>
  213. </dl>
  214. <dl>
  215. <dt>{$Think.lang.site_tel400}</dt>
  216. <dd>
  217. <input id="site_tel400" name="site_tel400" value="{$list_config.site_tel400}" class="input-txt" type="text">
  218. <span class="err"></span>
  219. <p class="notic"></p>
  220. </dd>
  221. </dl>
  222. <dl>
  223. <dt>{$Think.lang.site_email}</dt>
  224. <dd>
  225. <input id="site_email" name="site_email" value="{$list_config.site_email}" class="input-txt" type="text">
  226. <span class="err"></span>
  227. <p class="notic"></p>
  228. </dd>
  229. </dl>
  230. <dl>
  231. <dt>{$Think.lang.flow_static_code}</dt>
  232. <dd>
  233. <textarea id="flow_static_code" name="flow_static_code">{$list_config.flow_static_code}</textarea>
  234. <span class="err"></span>
  235. <p class="notic">{$Think.lang.flow_static_code_notice}</p>
  236. </dd>
  237. </dl>
  238. <dl>
  239. <dt>{$Think.lang.cache_open}</dt>
  240. <dd>
  241. <div class="onoff">
  242. <label for="cache_open1" class="cb-enable {if condition="$list_config.cache_open eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  243. <label for="cache_open0" class="cb-disable {if condition="$list_config.cache_open eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  244. <input id="cache_open1" name="cache_open" value="1" type="radio" {if condition="$list_config.cache_open eq 1"} checked="checked"{/if}>
  245. <input id="cache_open0" name="cache_open" value="0" type="radio" {if condition="$list_config.cache_open eq 0"} checked="checked"{/if}>
  246. </div>
  247. </dd>
  248. </dl>
  249. <dl>
  250. <dt>{$Think.lang.site_state}</dt>
  251. <dd>
  252. <div class="onoff">
  253. <label for="site_state1" class="cb-enable {if condition="$list_config.site_state eq 1"}selected{/if}">{$Think.lang.ds_open}</label>
  254. <label for="site_state0" class="cb-disable {if condition="$list_config.site_state eq 0"}selected{/if}">{$Think.lang.ds_close}</label>
  255. <input id="site_state1" name="site_state" value="1" type="radio" {if condition="$list_config.site_state eq 1"} checked="checked"{/if}>
  256. <input id="site_state0" name="site_state" value="0" type="radio" {if condition="$list_config.site_state eq 0"} checked="checked"{/if}>
  257. </div>
  258. </dd>
  259. </dl>
  260. <dl>
  261. <dt>{$Think.lang.closed_reason}</dt>
  262. <dd>
  263. <textarea id="closed_reason" name="closed_reason">{$list_config.closed_reason}</textarea>
  264. <span class="err"></span>
  265. <p class="notic"></p>
  266. </dd>
  267. </dl>
  268. <dl>
  269. <dt></dt>
  270. <dd><a href="JavaScript:void(0);" class="btn" onclick="document.form1.submit()">{$Think.lang.ds_confirm_submit}</a></dd>
  271. </dl>
  272. </div>
  273. </form>
  274. </div>
  275. <script>
  276. $(function(){
  277. if({$list_config.goods_verify}){
  278. $('input[name="goods_verify"]').change(function(){
  279. if($(this).val()==0){
  280. $('*[dstype="goods_all_verify"]').show()
  281. }else{
  282. $('*[dstype="goods_all_verify"]').hide()
  283. }
  284. })
  285. }
  286. if ($('.gaoderadio').prop('checked')) {
  287. $('.baidudl').hide();
  288. $('.gaodedl').show();
  289. }else{
  290. $('.gaodedl').hide();
  291. $('.baidudl').show();
  292. }
  293. $('.gaoderadio').click(function(){
  294. $('.gaodedl').show();
  295. $('.baidudl').hide();
  296. })
  297. $('.baiduradio').click(function(){
  298. $('.baidudl').show();
  299. $('.gaodedl').hide();
  300. })
  301. })
  302. </script>