Merge branches 'dev_permission' and 'dev_zyx' of 47.111.118.107:/srv/git/platform into dev_permission
Conflicts: Data/update.sqlmaster
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
namespace Admin\Controller;
|
||||
|
||||
|
||||
/**
|
||||
* 后台首页控制器
|
||||
* @author 麦当苗儿 <zuojiazi@vip.qq.com>
|
||||
*/
|
||||
class SuperSignController extends ThinkController
|
||||
{
|
||||
public function lists($p = 1) {
|
||||
|
||||
|
||||
|
||||
$page = intval($p);
|
||||
$page = $page ? $page : 1; //默认显示第一页数据
|
||||
$row=10;
|
||||
if(isset($_REQUEST['row'])) {$row = $_REQUEST['row'];}else{$row = 10;}
|
||||
|
||||
$map =[];
|
||||
if (I('account')) {
|
||||
$map['tab_user.account'] = I('account');
|
||||
}
|
||||
|
||||
if (I('order_id')) {
|
||||
$map['order_id'] = I('order_id');
|
||||
}
|
||||
|
||||
if (I('start')&&I('end')) {
|
||||
$map['pay_time'] = ['between',[strtotime(I('start')),strtotime(I('end'))]];
|
||||
} else if(I('start')&&!I('end')) {
|
||||
$map['pay_time'] = ['egt',strtotime(I('start'))];
|
||||
} else if (!I('start')&&I('end')) {
|
||||
$map['pay_time'] = ['elt',strtotime(I('end'))];
|
||||
}
|
||||
|
||||
if (I('game_name')) {
|
||||
$map['game_name'] = ['like',I('game_name').'%'];
|
||||
}
|
||||
|
||||
if (I('promote_id')||I('promote_id')=='0') {
|
||||
$map['tab_user.promote_id'] = I('promote_id');
|
||||
}
|
||||
|
||||
$map['tab_game_supersign.pay_status'] = 1;
|
||||
|
||||
$data = M('game_supersign','tab_')
|
||||
->field("order_id,ticket,pay_time,tab_user.account,tab_game.game_name,tab_user.promote_account,pay_price,pay_way")
|
||||
->join("left join tab_user on tab_game_supersign.user_id = tab_user.id")
|
||||
->join("left join tab_game on tab_game_supersign.game_id = tab_game.id")
|
||||
->page($p, $row)
|
||||
->order("pay_time DESC")
|
||||
->where($map)
|
||||
->select();
|
||||
|
||||
foreach ($data as $key => $Value) {
|
||||
$data[$key]['pay_time'] = date('Y-m-d H:i:s',$Value['pay_time']);
|
||||
if ($Value['pay_way']==1) {
|
||||
$data[$key]['pay_way'] = '支付宝';
|
||||
} else if ($Value['pay_way']==2) {
|
||||
$data[$key]['pay_way'] = '微信';
|
||||
} else {
|
||||
$data[$key]['pay_way'] = '未知';
|
||||
}
|
||||
}
|
||||
|
||||
$count = M('game_supersign','tab_')
|
||||
->field("order_id,ticket,pay_time,tab_user.account,tab_game.game_name,tab_user.promote_account,pay_price")
|
||||
->join("left join tab_user on tab_game_supersign.user_id = tab_user.id")
|
||||
->join("left join tab_game on tab_game_supersign.game_id = tab_game.id")->where($map)->count();
|
||||
|
||||
$page = set_pagination($count, $row);
|
||||
if ($page) {
|
||||
$this->assign('_page', $page);
|
||||
}
|
||||
$this->meta_title = '超级签订单';
|
||||
$this->assign('data',$data);
|
||||
$this->display();
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,193 @@
|
||||
<?php
|
||||
namespace Admin\Controller;
|
||||
|
||||
|
||||
/**
|
||||
* 后台首页控制器
|
||||
* @author 麦当苗儿 <zuojiazi@vip.qq.com>
|
||||
*/
|
||||
class TestWhiteListController extends ThinkController
|
||||
{
|
||||
public function lists($p = 1) {
|
||||
|
||||
$page = intval($p);
|
||||
$page = $page ? $page : 1; //默认显示第一页数据
|
||||
$row=10;
|
||||
if(isset($_REQUEST['row'])) {$row = $_REQUEST['row'];}else{$row = 10;}
|
||||
|
||||
$map =[];
|
||||
if (I('account')) {
|
||||
$map['account'] = array('like',I('account').'%');
|
||||
}
|
||||
|
||||
$data = M('test_white_list','tab_')
|
||||
->page($p, $row)
|
||||
->where($map)
|
||||
->order('create_ime DESC')
|
||||
->select();
|
||||
|
||||
foreach ($data as $key => $Value) {
|
||||
// $data[$key]['show_status'] = $data[$key]['show_status']?'显示':'锁定';
|
||||
$data[$key]['create_ime'] = date('Y-m-d H:i:s',$Value['create_ime']);
|
||||
}
|
||||
|
||||
$count = M('test_white_list','tab_')
|
||||
->where($map)
|
||||
->count();
|
||||
|
||||
$page = set_pagination($count, $row);
|
||||
if ($page) {
|
||||
$this->assign('_page', $page);
|
||||
}
|
||||
$this->meta_title = '测试白名单';
|
||||
$this->assign('data',$data);
|
||||
$this->display();
|
||||
|
||||
}
|
||||
|
||||
public function add() {
|
||||
$this->meta_title = '测试白名单添加';
|
||||
$this->assign('title','新增');
|
||||
$this->display();
|
||||
}
|
||||
|
||||
public function edit() {
|
||||
$this->meta_title = '测试白名单编辑';
|
||||
$this->assign('title','编辑');
|
||||
$this->display("add");
|
||||
}
|
||||
|
||||
public function edit_user() {
|
||||
$data = I('');
|
||||
|
||||
if (!$data['user_id']) {
|
||||
$this->error('请填写测试账号');
|
||||
}
|
||||
|
||||
$userData['account'] = $data['account'];
|
||||
|
||||
$user = M('user','tab_')->where(array('id'=>$data['user_id']))->find();
|
||||
|
||||
if (!$user) {
|
||||
$this->error('账号不存在');
|
||||
}
|
||||
$userData['check_status'] = $data['status']?$data['status']:0;
|
||||
|
||||
$userAdd = M('user','tab_')->where(array('id'=>$data['user_id']))->save($userData);
|
||||
if ($userAdd) {
|
||||
$whitedata['show_status'] = $data['status']?$data['status']:0;
|
||||
$whitedata['account'] = $data['account'];
|
||||
|
||||
$whiteList = M('test_white_list','tab_')->where(array('user_id'=>$data['user_id']))->save($whitedata);
|
||||
// echo M('test_white_list','tab_')->_sql();die();
|
||||
|
||||
if($whiteList) {
|
||||
$this->success('修改白名单成功',U('TestWhiteList/lists'));
|
||||
} else {
|
||||
$this->error('修改白名单失败');
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->error('修改用户失败');
|
||||
}
|
||||
}
|
||||
|
||||
public function edit_user1() {
|
||||
$data = $_GET;
|
||||
|
||||
if (!$data['user_id']) {
|
||||
$this->ajaxReturn(['status'=>0,'msg'=>"请填写测试账号"]);
|
||||
}
|
||||
|
||||
$userData['account'] = $data['account'];
|
||||
|
||||
$user = M('user','tab_')->where(array('id'=>$data['user_id']))->find();
|
||||
|
||||
if (!$user) {
|
||||
$this->ajaxReturn(['status'=>0,'msg'=>"账号不存在"]);
|
||||
}
|
||||
$userData['check_status'] = $data['status']?$data['status']:0;
|
||||
|
||||
$userAdd = M('user','tab_')->where(array('id'=>$data['user_id']))->save($userData);
|
||||
if ($userAdd) {
|
||||
$whitedata['show_status'] = $data['status']?$data['status']:0;
|
||||
$whitedata['account'] = $data['account'];
|
||||
|
||||
$whiteList = M('test_white_list','tab_')->where(array('user_id'=>$data['user_id']))->save($whitedata);
|
||||
// echo M('test_white_list','tab_')->_sql();die();
|
||||
|
||||
if($whiteList) {
|
||||
$this->ajaxReturn(['status'=>1,'msg'=>"修改白名单成功"]);
|
||||
} else {
|
||||
$this->ajaxReturn(['status'=>0,'msg'=>"修改白名单成功"]);
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->ajaxReturn(['status'=>0,'msg'=>"修改用户失败"]);
|
||||
}
|
||||
}
|
||||
|
||||
public function add_user() {
|
||||
$data = I('');
|
||||
|
||||
if (!$data['account']) {
|
||||
$this->error('请填写测试账号');
|
||||
}
|
||||
|
||||
$userData['account'] = $data['account'];
|
||||
|
||||
$user = M('user','tab_')->where($userData)->find();
|
||||
|
||||
if ($user) {
|
||||
$this->error('账号已经存在');
|
||||
}
|
||||
|
||||
$userData['password'] = md5(sha1('123456') . UC_AUTH_KEY);
|
||||
$userData['promote_id'] = 0;
|
||||
$userData['promote_account'] = '官方渠道';
|
||||
$userData['register_time'] = time();
|
||||
$userData['check_status'] = $data['status']?$data['status']:0;
|
||||
|
||||
$userAdd = M('user','tab_')->add($userData);
|
||||
if ($userAdd) {
|
||||
$data['user_id'] = $userAdd;
|
||||
$data['show_status'] = $data['status']?$data['status']:0;
|
||||
$data['add_user'] = $_SESSION['onethink_admin']['user_auth']['username'];
|
||||
$data['create_ime'] = time();
|
||||
|
||||
$whiteList = M('test_white_list','tab_')->add($data);
|
||||
if($whiteList) {
|
||||
$this->success('添加白名单成功',U('TestWhiteList/lists'));
|
||||
} else {
|
||||
$this->error('添加白名单失败');
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->error('添加用户失败');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function freezeSupport() {
|
||||
$supportId = I('status');
|
||||
|
||||
$data = [
|
||||
'check_status' => $supportId
|
||||
];
|
||||
|
||||
$isFreeze = M('user','tab_')->where("id=".$supportId)->save($data);
|
||||
|
||||
if ($supportId == 1) {
|
||||
$msg = '启用';
|
||||
} else if ($supportId == 0) {
|
||||
$msg = '锁定';
|
||||
}
|
||||
|
||||
if ($isFreeze) {
|
||||
$this->ajaxReturn(['status'=>1, 'msg'=> $msg.'成功']);
|
||||
} else {
|
||||
$this->ajaxReturn(['status'=>0, 'msg'=> $msg.'失败']);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,185 @@
|
||||
<!-- 成员授权编辑页面 -->
|
||||
<extend name="Public/base" />
|
||||
<block name="body">
|
||||
<div class="main-place">
|
||||
<span class="main-placetitle">位置</span>
|
||||
<ul class="main-placeul">
|
||||
<li><a href="{:U('User/index')}">用户</a></li>
|
||||
<li><a href="{:U('User/index')}">管理组</a></li>
|
||||
<li><a href="#">{$meta_title}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-wrap">
|
||||
<div class="tab_nav">
|
||||
<ul>
|
||||
<li><a href="{:U('AuthManager/access',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">访问授权</a></li>
|
||||
<li><a href="{:U('AuthManager/category',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">分类授权</a></li>
|
||||
<!-- <li><a href="{:U('AuthManager/dataempower',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">数据授权</a></li>-->
|
||||
<li class="current"><a href="javascript:;">数据授权</a></li>
|
||||
<li><a href="{:U('AuthManager/user',array('group_name'=>I('group_name') ,'group_id'=> I('group_id')))}">成员授权</a></li>
|
||||
<!-- <li class="current"><a href="javascript:;">成员授权</a></li>-->
|
||||
<li class="fr tab_select">
|
||||
<select name="group">
|
||||
<volist name="auth_group" id="vo">
|
||||
<option value="{:U('AuthManager/dataempower',array('group_id'=>$vo['id'],'group_name'=>$vo['title']))}" <eq name="vo['id']" value="$_GET['group_id']">selected</eq> >{$vo.title}</option>
|
||||
</volist>
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tab-wrap">
|
||||
|
||||
<div class="tab-content tabcon1711" style="margin-top: 20px;">
|
||||
<span style="font-size: 20px;font-weight: 600;padding-left: 15px;padding-bottom: 30px">数据授权</span>
|
||||
<!-- 表单 -->
|
||||
<form id="form" action="{:U('dataEmpowerSave?model='.$model['id'])}" method="post" class="form-horizontal">
|
||||
<!-- 基础文档模型 -->
|
||||
<div id="tab1" class="tab-pane in tab1" style="margin-top: 10px;">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="l" style="padding-left: 15px;">数据授权类型:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn" style="width: auto">
|
||||
<label >
|
||||
<input type="radio" value="1" name="data_empower_type" <eq name="data_empower_type" value="1">checked="checked"</eq>>可查看全部数据
|
||||
</label >
|
||||
<label >
|
||||
<input type="radio" value="2" name="data_empower_type" <eq name="data_empower_type" value="2">checked="checked"</eq>>可查看部分数据
|
||||
</label>
|
||||
<label >
|
||||
<input type="radio" value="3" name="data_empower_type" <eq name="data_empower_type" value="3">checked="checked"</eq>>只能查看自己创建的会长数据
|
||||
</label>
|
||||
</span>
|
||||
<!-- <span class="notice-text">锁定状态下,推广员账号则无法登录</span>-->
|
||||
<input type="hidden" name="group_id" id="group_id" value="{$_GET['group_id']}">
|
||||
<input type="hidden" name="promote_data" id="promote_data" value="[]">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<link rel="stylesheet" type="text/css" href="__STATIC__/layui-v2.5.5/css/layui.css">
|
||||
|
||||
<if condition="$data_empower_type neq 2">
|
||||
<div id="test4" class="demo-transfer" style="margin-left: 100px;margin-top: 35px;display: none" ></div>
|
||||
<else/>
|
||||
<div id="test4" class="demo-transfer" style="margin-left: 100px;margin-top: 35px"></div>
|
||||
</if>
|
||||
|
||||
<div class="form-item cf">
|
||||
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal" >
|
||||
确认
|
||||
</button>
|
||||
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back(-1);" style="color:#000000;background:#ffffff;border: solid 1px #000">
|
||||
返回
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
</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="AuthManager/index">
|
||||
</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__/layui-v2.5.5/layui.all.js"></script>
|
||||
|
||||
<script>
|
||||
var dataTransfer = '';
|
||||
$.ajax({
|
||||
url: "{:U('getRootPromote')}",
|
||||
type: "post",
|
||||
data: {group_id: $('#group_id').val()},
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
// datas = data;
|
||||
layui.use(['transfer', 'layer', 'util'], function(){
|
||||
var $ = layui.$
|
||||
,transfer = layui.transfer
|
||||
,layer = layui.layer
|
||||
,util = layui.util;
|
||||
|
||||
var data1 =data;
|
||||
console.log(JSON.parse(data1).data_president.split(","));
|
||||
//显示搜索框
|
||||
transfer.render({
|
||||
elem: '#test4'
|
||||
,data: JSON.parse(data1).list
|
||||
,title: ['全部成员', '选中成员']
|
||||
,showSearch: true,
|
||||
value: JSON.parse(data1).data_president.split(","),
|
||||
id: 'key123',
|
||||
onchange: function(data, index){
|
||||
dataTransfer = transfer.getData('key123'); //获取右侧数据
|
||||
// layer.alert(JSON.stringify(dataTransfer));
|
||||
$('#promote_data').val(JSON.stringify(dataTransfer));
|
||||
}
|
||||
})
|
||||
transfets = transfer;
|
||||
//批量办法定事件
|
||||
util.event('lay-demoTransferActive', {
|
||||
getData: function(othis){
|
||||
var getData = transfer.getData('key123'); //获取右侧数据
|
||||
layer.alert(JSON.stringify(getData));
|
||||
}
|
||||
,reload:function(){
|
||||
//实例重载
|
||||
transfer.reload('key123', {
|
||||
title: ['文人', '喜欢的文人']
|
||||
,value: ['2', '5', '9']
|
||||
,showSearch: true
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$(function () {
|
||||
var status = $('input:radio[name="data_empower_type"]:checked').val();
|
||||
$('#status').val(status);
|
||||
});
|
||||
$(":radio").click(function () {
|
||||
var status = $('input:radio[name="data_empower_type"]:checked').val();
|
||||
$('#status').val(status);
|
||||
if (status != 2) {
|
||||
$("#test4").css('display','none');
|
||||
$('#promote_data').val('[]');
|
||||
} else {
|
||||
$("#test4").css('display','block');
|
||||
$('#promote_data').val(JSON.stringify(dataTransfer));
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$('select[name=group]').change(function(){
|
||||
location.href = this.value;
|
||||
});
|
||||
//导航高亮
|
||||
highlight_subnav('{:U('AuthManager/index')}');
|
||||
|
||||
</script>
|
||||
<style>
|
||||
.layui-transfer-box{
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</block>
|
@ -0,0 +1,115 @@
|
||||
<extend name="Public/base" />
|
||||
|
||||
<block name="body">
|
||||
<!-- <link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all"> -->
|
||||
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/provincecityarea/area1.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/provincecityarea/AreaData_min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/provincecityarea/jquery-1.7.min.js"></script>
|
||||
<script type="text/javascript" src="__JS__/jquery.mousewheel.js"></script>
|
||||
|
||||
|
||||
<div class="cf main-place top_nav_list navtab_list">
|
||||
<ul class="tabnav1711 fr jstabnav">
|
||||
<li data-tab="tab1" class="current"><a href="javascript:void(0);">基本信息</a></li></li>
|
||||
<li data-tab="tab2" ><a href="javascript:void(0);">结算信息</a></li>
|
||||
</ul>
|
||||
<h3 class="page_title">{$title}测试账号</h3>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 标签页导航 -->
|
||||
<div class="tab-wrap">
|
||||
|
||||
<div class="tab-content tabcon1711">
|
||||
<!-- 表单 -->
|
||||
<if condition="$title eq '编辑'" >
|
||||
<form id="form" action="{:U('edit_user?model='.$model['id'])}" method="post" class="form-horizontal">
|
||||
<else />
|
||||
<form id="form" action="{:U('add_user?model='.$model['id'])}" method="post" class="form-horizontal">
|
||||
</if>
|
||||
|
||||
<!-- 基础文档模型 -->
|
||||
<div id="tab1" class="tab-pane in tab1">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="l">测试账号:</td>
|
||||
<td class="r">
|
||||
<input type="text" class="txt" name="account" value="{$_REQUEST['account']}" onKeyUp="value=value.replace(/[^\w\.\/]/ig,'')">
|
||||
<input type="hidden" name="user_id" value="{$_REQUEST['user_id']}">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<td class="l">显示状态:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn">
|
||||
<label >
|
||||
<input type="radio" value="1" name="status" <if condition="$_REQUEST['status'] eq 1">checked="checked"</if>>开启
|
||||
</label >
|
||||
<label >
|
||||
<input type="radio" value="0" name="status" <if condition="$_REQUEST['status'] eq 0">checked="checked"</if>>{:L('Lock')}
|
||||
</label>
|
||||
</span>
|
||||
<input type="hidden" name="status" id="status" value="{$data['status']}">
|
||||
<script>
|
||||
$(function () {
|
||||
var status = $('input:radio[name="status"]:checked').val();
|
||||
$('#status').val(status);
|
||||
});
|
||||
$(":radio").click(function () {
|
||||
var status = $('input:radio[name="status"]:checked').val();
|
||||
$('#status').val(status);
|
||||
})
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="form-item cf">
|
||||
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal">
|
||||
保存
|
||||
</button>
|
||||
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back(-1);" >
|
||||
返回
|
||||
</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="{$m_title}">
|
||||
<input type="hidden" name="url" value="Promote/lists/type/1">
|
||||
</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" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
//导航高亮
|
||||
highlight_subnav('{:U('TestWhiteList/lists')}');
|
||||
Think.setValue("game_type_id", {$data.game_type_id|default = 0});
|
||||
Think.setValue("category", {$data.category|default = 0});
|
||||
Think.setValue("ba_id", {$data.ba_id|default = 0});
|
||||
|
||||
$(function(){
|
||||
// var pro="{:$data['bank_area']['0']}";
|
||||
// alert (pro);
|
||||
showTab();
|
||||
prov="{:substr($data['bank_area'],0,2)}";
|
||||
city="{:substr($data['bank_area'],2,2)}";
|
||||
ciarea="{:substr($data['bank_area'],4,2)}";
|
||||
//initComplexArea('seachprov', 'seachcity', 'seachdistrict', area_array, sub_array, prov, city, ciarea);
|
||||
});
|
||||
</script>
|
||||
</block>
|
||||
|
@ -0,0 +1,2 @@
|
||||
/** layui-v2.5.5 MIT License By https://www.layui.com */
|
||||
html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}
|
After Width: | Height: | Size: 5.8 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 701 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 277 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 9.6 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 777 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 4.0 KiB |