文件

462 行
13 KiB
HTML
可执行文件

<html>
<!--[1.1.12]-->
<head>
<meta charset="UTF-8"/>
<title>余额提现管理</title>
<link href="__PUBLIC__/user/css/base.css" rel="stylesheet">
<!--<link href="__PUBLIC__/user/css/jquery.validate.unobtrusive.popstyle.css" rel="stylesheet">-->
<script src="__PUBLIC__/user/js/jquery-2.0.3.min.js"></script>
<!--<script src="__PUBLIC__/user/js/jquery.validate.js"></script>-->
<!--<script src="__PUBLIC__/user/js/jquery.validate.unobtrusive.js"></script>-->
<!--<script src="__PUBLIC__/user/js/jquery.form.js"></script>-->
<script src="__PUBLIC__/layui/layui.js"></script>
<link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css">
<script src="__PUBLIC__/user/js/post.loading.js"></script>
<link rel="stylesheet" href="__PUBLIC__/user/css/uemprod.css">
<link rel="stylesheet" href="__PUBLIC__/user/css/css_uemprod_localFix.css">
<link rel="stylesheet" href="__PUBLIC__/user/css/default.css">
<style type="text/css">
center {
width: 120px;
float: left;
margin-left: 140px;
border: 1px dashed #ddd;
height: 104px;
margin: 10px 4% 10px 10px;
border-radius: 5px;
background: #fff;
}
a {
text-decoration: none !important;
cursor: pointer;
}
a:hover {
text-decoration: none !important;
}
select {
height: 30px;
width: 80px;
font-family: "微软雅黑";
color: #777;
}
.mi-form-select .select2-container .select2-choice {
width: 140px;
}
.select2-container .select2-default {
color: #444 !important;
}
.yuan {
display: inline-block;
margin-left: 10px !important;
margin-top: 3px;
font-size: 12px;
}
.span6 {
float: left;
width: 100%;
overflow: hidden;
}
.clear {
clear: both;
width: 100%;
height: 0px;
}
.text-left {
text-align: left;
padding-bottom: 38px;
}
.width45 {
width: 45px;
padding-bottom: 10px;
}
.select {
height: 32px !important;
min-width: 125px;
appearance: none !important;
-moz-appearance: none !important;
-webkit-appearance: none !important;
background: transparent !important;
border: none !important;
z-index: 1 !important;
padding-right: 24px !important;
}
.btn,
.mi-button-text {
height: 32px;
color: #fff;
overflow: visible;
background: #009688;
border: 1px solid #009688;
border-radius: 3px;
font-size: 14px;
padding: 0 75px;
}
#l-map {
width: 500px;
height: 300px;
}
div.chosen-select {
padding-right: 0px !important;
}
.img {
height: 50px;
}
.img img,
.img span {
float: left;
}
.img span {
top: 15%;
left: 10px;
}
.remind-tip {
clear: both;
}
.mi-form-item-line {
width: 100%;
border: 1px solid #ddd;
padding: 14px 0 0;
margin-bottom: 10px;
padding-top: 35px;
border-radius: 3px;
background: #Fff;
}
.mi-form-item {
width: 100%;
}
.mi-button-textonly {
height: 32px;
}
.mi-button-mblue a {
text-decoration: none;
line-height: 32px !important;
}
.content .title span {
border-bottom: 0;
}
.content .titlechange span {
border-bottom: 0;
z-index: 999;
position: relative;
margin-top: 21px;
margin-left: 20px;
height: 18px;
font-size: 14px;
padding: 0 5px;
}
.custormm span {
border-bottom: 2px solid #f60 !important;
}
.titlechanged span {
display: block;
margin-top: -25px !important;
margin-bottom: 40px;
font-family: "Microsoft Yahei";
}
.content .titlechange span {
border-bottom: 0;
z-index: 999;
position: relative;
margin-top: 21px;
background: white;
margin-left: 20px;
height: 18px;
font-size: 14px;
padding: 0 5px;
;
}
.titlechanged span {
display: block;
margin-top: -25px !important;
margin-bottom: 14px;
font-family: "Microsoft Yahei";
}
#Button9 {
padding: 0px 15px 0px 15px;
}
.massge .sign .mi-label {
width: 70px;
margin-left: 100px;
text-align: left;
}
.wxmi-form-item-line {}
.mi-form-item-line .mi-form-item-line {
border-left: 0;
border-right: 0;
}
.appendix-pic {
float: left;
}
#pengyouquan {
padding-left: 54px;
padding-top: 18px;
}
#pengyouquan div {
height: 45px;
line-height: 32px;
width: 360px;
}
#pengyouquan div input {
/*float:right;*/
}
#pengyouquan div select {
border: 1px solid #ddd;
width: 80px;
border-radius: 3px;
}
#content-main img {
vertical-align: middle;
}
.pact_pic {
width: 50px;
height: 50px;
background-color: #fff;
position: relative;
margin-bottom: 10px;
float: left;
margin-right: 10px;
}
.pact_pic span.del-pic {
display: block;
position: absolute;
color: #fff;
top: 0px;
right: 0px;
width: 18px;
height: 18px;
font-size: 14px;
line-height: 16px;
border-radius: 9px;
background-color: rgba(153, 153, 153, 0.6);
text-align: center;
opacity: 0;
cursor: pointer;
-ms-transition: background-color 100ms;
-moz-transition: background-color 100ms;
-webkit-transition: background-color 100ms;
transition: background-color 100ms;
}
.pact_pic:hover span.del-pic {
opacity: 1;
}
.pact_pic span.del-pic:hover {
background-color: #000;
opacity: 1;
}
.line {
height: 50px;
line-height: 32px;
}
.line1 {
line-height: 48px !important;
height: 80px !important;
}
.line select {
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 3px;
}
.pl {
float: left;
width: 126px;
}
.p2 {
float: left;
width: 120px;
}
.topcy {
width: 100%;
height: 58px;
background: #fff;
border: 1px solid #ddd;
border-bottom: none;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.open1 {
float: right;
font-size: 14px;
margin-right: 30px;
margin-top: 10px;
line-height: 10px;
}
.content input[type="text"] {
width: 350px;
height: 40px;
color: rgb(120, 120, 120);
text-indent: 1em;
border-width: 1px;
border-style: solid;
border-color: rgb(221, 221, 221);
border-image: initial;
border-radius: 4px;
}
h3 {
margin-left: 35px;
padding-top: 16px;
display: block;
text-indent: 20px;
font-size: 16px;
/*background: url(__PUBLIC__/user/images/dic.png) no-repeat left 21px;*/
color:#009688;
}
</style>
</head>
<body class="hold-transition skin-blue sidebar-mini" style="cursor: pointer;">
<div id="container" class="ui-container">
<div class="content" style="margin-top:20px;">
<div class="container" style="float: left;margin-left: 20px;width: 95%;margin-bottom: -8px;">
<div class="topcy">
<h3>
合作伙伴提现管理
</h3>
</div>
<!-- 搜索 -->
<form method="post" class="mi-form" id="submits" >
<div class="sign fn-clear">
<div class="sign-form">
<div class="mi-form-item-line">
<div class="massge">
<div class="span6">
<div class="mi-form-item fn-clear">
<label class="mi-label">
<span class="required">*</span>当前全部余额
</label>
<input data-val="true" disabled value="{$admins.balance}" id="money" name="name" placeholder="" type="text">
<div class="remind-tip">
</div>
</div>
</div>
<div class="massge">
<div class="span6">
<div class="mi-form-item fn-clear">
<label class="mi-label">
<span class="required">*</span>提现金额
</label>
<input name="LoginName" placeholder="请输入提现的金额" id="txmoney" type="text" >
<div class="remind-tip" style="color: #ccc">
<label class="mi-label">
</label>
请填写提现的金额
</div>
</div>
</div>
<div class="fn-clear clear">
</div>
<p style="text-align:center;height:90px">
<input type="button" id="addwx" class="btn" value="提现">
</p>
<div class="fn-clear clear">
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<script>
layui.use(['form','upload','layer','laydate'], function() {
var laydate = layui.laydate;
$('#addwx').click(function () {
//submits
var money = parseFloat($('#money').val());
var txmoney = parseFloat($('#txmoney').val());
if (txmoney == ''){
layer.alert('提现的金额不能为空');
return false;
}
if (money < txmoney) {
layer.alert('提现的金额不能大于可提现的金额');
return false;
}
if (txmoney < 500) {
layer.alert('提现的金额不能小于500元');
return false;
}
var data = {money: txmoney};
layer.confirm("确定要提现" + txmoney + "元吗?", function () {
var index = parent.layer.getFrameIndex(window.name);
$.ajax({
url: "{:U('Continentflow/Cash')}",
type: "post",
data: data,
success: function (re) {
if (re.status == 1) {
layer.msg(re.msg,function(){
console.log(111)
window.parent.location.reload();
parent.layer.close();
});
} else {
layer.msg(re.msg)
}
}
})
})
})
});
</script>
</body>
</html>