diff --git a/Host/Controllers/UserController.cs b/Host/Controllers/UserController.cs
index ba7ece5..9e93373 100644
--- a/Host/Controllers/UserController.cs
+++ b/Host/Controllers/UserController.cs
@@ -577,6 +577,14 @@ namespace Home.Controllers
return View();
}
+ [HttpGet]
+ [UserAuth]
+ public IActionResult MyMoney()
+ {
+ var userId =this.Request.GetUserInfo().UserId;
+ return View();
+ }
+
/// 
客服微信-售后:
- 工作时间:周一到周日8:30-23:30
+工作时间:周一到周日8:30-23:00
大客户/商务合作
diff --git a/Host/Views.Mobile/Product/buy.cshtml b/Host/Views.Mobile/Product/buy.cshtml index 0d9b797..8199319 100644 --- a/Host/Views.Mobile/Product/buy.cshtml +++ b/Host/Views.Mobile/Product/buy.cshtml @@ -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); } } diff --git a/Host/Views.Mobile/Shared/_Layout.cshtml b/Host/Views.Mobile/Shared/_Layout.cshtml index 2fe1238..1a29a44 100644 --- a/Host/Views.Mobile/Shared/_Layout.cshtml +++ b/Host/Views.Mobile/Shared/_Layout.cshtml @@ -132,7 +132,7 @@
个人信息
IP账号管理
资金明细
我的订单
退货订单
我的优惠券 
| 用户 | +资金去向 | +金额 | +操作前余额 | +操作后余额 | +备注 | +购买时间 | +
|---|---|---|---|---|---|---|
| {{info.UserName}} | +{{info.ScoreTypeName}} | +{{info.ScoreValue}} | +{{info.RestAmount1}} | +{{info.RestAmount2}} | +{{info.Remark}} | +{{info.CreateTime}} | +

- 本产品目前所有地区都屏蔽QQ微信
- } @if(item.Product.Id == 5){购买须知:本产品目前所有地区都屏蔽QQ微信
} @@ -544,8 +541,8 @@ @if(item.Product.Id == 20){

-
资金明细
+