This commit is contained in:
“wanyongkang”
2024-11-07 16:48:13 +08:00
parent 6fb9b13b8c
commit b357af3e71
7 changed files with 314 additions and 16 deletions

View File

@@ -148,7 +148,7 @@
<div class="cpList">
<ul>
@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))
@foreach (var item in product.Where(m => m.Id != 7 && m.Id != 9&& m.Id != 20&& m.Id != 21).OrderBy(m=>m.Sort))
{
<li v-on:click="select_product(@item.Id)" id="product-@item.Id" class="item @(item.Id==pid?"cpActive":"")" a-pid="@item.Id" a-name="@item.Name">@item.Name</li>
}
@@ -324,6 +324,16 @@
$("li").removeClass("cpActive");
$("#product-"+ProductId).addClass("cpActive");
switch(ProductId){
case 29:
this.l2tp = '8899';
this.search_field = '极狐IP';
this.sstp = '4430';
break;
case 3:
this.l2tp = '1234';
this.search_field = '极狐IP';
this.sstp = '4430';
break;
case 2:
this.l2tp = '123';
this.search_field = '讯连IP';
@@ -389,11 +399,6 @@
this.search_field = '蘑菇IP';
this.sstp = '4430';
break;
case 29:
this.l2tp = '8899';
this.search_field = '极狐IP';
this.sstp = '4430';
break;
case 22:
this.l2tp = '888888';
this.search_field = '火狐IP';
@@ -515,6 +520,9 @@
case 29:
self.location.href='https://php-api.juip.com/script/linedata/data/download/jihu.csv';
break;
case 3:
self.location.href='https://php-api.juip.com/script/linedata/data/download/jiguang.csv';
break;
case 14:
self.location.href='https://php-api.juip.com/script/linedata/data/download/tiantian.csv';
break;