内部公司信息管理
parent
72d222a64a
commit
c92fa425d2
@ -0,0 +1,136 @@
|
||||
<extend name="Public/base" />
|
||||
<block name="css">
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
|
||||
<link rel="stylesheet" type="text/css" href="__STATIC__/webuploader/webuploader.css" media="all">
|
||||
<style>
|
||||
#form .txt_area.download_url {width:400px;}
|
||||
.tabcon1711 .table_radio2 .table_btn {width:215px;}
|
||||
</style>
|
||||
</block>
|
||||
<block name="body">
|
||||
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
||||
|
||||
<script src="__STATIC__/md5.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="__STATIC__/webuploader/webuploader.js"></script>
|
||||
<script src="__STATIC__/layer/layer.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="__STATIC__/layer/extend/layer.ext.js"></script>
|
||||
|
||||
|
||||
<!-- 标签页导航 -->
|
||||
<div class="tab-wrap">
|
||||
<div class="cf main-place top_nav_list navtab_list">
|
||||
<h3 class="page_title">{$meta_title}</h3>
|
||||
</div>
|
||||
|
||||
<div class="tab-content tabcon1711">
|
||||
<!-- 表单 -->
|
||||
<form id="form" action="{:U('company_add')}" method="post" class="form-horizontal">
|
||||
<!-- 基础 -->
|
||||
<div id="tab1" class="tab-pane in tab1 ">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>公司名称:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="partner" value="" placeholder="请输入合作方名称">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>联系人:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="link_man" value="" placeholder="请输入联系人">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>联系电话:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="link_phone" value="" placeholder="请输入联系电话">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l">邮寄地址:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="address" value="" placeholder="请输入邮寄地址">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l">公司税号:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="company_tax_no" value="" placeholder="请输入公司税号">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l">收款方名称:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="payee_name" value="" placeholder="请输入收款方名称">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l">银行账号:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="bank_account" value="" placeholder="请输入银行账号">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="l">开户行:</td>
|
||||
<td class="r" >
|
||||
<input type="text" class="txt " name="opening_bank" value="" placeholder="请输入开户行">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>显示状态:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn">
|
||||
<label>
|
||||
<input type="radio" class="inp_radio" value="1" name="status" checked> 开启
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" class="inp_radio" value="0" name="status"> 关闭
|
||||
</label>
|
||||
</span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="form-item cf">
|
||||
<button class="submit_btn ajax-post" id="submit" type="submit" target-form="form-horizontal" style="margin-left:210px;">
|
||||
保存
|
||||
</button>
|
||||
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="{:U('Partner/lists')}" >
|
||||
返回
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="common_settings">
|
||||
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
||||
<form class="addShortcutIcon">
|
||||
<input type="hidden" name="title" value="{$meta_title}">
|
||||
<input type="hidden" name="url" value="Partner/add">
|
||||
</form>
|
||||
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
|
||||
</div>
|
||||
|
||||
</block>
|
||||
|
||||
<block name="script">
|
||||
<script type="text/javascript">
|
||||
//导航高亮
|
||||
highlight_subnav("{:U('Partner/lists')}");
|
||||
$('#submit').click(function(){
|
||||
$('#form').submit();
|
||||
});
|
||||
</script>
|
||||
</block>
|
@ -0,0 +1,154 @@
|
||||
<extend name="Public/base"/>
|
||||
|
||||
<block name="body">
|
||||
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
||||
|
||||
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
|
||||
|
||||
<div class="cf main-place top_nav_list navtab_list">
|
||||
|
||||
<h3 class="page_title">{$meta_title}</h3>
|
||||
<p class="description_text">公司对外展示信息管理</p>
|
||||
</div>
|
||||
|
||||
<div class="tab-wrap">
|
||||
|
||||
|
||||
<div class="tab-content tabcon1711 tabcon17112">
|
||||
<div id="tab1" class="tab-pane in tab1">
|
||||
|
||||
<div class="tab-content-subpan jssubpan clearfix current">
|
||||
<form action="{:U('Tool/company_edit')}" method="post" class="form-horizontal company_info form_info_ml">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="l noticeinfo">公司名称</td>
|
||||
<td class="r table_radio">
|
||||
<input name="partner" type="text" value="{$company_info['partner']}" class="" placeholder="请输入公司名称">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l noticeinfo">联系人</td>
|
||||
<td class="r table_radio">
|
||||
<input name="link_man" type="text" value="{$company_info['link_man']}" class="" placeholder="请输入联系人">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l noticeinfo">联系电话</td>
|
||||
<td class="r table_radio">
|
||||
<input name="link_phone" type="text" value="{$company_info['link_phone']}" class="" placeholder="请输入联系电话">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">邮寄地址</td>
|
||||
<td class="r table_radio">
|
||||
<input name="address" type="text" value="{$company_info['address']}" class="" placeholder="请输入地址">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">公司税号</td>
|
||||
<td class="r table_radio">
|
||||
<input name="company_tax_no" type="text" value="{$company_info['company_tax_no']}" class="" placeholder="请输入公司税号">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">收款方名称</td>
|
||||
<td class="r table_radio">
|
||||
<input name="payee_name" type="text" value="{$company_info['payee_name']}" class="" placeholder="收款方名称">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">银行账号</td>
|
||||
<td class="r table_radio">
|
||||
<input name="bank_account" type="text" value="{$company_info['bank_account']}" class="" placeholder="银行账号">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">开户行</td>
|
||||
<td class="r table_radio">
|
||||
<input name="opening_bank" type="text" value="{$company_info['opening_bank']}" class="" placeholder="开户行">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>显示状态:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn">
|
||||
<label>
|
||||
<input type="radio" class="inp_radio" value="1" name="status"
|
||||
<if condition="$company_info['status']==1"> checked </if>> 开启
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" class="inp_radio" value="0" name="status"
|
||||
<if condition="$company_info['status']==0"> checked </if>> 关闭
|
||||
</label>
|
||||
</span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="hidden" name="name" value="company_info">
|
||||
<input type="hidden" name="id" value="{$company_info.id}">
|
||||
<input type="submit" id="submit" value="确定" target-form="company_info" class="submit_btn form_btn ajax-post mlspacing">
|
||||
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="{:U('Tool/company_info')}" >
|
||||
返回
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="common_settings">
|
||||
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
||||
<form class="addShortcutIcon">
|
||||
<input type="hidden" name="title" value="{$m_title}">
|
||||
<input type="hidden" name="url" value="{$m_url}">
|
||||
</form>
|
||||
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
|
||||
</div>
|
||||
|
||||
|
||||
</block>
|
||||
|
||||
<block name="script">
|
||||
<script type="text/javascript">
|
||||
//导航高亮
|
||||
highlight_subnav('{:U('Tool/company_info')}');
|
||||
|
||||
Think.setValue('status','{$company_info_data.status|default=0}');
|
||||
|
||||
$(function(){
|
||||
|
||||
|
||||
//支持tab
|
||||
showTab();
|
||||
|
||||
|
||||
})
|
||||
</script>
|
||||
</block>
|
@ -1,134 +1,187 @@
|
||||
<extend name="Public/base"/>
|
||||
|
||||
<block name="body">
|
||||
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
||||
|
||||
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
||||
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
||||
<style>
|
||||
.select2-container--default .select2-selection--single {
|
||||
color: #000;
|
||||
resize: none;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #a7b5bc #ced9df #ced9df #a7b5bc;
|
||||
box-shadow: 0px 3px 3px #F7F8F9 inset;height:35px;
|
||||
height:28px;border-radius:3px;font-size:12px;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
line-height:35px;
|
||||
line-height:28px;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height:26px;
|
||||
}
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
height:26px;line-height:26px;font-size:12px;
|
||||
}
|
||||
.select2-results__option[aria-selected] {font-size:12px;}
|
||||
.data_list table td{
|
||||
text-indent:0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="cf main-place top_nav_list navtab_list">
|
||||
|
||||
<h3 class="page_title">{$meta_title}</h3>
|
||||
<p class="description_text">公司对外展示信息管理</p>
|
||||
</div>
|
||||
|
||||
<div class="tab-wrap">
|
||||
|
||||
|
||||
<div class="tab-content tabcon1711 tabcon17112">
|
||||
<div id="tab1" class="tab-pane in tab1">
|
||||
|
||||
<div class="tab-content-subpan jssubpan clearfix current">
|
||||
<form action="{:U('saveTool')}" method="post" class="form-horizontal company_info form_info_ml">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="l noticeinfo">公司名称</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[partner]" type="text" value="{$company_info['partner']}" class="" placeholder="请输入公司名称">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l noticeinfo">联系人</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[link_man]" type="text" value="{$company_info['link_man']}" class="" placeholder="请输入联系人">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l noticeinfo">联系电话</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[link_phone]" type="text" value="{$company_info['link_phone']}" class="" placeholder="请输入联系电话">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">邮寄地址</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[address]" type="text" value="{$company_info['address']}" class="" placeholder="请输入地址">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">公司税号</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[company_tax_no]" type="text" value="{$company_info['company_tax_no']}" class="" placeholder="请输入公司税号">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="l noticeinfo">收款方名称</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[payee_name]" type="text" value="{$company_info['payee_name']}" class="" placeholder="收款方名称">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<div class="cf top_nav_list">
|
||||
<div class="fl button_list">
|
||||
<div class="tools">
|
||||
<a class="" href="{:U('company_add')}"><span class="button_icon button_icon1"></span>新增</a>
|
||||
<a class="ajax-post confirm " target-form="ids" url="{:U('del')}"><span class="button_icon button_icon2"></span>删除</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="jssearch fl cf search_list" >-->
|
||||
<!-- <div class="input-list search-title-box">-->
|
||||
<!-- <label>搜索:</label>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<!-- <div class="input-list input-list-platform">-->
|
||||
<!-- <select id="status" name="status" >-->
|
||||
<!-- <option value="">显示状态</option>-->
|
||||
<!-- <option value="1">已开启</option>-->
|
||||
<!-- <option value="0">已关闭</option>-->
|
||||
<!-- </select>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<!-- <div class="input-list">-->
|
||||
<!-- <a class="sch-btn" href="javascript:;" id="search" url="{:U('lists','model='.$model['name'] .'&row='.I('row'),false)}">搜索</a>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
|
||||
<!-- 数据列表 -->
|
||||
<div class="data_list data_game_list">
|
||||
<div class="">
|
||||
<table>
|
||||
<!-- 表头 -->
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="l noticeinfo">银行账号</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[bank_account]" type="text" value="{$company_info['bank_account']}" class="" placeholder="银行账号">
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
<th>
|
||||
<input class="check-all" type="checkbox">
|
||||
</th>
|
||||
<th>公司名称</th>
|
||||
<th>显示状态</th>
|
||||
|
||||
<th>联系人</th>
|
||||
<th>联系电话</th>
|
||||
<th>邮寄地址</th>
|
||||
<th>公司税号</th>
|
||||
<th>收款方名称</th>
|
||||
<th>银行账号</th>
|
||||
<th>开户行</th>
|
||||
|
||||
<th>添加人</th>
|
||||
<th>添加时间</th>
|
||||
<th style="width:10%;min-width:150px;">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<!-- 列表 -->
|
||||
<tbody>
|
||||
<empty name ="listData">
|
||||
<td colspan="13" class="text-center">aOh! 暂时还没有内容!</td>
|
||||
<else />
|
||||
<volist name="listData" id="data">
|
||||
<tr>
|
||||
<td class="l noticeinfo">开户行</td>
|
||||
<td class="r table_radio">
|
||||
<input name="config[opening_bank]" type="text" value="{$company_info['opening_bank']}" class="" placeholder="开户行">
|
||||
<span class="notice-text"></span>
|
||||
<td><input class="ids" type="checkbox" value="{$data['id']}" name="ids[]"></td>
|
||||
<td>{$data.partner}</td>
|
||||
<td>{$data.status}</td>
|
||||
|
||||
<td>{$data.link_man}</td>
|
||||
<td>{$data.link_phone}</td>
|
||||
<td>{$data.address}</td>
|
||||
<td>{$data.company_tax_no}</td>
|
||||
<td>{$data.payee_name}</td>
|
||||
<td>{$data.bank_account}</td>
|
||||
<td>{$data.opening_bank}</td>
|
||||
|
||||
<td>{$data.nickname}</td>
|
||||
<td>{$data.create_time}</td>
|
||||
<td>
|
||||
<a href="{:U('company_edit',array('id'=>$data['id']))}">编辑</a>
|
||||
<a href="{:U('company_del',array('id'=>$data['id']))}" class="confirm ajax-get">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</volist>
|
||||
</empty>
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="hidden" name="name" value="company_info">
|
||||
<input type="submit" id="submit" value="确定" target-form="company_info" class="submit_btn form_btn ajax-post mlspacing">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="page">
|
||||
{$_page|default=''}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="common_settings">
|
||||
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
||||
<form class="addShortcutIcon">
|
||||
<input type="hidden" name="title" value="{$m_title}">
|
||||
<input type="hidden" name="url" value="{$m_url}">
|
||||
<input type="hidden" name="title" value="{$meta_title}">
|
||||
<input type="hidden" name="url" value="Partner/lists">
|
||||
</form>
|
||||
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
|
||||
</div>
|
||||
|
||||
|
||||
</block>
|
||||
|
||||
<block name="script">
|
||||
<script src="__STATIC__/layer/layer.js"></script>
|
||||
<script src="__STATIC__/layer/extend/layer.ext.js"></script>
|
||||
<style>
|
||||
.layui-layer-demo .layui-layer-title {background:#F0F5F7;font-weight:bold;}
|
||||
.layui-layer-demo .layui-layer-content {}
|
||||
.layui-layer-demo .layui-layer-content table{width:100%;border:0;border-spacing:0;padding:0;}
|
||||
.layui-layer-demo .layui-layer-content td {height:42px;padding-left:20px;}
|
||||
.layui-layer-demo .layui-layer-content tr:hover {background:#F0F5F7;}
|
||||
.layui-layer-demo .layui-layer-content tr~tr {border-top:1px solid #ccc;}
|
||||
.layui-layer-demo .layui-layer-content td~td {border-left:1px solid #ccc;}
|
||||
.layui-layer-demo .layui-layer-content tr:last-child td {}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
<volist name=":I('get.')" id="vo">
|
||||
Think.setValue('{$key}',"{$vo}");
|
||||
</volist>
|
||||
$(".select_gallery").select2();
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
//导航高亮
|
||||
highlight_subnav('{:U('Tool/company_info')}');
|
||||
|
||||
Think.setValue('status','{$company_info_data.status|default=0}');
|
||||
|
||||
highlight_subnav("{:U('lists')}");
|
||||
$(function(){
|
||||
|
||||
|
||||
//支持tab
|
||||
showTab();
|
||||
|
||||
|
||||
})
|
||||
//搜索功能
|
||||
$("#search").click(function(){
|
||||
var url = $(this).attr('url');
|
||||
var query = $('.jssearch').find('input').serialize();
|
||||
query += "&"+$('.jssearch').find('select').serialize();
|
||||
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
|
||||
query = query.replace(/^&/g,'');
|
||||
|
||||
if( url.indexOf('?')>0 ){
|
||||
url += '&' + query;
|
||||
}else{
|
||||
url += '?' + query;
|
||||
}
|
||||
|
||||
window.location.href = url;
|
||||
});
|
||||
|
||||
//回车自动提交
|
||||
$('.jssearch').find('input').keyup(function(event){
|
||||
if(event.keyCode===13){
|
||||
$("#search").click();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</block>
|
||||
|
Loading…
Reference in New Issue