资金明细
This commit is contained in:
@@ -306,7 +306,7 @@
|
||||
<img width="300px" src="~/img/kf_sq.jpg?123"><br>
|
||||
<p>客服微信-售后:</p>
|
||||
<img width="300px" src="~/img/kf_sh.jpg?1231">
|
||||
<p>工作时间:周一到周日8:30-23:30</p>
|
||||
<p>工作时间:周一到周日8:30-23:00</p>
|
||||
</div>
|
||||
<div class="item">
|
||||
<p>大客户/商务合作</p>
|
||||
|
||||
@@ -496,7 +496,12 @@
|
||||
},
|
||||
watch: {
|
||||
'OneBuyModel.CouponId': { //加引号监听对象里的属性
|
||||
|
||||
handler: function (newValue, oldValue) {
|
||||
|
||||
if( this.OneBuyModel.CouponId == 10000000){
|
||||
return;
|
||||
}
|
||||
var totalAmount = this.OneBuyModel.Price * this.OneBuyModel.ConnectCount;
|
||||
for (var i = 0; i < this.Coupons.length; i++) {
|
||||
var item = this.Coupons[i];
|
||||
@@ -525,6 +530,10 @@
|
||||
},
|
||||
'MoreBuyModel.CouponId': { //加引号监听对象里的属性
|
||||
handler: function (newValue, oldValue) {
|
||||
|
||||
if( this.MoreBuyModel.CouponId == 10000000){
|
||||
return;
|
||||
}
|
||||
var totalAmount = this.MoreBuyModel.Price * this.MoreBuyModel.ConnectCount;
|
||||
for (var i = 0; i < this.Coupons.length; i++) {
|
||||
var item = this.Coupons[i];
|
||||
@@ -571,6 +580,10 @@
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this.OneBuyModel.CouponId = 10000000
|
||||
this.MoreBuyModel.CouponId = 10000000
|
||||
},
|
||||
mounted: function () {
|
||||
if (isWeiXin()) {
|
||||
this.OneBuyModel.PayChannel = 20;
|
||||
@@ -599,6 +612,15 @@
|
||||
success: function (res) {
|
||||
console.log(res);
|
||||
if (res.Code == 10000) {
|
||||
if(@(Model.Package.Id) == 64||@(Model.Package.Id) == 1004){
|
||||
var coupon_json = {
|
||||
"Coupon":{
|
||||
"Id":10000000,
|
||||
"Name":"极客-西瓜-满减劵",
|
||||
}
|
||||
}
|
||||
res.Data.push(coupon_json);
|
||||
}
|
||||
that.Coupons = res.Data.map(m => m.Coupon);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
<img src="~/img/qq.png" class="on_q"><div class="kefu_tit">QQ</div>
|
||||
|
||||
<div class="side_q" style="width: 200px;">
|
||||
<h4 style="border-bottom:1px solid #ccc;text-align:center;width:100%;padding:15px 0;">在线时间8:30-23:30</h4>
|
||||
<h4 style="border-bottom:1px solid #ccc;text-align:center;width:100%;padding:15px 0;">在线时间8:30-23:00</h4>
|
||||
<div class="item" style="padding-left:20%;width:80%;">
|
||||
<a href="https://admin.qidian.qq.com/template/blue/mp/menu/qr-code-jump.html?linkType=0&env=ol&kfuin=2852138148&fid=299&key=f377ec024ca45115a03a7632c7bda230&cate=1&source=&isLBS=&isCustomEntry=&type=16&ftype=1&_type=wpa&qidian=true" target="_blank">
|
||||
<div class="ileft">
|
||||
@@ -159,19 +159,19 @@
|
||||
<div class="tab-content" style="margin-top: 60px;">
|
||||
<div role="tabpanel" class="tab-pane active" id="xx">
|
||||
<img src="~/img/kf_sq.jpg?123">
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:30</p>
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:00</p>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="qq">
|
||||
<img src="~/img/kf_sh.jpg?123">
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:30</p>
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:00</p>
|
||||
</div>
|
||||
@*<div role="tabpanel" class="tab-pane" id="ss">
|
||||
<img src="~/img/w3.png">
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:30</p>
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:00</p>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="tt">
|
||||
<img src="~/img/w4.png">
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:30</p>
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:00</p>
|
||||
</div>*@
|
||||
</div>
|
||||
</div>
|
||||
@@ -180,7 +180,7 @@
|
||||
<img src="~/img/gzh.png" class="on_gzh"><div class="kefu_tit">公众号</div>
|
||||
<div class="side_gzh">
|
||||
<p><img src="~/img/ewm.png"></p>
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:30</p>
|
||||
<p style="color:#f90">实时响应 在线时间 8:30-23:00</p>
|
||||
<p style="color:#f90">关注公众号可获取免费的到期提醒服务</p>
|
||||
</div>
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
<div class="side_tel">
|
||||
<p><b>400 800 9925</b></p>
|
||||
<p>实时接通</p>
|
||||
<p>电话值班时间 8:30-23:30</p>
|
||||
<p>电话值班时间 8:30-23:00</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<ul class="plist">
|
||||
<li><img src="~/m/img/p1.png"><a asp-action="indexInfo" asp-controller="user">个人信息<img src="~/m/img/arrow.png"></a></li>
|
||||
<li><img src="~/m/img/p3.png"><a asp-action="myaccounts" asp-controller="user">IP账号管理<img src="~/m/img/arrow.png"></a></li>
|
||||
<li><img src="~/m/img/p3.png"><a asp-action="mymoney" asp-controller="user">资金明细<img src="~/m/img/arrow.png"></a></li>
|
||||
<li><img src="~/m/img/p1.png"><a asp-action="myorders" asp-controller="user">我的订单<img src="~/m/img/arrow.png"></a></li>
|
||||
<li><img src="~/m/img/p2.png"><a asp-action="myrefundorders" asp-controller="user">退货订单<img src="~/m/img/arrow.png"></a></li>
|
||||
<li><img src="~/m/img/p4.png"><a asp-action="mycoupons" asp-controller="user">我的优惠券 <span style="background-color: red;font-size:25px;" class="badge" id="coupon_num"></span><img src="~/m/img/arrow.png"></a></li>
|
||||
|
||||
125
Host/Views.Mobile/User/MyMoney.cshtml
Normal file
125
Host/Views.Mobile/User/MyMoney.cshtml
Normal file
@@ -0,0 +1,125 @@
|
||||
|
||||
@{
|
||||
Layout = "_UserLayout";
|
||||
}
|
||||
<div id="app">
|
||||
<table class="table">
|
||||
<caption>余额资金明细</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>用户</th>
|
||||
<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.ScoreTypeName}}</td>
|
||||
<td>{{info.ScoreValue}}</td>
|
||||
<td>{{info.RestAmount1}}</td>
|
||||
<td>{{info.RestAmount2}}</td>
|
||||
<td>{{info.Remark}}</td>
|
||||
<td>{{info.CreateTime}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<ul class="pager">
|
||||
<li v-on:click="previous"><a>上一页</a></li>
|
||||
<li v-on:click="next"><a>下一页</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
var vm = new Vue({
|
||||
el:'#app',
|
||||
data:{
|
||||
tableData: [],
|
||||
page:1
|
||||
},
|
||||
created:function(){
|
||||
this.post();
|
||||
},
|
||||
methods:{
|
||||
post:function(){
|
||||
var param = [];
|
||||
let cashOutData = {
|
||||
cookie:document.cookie
|
||||
}
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
async:false,
|
||||
url: 'http://php-api.juip.com/user/UserScore/getList',
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
data: JSON.stringify(cashOutData),
|
||||
beforeSend: function(xhr) {
|
||||
xhr.withCredentials = true;
|
||||
},
|
||||
crossDomain: true,
|
||||
success: function (res) {
|
||||
param = res;
|
||||
}
|
||||
});
|
||||
this.tableData = param;
|
||||
},
|
||||
previous(){
|
||||
this.page--;
|
||||
if (this.page<1) {
|
||||
this.page = 1;
|
||||
}
|
||||
var param = [];
|
||||
let cashOutData = {
|
||||
cookie:document.cookie,
|
||||
page:this.page
|
||||
}
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
async:false,
|
||||
url: 'http://php-api.juip.com/user/UserScore/getList',
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
data: JSON.stringify(cashOutData),
|
||||
beforeSend: function(xhr) {
|
||||
xhr.withCredentials = true;
|
||||
},
|
||||
crossDomain: true,
|
||||
success: function (res) {
|
||||
param = res;
|
||||
}
|
||||
});
|
||||
this.tableData = param;
|
||||
},
|
||||
next(){
|
||||
this.page++;
|
||||
if (this.page<1) {
|
||||
this.page = 1;
|
||||
}
|
||||
var param = [];
|
||||
let cashOutData = {
|
||||
cookie:document.cookie,
|
||||
page:this.page
|
||||
}
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
async:false,
|
||||
url: 'http://php-api.juip.com/user/UserScore/getList',
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
data: JSON.stringify(cashOutData),
|
||||
beforeSend: function(xhr) {
|
||||
xhr.withCredentials = true;
|
||||
},
|
||||
crossDomain: true,
|
||||
success: function (res) {
|
||||
param = res;
|
||||
}
|
||||
});
|
||||
this.tableData = param;
|
||||
},
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user