Merge branch 'feature/payset_change' into release
commit
72da832bb5
@ -0,0 +1,197 @@
|
||||
<extend name="Public/base" />
|
||||
|
||||
<block name="body">
|
||||
<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>
|
||||
<script type="text/javascript" src="__STATIC__/layer3/layer.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;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
position: relative;
|
||||
/* display: block; */
|
||||
/* color: #056dae; */
|
||||
}
|
||||
|
||||
.tooltip .tooltiptext {
|
||||
display: none;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 6px;
|
||||
padding: 5px 10px 5px 5px;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: 80%;
|
||||
left: 0;
|
||||
border: #000 solid 1px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.tooltip .tooltiptext::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: black transparent transparent transparent;
|
||||
}
|
||||
|
||||
.tooltip:hover .tooltiptext {
|
||||
color: #333;
|
||||
display: block;
|
||||
|
||||
}
|
||||
</style>
|
||||
<!-- 标题栏 -->
|
||||
<div class="cf main-place top_nav_list navtab_list">
|
||||
|
||||
<h3 class="page_title">订单校验</h3>
|
||||
<p class="description_text">说明:对游戏订单及平台币订单等进行比较校验</p>
|
||||
</div>
|
||||
<div class="cf top_nav_list">
|
||||
<!-- 高级搜索 -->
|
||||
<div class="jssearch search_list fl cf">
|
||||
<div class="input-list search-title-box">
|
||||
<label>搜索:</label>
|
||||
</div>
|
||||
<div class="input-list input-list-game search_label_rehab">
|
||||
<select id="pay_way" name="pay_way" class="select_gallery">
|
||||
<option value="">请选择支付渠道</option>
|
||||
<foreach name="pay_way_list" item="vo" >
|
||||
<option value="{$key}" <?php echo I('pay_way') == $key ? "selected" : ''?>>{$vo}</option>
|
||||
</foreach>
|
||||
</select>
|
||||
</div>
|
||||
<input type="hidden" name="row" value="{$_GET['row']}"/>
|
||||
<div class="input-list">
|
||||
<a class="sch-btn" href="javascript:;" id="search"
|
||||
url="{:U('index',false)}">
|
||||
搜索</a>
|
||||
</div>
|
||||
<div class="input-list">
|
||||
<a class="sch-btn" href="{:U('add')}" style="width: 100px;">新增检验</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 数据列表 -->
|
||||
<div class="data_list">
|
||||
<div class="">
|
||||
<table>
|
||||
<!-- 表头 -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th>校验时间范围</th>
|
||||
<th>支付渠道</th>
|
||||
<th>校验数量</th>
|
||||
<th>异常数量</th>
|
||||
<th>异常金额</th>
|
||||
<th>校验时间</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!-- 列表 -->
|
||||
<tbody>
|
||||
<empty name="list_data">
|
||||
<td colspan="15" class="text-center">aOh! 暂时还没有内容!</td>
|
||||
<else />
|
||||
<volist name="list_data" id="data">
|
||||
<tr>
|
||||
<td>{$data.id}</td>
|
||||
<td>{$data['compare_time']}</td>
|
||||
<td>{$data['pay_way']}</td>
|
||||
<td>{$data.check_count}</td>
|
||||
<td>{$data.diff_count}</td>
|
||||
<td>{$data.diff_money}</td>
|
||||
<td>{$data.create_time}</td>
|
||||
<td>
|
||||
<a href="{:U('list',['compare_id'=>$data['id']])}">查看详情</a>
|
||||
</td>
|
||||
</tr>
|
||||
</volist>
|
||||
</empty>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page">
|
||||
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
|
||||
{$_page|default=''}
|
||||
</div>
|
||||
</block>
|
||||
|
||||
<block name="script">
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
||||
<php>if(C('COLOR_STYLE')=='blue_color') echo '
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
|
||||
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
|
||||
charset="UTF-8"></script>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
//导航高亮
|
||||
highlight_subnav('{:U("index")}');
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(function () {
|
||||
$("#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;
|
||||
});
|
||||
$(".select_gallery").select2();
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
</block>
|
@ -0,0 +1,252 @@
|
||||
<extend name="Public/base" />
|
||||
|
||||
<block name="body">
|
||||
<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>
|
||||
<script type="text/javascript" src="__STATIC__/layer3/layer.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;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
position: relative;
|
||||
/* display: block; */
|
||||
/* color: #056dae; */
|
||||
}
|
||||
|
||||
.tooltip .tooltiptext {
|
||||
display: none;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
text-align: center;
|
||||
border-radius: 6px;
|
||||
padding: 5px 10px 5px 5px;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: 80%;
|
||||
left: 0;
|
||||
border: #000 solid 1px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.tooltip .tooltiptext::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: black transparent transparent transparent;
|
||||
}
|
||||
|
||||
.tooltip:hover .tooltiptext {
|
||||
color: #333;
|
||||
display: block;
|
||||
|
||||
}
|
||||
</style>
|
||||
<!-- 标题栏 -->
|
||||
<div class="cf main-place top_nav_list navtab_list">
|
||||
|
||||
<h3 class="page_title">订单校验</h3>
|
||||
<p class="description_text">说明:对游戏订单及平台币订单等进行比较校验</p>
|
||||
</div>
|
||||
<div class="cf top_nav_list">
|
||||
<!-- 高级搜索 -->
|
||||
<div class="jssearch search_list fl cf">
|
||||
<div class="input-list search-title-box">
|
||||
<a class="sch-btn" href="javascript:history.go(-1)" style="background:#fff;color: #000;border: #000 solid 1px;width: 100px">返回</a>
|
||||
</div>
|
||||
<div class="input-list search-title-box">
|
||||
<label>搜索:</label>
|
||||
</div>
|
||||
<div class="input-list">
|
||||
<input type="text" name="pay_order_number" placeholder="订单号检索" class="" value="{:I('pay_order_number')}" style="width: 220px"/>
|
||||
</div>
|
||||
<div class="input-list input-list-game search_label_rehab">
|
||||
<select id="is_read" name="is_read" class="select_gallery">
|
||||
<option value="">请选择处理状态</option>
|
||||
<foreach name="read_type" item="vo" >
|
||||
<option value="{$key}" <?php echo I('is_read')."i" == $key."i" ? "selected" : ''; ?>>{$vo}</option>
|
||||
</foreach>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-list input-list-game search_label_rehab">
|
||||
<select id="type" name="type" class="select_gallery">
|
||||
<option value="">请选择异常原因</option>
|
||||
<foreach name="check_type" item="vo" >
|
||||
<option value="{$key}" <?php echo I('type') == $key ? "selected" : ''?>>{$vo}</option>
|
||||
</foreach>
|
||||
</select>
|
||||
</div>
|
||||
<input type="hidden" name="row" value="{$_GET['row']}"/>
|
||||
<input type="hidden" name="compare_id" value="{$_GET['compare_id']}"/>
|
||||
<div class="input-list">
|
||||
<a class="sch-btn" href="javascript:;" id="search"
|
||||
url="{:U('list',false)}">
|
||||
搜索</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 数据列表 -->
|
||||
<div class="data_list">
|
||||
<div class="">
|
||||
<table>
|
||||
<!-- 表头 -->
|
||||
<thead>
|
||||
<tr>
|
||||
<th>订单号</th>
|
||||
<th>支付渠道</th>
|
||||
<th>状态</th>
|
||||
<th>平台支付金额</th>
|
||||
<th>商家订单金额</th>
|
||||
<th>相差金额</th>
|
||||
<th>原因分类</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!-- 列表 -->
|
||||
<tbody>
|
||||
<empty name="list_data">
|
||||
<td colspan="15" class="text-center">aOh! 暂时还没有内容!</td>
|
||||
<else />
|
||||
<volist name="list_data" id="data">
|
||||
<tr>
|
||||
<td>{$data.pay_order_number}</td>
|
||||
<td>{$data['pay_way']}</td>
|
||||
<td>{$data['read_str']}</td>
|
||||
<td>{$data.pt_pay_amount}</td>
|
||||
<td>{$data.sj_pay_amount}</td>
|
||||
<td>{$data.diff_money}</td>
|
||||
<td>{$data.type}</td>
|
||||
<td>
|
||||
<if condition="$data.is_read eq 1">
|
||||
<a style="color: #ff0000;" class="changeRead" href="javascript:;" url="{:U('changeRead',['id'=>$data['id'],'is_read'=>$data['is_read']])}">标记为未处理</a>
|
||||
<else />
|
||||
<a href="javascript:;" class="changeRead" url="{:U('changeRead',['id'=>$data['id'],'is_read'=>$data['is_read']])}">标记为处理</a>
|
||||
</if>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</volist>
|
||||
</empty>
|
||||
<tr style="padding: 10px 0;height: 80px;">
|
||||
<td colspan="3"><span>汇总(检索内所有数据统计)</span></td>
|
||||
<td style="line-height:2;">
|
||||
待处理:{$count_data['noread_pt_pay_amount']} <br> 全部:{$count_data['pt_pay_amount']}
|
||||
</td>
|
||||
<td style="line-height:2;">
|
||||
待处理:{$count_data['noread_sj_pay_amount']} <br>全部:{$count_data['sj_pay_amount']}
|
||||
</td>
|
||||
<td style="line-height:2;">
|
||||
待处理:{$count_data['noread_diff_money']} <br>全部:{$count_data['diff_money']}
|
||||
</td>
|
||||
<td colspan="2">
|
||||
校验数量:{$count_data['count']}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page">
|
||||
<a class="sch-btn" href="{:U(CONTROLLER_NAME.'/'.ACTION_NAME,array_merge(['export'=>1],I('get.')))}" target="_blank">导出</a>
|
||||
{$_page|default=''}
|
||||
</div>
|
||||
</block>
|
||||
|
||||
<block name="script">
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
||||
<php>if(C('COLOR_STYLE')=='blue_color') echo '
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
|
||||
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
|
||||
charset="UTF-8"></script>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
//导航高亮
|
||||
highlight_subnav("{:U('FinanceCompare/index')}");
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(function () {
|
||||
$("#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.replace(url)
|
||||
// window.location.href = url;
|
||||
});
|
||||
$(".select_gallery").select2();
|
||||
$('.page a').click(function () {
|
||||
var href = $(this).attr('href');
|
||||
$(this).removeAttr('href');
|
||||
window.location.replace(href)
|
||||
});
|
||||
$(".changeRead").on("click",function(){
|
||||
var url = $(this).attr("url");
|
||||
var compare_id = $("input[name='compare_id']").val();
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: url,
|
||||
data:{compare_id:compare_id},
|
||||
success: function(data) {
|
||||
if(data.success){
|
||||
layer.msg("处理成功",function(){
|
||||
window.location.reload();
|
||||
});
|
||||
}else{
|
||||
layer.alert(data.error);
|
||||
}
|
||||
},
|
||||
});
|
||||
})
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
</block>
|
@ -0,0 +1,174 @@
|
||||
<extend name="Public/base" />
|
||||
|
||||
<block name="body">
|
||||
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
|
||||
<link href="__STATIC__/icons_alibaba/iconfont.css" rel="stylesheet">
|
||||
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/provincecityarea/AreaData_min.js"></script>
|
||||
<script src="__STATIC__/layer/layer.js"></script>
|
||||
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
||||
|
||||
<style>
|
||||
.tabcon1711 input.time {
|
||||
width: 150px;
|
||||
}
|
||||
#form .txt_area {
|
||||
width: 300px;
|
||||
height: 150px;
|
||||
}
|
||||
.tabcon1711 .form_unit {
|
||||
margin-left: 2px;
|
||||
}
|
||||
.tabcon1711 .mustmark {
|
||||
margin-left:-7px;
|
||||
}
|
||||
.list-ratio {
|
||||
display: table;
|
||||
}
|
||||
.list-ratio .li-ratio {
|
||||
display: flex;
|
||||
margin-bottom: 20px;
|
||||
align-items: center;
|
||||
}
|
||||
.list-ratio .li-ratio .turnover, .list-ratio .li-ratio .turnover-ratio {
|
||||
position: relative;
|
||||
}
|
||||
.list-ratio .li-ratio .turnover span, .list-ratio .li-ratio .turnover-ratio .error-message {
|
||||
color: red;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 30px;
|
||||
white-space: nowrap;
|
||||
display: none;
|
||||
}
|
||||
.iconfont-btn {
|
||||
cursor: pointer;
|
||||
}
|
||||
.iconfont-style {
|
||||
font-size: 18px;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
border: 0;
|
||||
padding: 5px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.iconfont-selected {
|
||||
background-color: #0A9AF2;
|
||||
}
|
||||
.iconfont-selected:hover {
|
||||
background-color: #03a9f4;
|
||||
}
|
||||
.iconfont-unselected {
|
||||
background-color: #999;
|
||||
}
|
||||
.iconfont-unselected:hover {
|
||||
background-color: #ababab;
|
||||
}
|
||||
</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">
|
||||
<!-- 表单 -->
|
||||
<form id="form" 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">会长账号:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn">{$promote.account}</span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l">押金付款方式:</td>
|
||||
<td class="r">
|
||||
<span class="form_radio table_btn">{$payTypes[$record['pay_type']]}</span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l">付款方式:</td>
|
||||
<td class="r">
|
||||
<span class="form_radio table_btn"><?=$record['pay_way']==0?'无':$payWays[$record['pay_way']]?></span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l">金额:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn">{$record['amount']}</span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l">付款人:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn"><?=$record['payer']==''?'无':$record['payer']?></span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="l">付款账号:</td>
|
||||
<td class="r table_radio">
|
||||
<span class="form_radio table_btn"><?=$record['pay_account']==''?'无':$record['pay_account']?></span>
|
||||
<span class="notice-text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="form-item cf">
|
||||
<a class="submit_btn " alt="返回" title="返回" href="javascript:window.history.back();" >
|
||||
返回
|
||||
</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">
|
||||
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
||||
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
|
||||
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript">
|
||||
//导航高亮
|
||||
highlight_subnav('{:U('PresidentDeposit/records')}');
|
||||
$(".select_gallery").select2();
|
||||
|
||||
$(function(){
|
||||
$('.time').datetimepicker({
|
||||
format: 'yyyy-mm',
|
||||
language: "zh-CN",
|
||||
autoclose: true,
|
||||
scrollMonth: false,
|
||||
scrollTime: false,
|
||||
scrollInput: false,
|
||||
startView: 'year',
|
||||
minView:'year',
|
||||
maxView:'year',
|
||||
});
|
||||
showTab();
|
||||
});
|
||||
</script>
|
||||
</block>
|
@ -0,0 +1,286 @@
|
||||
body.dialog-open {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
}
|
||||
.mode{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
top: 0;
|
||||
left: 0;
|
||||
font-size: 0.2rem;
|
||||
}
|
||||
.giftBag_mode{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
top: 0;
|
||||
left: 0;
|
||||
font-size: 0.2rem;
|
||||
z-index: 1000;
|
||||
}
|
||||
.giftBag_mode>div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
justify-content: flex-end;
|
||||
padding-top: 6.47rem;
|
||||
margin-right: 0.97rem;
|
||||
font-size: 0.2rem;
|
||||
}
|
||||
.giftBag_mode>div>.img1{
|
||||
width: 0.82rem;
|
||||
height: 0.82rem;
|
||||
}
|
||||
.giftBag_mode>div>.img2{
|
||||
width: 2.97rem;
|
||||
height: 0.52rem;
|
||||
}
|
||||
.getGift{
|
||||
position: fixed;
|
||||
width: 6.5rem;
|
||||
height: 4rem;
|
||||
top: 50%;
|
||||
margin-top: -2rem;
|
||||
left: 50%;
|
||||
margin-left: -3.25rem;
|
||||
background-color: #fff;
|
||||
border-radius: 0.3rem;
|
||||
z-index: 1000;
|
||||
}
|
||||
.getGift-heard{
|
||||
height: 0.8rem;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
line-height: 0.8rem;
|
||||
background-color: #489EF6;
|
||||
font-size: 0.28rem;
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
border-top-left-radius: 0.3rem;
|
||||
border-top-right-radius: 0.3rem;
|
||||
position: relative;
|
||||
border-top-left-radius:0.3rem;
|
||||
border-top-right-radius:0.3rem;
|
||||
}
|
||||
.getGift-heard>a{
|
||||
position: absolute;
|
||||
left: 0.4rem;
|
||||
top: 50%;
|
||||
margin-top: -0.15rem;
|
||||
width: 0.17rem;
|
||||
height: 0.3rem;
|
||||
background: url("../images/20191225/fanhui.png");
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.getGift-box{
|
||||
padding: 0 0.3rem;
|
||||
border-bottom-right-radius: 0.3rem;
|
||||
border-bottom-left-radius: 0.3rem;
|
||||
}
|
||||
.getGift-game{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 1.03rem;
|
||||
border-bottom: 1px solid #E4E4E4;
|
||||
}
|
||||
.getGift-game>img{
|
||||
width: 0.6rem;
|
||||
height: 0.6rem;
|
||||
margin-right: 0.2rem;
|
||||
}
|
||||
.getGift-game>div{
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.getGift-game>div .title{
|
||||
font-size:0.26rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:500;
|
||||
color:rgba(41,41,41,1);
|
||||
}
|
||||
.getGift-game>div .number{
|
||||
font-size:0.18rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(169,169,169,1);
|
||||
}
|
||||
.getGift-info{
|
||||
height: 2.16rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.getGift-infoBox{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 0.9rem;
|
||||
border-bottom: 1px solid #E4E4E4;
|
||||
}
|
||||
.getGift-infoBox:last-child{
|
||||
border: 0;
|
||||
}
|
||||
.getGift-infoBox .info-left{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.getGift-infoBox .info-left .title{
|
||||
font-size:0.22rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:500;
|
||||
color:rgba(41,41,41,1);
|
||||
}
|
||||
.getGift-infoBox .info-left .del{
|
||||
width: 2.91rem;
|
||||
font-size:0.186rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(169,169,169,1);
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.getGift-infoBox .btn,.getGift-second .btn{
|
||||
width:1rem;
|
||||
height:0.4rem;
|
||||
background:rgba(169,169,169,0);
|
||||
border:1px solid rgba(33, 177, 235, 1);
|
||||
border-radius:0.16rem;
|
||||
font-size:0.2rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(33,177,235,1);
|
||||
text-align: center;
|
||||
line-height: 0.4rem;
|
||||
}
|
||||
.getGift-second{
|
||||
height: 0.86rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
border-bottom: 1px solid #E4E4E4;
|
||||
}
|
||||
.getGift-bag{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.getGift-second .second-left{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.getGift-second .second-left .title{
|
||||
font-size:0.26rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:500;
|
||||
color:rgba(41,41,41,1);
|
||||
}
|
||||
.getGift-second .second-left .number{
|
||||
font-size:0.18rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(169,169,169,1);
|
||||
}
|
||||
.getGift-second .second-left .number>span{
|
||||
color: #262626;
|
||||
}
|
||||
.getGift-activation{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 0.12rem;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.getGift-activation .code{
|
||||
width:3.9rem;
|
||||
height:0.3rem;
|
||||
background:rgba(242,242,244,1);
|
||||
border-radius:0.1rem;
|
||||
font-size:0.16rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(169,169,169,1);
|
||||
text-align: center;
|
||||
line-height: 0.3rem;
|
||||
}
|
||||
.getGift-activation .copy{
|
||||
width:1rem;
|
||||
height:0.4rem;
|
||||
background:rgba(33,177,235,1);
|
||||
border-radius:0.1rem;
|
||||
font-size:0.16rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(254,254,254,1);
|
||||
text-align: center;
|
||||
line-height: 0.4rem;
|
||||
margin-left: 0.2rem;
|
||||
}
|
||||
.getGift-secondInfo{
|
||||
height: 2.33rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.getGift-secondInfo .infoBox{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
margin-top: 0.23rem;
|
||||
}
|
||||
.getGift-secondInfo .infoBox .title{
|
||||
font-size:0.22rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(41,41,41,1);
|
||||
}
|
||||
.getGift-secondInfo .infoBox .del{
|
||||
width: 100%;
|
||||
font-size:0.18rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(169,169,169,1);
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
.getGiftNot{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 3.2rem;
|
||||
}
|
||||
.getGiftNot-img{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size:0.2rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:500;
|
||||
color:rgba(41,41,41,1);
|
||||
}
|
||||
.getGiftNot-img>img{
|
||||
width: 2.06rem;
|
||||
height: 1.58rem;
|
||||
}
|
||||
.getGiftNot>.btn{
|
||||
width:1.2rem;
|
||||
height:0.4rem;
|
||||
background:rgba(34,129,245,1);
|
||||
border-radius:0.2rem;
|
||||
font-size:0.24rem;
|
||||
font-family:PingFang SC;
|
||||
font-weight:400;
|
||||
color:rgba(255,255,255,1);
|
||||
text-align: center;
|
||||
line-height: 0.4rem;
|
||||
margin-top: 0.32rem;
|
||||
}
|
||||
.getGift-box .btn.has-get {
|
||||
background:rgba(242,242,244,1);
|
||||
color:rgba(169,169,169,1);
|
||||
border:0
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
Binary file not shown.
After Width: | Height: | Size: 226 KiB |
@ -0,0 +1,28 @@
|
||||
function dateFormat(fmt, date) {
|
||||
let ret;
|
||||
const opt = {
|
||||
"Y+": date.getFullYear().toString(), // 年
|
||||
"m+": (date.getMonth() + 1).toString(), // 月
|
||||
"d+": date.getDate().toString(), // 日
|
||||
"H+": date.getHours().toString(), // 时
|
||||
"M+": date.getMinutes().toString(), // 分
|
||||
"S+": date.getSeconds().toString() // 秒
|
||||
};
|
||||
for (let k in opt) {
|
||||
ret = new RegExp("(" + k + ")").exec(fmt);
|
||||
if (ret) {
|
||||
fmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, "0")))
|
||||
};
|
||||
};
|
||||
return fmt;
|
||||
}
|
||||
|
||||
$(function () {
|
||||
var date = new Date()
|
||||
if (dateFormat("YYYY-mm-dd", date) == '2020-04-04') {
|
||||
console.log($('body').length)
|
||||
$('body').css({
|
||||
'-webkit-filter': 'grayscale(100%)'
|
||||
})
|
||||
}
|
||||
})
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue