No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

add.htm 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. {include file="public/layout" /}
  2. {eq name="$editor.editor_select" value="1"}
  3. {load href="__PUBLIC__/plugins/Ueditor/ueditor.config.js" /}
  4. {load href="__PUBLIC__/plugins/Ueditor/ueditor.all.min.js" /}
  5. {load href="__PUBLIC__/plugins/Ueditor/lang/zh-cn/zh-cn.js" /}
  6. {else/}
  7. {load href="__PUBLIC__/plugins/ckeditor/ckeditor.js" /}
  8. {/eq}
  9. <body class="bodysy-w">
  10. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  11. <div id="append_parent"></div>
  12. <div id="ajaxwaitid"></div>
  13. <div id="geduan_div" class="h10"></div>
  14. <div id="page_div" class="page min-hg-c mb-20" style="min-width:auto;box-shadow:none;">
  15. <div class="fixed-bar">
  16. <div class="item-title">
  17. {include file="public/callback_page_1" /}<!-- 返回箭头 -->
  18. <a class="back_sz" href="javascript:void(0);" data-href="{:url('Images/help')}" onclick="openHelpframe(this, '设置与帮助', '500px', '100%', 'r');" title="设置与帮助"><i class="iconfont e-shezhi-tongyong"></i></a>
  19. <div class="subject">
  20. <h3>发布文档</h3>
  21. <h5></h5>
  22. </div>
  23. <ul class="tab-base nc-row">
  24. <li><a href="javascript:void(0);" data-index='1' class="tab current"><span>基础内容</span></a></li>
  25. <li><a href="javascript:void(0);" data-index='2' class="tab"><span>SEO优化</span></a></li>
  26. <li><a href="javascript:void(0);" data-index='3' class="tab"><span>更多设置</span></a></li>
  27. <!-- #weapp_demontrate_li# -->
  28. <!-- #weapp_li# -->
  29. </ul>
  30. </div>
  31. </div>
  32. <form class="form-horizontal" id="post_form" action="{:url('Images/add')}" method="post">
  33. <!-- 常规信息 -->
  34. <div class="ncap-form-default tab_div_1">
  35. <dl class="row">
  36. <dt class="tit">
  37. <label for="title"><em>*</em>文档标题</label>
  38. </dt>
  39. <dd class="opt">
  40. <input type="text" name="title" value="" id="title" class="input-txt" maxlength="200" {eq name="$channelRow.is_repeat_title" value="0"} oninput="check_title_repeat(this,0);" {/eq}>
  41. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  42. 副标题:<input type="text" name="subtitle" value="" id="subtitle" class="w200">
  43. <span class="err"></span>
  44. </dd>
  45. </dl>
  46. <dl class="row">
  47. <dt class="tit">
  48. <label for="title"><em>*</em>栏目分类</label>
  49. </dt>
  50. <dd class="opt">
  51. <select name="typeid" id="typeid">
  52. <option value="0">请选择栏目…</option>
  53. {$arctype_html}
  54. </select>
  55. <span class="err"></span>
  56. <p class="notic">谨慎切换,自定义字段的内容会随着栏目切换而清空,在保存之前不受影响!</p>
  57. </dd>
  58. </dl>
  59. {notempty name='$global.web_stypeid_open'}
  60. <dl class="row">
  61. <dt class="tit">
  62. <label for="stypeid">副栏目分类</label>
  63. </dt>
  64. <dd class="opt">
  65. <input type="hidden" name="stypeid" id="stypeid" value="" class="input-txt" onkeyup="this.value=this.value.replace(/[^\d\,]/g,'');" onpaste="this.value=this.value.replace(/[^\d\,]/g,'');">
  66. &nbsp;<a href="javascript:void(0);" data-channel="{$channeltype}" onclick="select_stypeid(this);" class="ncap-btn ncap-btn-green">选择副栏目</a>
  67. <span class="err"></span>
  68. <p class="notic">支持同频道模型的栏目</p>
  69. <div id="stypeid_txt" class="pt5"></div>
  70. </dd>
  71. </dl>
  72. {/notempty}
  73. <dl class="row">
  74. <dt class="tit">
  75. <label>文档属性</label>
  76. </dt>
  77. <dd class="opt">
  78. {volist name="archives_flags" id="vo"}
  79. <label><input type="checkbox" name="{$vo.flag_fieldname}" value="1">{$vo.flag_name}<!-- [{$vo.flag_attr}] --></label>&nbsp;
  80. {/volist}
  81. <span class="err"></span>
  82. <p class="notic">如需管理,请点击右上角设置与帮助按钮</p>
  83. </dd>
  84. </dl>
  85. <dl class="row none dl_jump">
  86. <dt class="tit">
  87. <label>跳转网址</label>
  88. </dt>
  89. <dd class="opt">
  90. <input type="text" value="" name="jumplinks" id="jumplinks" class="input-txt" placeholder="http://">
  91. <span class="err"></span>
  92. <p class="notic">请输入完整的URL网址(包含http或https),设置后访问该条信息将直接跳转到设置的网址</p>
  93. </dd>
  94. </dl>
  95. <dl class="row" style="z-index:2;">
  96. <dt class="tit">
  97. <label>文档标签</label>
  98. </dt>
  99. <dd class="opt">
  100. <input type="text" value="" name="tags" id="tags" class="input-txt" placeholder="多个标签之间以逗号隔开" autocomplete="off" oninput="get_common_tagindex_input(this);" onfocus="$('#often_tags').hide();" onkeyup="this.value=this.value.replace(/[\,]/g,',');" onpaste="this.value=this.value.replace(/[\,]/g,',')">&nbsp;
  101. <a href="javascript:void(0);" onclick="get_common_tagindex(this);">显示常用标签</a>&nbsp;<img id="tag_loading" src="__STATIC__/common/images/loading.gif" style="display: none;" />
  102. <div class="often_tags" id="often_tags" data-opt="add" style="display: none;"></div>
  103. <div class="often_tags" id="often_tags_input" style="display: none;"></div>
  104. <input type="hidden" id="tags_click_count">
  105. </dd>
  106. </dl>
  107. <dl class="row {empty name="$global.web_citysite_open"} none {/empty} ">
  108. <dt class="tit">
  109. <label for="title">所属区域</label>
  110. </dt>
  111. <dd class="opt">
  112. <select name="province_id" id="province_id" onchange="set_city_list(0);">
  113. <option value="0">全国</option>
  114. {volist name=':get_site_province_list()' id='vo'}
  115. <option value="{$vo.id}" {eq name="$Request.param.province_id" value="$vo.id" } selected="true" {/eq}>{$vo.name}</option>
  116. {/volist}
  117. </select>
  118. <select name="city_id" id="city_id" class="none ml5" onchange="set_area_list(0);">
  119. <option value="">--请选择--</option>
  120. </select>
  121. <select name="area_id" id="area_id" class="none ml5">
  122. <option value="">--请选择--</option>
  123. </select>
  124. <span class="err"></span>
  125. </dd>
  126. </dl>
  127. <dl class="row">
  128. <dt class="tit">
  129. <label>封面图片</label>
  130. </dt>
  131. <dd class="opt">
  132. <div class="input-file-show div_litpic_local">
  133. <span class="show">
  134. <a id="img_a" target="_blank" class="nyroModal" rel="gal" href="javascript:void(0);">
  135. <i id="img_i" class="fa fa-picture-o" onmouseover="" onmouseout="layer.close(layer_tips);"></i>
  136. </a>
  137. </span>
  138. <span class="type-file-box">
  139. <input type="text" id="litpic_local" name="litpic_local" value="" class="type-file-text" autocomplete="off">
  140. <input type="button" name="button" id="button1" value="选择上传..." class="type-file-button">
  141. <input class="type-file-file" onClick="GetUploadify(1,'','allimg','img_call_back')" size="30" hidefocus="true" nc_type="change_site_logo"
  142. title="点击前方预览图可查看大图,点击按钮选择文件并提交表单后上传生效">
  143. </span>
  144. </div>
  145. <input type="text" id="litpic_remote" name="litpic_remote" value="" placeholder="http://" class="input-txt" onKeyup="keyupRemote(this, 'litpic');" style="display: none;">
  146. &nbsp;
  147. <label><input type="checkbox" name="is_remote" id="is_remote" value="1" onClick="clickRemote(this, 'litpic');">远程图片</label>
  148. <span class="err"></span>
  149. <p class="notic">当没有手动上传图片时候,会自动提取相册的第一张图片作为缩略图</p>
  150. </dd>
  151. </dl>
  152. <dl class="row <!-- #weapp_diy911873092_images_none# -->">
  153. <dt class="tit">
  154. <label>图片集</label>
  155. </dt>
  156. <dd class="opt">
  157. <div class="tab-pane pics" id="tab_imgupload">
  158. <!-- <a href="javascript:void(0);" onClick="GetUploadify(30,'','allimg','imgupload_call_back');" class="imgupload" title="拖动修改排序">
  159. <i class="fa fa-photo"></i>上传图片
  160. </a> -->
  161. <table class="table table-bordered">
  162. <tbody>
  163. <tr>
  164. <td>
  165. <div class="sort-list-img">
  166. <div class="images_upload">
  167. </div>
  168. </div>
  169. <a href="javascript:void(0);" onClick="GetUploadify(30,'','allimg','imgupload_call_back');" class="img-upload mb15" title="点击上传">
  170. <div class="y-line"></div>
  171. <div class="x-line"></div>
  172. </a>
  173. </td>
  174. </tr>
  175. </tbody>
  176. </table>
  177. </div>
  178. <!-- 上传图片显示的样板 start -->
  179. <div class="images_upload_tpl none">
  180. <div class="images_upload images_upload_html">
  181. <div class="images_upload_box">
  182. <input type="hidden" name="imgupload[]" value="" />
  183. <a href="javascript:void(0);" onClick="" class="upimg" title="拖动修改排序">
  184. <img src="__STATIC__/admin/images/add-button.jpg"/>
  185. </a>
  186. <a href="javascript:void(0)" class="delect" title="删除">&nbsp;&nbsp;</a>
  187. </div>
  188. <textarea rows="5" cols="60" name="imgintro[]" placeholder="图片注释" title="标签调用:{literal}{$field.intro}{/literal}"></textarea>
  189. </div>
  190. </div>
  191. <!-- 上传图片显示的样板 end -->
  192. </dd>
  193. </dl>
  194. {include file="archives/get_field_addonextitem" /}
  195. </div>
  196. <!-- 常规信息 -->
  197. <!-- SEO设置 -->
  198. <div class="ncap-form-default tab_div_2" style="display:none;">
  199. <dl class="row">
  200. <dt class="tit">
  201. <label for="seo_title">SEO标题</label>
  202. </dt>
  203. <dd class="opt">
  204. <input type="text" value="" name="seo_title" id="seo_title" class="input-txt">
  205. <p class="notic">一般不超过80个字符,为空时系统自动构成,可以到 <a href="{:url('Seo/index', array('inc_type'=>'seo'))}">SEO设置 - SEO基础</a> 中设置构成规则。</p>
  206. </dd>
  207. </dl>
  208. <dl class="row">
  209. <dt class="tit">
  210. <label>SEO关键词</label>
  211. </dt>
  212. <dd class="opt">
  213. <textarea rows="5" cols="60" id="seo_keywords" name="seo_keywords" style="height:20px;"></textarea>
  214. <span class="err"></span>
  215. <p class="notic">一般不超过100个字符,多个关键词请用英文逗号(,)隔开,建议3到5个关键词。</p>
  216. </dd>
  217. </dl>
  218. <dl class="row">
  219. <dt class="tit">
  220. <label>SEO描述</label>
  221. </dt>
  222. <dd class="opt">
  223. <textarea rows="5" cols="60" id="seo_description" name="seo_description" style="height:54px;" class="keywordsTextarea" onkeyup="monitorInputStr();" onkeypress="monitorInputStr();"></textarea>
  224. <span class="err"></span>
  225. <p class="notic">一般不超过100个字符,不填写时系统自动提取正文的前100个字符</p>
  226. <p class="notic2 none" id="beenWritten">你已输入<span id="beenWrittenStr">0</span>个字符</p>
  227. </dd>
  228. </dl>
  229. </div>
  230. <!-- SEO设置 -->
  231. <!-- 其他参数 -->
  232. <div class="ncap-form-default tab_div_3" style="display:none;">
  233. <dl class="row">
  234. <dt class="tit">
  235. <label for="author">作者</label>
  236. </dt>
  237. <dd class="opt">
  238. <input type="text" value="{$Think.session.admin_info.pen_name|default='小编'}" name="author" id="author" class="input-txt">
  239. <span class="err"></span>
  240. <p class="notic">设置作者默认名称(将同步至管理员笔名)</p>
  241. </dd>
  242. </dl>
  243. <dl class="row dl_origin">
  244. <dt class="tit">
  245. <label>来源</label>
  246. </dt>
  247. <dd class="opt origin-hot">
  248. <input type="text" value="{$system_originlist_0}" name="origin" id="origin" class="input-txt" onclick="searchOrigin(this);" autocomplete="off">
  249. <div class="origin-hot-list" style="display: none;" id="search_keywords_list_origin"></div>
  250. <textarea id="system_originlist_str" style="display: none;">{$system_originlist_str}</textarea>
  251. <span class="setting" onclick="set_originlist();">设置</span>
  252. <span class="err"></span>
  253. <p class="notic">为空时默认“网络”</p>
  254. </dd>
  255. </dl>
  256. <dl class="row">
  257. <dt class="tit">
  258. <label>点击数</label>
  259. </dt>
  260. <dd class="opt">
  261. <input type="text" value="{$rand_arcclick}" name="click" id="click" class="input-txt">
  262. <span class="err"></span>
  263. </dd>
  264. </dl>
  265. <dl class="row">
  266. <dt class="tit">
  267. <label>阅读权限</label>
  268. </dt>
  269. <dd class="opt">
  270. <select name="arcrank" id="arcrank" {if $admin_info.role_id>0&&$auth_role_info.check_oneself<1} disabled="disabled" {/if}>
  271. {volist name="arcrank_list" id="vo"}
  272. <option value="{$vo.rank}" {if $admin_info.role_id>0&&$auth_role_info.check_oneself<1&&$vo.rank==-1} selected="selected" {/if}>{$vo.name}</option>
  273. {/volist}
  274. </select>
  275. <span class="err"></span>
  276. </dd>
  277. </dl>
  278. <!-- #weapp_UsersGroup_content_users_id={$field.users_id}#--><!-- #weapp_UsersGroup_content# -->
  279. <dl class="row">
  280. <dt class="tit">
  281. <label for="articleForm">发布时间</label>
  282. </dt>
  283. <dd class="opt">
  284. <input type="text" class="input-txt" id="add_time" name="add_time" value="{php}echo date('Y-m-d H:i:s'){/php}" autocomplete="off">
  285. <span class="add-on input-group-addon">
  286. <i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
  287. </span>
  288. <span class="err"></span>
  289. </dd>
  290. </dl>
  291. <dl class="row">
  292. <dt class="tit">
  293. <label for="tempview">文档模板</label>
  294. </dt>
  295. <dd class="opt">
  296. <select name="tempview" id="tempview">
  297. {volist name='$templateList' id='vo'}
  298. <option value="{$vo}" {eq name='$vo' value='$tempview'}selected{/eq}>{$vo}</option>
  299. {/volist}
  300. </select>
  301. <input type="hidden" name="type_tempview" value="{$tempview}" />
  302. <span class="err"></span>
  303. </dd>
  304. </dl>
  305. <dl class="row {notin name='$seo_pseudo' value='2,3'}no-grey{/notin}">
  306. <dt class="tit">
  307. <label>自定义文件名</label>
  308. </dt>
  309. <dd class="opt">
  310. <input type="text" {notin name='$seo_pseudo' value='2,3'}readonly="readonly" title="动态模式下不支持自定义文档url"{/notin} value="" name="htmlfilename" id="htmlfilename" autocomplete="off" onkeyup="this.value=this.value.replace(/[^\u4E00-\u9FA5\w\-]/g,'-');" onpaste="this.value=this.value.replace(/[^\u4E00-\u9FA5\w\-]/g,'-');" class="input-txt {notin name='$seo_pseudo' value='2,3'}no-drop{/notin}">.html
  311. <span class="err"></span>
  312. <p class="notic">自定义文件名可由字母、数字、下划线(_)、连接符(-)等符号组成,除此之外其他字符将自动转为连接符(-)</p>
  313. </dd>
  314. </dl>
  315. </div>
  316. <!-- 其他参数 -->
  317. <!-- #weapp_demontrate_div# -->
  318. <!-- #weapp_div# -->
  319. <div class="ncap-form-default">
  320. <div class="bot2">
  321. <input type="hidden" name="gourl" value="{$gourl|default=''}">
  322. <input type="hidden" name="editor_addonFieldExt" id="editor_addonFieldExt" value="">
  323. <a href="JavaScript:void(0);" onclick="check_submit();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a>
  324. {include file="public/callback_page_2" /}<!-- 返回按钮 -->
  325. </div>
  326. </div>
  327. </form>
  328. </div>
  329. <script type="text/javascript">
  330. layui.use('laydate', function() {
  331. var laydate = layui.laydate;
  332. laydate.render({
  333. elem: '#add_time'
  334. ,type: 'datetime'
  335. });
  336. })
  337. $(function () {
  338. try {
  339. var web_citysite_open = {$global['web_citysite_open']|default=0};
  340. var site_province_id = {$site_province_id|default=0};
  341. var site_city_id = {$site_city_id|default=0};
  342. var site_area_id = {$site_area_id|default=0};
  343. if (web_citysite_open > 0 && site_province_id > 0) {
  344. $('select[name=province_id]').val(site_province_id);
  345. set_city_list(site_city_id);
  346. set_area_list(site_area_id);
  347. }
  348. }catch(e){}
  349. //选项卡切换列表
  350. $('.tab-base').find('.tab').click(function(){
  351. $('.tab-base').find('.tab').each(function(){
  352. $(this).removeClass('current');
  353. });
  354. $(this).addClass('current');
  355. var tab_index = $(this).data('index');
  356. $(".tab_div_1, .tab_div_2, .tab_div_3").hide();
  357. $(".tab_div_"+tab_index).show();
  358. layer.closeAll();
  359. });
  360. $('input[name=is_jump]').click(function(){
  361. if ($(this).is(':checked')) {
  362. $('.dl_jump').show();
  363. } else {
  364. $('.dl_jump').hide();
  365. }
  366. });
  367. var dftypeid = {$typeid|default='0'};
  368. $('#typeid').change(function(){
  369. var current_channel = $(this).find('option:selected').data('current_channel');
  370. if (0 < $(this).val() && {$channeltype} != current_channel) {
  371. showErrorMsg('请选择对应模型的栏目!');
  372. $(this).val(dftypeid);
  373. } else if ({$channeltype} == current_channel) {
  374. layer.closeAll();
  375. }
  376. GetAddonextitem(1, $(this).val(), {$channeltype}, 0, true);
  377. });
  378. $(document).click(function(){
  379. $('#often_tags').hide();
  380. $('#often_tags_input').hide();
  381. event.stopPropagation();
  382. });
  383. $('#often_tags').click(function(){
  384. $('#often_tags').show();
  385. event.stopPropagation();
  386. });
  387. $('input[name=tags]').keyup(function(){
  388. var tags = $.trim($(this).val());
  389. $('#seo_keywords').val(tags);
  390. });
  391. });
  392. // 判断输入框是否为空
  393. function check_submit(){
  394. if($.trim($('input[name=title]').val()) == ''){
  395. $($('.tab-base').find('.tab')[0]).trigger('click');
  396. showErrorMsg('标题不能为空!');
  397. $('input[name=title]').focus();
  398. return false;
  399. }
  400. if ($('#typeid').val() == 0) {
  401. $($('.tab-base').find('.tab')[0]).trigger('click');
  402. showErrorMsg('请选择栏目…!');
  403. $('#typeid').focus();
  404. return false;
  405. }
  406. var htmlfilename = $.trim($('input[name=htmlfilename]').val());
  407. if (htmlfilename != '') {
  408. var exp = /^\d{1,}$/;
  409. if (exp.test(htmlfilename)) {
  410. showErrorAlert('自定义文件名不能纯数字,会与文档ID冲突!');
  411. $('input[name=htmlfilename]').focus();
  412. return false;
  413. }
  414. }
  415. layer_loading('正在处理');
  416. if(!ajax_check_htmlfilename())
  417. {
  418. layer.closeAll();
  419. showErrorMsg('同栏目下,自定义文件名已存在!');
  420. $('input[name=htmlfilename]').focus();
  421. return false;
  422. }
  423. setTimeout(function (){
  424. editor_auto_210607();
  425. $('#post_form').submit();
  426. }, 1);
  427. }
  428. function img_call_back(fileurl_tmp)
  429. {
  430. $("#litpic_local").val(fileurl_tmp);
  431. $("#img_a").attr('href', fileurl_tmp);
  432. $("#img_i").attr('onmouseover', "layer_tips=layer.tips('<img src="+fileurl_tmp+" class=\\'layer_tips_img\\'>',this,{tips: [1, '#fff']});");
  433. $("input[name=is_litpic]").attr('checked', true); // 自动勾选属性[图片]
  434. }
  435. // 上传图集相册回调函数
  436. function imgupload_call_back(paths){
  437. var last_div = $(".images_upload_tpl").html();
  438. for (var i=0;i<paths.length ;i++ )
  439. {
  440. if ($(".sort-list-img .images_upload_html").length > 0) {
  441. $(".sort-list-img .images_upload_html:last").after(last_div); // 插入一个 新图片
  442. } else {
  443. $(".sort-list-img .images_upload:last").before(last_div); // 插入一个 新图片
  444. }
  445. $(".sort-list-img .images_upload_html:last").find('a:eq(0)').attr('href',paths[i]).attr('onclick','').attr('target', "_blank");// 修改他的链接地址
  446. $(".sort-list-img .images_upload_html:last").find('img').attr('src',paths[i]);// 修改他的图片路径
  447. $(".sort-list-img .images_upload_html:last").find('a:eq(1)').attr('onclick',"ClearPicArr2(this,'"+paths[i]+"')").text('');
  448. $(".sort-list-img .images_upload_html:last").find('input').val(paths[i]); // 设置隐藏域 要提交的值
  449. }
  450. }
  451. /*
  452. * 上传之后删除组图input
  453. * @access public
  454. * @val string 删除的图片input
  455. */
  456. function ClearPicArr2(obj,path)
  457. {
  458. $(obj).parent().parent().remove(); // 删除完服务器的, 再删除 html上的图片
  459. $.ajax({
  460. type:'POST',
  461. url:"{:url('Uploadimgnew/delupload', ['_ajax'=>1])}",
  462. data:{action:"del", filename:path},
  463. success:function(){}
  464. });
  465. }
  466. /** 以下 图集相册的拖动排序相关 js*/
  467. $( ".sort-list-img" ).sortable({
  468. start: function( event, ui) {
  469. }
  470. ,stop: function( event, ui ) {
  471. // var rdata = '', url="{:url('Images/ajax_sort_imgupload')}";
  472. // var container = $(ui.item).closest("TB");
  473. // var LIs = $(container).find("DIV");
  474. // $(LIs).each(function(){
  475. // console.log($(this))
  476. // rdata += $(this).attr('rel') + ',' + $(this).index() + '|';
  477. // });
  478. // rdata = rdata.substr(0, (rdata.length-1));
  479. // console.log(rdata)
  480. // $.post(url, {str:rdata}, function(){
  481. // });
  482. }
  483. });
  484. //因为他们要拖动,所以尽量设置他们的文字不能选择。
  485. // $( ".sort-list-img" ).disableSelection();
  486. </script>
  487. <script>
  488. try{
  489. var mt20_1649209614 = sessionStorage.getItem("mt20_1649209614");
  490. if (mt20_1649209614 == 1){
  491. $("#geduan_div").removeClass("h10");
  492. }else{
  493. $("#geduan_div").addClass("h10");
  494. }
  495. }catch(e){}
  496. </script>
  497. {include file="public/footer" /}