Files
juipnet/Host/Views.Mobile/Shared/_UserLayout.cshtml
“wanyongkang” 281e57b554 手机端页面调整
2024-04-15 11:15:20 +08:00

96 lines
4.3 KiB
Plaintext

@using Hncore.Pass.BaseInfo.Response
@using Hncore.Infrastructure.Serializer;
@using Hncore.Pass.Vpn.Service
@inject ProductService m_ProductService
@{
UserLoginModel user = null;
if (this.Context.Request.Cookies.TryGetValue("userInfo", out string userCookie))
{
user = userCookie.FromJsonTo<UserLoginModel>();
}
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="yes" name="apple-touch-fullscreen" />
<meta content="telephone=no,email=no" name="format-detection" />
<meta content="maximum-dpr=2" name="flexible" />
<title>聚IP JUIP.COM-产品购买</title>
<link rel="stylesheet" type="text/css" href="~/m/css/base.css?id=11" />
<link rel="stylesheet" type="text/css" href="~/m/css/swiper.min.css" />
<link rel="stylesheet" type="text/css" href="~/m/css/bootstrap.css" />
<link href="~/m/css/LCalendar.css" rel="stylesheet" />
<link rel="Shortcut Icon" href="/img/favicon.ico" type="image/x-icon" />
<script src="~/m/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="https://g.tbcdn.cn/mtb/lib-flexible/0.3.4/??flexible_css.js,flexible.js"></script>
<script src="~/js/vue.js"></script>
<script src="~/m/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="~/m/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(function () {
$(".btnNav").click(function () {
$(".mask").fadeIn();
console.log(1)
});
$(".btnClose").click(function () {
$(".mask").fadeOut();
console.log(2)
})
})
</script>
</head>
<body>
<vc:redirecct-login></vc:redirecct-login>
<!-- 弹窗导航 -->
<div class="mask">
<ul class="layNav">
<li><a href="/"><p style="font-size: 0.4rem;">首页</p></a></li>
<li class="dropdown" >
<span style="color: white;background-color: black;border: none;font-size: 0.4rem;width: 100%;text-align: center;" class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
产品购买
</span>
<ul class="dropdown-menu" style="width:100%" aria-labelledby="dropdownMenu1">
<li style="border-bottom: 1px solid black;"><a href="/product/index">动静态IP</a></li>
<li style="border-bottom: 1px solid black;"><a href="/product/http">HTTP</a></li>
<li style="border-bottom: 1px solid black;"><a href="/product/jinqiao">安卓投屏</a></li>
<li style="border-bottom: 1px solid black;"><a href="/product/routeros">软路由购买</a></li>
<li style="border-bottom: 1px solid black;"><a href="http://vps.juip.com">动态VPS</a></li>
</ul>
</li>
<li><a asp-action="index" asp-controller="LineList" asp-route-Catalog="1"><p style="font-size: 0.4rem;">线路表</p></a> </li>
<li><a asp-action="soft" asp-controller="product"><p style="font-size: 0.4rem;">软件下载</p></a> </li>
<li><a asp-action="index" asp-controller="article"><p style="font-size: 0.4rem;">教程&帮助</p></a></li>
@if (user != null)
{
<li><a asp-action="index" asp-controller="user"><p style="font-size: 0.4rem;">个人中心</p></a></li>
<li><a asp-action="LoginOut" asp-controller="user"><p style="font-size: 0.4rem;">退出</p></a></li>
}
else
{
<li><a asp-action="WebLogin" asp-controller="user"><p style="font-size: 0.4rem;">登录</p></a></li>
}
<li><p class="btnClose" style="font-size: 0.4rem;"><img src="~/m/img/close.png" ></p></li>
</ul>
</div>
<div class="mynav">
<div class="item">
<img src="~/m/img/back.png" onclick="history.go(-1)">
</div>
<div class="item">
<img src="~/m/img/logo.png">
</div>
<div class="item">
<img src="~/m/img/nav.png" class="btnNav">
</div>
</div>
@RenderBody()
@RenderSection("Scripts", required: false)
</body>
</html>