index.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {extend name="layout/content"/} {block name="header"}
  2. <title>关联查询</title>
  3. <link rel="stylesheet" href="__STATIC__/css/FuzzySearch.css?v={$Think.STATIC_VERSION}">
  4. <style>
  5. label {
  6. padding-top: 10px;
  7. margin-left: 10px;
  8. }
  9. .x-so {
  10. text-align: unset;
  11. margin-bottom: 20px;
  12. }
  13. section {
  14. margin-top: 10px;
  15. display: flex;
  16. }
  17. .layui-input {
  18. margin-right: 5px;
  19. }
  20. .set_width {
  21. margin-right: 5px;
  22. }
  23. .hide {
  24. display: none;
  25. }
  26. .glyphicon-plus:before {
  27. content: "\002b";
  28. font-size: 16px;
  29. font-weight: 900;
  30. width: 100%;
  31. display: inline-block;
  32. }
  33. .glyphicon-minus:before {
  34. content: "\2212";
  35. font-size: 16px;
  36. font-weight: 900;
  37. width: 100%;
  38. display: inline-block;
  39. }
  40. table td,
  41. table th {
  42. text-align: center;
  43. }
  44. .detail-view td,
  45. .detail-view th {
  46. text-align: left;
  47. }
  48. #tipText {
  49. margin-left: 50px;
  50. line-height: 39px;
  51. font-size: 12px;
  52. color: #999
  53. }
  54. </style>
  55. {/block} {block name="content"}
  56. <div class="x-body">
  57. <span style="font-size: 15px">游戏包链接反查询</span>
  58. <hr style="margin-top: 10px;">
  59. <form class="layui-form" method="GET" action="{:url('index')}">
  60. <div>
  61. <div class="layui-inline">
  62. <label>链接类型:</label>
  63. <div class="layui-input-inline" style="width:150px;">
  64. <select name="url_type" lay-filter="typeFilter">
  65. <option value="0" {if condition="$Request.get.url_type eq '0'" }selected="selected" {/if}>游戏包链接</option>
  66. <option value="1" {if condition="$Request.get.url_type eq '1'" }selected="selected" {/if}>推广页链接</option>
  67. </select>
  68. </div>
  69. </div>
  70. <div class="layui-inline">
  71. <div class="layui-input-inline">
  72. <input style="width: 575px" type="text" class="layui-input form-control input-circle input-sm" name="filename" autocomplete="off" placeholder="请输入链接地址" value="{$Request.get.filename}" />
  73. </div>
  74. </div>
  75. <div class="layui-inline">
  76. <button class="layui-btn" type="submit" id="J_submit_btn">查询</button>
  77. </div>
  78. <span id="tipText">
  79. 文件后缀.apk,如:https://downapp.weilongwl.com/sygame/ceshiQuickSDK/5c21ef5258714.apk
  80. </span>
  81. </div>
  82. <table class="layui-table">
  83. <thead>
  84. <tr>
  85. <th>游戏名称</th>
  86. <th>游戏包类型</th>
  87. <th>推广员ID</th>
  88. <th>推广员</th>
  89. <th>公会账号</th>
  90. <th>操作时间</th>
  91. </tr>
  92. </thead>
  93. <tbody>
  94. {empty name="list"}
  95. <tr>
  96. <td colspan="20" style="text-align: center;">暂无数据</td>
  97. </tr>
  98. {else/} {volist name="list" id="vo"}
  99. <tr>
  100. <td>{php} echo get_game_nickname($vo['gameid']) {/php}</td>
  101. <td>
  102. {if($vo.package_type == 1)}
  103. 光环包
  104. {else}
  105. 普通包
  106. {/if}
  107. </td>
  108. <td>{$vo.channel_id}</td>
  109. <td>{php} echo get_channel_name($vo['channel_id']){/php}</td>
  110. <td>{php} echo get_top_channel($vo['channel_id'])['name'] {/php}</td>
  111. <td>{$vo.update_time|date="Y-m-d H:i:s",###}</td>
  112. </tr>
  113. {/volist} {/empty}
  114. </tbody>
  115. </table>
  116. <div class="pager-container" style="margin-top:10px;">
  117. <span>有{$total}条记录</span>
  118. {$page}
  119. <div class="layui-inline" style="margin:0;margin-left:10px;width:80px;">
  120. <input type="text" style="height: 30px;" class="layui-input" placeholder="跳转至" name="page" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
  121. </div>
  122. </div>
  123. </form>
  124. </div>
  125. {/block}
  126. {block name="footer"}
  127. <script>
  128. layui.use(['form'], function () {
  129. var form = layui.form;
  130. var value= $("select[name=url_type]").children("option:selected").val();
  131. if(value==0){
  132. $("#tipText").html("文件后缀.apk,如:https://downapp.weilongwl.com/sygame/ceshiQuickSDK/5c21ef5258714.apk")
  133. }else{
  134. $("#tipText").html("文件后缀.html,如:http://t.weilongwl.com/dlxtp97u.html")
  135. }
  136. form.on("select(typeFilter)", function (data) {
  137. if(data.value==0){
  138. $("#tipText").html("文件后缀.apk,如:https://downapp.weilongwl.com/sygame/ceshiQuickSDK/5c21ef5258714.apk")
  139. }else{
  140. $("#tipText").html("文件后缀.html,如:http://t.weilongwl.com/dlxtp97u.html")
  141. }
  142. })
  143. })
  144. </script>
  145. {/block}