From caa077f9aee158bb5cfa2e94eed2f68672bdfd31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 8 Sep 2023 15:03:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Controllers/ProductController.cs | 31 +++++---- Host/Controllers/UserController.cs | 31 +++++---- Host/Views.Mobile/Home/Index.cshtml | 2 +- Host/Views.Mobile/LineList/Index.cshtml | 2 +- Host/Views.Mobile/Product/Index.cshtml | 4 -- Host/Views.Mobile/Product/ReBuyIndex.cshtml | 63 ++++++----------- Host/Views.Mobile/Product/Soft.cshtml | 12 +++- Host/Views.Mobile/Product/Test.cshtml | 1 - Host/Views.Mobile/Product/buy.cshtml | 61 +++++++++++------ Host/Views.Mobile/Product/rebuy.cshtml | 26 ++++--- Host/Views.Mobile/User/IndexInfo.cshtml | 2 +- Host/Views.Mobile/User/Online.cshtml | 2 + Host/Views/Home/Index.cshtml | 2 +- Host/Views/Product/Index.cshtml | 16 ++--- Host/Views/Product/ReBuyIndex.cshtml | 71 +++++++++----------- Host/Views/Product/Soft.cshtml | 11 ++- Host/Views/Product/buy.cshtml | 49 +++++++++----- Host/Views/Product/rebuy.cshtml | 1 - Host/Views/User/Index.cshtml | 34 +++++++++- Host/wwwroot/img/qq.jpg | Bin 0 -> 41096 bytes Host/wwwroot/img/tt.jpg | Bin 0 -> 34613 bytes Host/wwwroot/img/xx.jpg | Bin 0 -> 25048 bytes 22 files changed, 238 insertions(+), 183 deletions(-) create mode 100644 Host/wwwroot/img/qq.jpg create mode 100644 Host/wwwroot/img/tt.jpg create mode 100644 Host/wwwroot/img/xx.jpg diff --git a/Host/Controllers/ProductController.cs b/Host/Controllers/ProductController.cs index b2805a9..07b01f3 100644 --- a/Host/Controllers/ProductController.cs +++ b/Host/Controllers/ProductController.cs @@ -626,21 +626,24 @@ namespace Home.Controllers try { var ordereNo = sArray["out_trade_no"]; - var order = await m_ProductOrderService.GetOrderByNo(ordereNo); - if (order.OrderState == OrderStatus.Complete || order.OrderState == OrderStatus.PayOk) - { - await Response.WriteAsync("success"); - return; + var trade_status = sArray["trade_status"]; + if (trade_status == "TRADE_SUCCESS") { + var order = await m_ProductOrderService.GetOrderByNo(ordereNo); + if (order.OrderState == OrderStatus.Complete || order.OrderState == OrderStatus.PayOk) + { + await Response.WriteAsync("success"); + return; + } + + + order.OrderState = OrderStatus.PayOk; + order.TradeNo = sArray["trade_no"]; + order.UpdateTime = DateTime.Now; + await m_ProductOrderService.Update(order); + await m_ProductOrderService.ProcessOrderAccount(order); + + Console.WriteLine(Request.Form["trade_status"]); } - - - order.OrderState = OrderStatus.PayOk; - order.TradeNo = sArray["trade_no"]; - order.UpdateTime = DateTime.Now; - await m_ProductOrderService.Update(order); - await m_ProductOrderService.ProcessOrderAccount(order); - - Console.WriteLine(Request.Form["trade_status"]); await Response.WriteAsync("success"); } diff --git a/Host/Controllers/UserController.cs b/Host/Controllers/UserController.cs index aa69d39..d974756 100644 --- a/Host/Controllers/UserController.cs +++ b/Host/Controllers/UserController.cs @@ -1339,22 +1339,25 @@ namespace Home.Controllers try { var ordereNo = sArray["out_trade_no"]; - var order = await m_ChargeService.GetOrderByNo(ordereNo); - if (order.OrderState == UOrderStatus.Complete || order.OrderState == UOrderStatus.PayOk) - { - await Response.WriteAsync("success"); - return; + var trade_status = sArray["trade_status"]; + if (trade_status == "TRADE_SUCCESS") { + var order = await m_ChargeService.GetOrderByNo(ordereNo); + if (order.OrderState == UOrderStatus.Complete || order.OrderState == UOrderStatus.PayOk) + { + await Response.WriteAsync("success"); + return; + } + + + order.OrderState = UOrderStatus.PayOk; + order.TradeNo = sArray["trade_no"]; + order.UpdateTime = DateTime.Now; + await m_ChargeService.Update(order); + await m_ChargeService.ProcessOrderAccount(order); + + Console.WriteLine(Request.Form["trade_status"]); } - - order.OrderState = UOrderStatus.PayOk; - order.TradeNo = sArray["trade_no"]; - order.UpdateTime = DateTime.Now; - await m_ChargeService.Update(order); - await m_ChargeService.ProcessOrderAccount(order); - - Console.WriteLine(Request.Form["trade_status"]); - await Response.WriteAsync("success"); } catch (Exception ex) diff --git a/Host/Views.Mobile/Home/Index.cshtml b/Host/Views.Mobile/Home/Index.cshtml index 6aafdc9..ec8a0f6 100644 --- a/Host/Views.Mobile/Home/Index.cshtml +++ b/Host/Views.Mobile/Home/Index.cshtml @@ -247,7 +247,7 @@

聚IP最新活动:

- @*

1.动态IP一毛钱一天,每用户限一次~

*@ +

蘑菇安卓APP已上线,功能强大,欢迎下载使用

蘑菇IP不限速网速全网最快,新用户首单天卡1毛钱。周卡送1天,月卡送5天,双月卡送1个月,多买多送~

diff --git a/Host/Views.Mobile/LineList/Index.cshtml b/Host/Views.Mobile/LineList/Index.cshtml index 2239677..966ae44 100644 --- a/Host/Views.Mobile/LineList/Index.cshtml +++ b/Host/Views.Mobile/LineList/Index.cshtml @@ -174,7 +174,7 @@

{{search_field}} - +

diff --git a/Host/Views.Mobile/Product/Index.cshtml b/Host/Views.Mobile/Product/Index.cshtml index 22f4ac7..3f865bf 100644 --- a/Host/Views.Mobile/Product/Index.cshtml +++ b/Host/Views.Mobile/Product/Index.cshtml @@ -253,7 +253,6 @@

@package.Name

-

@(package.DayPrice)元/天

@package.Profile

@@ -271,7 +270,6 @@

@package.Name 首单

-

@(Math.Round(package.Price/package.DayCount,2))元/天

@package.Profile

@@ -286,7 +284,6 @@

@package.Name

-

@(package.DayPrice)元/天

@package.Profile

@@ -301,7 +298,6 @@

@package.Name

-

@(Math.Round(package.Price/package.DayCount,2))元/天

@package.Profile

diff --git a/Host/Views.Mobile/Product/ReBuyIndex.cshtml b/Host/Views.Mobile/Product/ReBuyIndex.cshtml index b0a9d49..46b7dd0 100644 --- a/Host/Views.Mobile/Product/ReBuyIndex.cshtml +++ b/Host/Views.Mobile/Product/ReBuyIndex.cshtml @@ -20,49 +20,28 @@ @*
*@ -
- -
-
-

十余种全网知名旗舰产品低价热销

-

淘宝动态IP销量排名NO.1

-

已完美对接淘宝、淘宝付款后、金额将自动充值到您的会员余额中

-

欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元
优惠券支持所有套餐!点击去淘宝店铺付款 

-
-
-

需求五个以上

-

联系客服设置优惠价

-

>>>联系客服<<<

-
-
-
+



-
- -
-
+
-

@Model.Product.Name

-
    -

    ·不限速,网速最高可达50兆

    -

    ·支持手机,电脑,模拟器

    -

    ·200多个城市+全国混波量ip千万级

    -

    ·带宽6-10兆

    -

    ·断开再链接换ip

    +
    +

    @Model.Product.Name 简介

    +
    +
      + @foreach (var str in Model.Product.ContentLine) + { +
    • ·@str
    • + }
    +
    @foreach (var package in Model.Packages.Where(m=>m.IsTest==0&&m.Status==1 && m.Id != 21&& m.Id != 20).OrderBy(m => m.TenantId)) { @if(package.Id == 101||package.Id == 103||package.Id == 104||(package.Id>103)){ -
    +
    -

    @package.Name

    -

    @(package.DayPrice)元/天

    +

    @package.Name

    @package.Profile

    @@ -74,9 +53,9 @@ } @* else if(package.Id == 19){ -
    +
    -

    @package.Name 送10天

    +

    @package.Name 送10天

    @(package.DayPrice)元/天

    @package.Profile

    @@ -89,9 +68,9 @@ } *@ @* else if(package.Id == 63||package.Id == 64||package.Id == 65||package.Id == 66||package.Id == 67||package.Id == 13||package.Id == 14||package.Id == 15||package.Id == 16){
    -
    +
    -

    @package.Name 85折

    +

    @package.Name 85折

    @(package.DayPrice)元/天

    @package.Profile

    @@ -104,10 +83,9 @@ } *@ else if(package.Id == 100 || package.Id == 102){
    -
    +
    -

    @package.Name

    -

    @(package.DayPrice)元/天

    +

    @package.Name

    @package.Profile

    @@ -118,10 +96,9 @@ } else if(package.Id != 88) { -
    +

    @package.Name

    -

    @(package.DayPrice)元/天

    @package.Profile

    } @@ -43,7 +48,8 @@
    @*

    *@

    代理商专用客户端

    -

    +

    +





    diff --git a/Host/Views.Mobile/Product/Test.cshtml b/Host/Views.Mobile/Product/Test.cshtml index 9262779..b165524 100644 --- a/Host/Views.Mobile/Product/Test.cshtml +++ b/Host/Views.Mobile/Product/Test.cshtml @@ -53,7 +53,6 @@

    @Model.Package.Name

    -

    @(Model.Package.DayPrice)元/天

    @Model.Package.Profile

    diff --git a/Host/Views.Mobile/Product/buy.cshtml b/Host/Views.Mobile/Product/buy.cshtml index 03907ed..91f2cb7 100644 --- a/Host/Views.Mobile/Product/buy.cshtml +++ b/Host/Views.Mobile/Product/buy.cshtml @@ -83,23 +83,21 @@

    当前已选产品:

    -
    -
    -

    @Model.Product.Name

    +
    +
    +

    @Model.Product.Name

    -
    -

    @Model.Package.Name

    -

    @(Math.Round(Model.Package.Price/Model.Package.DayCount,2))元/天

    -

    @Model.Package.Profile

    +
    +

    @Model.Package.Name

    -
    +
    @if(Model.Package.Price < 60 && (Model.Package.Id == 64||Model.Package.Id == 1004)){ - 60.00 + ¥60.00 } else { @if (Model.Package.IsTest == 0) { - @Model.Package.Price + ¥@Model.Package.Price } else { - 1.0 + ¥1.0 } }
    @@ -126,7 +124,7 @@
    单个注册
    -
    +
    批量注册
    @@ -153,7 +151,7 @@
    连接数:
    -
    +
    - @@ -167,7 +165,7 @@
    -
    +
    1
    @@ -488,12 +486,13 @@ total = parseFloat(total.toFixed(2)); - + if(total != 0.1){ //最低价 var min_cost = @(Model.Package.MinPrice) * this.OneBuyModel.ConnectCount - this.OneBuyModel.CouponAmount; if(total 10 || this.OneBuyModel.Account.length < 5|| !this.hasNumAndChar(this.OneBuyModel.Account)) { + + if (productId == 20||productId == 21) { + if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 7 || !this.hasNumAndChar(this.OneBuyModel.Account)) { + alert("此产品账号必须在7-10位"); + this.OneChecker.AccountOk = false; + return false; + } + + this.OneChecker.AccountOk = true; + return true; + } + if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 4|| !this.hasNumAndChar(this.OneBuyModel.Account)) { this.OneChecker.AccountOk = false; - alert('账号长度必须在5-10位,且不能包含特殊字符'); + alert('账号长度必须在4-10位,且不能包含特殊字符'); return false; } this.OneChecker.AccountOk = true; @@ -685,9 +695,20 @@ return true; }, checkMoreAccount() { - if (this.MoreBuyModel.Account.length > 10 || this.MoreBuyModel.Account.length < 4|| !this.hasNumAndChar(this.MoreBuyModel.Account)) { + + if (productId == 20||productId == 21) { + if (this.MoreBuyModel.Account.length < 6 || this.MoreBuyModel.Account.length > 8 || !this.hasNumAndChar(this.MoreBuyModel.Account)) { + alert("此产品账号必须在7-10位"); + this.MoreChecker.AccountOk = false; + return false; + } + + this.MoreChecker.AccountOk = true; + return true; + } + if (this.MoreBuyModel.Account.length > 10 || this.MoreBuyModel.Account.length < 3|| !this.hasNumAndChar(this.MoreBuyModel.Account)) { this.MoreChecker.AccountOk = false; - alert('账号长度必须在5-10位,且不能包含特殊字符'); + alert('账号长度必须在4-10位,且不能包含特殊字符'); return false; } this.MoreChecker.AccountOk = true; @@ -703,7 +724,6 @@ return true; }, onePay: function () { - $(".pay-botton").hide(); this.OneBuyModel.ConnectCount = parseInt(this.OneBuyModel.ConnectCount) if (!this.isNum(this.OneBuyModel.ConnectCount)) return; if (!this.checkOneAccount() || !this.checkOnePwd()) return; @@ -745,7 +765,6 @@ }); }, morePay: function () { - $(".pay-botton").hide(); this.MoreBuyModel.ConnectCount = parseInt(this.MoreBuyModel.ConnectCount) if (!this.isNum(this.MoreBuyModel.ConnectCount)) return; if (!this.checkMoreAccount() || !this.checkMorePwd() || this.MoreBuyModel.MaxPostfix>500) return; diff --git a/Host/Views.Mobile/Product/rebuy.cshtml b/Host/Views.Mobile/Product/rebuy.cshtml index e30c0f2..a917ae2 100644 --- a/Host/Views.Mobile/Product/rebuy.cshtml +++ b/Host/Views.Mobile/Product/rebuy.cshtml @@ -47,18 +47,23 @@

    当前已选产品:

    -
    -
    -

    -

    @Model.Product.Name

    +
    +
    +

    @Model.Product.Name

    -
    -

    @Model.Package.Name

    -

    @(Model.Package.DayPrice)元/天

    -

    @Model.Package.Profile

    +
    +

    @Model.Package.Name

    -
    - ¥ @Model.Package.Price +
    + @if(Model.Package.Price < 60 && (Model.Package.Id == 64||Model.Package.Id == 1004)){ + ¥60.00 + } else { + @if (Model.Package.IsTest == 0) { + ¥@Model.Package.Price + } else { + ¥1.0 + } + }
    @@ -301,7 +306,6 @@ }) }, onePay: function () { - $(".pay-botton").hide(); if (this.OneBuyModel.UseAccountAmount) { if (this.RestAmount < this.PayAmount){ alert('余额不足,请充值。您也可以使用微信、支付宝支付。');return; diff --git a/Host/Views.Mobile/User/IndexInfo.cshtml b/Host/Views.Mobile/User/IndexInfo.cshtml index c94bc43..3f4e8d9 100644 --- a/Host/Views.Mobile/User/IndexInfo.cshtml +++ b/Host/Views.Mobile/User/IndexInfo.cshtml @@ -148,7 +148,7 @@
    -
    PPTV账号
    +
    PPTP账号
    使用中: diff --git a/Host/Views.Mobile/User/Online.cshtml b/Host/Views.Mobile/User/Online.cshtml index abddb53..5039c45 100644 --- a/Host/Views.Mobile/User/Online.cshtml +++ b/Host/Views.Mobile/User/Online.cshtml @@ -138,6 +138,8 @@ if (res.Code == 10000) { alert("操作成功"); window.location.reload(); + } else { + alert("操作失败"); } } }); diff --git a/Host/Views/Home/Index.cshtml b/Host/Views/Home/Index.cshtml index c410b7b..37e08ce 100644 --- a/Host/Views/Home/Index.cshtml +++ b/Host/Views/Home/Index.cshtml @@ -542,7 +542,7 @@

    聚IP最新活动:

    - @*

    1.动态IP一毛钱一天,每用户限一次~

    *@ +

    蘑菇安卓APP已上线,功能强大,欢迎下载使用

    蘑菇IP不限速网速全网最快,新用户首单天卡1毛钱。周卡送1天,月卡送5天,双月卡送1个月,多买多送~

    diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index 0492c4e..fe004f7 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -493,7 +493,7 @@

    @package.Price

    原价:@package.LinePrice

    -

    @(Math.Round(package.Price/package.DayCount,2))元/天

    +

     

    @package.Name

    @package.Profile

    @@ -507,8 +507,8 @@

    @package.Price

    原价:@package.LinePrice

    -

    @(Math.Round(package.Price/package.DayCount,2))元/天

    -
    +

     

    +

    @package.Name

    @package.Profile

    @@ -519,7 +519,7 @@

    @package.Price

    原价:@package.LinePrice

    -

    @(Math.Round(package.Price/package.DayCount,2))元/天

    +

     

    @package.Name

    使用期限:1小时

    @@ -538,8 +538,8 @@

    @package.Price

    }

    原价:@package.LinePrice

    -

    @(Math.Round(package.Price/package.DayCount,2))元/天

    -
    +

     

    +

    @package.Name

    @package.Profile

    @@ -557,8 +557,8 @@

    @package.Price

    }

    原价:@package.LinePrice

    -

    @(Math.Round(package.Price/package.DayCount,2))元/天

    -
    +

     

    +

    @package.Name

    @package.Profile

    diff --git a/Host/Views/Product/ReBuyIndex.cshtml b/Host/Views/Product/ReBuyIndex.cshtml index f4c52f9..d64c825 100644 --- a/Host/Views/Product/ReBuyIndex.cshtml +++ b/Host/Views/Product/ReBuyIndex.cshtml @@ -50,7 +50,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "免费送一个月"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -61,7 +61,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -79,7 +79,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "8 折+送十天"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -90,7 +90,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -109,7 +109,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "7 折+送一月"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -120,7 +120,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -150,7 +150,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -168,7 +168,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "8 折+送一个月"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -179,7 +179,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -197,7 +197,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "9 折+送七天"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -208,7 +208,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -226,7 +226,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "8 折+送一个月"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -237,7 +237,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -255,7 +255,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "8 折+送两个月"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -266,7 +266,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -285,7 +285,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "8 折+送七天"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -296,7 +296,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -315,7 +315,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "9折"; @* content: "@Model[0].Packages[0].Title 折"; *@ @@ -327,7 +327,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -344,7 +344,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "8 折"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -355,7 +355,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -366,23 +366,18 @@ @* *@ -
    +
    -
    -

    需求五个以上

    -

    联系客服设置优惠价

    -

    >>>联系客服<<<

    -
    -
    -

    十余种全网知名旗舰产品低价热销

    -

    淘宝动态IP销量排名NO.1

    -

    已完美对接淘宝、淘宝付款后、金额将自动充值到您的会员余额中

    -

    欢迎淘宝下单,每次下单都会随机赠送优惠券,最低54元,优惠券支持所有套餐! 点击去淘宝店铺付款 

    +
    +

    需求五个以上、可联系右侧客服设置优惠价

    +

    动态IP销量排名NO.1 + 十余种全网知名旗舰产品低价热销、 + 节点多、稳定、靠谱、单人单线 +

    -
    @@ -395,7 +390,7 @@ {

    @str

    } -
    +
    @@ -423,7 +418,7 @@ line-height: 0px; color: white; height: 0px; - border: 1.2rem solid #f64e3d; + border: 1.2rem solid #0777ff; border-right-color: transparent; content: "@package.Title 折"; box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; @@ -434,7 +429,7 @@ position: absolute; top: 2.1875rem; left: -0.5rem; - border: 0.25rem solid #f64e3d; + border: 0.25rem solid #0777ff; border-left-color: transparent; border-bottom-color: transparent; } @@ -447,8 +442,8 @@

    @package.Price

    }

    原价:@package.LinePrice

    -

    @(Math.Round(package.Price/package.DayCount,2))元/天

    -
    +

     

    +

    @package.Name

    @package.Profile

    diff --git a/Host/Views/Product/Soft.cshtml b/Host/Views/Product/Soft.cshtml index fbb6305..f84bc72 100644 --- a/Host/Views/Product/Soft.cshtml +++ b/Host/Views/Product/Soft.cshtml @@ -56,10 +56,13 @@ @if (item.Id == 20) {



    +

    @@ -99,6 +102,10 @@
    代理商专用客户端
    + +
    diff --git a/Host/Views/Product/buy.cshtml b/Host/Views/Product/buy.cshtml index c7a99e5..c91a251 100644 --- a/Host/Views/Product/buy.cshtml +++ b/Host/Views/Product/buy.cshtml @@ -149,10 +149,19 @@
    -

    4至10位字母或数字或组合

    + @if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21) { +

    4至10位字母或数字或组合

    + } else { +

    7至10位字母或数字或组合

    + }
    - 4至10位字母或数字或组合 + + @if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21) { + 4至10位字母或数字或组合 + } else { + 7至10位字母或数字或组合 + }
    @@ -161,10 +170,10 @@
    -

    2至10位字母或数字或组合

    +

    1至10位字母或数字或组合

    - 2至10位字母或数字或组合 + 1至10位字母或数字或组合
    @if (Model.Package.IsTest == 0) { @@ -178,8 +187,8 @@
    -
    -
    - +
    +
    + @@ -286,10 +295,18 @@
    -

    3至8位字母或数字或组合

    + @if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21) { +

    3至8位字母或数字或组合

    + } else { +

    6至8位字母或数字或组合

    + }
    - 2至8位字母或数字或组合 + @if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21) { + 3至8位字母或数字或组合 + } else { + 6至8位字母或数字或组合 + }
    @@ -329,10 +346,10 @@
    -

    2至10位字母或数字或组合

    +

    1至10位字母或数字或组合

    - 2至10位字母或数字或组合 + 1至10位字母或数字或组合
    @@ -345,8 +362,8 @@
    -
    -
    - +
    +
    + @@ -751,7 +768,7 @@ this.OneChecker.AccountOk = true; return true; } - if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 3 || !this.hasNumAndChar(this.OneBuyModel.Account)) { + if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 4 || !this.hasNumAndChar(this.OneBuyModel.Account)) { this.OneChecker.AccountOk = false; return false; } @@ -759,7 +776,7 @@ return true; }, checkOnePwd() { - if (this.OneBuyModel.Pwd.length < 2 || this.OneBuyModel.Pwd.length > 10 || !this.hasNumAndChar(this.OneBuyModel.Pwd)) { + if (this.OneBuyModel.Pwd.length < 1 || this.OneBuyModel.Pwd.length > 10 || !this.hasNumAndChar(this.OneBuyModel.Pwd)) { this.OneChecker.PwdOk = false; return false; } @@ -785,7 +802,7 @@ return true; }, checkMorePwd() { - if (this.MoreBuyModel.Pwd.length < 2 || this.MoreBuyModel.Pwd.length > 10 || !this.hasNumAndChar(this.MoreBuyModel.Pwd)) { + if (this.MoreBuyModel.Pwd.length < 1 || this.MoreBuyModel.Pwd.length > 10 || !this.hasNumAndChar(this.MoreBuyModel.Pwd)) { this.MoreChecker.PwdOk = false; return false; } @@ -793,7 +810,6 @@ return true; }, onePay: function () { - $(".pay-botton").hide(); this.OneBuyModel.ConnectCount = parseInt(this.OneBuyModel.ConnectCount) if (!this.isNum(this.OneBuyModel.ConnectCount)) return; if (!this.checkOneAccount() || !this.checkOnePwd()) return; @@ -834,7 +850,6 @@ }); }, morePay: function () { - $(".pay-botton").hide(); this.MoreBuyModel.ConnectCount = parseInt(this.MoreBuyModel.ConnectCount) if (!this.isNum(this.MoreBuyModel.ConnectCount)) return; if (!this.checkMoreAccount() || !this.checkMorePwd() || this.MoreBuyModel.MaxPostfix>500) return; diff --git a/Host/Views/Product/rebuy.cshtml b/Host/Views/Product/rebuy.cshtml index 4559d0b..2319c8c 100644 --- a/Host/Views/Product/rebuy.cshtml +++ b/Host/Views/Product/rebuy.cshtml @@ -372,7 +372,6 @@ }) }, onePay: function () { - $(".pay-botton").hide(); if (this.OneBuyModel.UseAccountAmount) { if (this.RestAmount < this.PayAmount){ alert('余额不足,请充值。您也可以使用微信、支付宝支付。');return; diff --git a/Host/Views/User/Index.cshtml b/Host/Views/User/Index.cshtml index 0339eea..7cc041e 100644 --- a/Host/Views/User/Index.cshtml +++ b/Host/Views/User/Index.cshtml @@ -28,7 +28,7 @@ } var myManagerUrl = '';//qiqi switch (@Model.UserModel.ManagerId) { - case 1013: + case 1029: myManagerUrl = 'https://work.weixin.qq.com/u/vc887a78c8a042ee8e?v=4.1.8.133653'; break; case 1028: @@ -45,9 +45,33 @@ width : 70, height : 70 }); + + new QRCode(document.getElementById("myManagerimg"), { + text: myManagerUrl, + width : 200, + height : 200 + }); + + $("#myManager").hover(function(){ + $("#myManagerimgbg").show(); + $(".xinxi").hide(); + $("#myManager").attr('title',''); + },function(){ + $("#myManagerimgbg").hide(); + $(".xinxi").show(); + }); })