From e9a971e1abcb629b65502a4a5a756b6193763a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Tue, 16 Mar 2021 15:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=89=8B=E6=9C=BA=E7=AB=AFip=E7=BA=BF?= =?UTF-8?q?=E8=B7=AF=E8=A1=A8=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E3=80=91?= =?UTF-8?q?=20https://www.tapd.cn/39598945/prong/stories/view/113959894500?= =?UTF-8?q?1000187?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views.Mobile/LineList/Index.cshtml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Host/Views.Mobile/LineList/Index.cshtml b/Host/Views.Mobile/LineList/Index.cshtml index e07feb1..83de958 100644 --- a/Host/Views.Mobile/LineList/Index.cshtml +++ b/Host/Views.Mobile/LineList/Index.cshtml @@ -13,7 +13,7 @@

-

实时总线路:@(lineTotalCount)条 实时可用线路:@(lineCount)条

+

实时总线路:{{ count }}条 实时可用线路:{{ use_count }}条

所有线路均支持:【电脑/安卓/苹果】【IP/L2TP/SSTP】

@@ -139,7 +139,9 @@ l2tp:'', search_field:'', sstp:'', - info: {} + info: {}, + count:'0', + use_count:'0', }, computed: { @@ -154,6 +156,8 @@ select_product(ProductId){ this.product_id = ProductId; let datalist = []; + let count = 0; + let use_count = 0; $("li").removeClass("cpActive"); $("#product-"+ProductId).addClass("cpActive"); switch(ProductId){ @@ -230,9 +234,13 @@ async:false, success: function (res) { datalist = res.data; + count = res.count; + use_count = res.use_count; } }); this.table_data = datalist; + this.count = count; + this.use_count = use_count; }, search_all(){ if(!this.search_all_data){