| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- {extend name="layout/content"/} {block name="header"}
- <title>关联查询</title>
- <link rel="stylesheet" href="__STATIC__/css/FuzzySearch.css?v={$Think.STATIC_VERSION}">
- <style>
- label {
- padding-top: 10px;
- margin-left: 10px;
- }
- .x-so {
- text-align: unset;
- margin-bottom: 20px;
- }
- section {
- margin-top: 10px;
- display: flex;
- }
- .layui-input {
- margin-right: 5px;
- }
- .set_width {
- margin-right: 5px;
- }
- .hide {
- display: none;
- }
- .glyphicon-plus:before {
- content: "\002b";
- font-size: 16px;
- font-weight: 900;
- width: 100%;
- display: inline-block;
- }
- .glyphicon-minus:before {
- content: "\2212";
- font-size: 16px;
- font-weight: 900;
- width: 100%;
- display: inline-block;
- }
- table td,
- table th {
- text-align: center;
- }
- .detail-view td,
- .detail-view th {
- text-align: left;
- }
- #tipText {
- margin-left: 50px;
- line-height: 39px;
- font-size: 12px;
- color: #999
- }
- </style>
- {/block} {block name="content"}
- <div class="x-body">
- <span style="font-size: 15px">游戏包链接反查询</span>
- <hr style="margin-top: 10px;">
- <form class="layui-form" method="GET" action="{:url('index')}">
- <div>
- <div class="layui-inline">
- <label>链接类型:</label>
- <div class="layui-input-inline" style="width:150px;">
- <select name="url_type" lay-filter="typeFilter">
- <option value="0" {if condition="$Request.get.url_type eq '0'" }selected="selected" {/if}>游戏包链接</option>
- <option value="1" {if condition="$Request.get.url_type eq '1'" }selected="selected" {/if}>推广页链接</option>
- </select>
- </div>
- </div>
-
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input style="width: 575px" type="text" class="layui-input form-control input-circle input-sm" name="filename" autocomplete="off" placeholder="请输入链接地址" value="{$Request.get.filename}" />
- </div>
- </div>
- <div class="layui-inline">
- <button class="layui-btn" type="submit" id="J_submit_btn">查询</button>
- </div>
-
- <span id="tipText">
- 文件后缀.apk,如:https://downapp.weilongwl.com/sygame/ceshiQuickSDK/5c21ef5258714.apk
- </span>
- </div>
- <table class="layui-table">
- <thead>
- <tr>
- <th>游戏名称</th>
- <th>游戏包类型</th>
- <th>推广员ID</th>
- <th>推广员</th>
- <th>公会账号</th>
- <th>操作时间</th>
- </tr>
- </thead>
-
- <tbody>
- {empty name="list"}
- <tr>
- <td colspan="20" style="text-align: center;">暂无数据</td>
- </tr>
- {else/} {volist name="list" id="vo"}
- <tr>
- <td>{php} echo get_game_nickname($vo['gameid']) {/php}</td>
- <td>
- {if($vo.package_type == 1)}
- 光环包
- {else}
- 普通包
- {/if}
- </td>
- <td>{$vo.channel_id}</td>
- <td>{php} echo get_channel_name($vo['channel_id']){/php}</td>
- <td>{php} echo get_top_channel($vo['channel_id'])['name'] {/php}</td>
- <td>{$vo.update_time|date="Y-m-d H:i:s",###}</td>
- </tr>
- {/volist} {/empty}
- </tbody>
- </table>
- <div class="pager-container" style="margin-top:10px;">
- <span>有{$total}条记录</span>
- {$page}
- <div class="layui-inline" style="margin:0;margin-left:10px;width:80px;">
- <input type="text" style="height: 30px;" class="layui-input" placeholder="跳转至" name="page" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')">
- </div>
- </div>
- </form>
- </div>
- {/block}
- {block name="footer"}
- <script>
- layui.use(['form'], function () {
- var form = layui.form;
- var value= $("select[name=url_type]").children("option:selected").val();
- if(value==0){
- $("#tipText").html("文件后缀.apk,如:https://downapp.weilongwl.com/sygame/ceshiQuickSDK/5c21ef5258714.apk")
- }else{
- $("#tipText").html("文件后缀.html,如:http://t.weilongwl.com/dlxtp97u.html")
- }
- form.on("select(typeFilter)", function (data) {
- if(data.value==0){
- $("#tipText").html("文件后缀.apk,如:https://downapp.weilongwl.com/sygame/ceshiQuickSDK/5c21ef5258714.apk")
- }else{
- $("#tipText").html("文件后缀.html,如:http://t.weilongwl.com/dlxtp97u.html")
- }
- })
- })
- </script>
- {/block}
|