Ingen beskrivning
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.

level_bar.htm 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {eq name="'Level@index'|is_check_access" value="1"}
  2. <div class="addartbtn fl" style="margin-right: 6px;">
  3. <input type="button" class="btn {if condition="!in_array($Request.action, ['index'])"}current{else/}selected{/if}" value="会员产品分类" onclick="window.location.href='{:url("Level/index")}';">
  4. </div>
  5. <div class=" addartbtn fl"><span class="sprt col-padding-1">|</span></div>
  6. {/eq}
  7. {eq name="'Member@index'|is_check_access" value="1"}
  8. <div class="addartbtn fl" style="margin-right: 6px;">
  9. <input type="button" class="btn {if condition="!in_array($Request.action, ['level_index'])"}current{else/}selected{/if}"" value="会员级别管理" data-href="{:url('Member/level_index', ['newframe'=>1])}" onclick="newframe(this);">
  10. </div>
  11. <div class=" addartbtn fl"><span class="sprt col-padding-1">|</span></div>
  12. {/eq}
  13. {eq name="'Level@upgrade_index'|is_check_access" value="1"}
  14. <div class="addartbtn fl" style="margin-right: 6px;">
  15. <input type="button" class="btn {if condition="!in_array($Request.action, ['upgrade_index'])"}current{else/}selected{/if}"" value="会员业务记录" onclick="window.location.href='{:url("Level/upgrade_index")}';">
  16. </div>
  17. {/eq}
  18. <script type="text/javascript">
  19. function newframe(obj)
  20. {
  21. var url = $(obj).data('href');
  22. //iframe窗
  23. layer.open({
  24. type: 2,
  25. title: $(obj).val(),
  26. fixed: true, //不固定
  27. shadeClose: false,
  28. shade: 0.3,
  29. maxmin: false, //开启最大化最小化按钮
  30. area: ['100%', '100%'],
  31. content: url,
  32. end: function(layero, index){
  33. window.location.reload();
  34. }
  35. });
  36. }
  37. </script>