Files
juipnet/Host/Views/Shared/_UserLayout.cshtml
2024-02-23 14:24:31 +08:00

280 lines
11 KiB
Plaintext

@using Hncore.Pass.BaseInfo.Response
@using Hncore.Infrastructure.Serializer;
@{
UserLoginModel user = null;
if (this.Context.Request.Cookies.TryGetValue("userInfo", out string userCookie))
{
user = userCookie.FromJsonTo<UserLoginModel>();
}
string currentPath = this.Context.Request.Path.ToString().ToLower();
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>聚IP JUIP.COM</title>
<link rel="stylesheet" type="text/css" href="~/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="~/css/base.css" />
<link rel="stylesheet" type="text/css" href="~/css/swiper.min.css" />
<link rel="stylesheet" type="text/css" href="~/css/animate.min.css" />
<link href="~/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
<!--include plugin css-->
<link type="text/css" rel="stylesheet" href="~/http/css/jquery-rvnm.css" />
<link href="~/http/css/style.css" rel="stylesheet">
<script src="~/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="~/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="~/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="~/js/moment-with-locales.js"></script>
<script src="~/js/bootstrap-datetimepicker.min.js"></script>
<script src="~/js/vue.js" type="text/javascript" charset="utf-8"></script>
<script src="~/js/jquery.qrcode.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="~/http/js/jquery-rvnm.js"></script>
<!--js run code-->
<script type="text/javascript">
$(function () {
var rvnMenu = $("#navbar").rvnm({
// mode: 'mobile',
// responsive: false,
searchable: true,
theme: 'dark-lesb'
});
console.log(rvnMenu);
// rvnMenu.setMode('minimal');
rvnMenu.setTheme('dark-ruby');
});
</script>
<script>
$(function () {
// 侧边栏
//$(".on_q").click(function () {
// $(".side_q").toggle();
//});
$(".item_on_q").mouseover(function () {
$(".side_q").stop().show();
});
$(".item_on_q").mouseleave(function () {
$(".side_q").stop().hide();
});
//$(".on_wx").click(function () {
// $(".side_kefu").toggle();
//});
$(".item_on_wx").mouseover(function () {
$(".side_kefu").stop().fadeIn();
});
$(".item_on_wx").mouseleave(function () {
$(".side_kefu").stop().fadeOut();
});
$(".on_gzh").mouseover(function () {
$(".side_gzh").stop().fadeIn();
});
$(".on_gzh").mouseleave(function () {
$(".side_gzh").stop().fadeOut();
});
$(".on_tel").mouseover(function () {
$(".side_tel").stop().fadeIn();
});
$(".on_tel").mouseleave(function () {
$(".side_tel").stop().fadeOut();
});
})
</script>
</head>
<body>
<div class="sideBar">
<div class="item item_on_q">
<a href="https://admin.qidian.qq.com/template/blue/mp/menu/qr-code-jump.html?linkType=0&env=ol&kfuin=2852138148&fid=299&key=f377ec024ca45115a03a7632c7bda230&cate=1&source=&isLBS=&isCustomEntry=&type=16&ftype=1&_type=wpa&qidian=true" target="_blank">
<img src="~/img/qq.png" class="on_q"> <div class="kefu_tit">QQ</div>
</a>
</div>
<div class="item item_on_wx">
<a href="https://work.weixin.qq.com/kfid/kfc458bc58e79e5093f" style="color: #0862fe;">
<img src="~/img/weixin.png" class="on_wx"><div class="kefu_tit">微信</div>
</a>
</div>
<div class="item">
<img src="~/img/gzh.png" class="on_gzh"><div class="kefu_tit">公众号</div>
<div class="side_gzh">
<p><img src="~/img/ewm.png"></p>
<p style="color:#f90">实时响应 在线时间 8:30-23:00</p>
<p style="color:#f90">关注公众号可获取免费的到期提醒服务</p>
</div>
</div>
<div class="item">
<img src="~/img/tel.png" class="on_tel"><div class="kefu_tit">电话</div>
<div class="side_tel">
<p><b>400 800 9925</b></p>
<p>实时接通</p>
<p>电话值班时间 8:30-23:00</p>
</div>
</div>
<div class="item">
<a href="#top"><img src="~/img/top.png"></a>
</div>
</div>
<div class="container-fluid nav nav_buy main_menu">
<div class="row">
<div class="col-lg-2 col-md-2 logo">
<a href="#"><img src="~/img/logo.png"></a>
</div>
<div class="col-lg-10 col-md-10">
<ul class="navList pull-right sf-menu">
<li><a href="/">首页</a></li>
<li> <a href="#">产品购买</a>
<ul>
<li style="width:100px;height:39px;padding-top:0;"> <a style="height:39px;padding-top:0;" href="/product/index">动静态IP</a> </li>
<li style="width:100px;height:39px;padding-top:0;"> <a style="height:39px;padding-top:0;" href="/product/http">HTTP</a> </li>
<li style="width:100px;height:39px;padding-top:0;"> <a style="height:39px;padding-top:0;" href="/product/jinqiao">安卓投屏</a> </li>
<li style="width:100px;height:39px;padding-top:0;"> <a style="height:39px;padding-top:0;" href="/product/routeros">软路由购买</a> </li>
<li style="width:100px;height:39px;padding-top:0;"> <a style="height:39px;padding-top:0;" href="http://vps.juip.com">动态vps</a> </li>
</ul>
</li>
<li><a href="/LineList/index" ">IP线路表</a></li>
<li><a href="/product/soft">软件下载</a></li>
<li><a href="/article/index">教程&帮助</a></li>
<li>
<div class="item" style="display: inline-block;">
<a asp-action="index" class="btn btn-warning margin-top-10" asp-controller="user">个人中心</a>
</div>
<div class="item" style="display: inline-block;">
<a asp-action="LoginOut"class="btn btn-danger margin-top-10" asp-controller="user">退出登录</a>
</div>
</li>
</ul>
</div>
</div>
</div>
<nav id="navbar" style="top:60px;height:calc(vh-60);color:white;">
<ul>
<li><a href="/user/index">个人中心</a></li>
<li>
<a href="#" >
IP管理
</a>
<ul>
<li>
<a href="/user/myaccounts">
IP账号管理
</a>
</li>
<li>
<a href="/user/mymoney">
资金明细
</a>
</li>
<li>
<a href="/user/rosorder">
软路由订单
</a>
</li>
<li>
<a href="/user/myorders">
订单管理
</a>
</li>
<li>
<a href="/user/myrefundorders">
退货订单管理
</a>
</li>
<li>
<a href="/user/mycoupons">
我的优惠券
</a>
</li>
<li>
<a href="/user/cashout">
提现管理
</a>
</li>
</ul>
</li>
<li>
<a href="#" >
HTTP管理
</a>
<ul>
<li>
<a href="/user/httprecharge">
充值记录
</a>
</li>
<li>
<a href="/user/httppackageList">
短效套餐
</a>
</li>
<li>
<a href="/user/httplongterm">
长效管理
</a>
</li>
<li>
<a href="/user/httpusehistory">
使用记录
</a>
</li>
<li>
<a href="/user/httpwhiteip">
白名单设置
</a>
</li>
</ul>
</li>
<li><a href="/user/jinqiao">金桥投屏</a></li>
</ul>
</nav>
<div class="rightCon" style="margin-left:220px;padding:20px;">
@RenderBody()
</div>
@* <script id="qd28521381485d6faa97edf5ad07d7e159f6cb902af0" src="https://wp.qiye.qq.com/qidian/2852138148/5d6faa97edf5ad07d7e159f6cb902af0" charset="utf-8" async defer></script> *@
<div data-toggle="popovers" data-html="true" data-content="<p><a style='color: #0862fe;' href='https://admin.qidian.qq.com/template/blue/mp/menu/qr-code-jump.html?linkType=0&env=ol&kfuin=2852138148&fid=299&key=f377ec024ca45115a03a7632c7bda230&cate=1&source=&isLBS=&isCustomEntry=&type=16&ftype=1&_type=wpa&qidian=true' target='_blank'>
<img src='/img/q.png'> QQ在线客服
</a><p><a href='https://work.weixin.qq.com/kfid/kfc458bc58e79e5093f' style='color: #0862fe;'><img src='/img/weixin.png' style='background-color:green;width:1.5em;'> 微信在线客服</a></p>" data-placement="top" class="row" id="djkf" style="background-color: white; width:255px;height:85px;position: fixed;z-index: 2000000000;bottom: 200px;right: 0px;cursor:pointer;">
<style>
.top{
padding: 0;
}
</style>
<div class="col-xs-4" style="padding:0;">
<img width="85" src="http://p.qpic.cn/qidian_pic/2852138148/2020071743d6537e611d9ff953f27cbb7430dbe7/0"/>
</div>
<div class="col-xs-8 " style="padding:0;">
<h4><span class="glyphicon glyphicon-user" style="padding:10px 0 0 25px;color:#12b7f5;"></span>在线咨询</h4>
<p class="text-center">服务时间 8:30-23:00</p>
</div>
<script>$(function () { $("[data-toggle='popovers']").popover(); });</script>
</div>
<script>
var url = '/api/sells/v1/coupon/GetAvailableCoupon';
$.ajax({
type: 'GET',
url: url,
success: function (res) {
$("#coupon_num").text(res.Data.length);
}
})
</script>
@RenderSection("Scripts", required: false)
</body>
</html>