From c2f43df2e6ccbd904d2d7fe9d063a35b176981fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”>
Date: Mon, 19 Feb 2024 14:30:22 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Host/Views.Mobile/LineList/Index.cshtml | 2 +-
Host/Views.Mobile/Product/Index.cshtml | 10 +--
Host/Views.Mobile/Product/Soft.cshtml | 8 +--
Host/Views.Mobile/User/MyAccounts.cshtml | 92 ++++++++++++++++--------
Host/Views/LineList/Index.cshtml | 2 +-
Host/Views/Product/Index.cshtml | 10 +--
Host/Views/Product/Soft.cshtml | 8 +--
Host/Views/User/MyAccounts.cshtml | 63 ++++++++++------
8 files changed, 125 insertions(+), 70 deletions(-)
diff --git a/Host/Views.Mobile/LineList/Index.cshtml b/Host/Views.Mobile/LineList/Index.cshtml
index 98833e7..1a489ae 100644
--- a/Host/Views.Mobile/LineList/Index.cshtml
+++ b/Host/Views.Mobile/LineList/Index.cshtml
@@ -148,7 +148,7 @@
- 游戏选择:
+ 项目选择:
- -请选择游戏-
+ -请选择项目-
{{item.name}}
@@ -945,7 +945,7 @@
return;
}
if (this.order_info.game_id == '' && this.qilin.is_unshar == 0) {
- alert('请选择游戏!');
+ alert('请选择项目!');
return;
}
if (this.order_info.account.length < 5 && this.hasNumAndChar(this.order_info.account)) {
diff --git a/Host/Views.Mobile/Product/Soft.cshtml b/Host/Views.Mobile/Product/Soft.cshtml
index 25719c4..bcd8443 100644
--- a/Host/Views.Mobile/Product/Soft.cshtml
+++ b/Host/Views.Mobile/Product/Soft.cshtml
@@ -41,9 +41,9 @@
@if (item.Id == 26) {
-
ikev版
+
安卓ikev
-
sstp版
+
安卓sstp
}
@@ -76,7 +76,7 @@
麒麟IP-电脑端
麒麟IP-安卓端
猎豹IP-电脑端
-
猎豹IP-ikev版
-
猎豹IP-sstp版
+
猎豹IP-安卓ikev
+
猎豹IP-安卓sstp
\ No newline at end of file
diff --git a/Host/Views.Mobile/User/MyAccounts.cshtml b/Host/Views.Mobile/User/MyAccounts.cshtml
index f676284..4d33673 100644
--- a/Host/Views.Mobile/User/MyAccounts.cshtml
+++ b/Host/Views.Mobile/User/MyAccounts.cshtml
@@ -101,40 +101,72 @@
套餐
- 账号
+ 账号密码
操作
@foreach (var item in Model)
{
-
-
- @item.ProductName/@item.PackageName
- @item.Account
-
-
- 详情
-
-
- 查看在线
-
-
- 选择地区
-
-
-
-
+ @if (@item.RestTime == "已过期") {
+
+
+ @item.ProductName/@item.PackageName
+ @item.Account @item.Pwd
+
+
+ 详情
+
+
+ 查看在线
+
+
+ 选择地区
+
+
+
+
+ } else {
+
+
+ @item.ProductName/@item.PackageName
+ @item.Account
+
+
+ 详情
+
+
+ 查看在线
+
+
+ 选择地区
+
+
+
+
+ }
}
@*
diff --git a/Host/Views/LineList/Index.cshtml b/Host/Views/LineList/Index.cshtml
index ae5889f..fbaac68 100644
--- a/Host/Views/LineList/Index.cshtml
+++ b/Host/Views/LineList/Index.cshtml
@@ -161,7 +161,7 @@
- @foreach (var item in product.Where(m => m.Id != 3 && m.Id != 7 && m.Id != 9&& m.Id != 20&& m.Id != 21))
+ @foreach (var item in product.Where(m => m.Id != 3 && m.Id != 7 && m.Id != 9&& m.Id != 20&& m.Id != 21).OrderBy(m=>m.Sort))
{
@item.Name
diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml
index e70ddbb..c9b6e3d 100644
--- a/Host/Views/Product/Index.cshtml
+++ b/Host/Views/Product/Index.cshtml
@@ -415,7 +415,7 @@
尊享版-不限速
- 高级版-限速4M
+ 高级版-限速6M
普通版-限速2M
@@ -837,18 +837,18 @@
- 游戏选择:
+ 项目选择:
- -请选择游戏-
+ -请选择项目-
{{item.name}}
@@ -1296,7 +1296,7 @@
return;
}
if (this.order_info.game_id == '' && this.qilin.is_unshar == 0) {
- alert('请选择游戏!');
+ alert('请选择项目!');
return;
}
if (this.order_info.account.length < 5 && this.hasNumAndChar(this.order_info.account)) {
diff --git a/Host/Views/Product/Soft.cshtml b/Host/Views/Product/Soft.cshtml
index d091672..7943808 100644
--- a/Host/Views/Product/Soft.cshtml
+++ b/Host/Views/Product/Soft.cshtml
@@ -77,10 +77,10 @@
@if (item.Id == 26) {
}
@@ -182,10 +182,10 @@
diff --git a/Host/Views/User/MyAccounts.cshtml b/Host/Views/User/MyAccounts.cshtml
index 3df50ec..8145fa6 100644
--- a/Host/Views/User/MyAccounts.cshtml
+++ b/Host/Views/User/MyAccounts.cshtml
@@ -383,26 +383,49 @@
@foreach (var item in Model)
{
-
-
- @item.CreateTime.ToString("yyyy.MM.dd")
- @item.ProductName
- @item.PackageName
- @item.Account
- @item.Pwd
- @(item.Remark)切换
- @(item.Raw)
- 查看
-
- @item.ConnectCount
- @item.EndTime.Value.ToString("yyyy.MM.dd")
- @(item.Status==AccountStatus.Refund?"已退货": item.RestTime)
- @*查看 *@
- 查看
- 切换地区
-
- 下载
-
+ @if(item.Status==AccountStatus.Refund || item.RestTime=="已过期") {
+
+
+ @item.CreateTime.ToString("yyyy.MM.dd")
+ @item.ProductName
+ @item.PackageName
+ @item.Account
+ @item.Pwd
+ @(item.Remark)切换
+ @(item.Raw)
+ 查看
+
+ @item.ConnectCount
+ @item.EndTime.Value.ToString("yyyy.MM.dd")
+ @(item.Status==AccountStatus.Refund?"已退货": item.RestTime)
+ @*查看 *@
+ 查看
+ 切换地区
+
+ 下载
+
+ } else {
+
+
+ @item.CreateTime.ToString("yyyy.MM.dd")
+ @item.ProductName
+ @item.PackageName
+ @item.Account
+ @item.Pwd
+ @(item.Remark)切换
+ @(item.Raw)
+ 查看
+
+ @item.ConnectCount
+ @item.EndTime.Value.ToString("yyyy.MM.dd")
+ @(item.Status==AccountStatus.Refund?"已退货": item.RestTime)
+ @*查看 *@
+ 查看
+ 切换地区
+
+ 下载
+
+ }
}