页面优化

This commit is contained in:
“wanyongkang”
2024-02-19 14:30:22 +08:00
parent a5cf256780
commit c2f43df2e6
8 changed files with 125 additions and 70 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))
@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))
{
<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>
}

View File

@@ -258,7 +258,7 @@
@if (item.Product.Id == 26){
<div class="p_type @("type"+item.Product.Id)" style="padding-top: 10px;">
<button type="button" onclick="lbzhizun()" class="btn btn-default btn-lg lbzx" style="background-color: #FF9900;font-size:1.3em;">尊享版-不限速</button>
<button type="button" onclick="lbgaoji()" class="btn btn-default btn-lg lbgj" style="background-color: white;font-size:1.3em;">高级版-限速4M</button><br>
<button type="button" onclick="lbgaoji()" class="btn btn-default btn-lg lbgj" style="background-color: white;font-size:1.3em;">高级版-限速6M</button><br>
<button type="button" onclick="lbputong()" class="btn btn-default btn-lg lbpt" style="background-color: white;font-size:1.3em;margin-top:10px;">普通版-限速2M</button>
</div>
}
@@ -502,18 +502,18 @@
</div>
<div class="col-sm-9">
<div class="btn-group" role="group" aria-label="...">
<button type="button" id="jinyougame" v-on:click="game()" class="btn btn-success btn-lg">游戏独享</button>
<button type="button" id="jinyougame" v-on:click="game()" class="btn btn-success btn-lg">项目独享</button>
<button type="button" id="jinyouline" v-on:click="line()" class="btn btn-default btn-lg">线路独享</button>
</div>
</div>
</div>
<div class="row " style="padding:5px;">
<div class="col-sm-3">
游戏选择:
项目选择:
</div>
<div class="col-sm-9">
<select class="form-control " v-model="qilin.game_id" id="gameselect" @@change="select_game" style="height:50px;font-size:15px;">
<option value="0">-请选择游戏-</option>
<option value="0">-请选择项目-</option>
<option v-for="item in game_list" :value="item.id">{{item.name}}</option>
</select>
</div>
@@ -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)) {

View File

@@ -41,9 +41,9 @@
@if (item.Id == 26) {
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93ikev2%E7%89%88.apk"> <button type="button" style="width:90%;" class="btnBlue">ikev</button></a></p>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93ikev2%E7%89%88.apk"> <button type="button" style="width:90%;" class="btnBlue">安卓ikev</button></a></p>
<br>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93sstp%E7%89%88.apk"> <button type="button" style="width:90%;" class="btnBlue">sstp</button></a></p>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93sstp%E7%89%88.apk"> <button type="button" style="width:90%;" class="btnBlue">安卓sstp</button></a></p>
<br>
}
@@ -76,7 +76,7 @@
<p><a href="http://mp4.juip.com/%E9%BA%92%E9%BA%9F%E7%94%B5%E8%84%91HZ%E7%89%88.exe"> <button style="width:90%;" type="button" class="btnBlue">麒麟IP-电脑端</button></a></p><br>
<p><a href="http://mp4.juip.com/%E9%BA%92%E9%BA%9F%E5%AE%89%E5%8D%93HZ%E7%89%88.apk"> <button style="width:90%;" type="button" class="btnBlue">麒麟IP-安卓端</button></a></p><br>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E7%94%B5%E8%84%91HZ%E7%89%88.exe"> <button style="width:90%;" type="button" class="btnBlue">猎豹IP-电脑端</button></a></p><br>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93kiev2-HZ%E7%89%88.apk"> <button style="width:90%;" type="button" class="btnBlue">猎豹IP-ikev</button></a></p><br>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93sstp-HZ%E7%89%88.apk"> <button style="width:90%;" type="button" class="btnBlue">猎豹IP-sstp</button></a></p><br>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93kiev2-HZ%E7%89%88.apk"> <button style="width:90%;" type="button" class="btnBlue">猎豹IP-安卓ikev</button></a></p><br>
<p><a href="http://mp4.juip.com/%E7%8C%8E%E8%B1%B9%E5%AE%89%E5%8D%93sstp-HZ%E7%89%88.apk"> <button style="width:90%;" type="button" class="btnBlue">猎豹IP-安卓sstp</button></a></p><br>
</div>
</div>

View File

@@ -101,40 +101,72 @@
<tr>
<th><input type="checkbox" name="" id="checkAll" value="" style="width: 0.4rem;height: 0.4rem;" /></th>
<th>套餐</th>
<th>账号</th>
<th>账号密码</th>
<th>操作</th>
</tr>
@foreach (var item in Model)
{
<tr>
<td><input type="checkbox" class="selectAccount" value="@item.Account" a-status="@(item.Status)" a-pid="@(item.ProductId)" a-connectCount="@item.ConnectCount" a-aType="@item.AccountType" style="width: 0.4rem;height: 0.4rem;" /></td>
<td>@item.ProductName/@item.PackageName</td>
<td>@item.Account</td>
<td>
<button type="button" class="btnXq toDetail"
a-Id="@item.Id"
a-UserCode="@item.UserCode"
a-ProductName="@item.ProductName"
a-PackageName="@item.PackageName"
a-Account="@item.Account"
a-Pwd="@item.Pwd"
a-ConnectCount="@item.ConnectCount"
a-StartTime='@item.StartTime.Value.ToString("yyyy.M.dd H:m")'
a-EndTime='@item.EndTime.Value.ToString("yyyy.M.dd H:m")'
a-RestTime="@item.RestTime"
a-Remark="@item.Remark"
a-Raw="@item.Raw">
详情
</button>
<a class="btnXq" asp-action="OnLine" asp-controller="User" asp-route-productId="@item.ProductId" asp-route-account="@item.Account">
<button type="button" class="btnXq" style="margin-top:3px">查看在线</button>
</a>
<a class="btnXq" v-if="@item.ProductId==19||@item.ProductId==13||@item.ProductId==1||@item.ProductId==17" href="/User/AssignAddress?productId=@item.ProductId&account=@item.Account&password=@item.Pwd">
<button type="button" class="btnXq" style="margin-top:3px">选择地区</button>
</a>
</td>
</tr>
@if (@item.RestTime == "已过期") {
<tr style="color:red">
<td><input type="checkbox" class="selectAccount" value="@item.Account" a-status="@(item.Status)" a-pid="@(item.ProductId)" a-connectCount="@item.ConnectCount" a-aType="@item.AccountType" style="width: 0.4rem;height: 0.4rem;" /></td>
<td>@item.ProductName/@item.PackageName</td>
<td>@item.Account<br>@item.Pwd</td>
<td>
<button type="button" class="btnXq toDetail"
a-Id="@item.Id"
a-UserCode="@item.UserCode"
a-ProductName="@item.ProductName"
a-PackageName="@item.PackageName"
a-Account="@item.Account"
a-Pwd="@item.Pwd"
a-ConnectCount="@item.ConnectCount"
a-StartTime='@item.StartTime.Value.ToString("yyyy.M.dd H:m")'
a-EndTime='@item.EndTime.Value.ToString("yyyy.M.dd H:m")'
a-RestTime="@item.RestTime"
a-Remark="@item.Remark"
a-Raw="@item.Raw">
详情
</button>
<a class="btnXq" asp-action="OnLine" asp-controller="User" asp-route-productId="@item.ProductId" asp-route-account="@item.Account">
<button type="button" class="btnXq" style="margin-top:3px">查看在线</button>
</a>
<a class="btnXq" v-if="@item.ProductId==19||@item.ProductId==13||@item.ProductId==1||@item.ProductId==17" href="/User/AssignAddress?productId=@item.ProductId&account=@item.Account&password=@item.Pwd">
<button type="button" class="btnXq" style="margin-top:3px">选择地区</button>
</a>
</td>
</tr>
} else {
<tr>
<td><input type="checkbox" class="selectAccount" value="@item.Account" a-status="@(item.Status)" a-pid="@(item.ProductId)" a-connectCount="@item.ConnectCount" a-aType="@item.AccountType" style="width: 0.4rem;height: 0.4rem;" /></td>
<td>@item.ProductName/@item.PackageName</td>
<td>@item.Account</td>
<td>
<button type="button" class="btnXq toDetail"
a-Id="@item.Id"
a-UserCode="@item.UserCode"
a-ProductName="@item.ProductName"
a-PackageName="@item.PackageName"
a-Account="@item.Account"
a-Pwd="@item.Pwd"
a-ConnectCount="@item.ConnectCount"
a-StartTime='@item.StartTime.Value.ToString("yyyy.M.dd H:m")'
a-EndTime='@item.EndTime.Value.ToString("yyyy.M.dd H:m")'
a-RestTime="@item.RestTime"
a-Remark="@item.Remark"
a-Raw="@item.Raw">
详情
</button>
<a class="btnXq" asp-action="OnLine" asp-controller="User" asp-route-productId="@item.ProductId" asp-route-account="@item.Account">
<button type="button" class="btnXq" style="margin-top:3px">查看在线</button>
</a>
<a class="btnXq" v-if="@item.ProductId==19||@item.ProductId==13||@item.ProductId==1||@item.ProductId==17" href="/User/AssignAddress?productId=@item.ProductId&account=@item.Account&password=@item.Pwd">
<button type="button" class="btnXq" style="margin-top:3px">选择地区</button>
</a>
</td>
</tr>
}
}
</table>
@*<div class="fenye" style="margin-top: -210px;margin-bottom: 200px;">