Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. {include file="public/layout" /}
  2. <body class="help-page" style="min-width:auto;">
  3. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  4. <div id="append_parent"></div>
  5. <div id="ajaxwaitid"></div>
  6. <div class="page" style="min-width: auto;box-shadow:none;">
  7. <form class="form-horizontal" id="post_form" action="{:U('Links/add')}" method="post">
  8. <div class="help-form-default">
  9. <div class="help_tab_index" id="help_tab_index_1" {neq name="$Request.param.tab_index" value="1"}style="display:none"{/neq}>
  10. <div class="help-title"><i class="iconfont e-shezhi1"></i>功能向导</div>
  11. <dl class="help-row">
  12. <dd class="help-opt">
  13. <a href="javascript:void(0);" data-href="{:url('System/web2')}" onclick="toTopFame(this);" class=""><em>副栏目</em></a>如何开启?&nbsp;<a href="javascript:void(0);" data-href="{:url('System/web2')}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  14. </dd>
  15. </dl>
  16. <dl class="help-row">
  17. <dd class="help-opt">
  18. <a href="javascript:void(0);" data-href="{:url('ArchivesFlag/index',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><em>文档属性</em></a>如何自定义?&nbsp;<a href="javascript:void(0);" data-href="{:url('ArchivesFlag/index',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  19. </dd>
  20. </dl>
  21. <dl class="help-row">
  22. <dd class="help-opt">
  23. <a href="javascript:void(0);" data-href="{:url('Tags/index',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><em>文档标签</em></a>?&nbsp;<a href="javascript:void(0);" data-href="{:url('Tags/index',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  24. </dd>
  25. </dl>
  26. <dl class="help-row">
  27. <dd class="help-opt">
  28. <a href="javascript:void(0);" data-href="{:url('System/thumb',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><em>封面图片</em></a>生成方式如何设置?&nbsp;<a href="javascript:void(0);" data-href="{:url('System/thumb',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  29. </dd>
  30. </dl>
  31. <dl class="help-row">
  32. <dd class="help-opt">
  33. <a href="javascript:void(0);" data-href="{:url('System/water',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><em>图片水印</em></a>如何添加?&nbsp;<a href="javascript:void(0);" data-href="{:url('System/water',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  34. </dd>
  35. </dl>
  36. <dl class="help-row {empty name='$global.web_citysite_open'} none {/empty}">
  37. <dd class="help-opt">
  38. <a href="javascript:void(0);" data-href="{:url('Citysite/index',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><em>城市分站</em></a>如何设置?&nbsp;<a href="javascript:void(0);" data-href="{:url('Citysite/index',array('source'=>'archives'))}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  39. </dd>
  40. </dl>
  41. <dl class="help-row">
  42. <dd class="help-opt">
  43. <a href="javascript:void(0);" data-href="{:url('Channeltype/edit',array('id'=>4,'source'=>'archives'))}" onclick="toTopFame(this);"><em>下载付费</em></a>如何开启?&nbsp;<a href="javascript:void(0);" data-href="{:url('Channeltype/edit',array('id'=>4,'source'=>'archives'))}" onclick="toTopFame(this);"><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  44. </dd>
  45. </dl>
  46. <dl class="help-row">
  47. <dd class="help-opt">
  48. <a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><em>附件上传</em></a>大小如何设置?&nbsp;<a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  49. </dd>
  50. <!-- <dd class="help-opt">
  51. 附件上传大小&nbsp;<a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="openTopframe(this,'附件设置','80%','80%');" class="">修改</a>
  52. </dd> -->
  53. </dl>
  54. <dl class="help-row">
  55. <dd class="help-opt">
  56. <a href="javascript:void(0);" data-href="{:url('Field/channel_index',array('channel_id'=>4,'source'=>'archives'))}" onclick="toTopFame(this);" class=""><em>自定义字段</em></a>如何添加?&nbsp;<a href="javascript:void(0);" data-href="{:url('Field/channel_index',array('channel_id'=>4,'source'=>'archives'))}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  57. </dd>
  58. </dl>
  59. <dl class="help-row">
  60. <dd class="help-opt">
  61. <a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><em>编辑器功能</em></a>如何更改?&nbsp;<a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  62. </dd>
  63. </dl>
  64. <dl class="help-row">
  65. <dd class="help-opt">
  66. <a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><em>内容图片附加功能</em></a>如何修改?&nbsp;<a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  67. </dd>
  68. </dl>
  69. </div>
  70. <div class="help_tab_index" id="help_tab_index_2" {neq name="$Request.param.tab_index" value="2"}style="display:none"{/neq}>
  71. <div class="help-title"><i class="iconfont e-shezhi1"></i>功能向导</div>
  72. <dl class="help-row">
  73. <dd class="help-opt">
  74. <a href="javascript:void(0);" data-href="{:url('Seo/seo')}" onclick="toTopFame(this);" class=""><em>SEO标题</em></a>如何配置构成规则?&nbsp;<a href="javascript:void(0);" data-href="{:url('Seo/seo')}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  75. </dd>
  76. </dl>
  77. </div>
  78. <div class="help_tab_index" id="help_tab_index_3" {neq name="$Request.param.tab_index" value="3"}style="display:none"{/neq}>
  79. <div class="help-title"><i class="iconfont e-shezhi1"></i>功能向导</div>
  80. <dl class="help-row">
  81. <dd class="help-opt">
  82. <input type="hidden" id="pen_name" name="pen_name" value="{$Think.session.admin_info.pen_name|default='小编'}" />
  83. <a href="javascript:void(0);" onclick="set_top_author();" class=""><em>作者</em></a>设置默认值(将同步至管理员笔名)&nbsp;<a href="javascript:void(0);" onclick="set_top_author();" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  84. </dd>
  85. </dl>
  86. <dl class="help-row">
  87. <dd class="help-opt">
  88. <textarea id="system_originlist_str" style="display: none;">{$system_originlist_str}</textarea>
  89. <a href="javascript:void(0);" onclick="set_top_originlist();" class=""><em>来源</em></a>设置默认值&nbsp;<a href="javascript:void(0);" onclick="set_top_originlist();" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  90. </dd>
  91. </dl>
  92. <dl class="help-row">
  93. <dd class="help-opt">
  94. <a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><em>点击数</em></a>设置默认值&nbsp;<a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  95. </dd>
  96. </dl>
  97. <dl class="help-row">
  98. <dd class="help-opt">
  99. <a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><em>下载数</em></a>设置默认值&nbsp;<a href="javascript:void(0);" data-href="{:url('System/basic')}" onclick="toTopFame(this);" class=""><i class="iconfont e-fenxiang_2" title="传送门"></i></a>
  100. </dd>
  101. </dl>
  102. </div>
  103. </div>
  104. </form>
  105. </div>
  106. <div class="f_jxw"></div>
  107. <script>
  108. function set_top_originlist(){
  109. var value = $('#system_originlist_str').val();
  110. top.layer.prompt({
  111. title:'来源管理',
  112. shade: layer_shade,
  113. formType: 2,
  114. btnAlign:'r',
  115. closeBtn: 3,
  116. placeholder: '一行代表一个来源值',
  117. value: value,
  118. },
  119. function(val, index){
  120. $.ajax({
  121. url: eyou_basefile + "?m=admin&c=Archives&a=ajax_set_originlist&_ajax=1",
  122. type: 'POST',
  123. dataType: 'JSON',
  124. data: {origin:val},
  125. success: function(res){
  126. if (res.code == 1) {
  127. $('#system_originlist_str').val(res.data.originlist_str);
  128. top.layer.msg(res.msg, {icon: 1, time:1000});
  129. } else {
  130. showErrorMsg(res.msg);
  131. return false;
  132. }
  133. },
  134. error: function(e){
  135. showErrorMsg(e.responseText);
  136. return false;
  137. }
  138. });
  139. top.layer.close(index);
  140. }
  141. );
  142. }
  143. function set_top_author(){
  144. var value = $("#pen_name").val();
  145. top.layer.prompt({
  146. title:'设置作者默认名称',
  147. shade: layer_shade,
  148. btnAlign:'r',
  149. closeBtn: 3,
  150. value: value
  151. },
  152. function(val, index){
  153. $.ajax({
  154. url: eyou_basefile + "?m=admin&c=Admin&a=ajax_setfield&_ajax=1",
  155. type: 'POST',
  156. dataType: 'JSON',
  157. data: {field:'pen_name',value:val},
  158. success: function(res){
  159. if (res.code == 1) {
  160. $('#pen_name').val(val);
  161. top.layer.msg(res.msg, {icon: 1, time:1000});
  162. } else {
  163. showErrorMsg(res.msg);
  164. return false;
  165. }
  166. },
  167. error: function(e){
  168. showErrorMsg(e.responseText);
  169. return false;
  170. }
  171. });
  172. top.layer.close(index);
  173. }
  174. );
  175. }
  176. function openTopframe(obj,title,width,height,offset){
  177. //iframe窗
  178. var url = '';
  179. if (typeof(obj) == 'string' && obj.indexOf("?m=admin&c=") != -1) {
  180. url = obj;
  181. } else {
  182. url = $(obj).data('href');
  183. }
  184. if (!width) width = '100%';
  185. if (!height) height = '100%';
  186. if (!offset) offset = 'auto';
  187. var anim = 0;
  188. var shade = layer_shade;
  189. if ('r' == offset) {
  190. shade = [0.05];
  191. anim = 5;
  192. }
  193. var iframes = top.layer.open({
  194. type: 2,
  195. title: title,
  196. fixed: true, //不固定
  197. shadeClose: false,
  198. shade: shade,
  199. offset: offset,
  200. closeBtn: 3,
  201. // maxmin: true, //开启最大化最小化按钮
  202. area: [width, height],
  203. anim: anim,
  204. content: url,
  205. end: function() {
  206. if (1 == $(obj).data('closereload')) window.location.reload();
  207. },
  208. success: function(layero, index){
  209. if ('r' == offset) {
  210. $('.layui-layer-shade').click(function(){
  211. layer.close(index);
  212. });
  213. }
  214. }
  215. });
  216. if (width == '100%' && height == '100%') {
  217. layer.full(iframes);
  218. }
  219. }
  220. //跳转走
  221. function toTopFame(obj){
  222. var url = $(obj).data('href');
  223. title = '即将跳转到新页面,编辑内容不会保存,确认跳转?';
  224. btn = ['确定', '取消']; //按钮
  225. top.layer.confirm(title, {
  226. shade: layer_shade,
  227. area: ['480px', '190px'],
  228. move: false,
  229. title: '提示',
  230. btnAlign:'r',
  231. closeBtn: 3,
  232. btn: btn, //按钮
  233. success: function () {
  234. top.$(".layui-layer-content").css('text-align', 'left');
  235. }
  236. }, function(index){
  237. // 确定
  238. top.layer.close(index);
  239. top.$("#workspace").attr('src', url);
  240. // parent.parent.location.href = url;
  241. }, function(index){
  242. top.layer.close(index);
  243. return false;// 取消
  244. }
  245. );
  246. }
  247. </script>
  248. {include file="public/footer" /}