diff --git a/Host/Views.Mobile/LineList/Index.cshtml b/Host/Views.Mobile/LineList/Index.cshtml index 380250c..ae15f76 100644 --- a/Host/Views.Mobile/LineList/Index.cshtml +++ b/Host/Views.Mobile/LineList/Index.cshtml @@ -41,7 +41,7 @@
} + + @if (item.Product.Id == 21) { +
+ + +
+
+
+ + +
+ }

需求5个以上,可以联系客服设置优惠价; diff --git a/Host/Views.Mobile/Product/ReBuyIndex.cshtml b/Host/Views.Mobile/Product/ReBuyIndex.cshtml index 3e7c2a2..58665db 100644 --- a/Host/Views.Mobile/Product/ReBuyIndex.cshtml +++ b/Host/Views.Mobile/Product/ReBuyIndex.cshtml @@ -55,7 +55,7 @@

·带宽6-10兆

·断开再链接换ip

- @foreach (var package in Model.Packages.Where(m=>m.IsTest==0&&m.Status==1).OrderBy(m => m.TenantId)) + @foreach (var package in Model.Packages.Where(m=>m.IsTest==0&&m.Status==1 && m.Id != 21).OrderBy(m => m.TenantId)) { @if(package.Id == 101||package.Id == 103||package.Id == 104||(package.Id>103)){ diff --git a/Host/Views.Mobile/Product/buy.cshtml b/Host/Views.Mobile/Product/buy.cshtml index 8199319..2393274 100644 --- a/Host/Views.Mobile/Product/buy.cshtml +++ b/Host/Views.Mobile/Product/buy.cshtml @@ -653,7 +653,7 @@ return true; }, checkMoreAccount() { - if (this.MoreBuyModel.Account.length > 10 || this.MoreBuyModel.Account.length < 3|| !this.hasNumAndChar(this.MoreBuyModel.Account)) { + if (this.MoreBuyModel.Account.length > 10 || this.MoreBuyModel.Account.length < 4|| !this.hasNumAndChar(this.MoreBuyModel.Account)) { this.MoreChecker.AccountOk = false; alert('账号长度必须在5-10位,且不能包含特殊字符'); return false; diff --git a/Host/Views/LineList/Index.cshtml b/Host/Views/LineList/Index.cshtml index d06ec95..99ac835 100644 --- a/Host/Views/LineList/Index.cshtml +++ b/Host/Views/LineList/Index.cshtml @@ -52,7 +52,7 @@

*聚IP商城全线服务器都已更新,可显示实时维护状态及服务器负载情况*

*线路表和账号必须为同一产品才能使用。

- @foreach (var item in product.Where(m => m.Id != 3 && m.Id != 7 && m.Id != 9&& m.Id != 20)) + @foreach (var item in product.Where(m => m.Id != 3 && m.Id != 7 && m.Id != 9&& m.Id != 20&& m.Id != 21)) {
@item.Name diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index d8b406c..94de1c4 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -405,6 +405,21 @@
} + + else if(item.Product.Id == 21) { +
+ } else {
@item.Product.Name
} @@ -540,12 +555,52 @@ @if(item.Product.Id == 20){

购买后请联系客服授权登录

+

点击查看各版本区别

+ + } + + @if(item.Product.Id == 21){ +

购买后请联系客服授权登录

+

点击查看各版本区别

+
+ +
+ } @@ -937,6 +992,80 @@ } } } + //1 安卓、苹果 2 pc + var wjgxtype = 1; + function wjgxphone() { + $("#wjgxgd").removeClass("active"); + $("#wjgxpt").addClass("active"); + wjgxtype = 1; + for (var i=1060;i<1063;i++){ + $("#pkg"+i).show(); + } + for (var i=1063;i<1072;i++){ + $("#pkg"+i).hide(); + } + } + + function wjgxpc() { + $("#wjgxgd").removeClass("active"); + $("#wjgxpt").addClass("active"); + wjgxtype = 2; + for (var i=1060;i<1066;i++){ + $("#pkg"+i).hide(); + } + for (var i=1069;i<1072;i++){ + $("#pkg"+i).hide(); + } + for (var i=1066;i<1069;i++){ + $("#pkg"+i).show(); + } + } + function wjgxpt() { + $("#wjgxgd").removeClass("active"); + $("#wjgxpt").addClass("active"); + if (wjgxtype == 1) { + for (var i=1060;i<1063;i++){ + $("#pkg"+i).show(); + } + for (var i=1063;i<1072;i++){ + $("#pkg"+i).hide(); + } + } else if (wjgxtype == 2) { + for (var i=1060;i<1063;i++){ + $("#pkg"+i).hide(); + } + for (var i=1063;i<1066;i++){ + $("#pkg"+i).show(); + } + + for (var i=1067;i<1072;i++){ + $("#pkg"+i).hide(); + } + } + } + function wjgxgj() { + $("#wjgxgd").addClass("active"); + $("#wjgxpt").removeClass("active"); + if (wjgxtype == 1) { + for (var i=1060;i<1063;i++){ + $("#pkg"+i).hide(); + } + for (var i=1063;i<1066;i++){ + $("#pkg"+i).show(); + } + + for (var i=1066;i<1072;i++){ + $("#pkg"+i).hide(); + } + } else if (wjgxtype == 2) { + for (var i=1060;i<1069;i++){ + $("#pkg"+i).hide(); + } + for (var i=1069;i<1072;i++){ + $("#pkg"+i).show(); + } + } + } $(function () { $(".productItem").click(function () { //$(this).addClass("kuang"); @@ -961,8 +1090,8 @@ for (var i=1;i<30;i++){ $("#p"+i).removeClass("on"); } - } else if (pid == 20){ - for (var i=1048;i<1060;i++){ + } else if (pid == 20||pid == 21){ + for (var i=1048;i<1072;i++){ $("#pkg"+i).hide(); } for (var i=1;i<30;i++){ @@ -971,6 +1100,7 @@ } else { $("#p14").removeClass("on"); $("#p20").removeClass("on"); + $("#p21").removeClass("on"); } select(pid); }); diff --git a/Host/Views/Product/ReBuyIndex.cshtml b/Host/Views/Product/ReBuyIndex.cshtml index 5cbf2fd..94346e0 100644 --- a/Host/Views/Product/ReBuyIndex.cshtml +++ b/Host/Views/Product/ReBuyIndex.cshtml @@ -407,7 +407,7 @@
- @foreach (var package in Model.Packages.Where(m => m.IsTest == 0 && m.Status == 1).OrderBy(m => m.TenantId)) + @foreach (var package in Model.Packages.Where(m => m.IsTest == 0 && m.Status == 1 && m.Id != 21).OrderBy(m => m.TenantId)) {