解决支付宝错误
This commit is contained in:
@@ -199,7 +199,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 text-right">
|
||||
应付款:
|
||||
总金额:
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<span class="blueText">{{OneTotalAmount}}</span>元
|
||||
@@ -208,7 +208,7 @@
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
@* <div class="row">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 text-right">
|
||||
应付款:
|
||||
</div>
|
||||
@@ -218,7 +218,7 @@
|
||||
<div class="col-lg-4 text-left">
|
||||
<span></span>
|
||||
</div>
|
||||
</div> *@
|
||||
</div>
|
||||
<p class="tiijiao-tipjiao" style="color:red">{{Tip}}</p>
|
||||
<p class="tijiao"><button class="btn btn-primary" type="button" v-on:click="onePay">确认支付</button></p>
|
||||
|
||||
@@ -351,7 +351,7 @@
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
@* <div class="row">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 text-right">
|
||||
应付款:
|
||||
</div>
|
||||
@@ -361,7 +361,7 @@
|
||||
<div class="col-lg-4 text-left">
|
||||
<span></span>
|
||||
</div>
|
||||
</div> *@
|
||||
</div>
|
||||
<p class="ijiao-tip" style="color:red">{{Tip}}</p>
|
||||
<p class="tijiao"><button class="btn btn-primary" type="button" v-on:click="morePay">确认支付</button></p>
|
||||
</form>
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4 text-right">
|
||||
应付款:
|
||||
总金额:
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<span class="blueText">{{TotalAmount}}</span>元
|
||||
@@ -176,7 +176,7 @@
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
@* <div class="row">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 text-right">
|
||||
应付款:
|
||||
</div>
|
||||
@@ -186,7 +186,7 @@
|
||||
<div class="col-lg-4 text-left">
|
||||
<span></span>
|
||||
</div>
|
||||
</div> *@
|
||||
</div>
|
||||
<p class="ijiao-tip" style="color:red">{{Tip}}</p>
|
||||
<p class="tijiao"><button class="btn btn-primary" type="button" v-on:click="onePay">确认支付</button></p>
|
||||
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
<div class="item @(currentPath=="/user/mycoupons"?"active_b":"")">
|
||||
<img src="~/img/p5.png"><a href="/user/mycoupons">我的优惠券</a>
|
||||
</div>
|
||||
@* <div class="item @(currentPath=="/user/cashout"?"active_b":"")">
|
||||
<span class="glyphicon glyphicon-jpy" style="padding: 10px;"></span><a href="/user/cashout">提现管理</a>
|
||||
</div> *@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-10 rightCon">
|
||||
|
||||
66
Host/Views/User/CashOut.cshtml
Normal file
66
Host/Views/User/CashOut.cshtml
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
@{
|
||||
Layout = "_UserLayout";
|
||||
}
|
||||
<div id="app">
|
||||
<table class="table">
|
||||
<caption>提现管理</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>用户</th>
|
||||
<th>提现金额</th>
|
||||
<th>提现理由</th>
|
||||
<th>支付宝账号</th>
|
||||
<th>状态</th>
|
||||
<th>提现时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="info in tableData">
|
||||
<td>{{info.username}}</td>
|
||||
<td>{{info.money}}</td>
|
||||
<td>{{info.reason}}</td>
|
||||
<td>{{info.alipay_account}}</td>
|
||||
<td>{{info.status}}</td>
|
||||
<td>{{info.create_time}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<script>
|
||||
var vm = new Vue({
|
||||
el:'#app',
|
||||
data:{
|
||||
tableData: [],
|
||||
},
|
||||
created:function(){
|
||||
this.post();
|
||||
},
|
||||
methods:{
|
||||
post:function(){
|
||||
var param = [];
|
||||
let cashOutData = {
|
||||
cookie:document.cookie
|
||||
}
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
async:false,
|
||||
url: 'http://autophp.wyk/order/index/getData',
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
data: JSON.stringify(cashOutData),
|
||||
beforeSend: function(xhr) {
|
||||
xhr.withCredentials = true;
|
||||
},
|
||||
crossDomain: true,
|
||||
success: function (res) {
|
||||
if (res.Code == 10000) {
|
||||
param = res.data;
|
||||
}
|
||||
}
|
||||
});
|
||||
this.tableData = param;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -268,7 +268,7 @@
|
||||
<div class="col-lg-3">
|
||||
<div class="zhanghu">
|
||||
<div class="accout_tit"><span class="lineBar"></span>余额</div>
|
||||
<p class="charge" onclick="$('.cash-out').show()" style="float:left;font-size:25px;"><a>提现</a></p>
|
||||
@* <p class="charge" onclick="$('.cash-out').show()" style="float:left;font-size:25px;"><a>提现</a></p> *@
|
||||
<p class="charge" onclick="$('.chargeList').show()" style="font-size:25px;"><a>充值</a></p>
|
||||
<div class="money" style="padding: 20px 30px;">¥<span>@Model.UserModel.RestAmount</span></div>
|
||||
<p class="grayText text-center">可通过淘宝充值,或联系管理员充值</p>
|
||||
|
||||
Reference in New Issue
Block a user