mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-10-30 10:07:31 +08:00
由gopath形式改为module
This commit is contained in:
156
merchant/views/complaint_record.html
Normal file
156
merchant/views/complaint_record.html
Normal file
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class=" list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li class="active"><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="collapse list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">投诉列表</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms">
|
||||
<div class="col-lg-12">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<lable class="form-inline">
|
||||
<input type="text" class="form-control" id="merchant_No" placeholder="商户订单号"
|
||||
autofocus>
|
||||
<label>开始时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='startTime' class="form-control"/>
|
||||
</div>
|
||||
<label>截止时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='endTime' class="form-control"/>
|
||||
</div>
|
||||
<label>支付方式:</label>
|
||||
<select class="form-control" id="payType">
|
||||
<option value="">全部</option>
|
||||
{{range $k,$v:=.payType}}
|
||||
<option value="{{$k}}">{{$v}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<label>订单状态:</label>
|
||||
<select class="form-control" id="uStatus">
|
||||
<option value="YES" selected="selected">已冻结</option>
|
||||
<option value="REFUND">已退款</option>
|
||||
</select>
|
||||
<button type="button" onclick="trade.complaint_do_paging()"
|
||||
class="btn btn-primary">搜索
|
||||
</button>
|
||||
<button type="button" onclick="excel.download_complaint_record_excel()"
|
||||
class="btn btn-outline-dark">导出Excel表
|
||||
</button>
|
||||
</lable>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>平台流水号</th>
|
||||
<th>商户订单号</th>
|
||||
<th>支付方式</th>
|
||||
<th>订单金额</th>
|
||||
<th>状 态</th>
|
||||
<th>冻结时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="your_show_time">
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<ul id="do_paging"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
$("#startTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20,
|
||||
});
|
||||
|
||||
$("#endTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20
|
||||
});
|
||||
|
||||
trade.complaint_do_paging();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
145
merchant/views/history_record.html
Normal file
145
merchant/views/history_record.html
Normal file
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li class="active"><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">充值记录</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms no">
|
||||
<div class="col-lg-12">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<lable class="form-inline">
|
||||
<label>开始时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='startTime' class="form-control"/>
|
||||
</div>
|
||||
<label>截止时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='endTime' class="form-control"/>
|
||||
</div>
|
||||
<label>类型:</label>
|
||||
<select class="form-control" id="uStatus">
|
||||
<option value="">全部</option>
|
||||
{{range $k,$v:=.payType}}
|
||||
<option value="{{$k}}">{{$v}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<button type="button" onclick="pay.history_do_paging()"
|
||||
class="btn btn-primary">搜索
|
||||
</button>
|
||||
</lable>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>操作时间</th>
|
||||
<th>变动金额</th>
|
||||
<th>账户余额</th>
|
||||
<th>操作类型</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="your_show_time">
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<ul id="do_paging"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
$("#startTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20,
|
||||
});
|
||||
|
||||
$("#endTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20
|
||||
});
|
||||
|
||||
pay.history_do_paging();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
200
merchant/views/index.html
Normal file
200
merchant/views/index.html
Normal file
@@ -0,0 +1,200 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="/index/ui/">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li class="active"><a href="/index/ui/" style="color: black;"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li><a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse" style="color: black;"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation" style="color: black;"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-bill" style="color: black;"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="collapse list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">账户信息</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Dashboard Counts Section-->
|
||||
<section class="dashboard-counts ">
|
||||
<div class="container-fluid">
|
||||
<div class="row bg-white has-shadow">
|
||||
<!-- Item -->
|
||||
<div class="col-xl-3 col-sm-4">
|
||||
<div class="item d-flex align-items-center">
|
||||
<div class="icon bg-green"><i class="icon icon-presentation"></i></div>
|
||||
<div class="title"><span>账户余额<br><small> </small></span>
|
||||
<div class="progress">
|
||||
<div role="progressbar" style="width: 80%; height: 4px;" aria-valuenow="55"
|
||||
aria-valuemin="0" aria-valuemax="100"
|
||||
class="progress-bar bg-green"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="number"><strong id="balanceAmt">0.00</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Item -->
|
||||
<div class="col-xl-3 col-sm-4">
|
||||
<div class="item d-flex align-items-center">
|
||||
<div class="icon bg-red"><i class="icon icon-check"></i></div>
|
||||
<div class="title"><span>可提现金额<br><small> </small></span>
|
||||
<div class="progress">
|
||||
<div role="progressbar" style="width: 80%; height: 4px;" aria-valuenow="70"
|
||||
aria-valuemin="0" aria-valuemax="100" class="progress-bar bg-red"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="number"><strong id="settAmount">0.00</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Item -->
|
||||
<div class="col-xl-3 col-sm-4">
|
||||
<div class="item d-flex align-items-center">
|
||||
<div class="icon bg-blue"><i class="icon icon-flask"></i></div>
|
||||
<div class="title"><span>冻结金额<br><small>(出款在途金额)</small></span>
|
||||
<div class="progress">
|
||||
<div role="progressbar" style="width: 80%; height: 4px;" aria-valuenow="50"
|
||||
aria-valuemin="0" aria-valuemax="100" class="progress-bar bg-blue"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="number"><strong id="freezeAmt">0.00</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Item -->
|
||||
<div class="col-xl-3 col-sm-4">
|
||||
<div class="item d-flex align-items-center">
|
||||
<div class="icon bg-secondary"><i class="icon icon-interface-windows"></i></div>
|
||||
<div class="title"><span>押款金额<br><small>(D+1 结算金额)</small></span>
|
||||
<div class="progress">
|
||||
<div role="progressbar" style="width: 80%; height: 4px;" aria-valuenow="50"
|
||||
aria-valuemin="0" aria-valuemax="100"
|
||||
class="progress-bar bg-secondary"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="number"><strong id="amountFrozen">0.00</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">通道配置
|
||||
<small style="font-size: 0.7em;">
|
||||
<a href="/index/show_pay_way_ui">>>>> 查看详情</a></small>
|
||||
<small style="font-size: 0.7em;"> 总订单数:
|
||||
<label id="orders">0</label></small>
|
||||
<small style="font-size: 0.7em;"> 总成功订单数:
|
||||
<label id="suc_orders">0</label></small>
|
||||
<small style="font-size: 0.7em;"> 成功率:
|
||||
<label id="suc_rate">0%</label> (含已删除通道配置的订单)</small></h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Projects Section-->
|
||||
<section class="projects no-padding-bottom">
|
||||
<div class="container-fluid">
|
||||
<div class="project">
|
||||
<div class="row bg-white has-shadow">
|
||||
<div class="left-col col-lg-1 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4"># </h3>
|
||||
</div>
|
||||
<div class="left-col col-lg-3 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4">通道名称<small> 通道名相同但产品不同</small></h3>
|
||||
</div>
|
||||
<div class="left-col col-lg-2 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4">订单数</h3>
|
||||
</div>
|
||||
<div class="left-col col-lg-2 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4">成功订单数</h3>
|
||||
</div>
|
||||
<div class="left-col col-lg-2 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4">成功率</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="your_showtime">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Page Footer
|
||||
<footer class="main-footer">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<p>Copyright © 2019.Company name All rights reserved.More Templates cs - Collect
|
||||
from cs</p>
|
||||
</div>
|
||||
<div class="col-sm-6 text-right">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "template/js.html"}}
|
||||
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
index.getAccountInfo();
|
||||
index.getOrdersInfo();
|
||||
setTimeout(function () {
|
||||
index.loadTradeRecord();
|
||||
}, 1000);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
95
merchant/views/index.tpl
Normal file
95
merchant/views/index.tpl
Normal file
File diff suppressed because one or more lines are too long
115
merchant/views/login.html
Normal file
115
merchant/views/login.html
Normal file
@@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>商户后台登录</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="robots" content="all,follow">
|
||||
|
||||
<!-- Bootstrap CSS-->
|
||||
<link rel="stylesheet" href="../static/vendor/bootstrap/css/bootstrap.min.css">
|
||||
<!-- Font Awesome CSS-->
|
||||
<link rel="stylesheet" href="../static/vendor/font-awesome/css/font-awesome.min.css">
|
||||
<!-- Fontastic Custom icon font-->
|
||||
<link rel="stylesheet" href="../static/css/fontastic.css">
|
||||
<!-- Google fonts - Poppins -->
|
||||
|
||||
<!-- theme stylesheet-->
|
||||
<link rel="stylesheet" href="../static/css/style.blue.css" id="theme-stylesheet">
|
||||
<!-- Custom stylesheet - for your changes-->
|
||||
<link rel="stylesheet" href="../static/css/custom.css">
|
||||
<!-- Favicon-->
|
||||
<link rel="shortcut icon" href="../static/img/icon.ico" type="image/x-icon"/>
|
||||
|
||||
<link href="../static/vendor/toastr-2.1.4-7/toastr.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Tweaks for older IEs--><!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="page login-page">
|
||||
<div class="container d-flex align-items-center">
|
||||
<div class="form-holder has-shadow">
|
||||
<div class="row">
|
||||
<!-- Logo & Information Panel-->
|
||||
<div class="col-lg-6">
|
||||
<div class="info d-flex align-items-center">
|
||||
<div class="content">
|
||||
<div class="logo">
|
||||
<h1>商户开放平台</h1>
|
||||
</div>
|
||||
<p>掌握最新的行业解决方案.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Form Panel -->
|
||||
<div class="col-lg-6 bg-white">
|
||||
<div class="form d-flex align-items-center">
|
||||
<div class="content">
|
||||
<form id="form-validate">
|
||||
<div class="form-group">
|
||||
<input id="userName" type="text" name="userName" required
|
||||
data-msg="请输入您的账户" class="input-material" placeholder="登录账户">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input id="Password" type="password" name="Password" required
|
||||
data-msg="请输入您的密码" class="input-material" placeholder="密码">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input id="captchaCode" style="float: left;width: 55%" type="text"
|
||||
name="captchaCode" required
|
||||
data-msg="请输入验证码" class="input-material"
|
||||
placeholder="验证码">
|
||||
|
||||
<img src="/img.do/{{.CaptchaId}}.png"
|
||||
style="float: right;width: 40%;max-height: 45px;"
|
||||
id="rcCaptcha-img" alt="验证码过期,请刷新页面!"
|
||||
title="点击更换验证码" onclick="login.changeImg();">
|
||||
<input value="{{.CaptchaId}}" id="captchaId" name="captchaId" type="hidden"/>
|
||||
</div>
|
||||
<br><br><br>
|
||||
<button type="button" style="top: 12px;" class="btn btn-primary btn-user btn-block"
|
||||
id="btn_submit"
|
||||
onclick="login.login_action()">
|
||||
<i class="fa fa-lock"></i> 登录
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyrights text-center">
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
<script src="../static/vendor/jquery/jquery.min.js"></script>
|
||||
<script src="../static/vendor/bootstrap/js/bootstrap.min.js"></script>
|
||||
<!-- Main File-->
|
||||
<script src="../static/js/front.js"></script>
|
||||
<script src="../static/vendor/jquery.cookie/jquery.cookie.js"></script>
|
||||
|
||||
<script src="../static/vendor/toastr-2.1.4-7/toastr.min.js"></script>
|
||||
<script src="../static/js/login.js"></script>
|
||||
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
//验证码
|
||||
// $("#captchaCode").blur(function () {
|
||||
// login.verifyCaptchaId();
|
||||
// });
|
||||
|
||||
//提交回车键
|
||||
$(document).keydown(function (e) {
|
||||
if (e.keyCode === 13) {
|
||||
$("#btn_submit").click();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
129
merchant/views/modify_userInfo.html
Normal file
129
merchant/views/modify_userInfo.html
Normal file
@@ -0,0 +1,129 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class=" list-unstyled ">
|
||||
<li class="active"><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="collapse list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">修改登录密码</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Breadcrumb-->
|
||||
<div class="breadcrumb-holder container-fluid">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="/index/ui/">首页</a></li>
|
||||
<li class="breadcrumb-item active">修改登录密码</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Basic Form-->
|
||||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<form id="modify_userInfo">
|
||||
<div class="form-group">
|
||||
<label class="form-control-label">原登录密码</label>
|
||||
<input type="password" id="or_pwd" name="or_pwd" placeholder="原登录密码"
|
||||
class="form-control">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-control-label">新密码</label>
|
||||
<input type="password" id="new_pwd" name="new_pwd"
|
||||
placeholder="密码只能输入6-20个以字母开头、可带数字、“_”、“.”的字串"
|
||||
class="form-control">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-control-label">确认密码</label>
|
||||
<input type="password" id="confirm_pwd" name="confirm_pwd"
|
||||
placeholder="密码只能输入6-20个以字母开头、可带数字、“_”、“.”的字串"
|
||||
class="form-control">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="button" value="提交"
|
||||
onclick="form_v.modify_userInfo()"
|
||||
class="btn btn-primary">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
$("#or_pwd").blur(function () {
|
||||
form_v.confirm_origin_pwd();
|
||||
});
|
||||
$("#confirm_pwd").blur(function () {
|
||||
form_v.confirm_new_pwd();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
100
merchant/views/pay_way.html
Normal file
100
merchant/views/pay_way.html
Normal file
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="/index/ui/">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li><a href="#exampledropdownDropdown" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li class="active"><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="collapse list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">通道配置</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Projects Section-->
|
||||
<section class="projects no-padding-bottom">
|
||||
<div class="container-fluid">
|
||||
<div class="project">
|
||||
<div class="row bg-white has-shadow">
|
||||
<div class="left-col col-lg-1 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4"># </h3>
|
||||
</div>
|
||||
<div class="left-col col-lg-3 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4">通道名称<small> 通道名相同但产品不同</small></h3>
|
||||
</div>
|
||||
<div class="left-col col-lg-2 d-flex align-items-center justify-content-between">
|
||||
<h3 class="h4">费率</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="your_showtime">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "template/js.html"}}
|
||||
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
index.loadPayWay();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
156
merchant/views/recharge_record.html
Normal file
156
merchant/views/recharge_record.html
Normal file
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li class="active"><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">充值记录</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms no">
|
||||
<div class="col-lg-12">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<lable class="form-inline">
|
||||
<label>开始时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='startTime' class="form-control"/>
|
||||
</div>
|
||||
<label>截止时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='endTime' class="form-control"/>
|
||||
</div>
|
||||
<label>类型:</label>
|
||||
<select class="form-control" id="uStatus">
|
||||
<option value="">全部</option>
|
||||
{{range $k,$v:=.payType}}
|
||||
<option value="{{$k}}">{{$v}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<button type="button" onclick="pay.recharge_do_paging()"
|
||||
class="btn btn-primary">搜索
|
||||
</button>
|
||||
<button type="button" onclick="excel.download_recharge_record_excel()"
|
||||
class="btn btn-outline-dark">导出Excel表
|
||||
</button>
|
||||
</lable>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>操作时间</th>
|
||||
<th>操作金额</th>
|
||||
<th>手续费</th>
|
||||
<th>冻结金额</th>
|
||||
<th>到账金额</th>
|
||||
<th>操作类型</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="your_show_time">
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<ul id="do_paging"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
$("#startTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20,
|
||||
});
|
||||
|
||||
$("#endTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20
|
||||
});
|
||||
|
||||
let start = $("#startTime").val();
|
||||
if (start === "") {
|
||||
let ds = trade.get_last_month_date();
|
||||
$("#startTime").datetimepicker("setDate", new Date(ds));
|
||||
}
|
||||
|
||||
pay.recharge_do_paging();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
132
merchant/views/show_userInfo.html
Normal file
132
merchant/views/show_userInfo.html
Normal file
@@ -0,0 +1,132 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class=" list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li class="active"><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="collapse list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">账户资料</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Breadcrumb-->
|
||||
<div class="breadcrumb-holder container-fluid">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="/index/ui/">首页</a></li>
|
||||
<li class="breadcrumb-item active">账户资料</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Basic Form-->
|
||||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<form id="modify_userInfo">
|
||||
<div class="form-group">
|
||||
<label class="form-control-label">用户名</label>
|
||||
<input type="text" id="or_pwd" name="or_pwd" value="{{.userName}}"
|
||||
class="form-control" readonly>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-control-label">手机号</label>
|
||||
<input type="text" id="new_pwd" name="new_pwd"
|
||||
value="{{.mobile}}"
|
||||
class="form-control" readonly>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-control-label">邮箱</label>
|
||||
<input type="text" id="confirm_pwd" name="confirm_pwd"
|
||||
value="{{.email}}"
|
||||
class="form-control" readonly>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-control-label">风险预存期</label>
|
||||
<input type="text" id="confirm_pwd" name="confirm_pwd"
|
||||
value="T+{{.riskDay}}"
|
||||
class="form-control" readonly>
|
||||
</div>
|
||||
{{/* <div class="form-group">*/}}
|
||||
{{/* <label class="form-control-label">payKey</label>*/}}
|
||||
{{/* <input type="text" id="confirm_pwd" name="confirm_pwd"*/}}
|
||||
{{/* value="{{.key}}"*/}}
|
||||
{{/* class="form-control" readonly>*/}}
|
||||
{{/* </div>*/}}
|
||||
{{/* <div class="form-group">*/}}
|
||||
{{/* <label class="form-control-label">paySecret</label>*/}}
|
||||
{{/* <input type="text" id="confirm_pwd" name="confirm_pwd"*/}}
|
||||
{{/* value="{{.secret}}"*/}}
|
||||
{{/* class="form-control" readonly>*/}}
|
||||
{{/* </div>*/}}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
</body>
|
||||
</html>
|
||||
28
merchant/views/template/css.html
Normal file
28
merchant/views/template/css.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>商户后台</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<!-- Bootstrap CSS-->
|
||||
<link rel="stylesheet" href="../../static/vendor/bootstrap-3.3.7/css/bootstrap.css">
|
||||
<link rel="stylesheet" href="../../static/vendor/bootstrap/css/bootstrap.min.css">
|
||||
<!-- Font Awesome CSS-->
|
||||
<link rel="stylesheet" href="../../static/vendor/font-awesome/css/font-awesome.min.css">
|
||||
<!-- Fontastic Custom icon font-->
|
||||
<link rel="stylesheet" href="../../static/css/fontastic.css">
|
||||
<!-- Google fonts - Poppins -->
|
||||
<link rel="stylesheet" href="../../static/css/style.font.css">
|
||||
<!-- theme stylesheet-->
|
||||
<link rel="stylesheet" href="../../static/css/style.blue.css" id="theme-stylesheet">
|
||||
<!-- Custom stylesheet - for your changes-->
|
||||
<link rel="stylesheet" href="../../static/css/custom.css">
|
||||
<!-- Favicon-->
|
||||
<link rel="shortcut icon" href="../../static/img/icon.ico" type="image/x-icon"/>
|
||||
|
||||
<link href="../../static/vendor/toastr-2.1.4-7/toastr.min.css" rel="stylesheet">
|
||||
<link href="../../static/vendor/bootstrap-datetimepicker/css/datetimepicker.css" rel="stylesheet">
|
||||
|
||||
<!-- Tweaks for older IEs--><!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
|
||||
31
merchant/views/template/header.html
Normal file
31
merchant/views/template/header.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<header class="header">
|
||||
<nav class="navbar">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-holder d-flex align-items-center justify-content-between">
|
||||
<!-- Navbar Header-->
|
||||
<div class="navbar-header">
|
||||
<!-- Navbar Brand --><a href="/index/ui/" class="navbar-brand d-none d-sm-inline-block">
|
||||
<div class="brand-text d-none d-lg-inline-block">
|
||||
<img src="../../static/img/logo.png"></div>
|
||||
</a>
|
||||
<!-- Toggle Button--><a id="toggle-btn" href="#"
|
||||
class="menu-btn active"><span></span><span></span><span></span></a>
|
||||
</div>
|
||||
<!-- Navbar Menu -->
|
||||
<ul class="nav-menu list-unstyled d-flex flex-md-row align-items-md-center">
|
||||
<!-- Logout -->
|
||||
<li class="nav-item dropdown">
|
||||
<a rel="nofollow" data-target="#" href="/pay_doc.py" target="_blank"
|
||||
class="nav-link language dropdown-toggle">
|
||||
<span class="d-none d-sm-inline"><i
|
||||
class="icon icon-interface-windows"></i> API文档</span></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(-9);" onclick="login.loginOut();" class="nav-link logout">
|
||||
<span class="d-none d-sm-inline"><i class="fa fa-sign-out"></i> 安全退出</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
18
merchant/views/template/js.html
Normal file
18
merchant/views/template/js.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!-- JavaScript files-->
|
||||
<script src="../../static/vendor/jquery/jquery.min.js"></script>
|
||||
<script src="../../static/vendor/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="../../static/vendor/jquery.cookie/jquery.cookie.js"></script>
|
||||
<!-- Main File-->
|
||||
<script src="../../static/js/front.js"></script>
|
||||
|
||||
<script src="../../static/vendor/toastr-2.1.4-7/toastr.min.js"></script>
|
||||
<script type="application/javascript" src="../../static/vendor/sweetalert.min.js"></script>
|
||||
<script src="../../static/vendor/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
|
||||
<script src="../../static/vendor/bootstrap-paginator/bootstrap-paginator.min.js"></script>
|
||||
|
||||
<script type="application/javascript" src="../../static/js/index.js"></script>
|
||||
<script src="../../static/js/login.js"></script>
|
||||
<script src="../../static/js/form_validate.js"></script>
|
||||
<script src="../../static/js/trade_record.js"></script>
|
||||
<script src="../../static/js/withdraw_account_list.js"></script>
|
||||
<script src="../../static/js/deal_excel.js"></script>
|
||||
167
merchant/views/trade_record.html
Normal file
167
merchant/views/trade_record.html
Normal file
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class=" list-unstyled ">
|
||||
<li class="active"><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="collapse list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">订单记录</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms no">
|
||||
<div class="col-lg-12">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<lable class="form-inline">
|
||||
<input type="text" class="form-control" id="merchant_No" placeholder="商户订单号"
|
||||
autofocus>
|
||||
<label>开始时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='startTime' class="form-control"/>
|
||||
</div>
|
||||
<label>截止时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='endTime' class="form-control"/>
|
||||
</div>
|
||||
<label>支付方式:</label>
|
||||
<select class="form-control" id="payType">
|
||||
<option value="">全部</option>
|
||||
{{range $k,$v:=.payType}}
|
||||
<option value="{{$k}}">{{$v}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<label>订单状态:</label>
|
||||
<select class="form-control" id="uStatus">
|
||||
<option value="">全部</option>
|
||||
{{range $k,$v:=.status}}
|
||||
<option value="{{$k}}">{{$v}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<button type="button" onclick="trade.trade_do_paging()"
|
||||
class="btn btn-primary">搜索
|
||||
</button>
|
||||
<button type="button" onclick="excel.download_trade_order_excel()"
|
||||
class="btn btn-outline-dark">导出Excel表
|
||||
</button>
|
||||
</lable>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>平台订单号</th>
|
||||
<th>商户订单号</th>
|
||||
<th>支付方式</th>
|
||||
<th>订单金额</th>
|
||||
<th>收入金额</th>
|
||||
<th>手续费</th>
|
||||
<th>状 态</th>
|
||||
<th>成功支付时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="your_show_time">
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<ul id="do_paging"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
$("#startTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20,
|
||||
});
|
||||
|
||||
$("#endTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20
|
||||
});
|
||||
|
||||
let start = $("#startTime").val();
|
||||
if (start === "") {
|
||||
let ds = trade.get_last_month_date();
|
||||
$("#startTime").datetimepicker("setDate", new Date(ds));
|
||||
}
|
||||
|
||||
trade.trade_do_paging();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
141
merchant/views/withdraw/multi_withdraw.html
Normal file
141
merchant/views/withdraw/multi_withdraw.html
Normal file
@@ -0,0 +1,141 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class=" list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li class="active"><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">批量提现</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Basic Form-->
|
||||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<form id="multi_withdraw" class="form-horizontal">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">可提现余额</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="balance"
|
||||
class="form-control" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">批量代付文件</label>
|
||||
<div class="col-sm-5">
|
||||
<input id="file" type="file" name="file"
|
||||
placeholder="必填项"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<a href="/excel/download">
|
||||
<input type="button" value="下载代付Excel模板"
|
||||
class="btn badge-info btn-sm">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">短信验证码</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" id="smsVerifyCode" name="mobileCode"
|
||||
onkeyup="value=value.replace(/[^\d.]/g,'')"
|
||||
placeholder="必填项"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="button" value="发送手机验证码"
|
||||
onclick="form_v.launch_multi_withdraw('')"
|
||||
class="btn btn-primary">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-7" align="center">
|
||||
<input type="button" value="提交"
|
||||
onclick="form_v.launch_multi_withdraw('/multi_withdraw/launch_multi_withdraw/')"
|
||||
class="btn btn-primary"
|
||||
id="multi_withdraw_btn">
|
||||
</div>
|
||||
<label class="col-sm-5 form-control-label" style="color: red">温馨提示:
|
||||
当前单笔提现手续费为 ¥<label id="sett_fee">2</label> ,
|
||||
从账户余额中扣取。</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
index.get_account_balance();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
204
merchant/views/withdraw/withdraw.html
Normal file
204
merchant/views/withdraw/withdraw.html
Normal file
@@ -0,0 +1,204 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class=" list-unstyled ">
|
||||
<li class="active"><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">申请提现</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<!-- Basic Form-->
|
||||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<form id="withdraw" class="form-horizontal">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 form-control-label">可提现余额</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="balance"
|
||||
class="form-control" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">银行名称</label>
|
||||
<div class="col-sm-9">
|
||||
<select class="form-control" id="bankCode" name="bankCode" required>
|
||||
<option value="">选择银行</option>
|
||||
{{range $k,$v:=.bankInfo}}
|
||||
<option value="{{$k}}">{{$v}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">账户名</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="accountName" name="accountName"
|
||||
placeholder="必填项"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">卡号</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="cardNo" name="cardNo"
|
||||
placeholder="必填项"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">开户账户类型</label>
|
||||
<div class="col-sm-9">
|
||||
<select class="form-control" id="bankAccountType" name="bankAccountType"
|
||||
required>
|
||||
<option value="PRIVATE_DEBIT_ACCOUNT">对私借记卡</option>
|
||||
<option value="PUBLIC_ACCOUNT">对公帐户</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">开户行所在省份</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="province" name="province"
|
||||
placeholder="xx省,例如:广东省"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">开户行所在城市</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="city" name="city"
|
||||
placeholder="xx市,例如:深圳市"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">开户行全称</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="bankAccountAddress" name="bankAccountAddress"
|
||||
placeholder="xxx银行,与选择的银行名称相同即可"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">收款人手机号</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="moblieNo" name="moblieNo"
|
||||
placeholder="必填项"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">金额</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" id="amount" name="amount"
|
||||
onkeyup="value=value.replace(/[^\d.]/g,'')"
|
||||
placeholder="单笔最低2元,50000元"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 form-control-label">短信验证码</label>
|
||||
<div class="col-sm-5">
|
||||
<input type="text" id="smsVerifyCode" name="smsVerifyCode"
|
||||
onkeyup="value=value.replace(/[^\d.]/g,'')"
|
||||
placeholder="必填项"
|
||||
class="form-control" required>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<input type="button" value="发送手机验证码"
|
||||
onclick="form_v.launch_single_withdraw('')"
|
||||
class="btn btn-primary">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-7" align="center">
|
||||
<input type="button" value="提交"
|
||||
onclick="form_v.launch_single_withdraw('/withdraw/launch_single_withdraw/')"
|
||||
class="btn btn-primary">
|
||||
</div>
|
||||
<label class="col-sm-5 form-control-label" style="color: red">温馨提示:
|
||||
当前单笔提现手续费为 ¥<label id="sett_fee">2</label> ,
|
||||
从账户余额中扣取。</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
index.get_account_balance();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
165
merchant/views/withdraw/withdraw_record.html
Normal file
165
merchant/views/withdraw/withdraw_record.html
Normal file
@@ -0,0 +1,165 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "template/css.html"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<!-- Main Navbar-->
|
||||
{{template "template/header.html"}}
|
||||
<div class="page-content d-flex align-items-stretch">
|
||||
<!-- Side Navbar -->
|
||||
<nav class="side-navbar">
|
||||
<!-- Sidebar Header-->
|
||||
<div class="sidebar-header d-flex align-items-center">
|
||||
<a href="/index/ui/">
|
||||
<div class="avatar">
|
||||
<img src="../../static/img/avatar-1.jpg" alt="..."
|
||||
class="img-fluid rounded-circle">
|
||||
</div>
|
||||
</a>
|
||||
<a href="#">
|
||||
<div class="title">
|
||||
<h1 class="h4">{{.userName}}</h1>
|
||||
<p>欢迎您!</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Navidation Menus--><span class="heading">主菜单</span>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="/index/ui/"> <i class="icon-home"></i>首页 </a></li>
|
||||
<li>
|
||||
<a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-user"></i>账户管理 </a>
|
||||
<ul id="exampledropdownDropdown" class="collapse list-unstyled ">
|
||||
<li><a href="/user_info/show_modify_ui">修改密码</a></li>
|
||||
<li><a href="/user_info/show_ui">账户资料</a></li>
|
||||
<li><a href="/index/show_pay_way_ui">通道配置</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown1" aria-expanded="false" data-toggle="collapse"> <i
|
||||
class="icon icon-presentation"></i>订单管理 </a>
|
||||
<ul id="exampledropdownDropdown1" class="collapse list-unstyled ">
|
||||
<li><a href="/trade/show_ui">订单记录</a></li>
|
||||
<li><a href="/trade/show_complaint_ui">投诉列表</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#exampledropdownDropdown2" aria-expanded="true" data-toggle="collapse"> <i
|
||||
class="icon icon-bill"></i>财务管理 </a>
|
||||
<ul id="exampledropdownDropdown2" class="list-unstyled ">
|
||||
<li><a href="/withdraw/show_ui">申请提现</a></li>
|
||||
<li><a href="/multi_withdraw/show_multi_ui">批量申请提现</a></li>
|
||||
<li class="active"><a href="/withdraw/show_list_ui">提现记录</a></li>
|
||||
{{/* <li><a href="/recharge/show_recharge_list_ui">自定义记录</a></li>*/}}
|
||||
<li><a href="/history/show_history_list_ui">资产变动明细</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content-inner">
|
||||
<!-- Page Header-->
|
||||
<header class="page-header">
|
||||
<div class="container-fluid">
|
||||
<h2 class="no-margin-bottom">提现记录</h2>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Forms Section-->
|
||||
<section class="forms no">
|
||||
<div class="col-lg-12">
|
||||
<div class="card">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<lable class="form-inline">
|
||||
<input type="text" class="form-control" id="bankNo" placeholder="平台订单号"
|
||||
autofocus>
|
||||
<input type="text" class="form-control" id="merchant_No" placeholder="商户订单号"
|
||||
autofocus>
|
||||
<label>开始时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='startTime' class="form-control"/>
|
||||
</div>
|
||||
<label>截止时间:</label>
|
||||
<div class='input-group date'>
|
||||
<input type='text' id='endTime' class="form-control"/>
|
||||
</div>
|
||||
<label>结算状态:</label>
|
||||
<select class="form-control" id="uStatus">
|
||||
<option value="">全部</option>
|
||||
{{range $k,$v:=.payType}}
|
||||
<option value="{{$k}}">{{$v}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<button type="button" onclick="pay.withdraw_do_paging()"
|
||||
class="btn btn-primary">搜索
|
||||
</button>
|
||||
<button type="button" onclick="excel.download_withdraw_record_excel()"
|
||||
class="btn btn-outline-dark">导出Excel表
|
||||
</button>
|
||||
</lable>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>平台订单号</th>
|
||||
<th>商户订单号</th>
|
||||
<th>结算金额</th>
|
||||
<th>手续费</th>
|
||||
<th>银行名称</th>
|
||||
<th>开户名</th>
|
||||
<th>开户账户</th>
|
||||
<th>状 态</th>
|
||||
<th>创建时间</th>
|
||||
<th>打款时间</th>
|
||||
<th>备注</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="your_show_time">
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<ul id="do_paging"></ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- JavaScript files-->
|
||||
{{template "template/js.html"}}
|
||||
<script type="application/javascript">
|
||||
$(function () {
|
||||
$("#startTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20,
|
||||
});
|
||||
|
||||
$("#endTime").datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii:ss',
|
||||
autoclose: true,
|
||||
todayBtn: true,
|
||||
startDate: "2019-4-10 18:45:06",
|
||||
minuteStep: 20
|
||||
});
|
||||
|
||||
let start = $("#startTime").val();
|
||||
if (start === "") {
|
||||
let ds = trade.get_last_month_date();
|
||||
$("#startTime").datetimepicker("setDate", new Date(ds));
|
||||
}
|
||||
|
||||
pay.withdraw_do_paging();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user