설명 없음
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.

index.htm 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {include file="public/layout" /}
  2. <body class="bodystyle" style="cursor: default; -moz-user-select: inherit; min-width:400px;">
  3. <div id="append_parent"></div>
  4. <div id="ajaxwaitid"></div>
  5. <div class="page min-hg-c-10">
  6. <div class="fixed-bar">
  7. <div class="item-title">
  8. {eq name='$Request.param.source' value='archives'}
  9. <a class="back_xin" href="javascript:history.back();" title="返回"><i class="iconfont e-fanhui"></i></a>
  10. {else /}
  11. <a class="back_xin" href="{:url('Index/switch_map')}" title="返回"><i class="iconfont e-fanhui"></i></a>
  12. {/eq}
  13. <div class="subject">
  14. <h3>文档属性列表</h3>
  15. <h5></h5>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="flexigrid">
  20. <div class="hDiv">
  21. <div class="hDivBox">
  22. <table cellspacing="0" cellpadding="0" style="width: 100%">
  23. <thead>
  24. <tr>
  25. <th abbr="article_title" axis="col3" class="">
  26. <div class="text-l10">属性名称</div>
  27. </th>
  28. <th abbr="article_title" axis="col3" class="w80">
  29. <div class="tc">属性值</div>
  30. </th>
  31. <th abbr="article_time" axis="col6" class="w80">
  32. <div class="tc">显示</div>
  33. </th>
  34. <th abbr="article_time" axis="col6" class="w80">
  35. <div class="tc">排序</div>
  36. </th>
  37. </tr>
  38. </thead>
  39. </table>
  40. </div>
  41. </div>
  42. <div class="bDiv" style="height: auto;">
  43. <div id="flexigrid">
  44. <table cellspacing="0" cellpadding="0" style="width: 100%">
  45. <tbody>
  46. {empty name="list"}
  47. <tr>
  48. <td class="no-data" align="center" axis="col0" colspan="50">
  49. <div class="no_row">
  50. <div class="no_pic"><img src="__SKIN__/images/null-data.png"></div>
  51. </div>
  52. </td>
  53. </tr>
  54. {else/}
  55. {foreach name="list" item="vo" key="k" }
  56. <tr>
  57. <td class="" style="width: 100%;">
  58. <div class="tl text-l10" >
  59. {eq name="'Archives@add'|is_check_access" value="1"}
  60. <input type="text" name="flag_name" value="{$vo.flag_name}" onchange="changeTableVal('archives_flag', 'id', '{$vo.id}', 'flag_name', this);" style="width: 200px;" title="自定义属性名称" placeholder="自定义属性名称">
  61. {else /}
  62. {$vo.flag_name}
  63. {/eq}
  64. </div>
  65. </td>
  66. <td class="">
  67. <div class="w80 tc">
  68. {$vo.flag_attr}
  69. </div>
  70. </td>
  71. <td class="">
  72. <div class="w80 tc">
  73. {eq name="$vo.status" value='1'}
  74. <span class="yes" style="cursor: pointer;" {eq name="'Archives@add'|is_check_access" value="1"} data-id="{$vo.id}" onclick="changeTableVal('archives_flag','id','{$vo.id}','status',this);" {/eq} ><i class="fa fa-check-circle"></i>是</span>
  75. {else /}
  76. <span class="no" style="cursor: pointer;" {eq name="'Archives@add'|is_check_access" value="1"} data-id="{$vo.id}" onclick="changeTableVal('archives_flag','id','{$vo.id}','status',this);" {/eq} ><i class="fa fa-ban"></i>否</span>
  77. {/eq}
  78. </div>
  79. </td>
  80. <td class="sort">
  81. <div class="w80 tc">
  82. <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" onpaste="this.value=this.value.replace(/[^\d]/g,'')" onchange="changeTableVal('archives_flag','id','{$vo.id}','sort_order',this);" size="4" value="{$vo.sort_order}" />
  83. </div>
  84. </td>
  85. </tr>
  86. {/foreach}
  87. {/empty}
  88. </tbody>
  89. </table>
  90. </div>
  91. </form>
  92. </div>
  93. </div>
  94. </div>
  95. <script>
  96. $(document).ready(function(){
  97. // 表格行点击选中切换
  98. $('#flexigrid > table>tbody >tr').click(function(){
  99. $(this).toggleClass('trSelected');
  100. });
  101. });
  102. </script>
  103. {include file="public/footer" /}