tpl_flow_apply.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  6. <title><?=$da['title']?></title>
  7. <link rel="stylesheet" type="text/css" href="mode/weui/weui.min.css"/>
  8. <link rel="stylesheet" type="text/css" href="web/res/fontawesome/css/font-awesome.min.css">
  9. <link rel="stylesheet" type="text/css" href="webmain/css/rui.css">
  10. <script type="text/javascript" src="js/jquery.js"></script>
  11. <script type="text/javascript" src="js/js.js"></script>
  12. <script type="text/javascript" src="js/base64-min.js"></script>
  13. <style>
  14. </style>
  15. <script>
  16. ismobile = 1;
  17. function xuantype(o1){
  18. var val = o1.value;
  19. if(val){
  20. js.backto('typelx'+val+'');
  21. }
  22. }
  23. function initApp(){
  24. js.setapptitle();
  25. }
  26. function totuurl(url){
  27. var bo = js.appwin('.',url);
  28. if(!bo)js.location(url);
  29. }
  30. </script>
  31. </head>
  32. <body>
  33. <?php if($showheader==1){?>
  34. <div>
  35. <div class="r-header" style="padding-top:<?=$cenghei?>px" >
  36. <div onclick="location.reload()" id="header_title" class="r-header-text"><?=$da['title']?></div>
  37. <span onclick="js.back()" class="r-position-left r-header-btn"><i class="icon-chevron-left"></i></span>
  38. </div>
  39. <div class="blank50" id="header_line" style="height:<?=($cenghei+50)?>px"></div>
  40. </div>
  41. <?php }?>
  42. <div style="background:white"><div style="margin:0px 10px"><select style="width:100%;border:none;background:none;height:40px;font-size:16px" onchange="xuantype(this)">
  43. <option value="">-快速选择分类-</option>
  44. <?php
  45. $count=0;
  46. foreach($modearr as $type=>$rows){
  47. $count++;
  48. echo '<option value="'.$count.'">'.$type.'('.count($rows).')</option>';
  49. }
  50. ?>
  51. </select></div></div>
  52. <?php
  53. $count=0;$count1=0;
  54. foreach($modearr as $type=>$rows){
  55. $count1++;
  56. ?>
  57. <div class="weui_cells_title" id="typelx<?=$count1?>"><?=$type?>(<?=count($rows)?>)</div>
  58. <div class="weui_cells weui_cells_access">
  59. <?php
  60. foreach($rows as $k=>$rs){
  61. $count++;
  62. ?>
  63. <a class="weui_cell" href="javascript:;" onclick="totuurl('<?=$rs['url']?>')">
  64. <div class="weui_cell_bd weui_cell_primary">
  65. <p><?=$rs['title']?></p>
  66. </div>
  67. <div class="weui_cell_ft">
  68. </div>
  69. </a>
  70. <?php
  71. }
  72. ?>
  73. </div>
  74. <?php
  75. }
  76. ?>
  77. <div align="center" class="weui_cells_title">总共<?=$count?>个模块</div>
  78. </div>
  79. </body>
  80. </html>