极狐推荐

This commit is contained in:
“wanyongkang”
2024-07-15 17:32:00 +08:00
parent b29e9bb51f
commit 345c45c478
8 changed files with 306 additions and 36 deletions

View File

@@ -255,7 +255,8 @@
<!-- <p style="margin-top: 10px;font-weight:bold;text-align:center;">聚IP最新动态</p> -->
<div style="padding-left: 20px;text-align:center;">
<p>聚IP重磅打造→极狐IP<br>聚IP最好的动态IP产品地区超全涵盖全国260个城市IP高纯净度超速且稳定且每个城市都是三网混合更真实有效<br>现活动推广期周卡送1天月卡送1周双月送1个月</p>
<p>重磅打造极狐IP聚IP最好的动态产品260城市纯净IP三网混合IP稳定极速视频直播无压力且有不同带宽可选<br>现推广期天卡1毛体验周送1天月送1周双月送1月<br>承诺不好用48小时内免费退款</p>
</div>
</div>

View File

@@ -182,33 +182,33 @@
@foreach (var item in Model)
{
if(item.Product.Id == 18) {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li role="presentation" onclick="onrecommend(18)" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" class="click_product" role="tab" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">超快</span></a>
</li>
} else if(item.Product.Id == 29) {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li role="presentation" onclick="onrecommend(29)" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" class="click_product" id="p29" role="tab" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">纯净IP</span></a>
</li>
}else if(item.Product.Id == 14) {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li role="presentation" onclick="onrecommend(14)" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" class="click_product" id="p14" role="tab" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name</a>
</li>
}else if(item.Product.Id == 26) {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li role="presentation" onclick="onrecommend(26)" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" class="click_product" id="p26" role="tab" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name</a>
</li>
}else if(item.Product.Id == 27) {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li role="presentation" onclick="onrecommend(27)" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" class="click_product" id="p27" role="tab" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name</a>
</li>
}else if(item.Product.Id == 6) {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li role="presentation" onclick="onrecommend(6)" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" class="click_product" id="p6" role="tab" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name</a>
</li>
}
else if(item.Product.Id == 22) {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li role="presentation" onclick="onrecommend(22)" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" role="tab" class="click_product" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name </a>
</li>
}
@@ -229,7 +229,7 @@
</li>
} else {
<li role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<li onclick="onrecommend( @(item.Product.Id) )" role="presentation" class="@(item.Product.Id==defaultProduct.Id?"active":"")">
<a href="#@item.Product.Id" id="p@(item.Product.Id)" class="click_product" role="tab" data-toggle="tab" style="font-size: 25px;border:1px solid #99CCFF">@item.Product.Name </a>
</li>
}
@@ -710,6 +710,42 @@
</div>
<div class="modal fade" id="product_recommend" tabindex="-1" role="dialog" aria-labelledby="myModalLabelproduct" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabelproduct">
产品推荐
</h4>
</div>
<div class="modal-body">
<p style="font-weight:bold;">重磅打造极狐IP聚IP最好的动态产品260城市纯净IP三网混合IP稳定极速视频直播无压力且有不同带宽可选</p>
<p style="font-weight:bold;">现推广期天卡1毛体验周送1天月送1周双月送1月</p>
<p style="font-weight:bold;">承诺不好用48小时内免费退款</p>
<div class="text-right">
<label>
<input id="recommendchechk" type="checkbox"> 7天内不再提示
</label>
</div>
</div>
<div class="modal-footer">
<a href="/product/index" type="button" class="btn btn-primary" >
查看
</a>
<button type="button" class="btn btn-warning" onclick="buyrecommendfunc()" data-dismiss="modal">
忽略
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<script src="~/js/vue.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.13.18/css/bootstrap-select.min.css">
@@ -1060,6 +1096,30 @@
</script>
<script>
function buyrecommendfunc() {
var isChecked = $('#recommendchechk').is(':checked');
if (isChecked) {
localStorage.setItem('buyrecommend', new Date().getTime());
}
}
function onrecommend(id) {
if (id != 29 && id != 28 && id != 25 && id != 22 && id != 21 && id != 20 && id != 18 ) {
var lastClosedTime = localStorage.getItem('buyrecommend');
if (!lastClosedTime) {
// 如果之前没有关闭时间记录,则显示提示框
$('#product_recommend').modal('show')
} else {
// 如果有关闭时间记录则检查是否超过7天
var sevenDaysInMillis = 7 * 24 * 60 * 60 * 1000; // 7天的毫秒数
var currentTime = new Date().getTime();
if (currentTime - lastClosedTime > sevenDaysInMillis) {
// 超过7天显示提示框
$('#product_recommend').modal('show')
}
}
}
}
$(function(){
setTimeout(function(){
$("#loading").hide();

View File

@@ -117,4 +117,76 @@
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="product_recommend" tabindex="-1" role="dialog" aria-labelledby="myModalLabelproduct" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabelproduct">
产品推荐
</h4>
</div>
<div class="modal-body">
<p style="font-weight:bold;">重磅打造极狐IP聚IP最好的动态产品260城市纯净IP三网混合IP稳定极速视频直播无压力且有不同带宽可选</p>
<p style="font-weight:bold;">现推广期天卡1毛体验周送1天月送1周双月送1月</p>
<p style="font-weight:bold;">承诺不好用48小时内免费退款</p>
<div class="text-right">
<label>
<input id="recommendchechk" type="checkbox"> 7天内不再提示
</label>
</div>
</div>
<div class="modal-footer">
<a href="/product/index" type="button" class="btn btn-primary" >
查看
</a>
<button type="button" class="btn btn-warning" onclick="buyrecommendfunc()" data-dismiss="modal">
忽略
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<script type="text/javascript">
function buyrecommendfunc() {
var isChecked = $('#recommendchechk').is(':checked');
if (isChecked) {
localStorage.setItem('rebuyrecommend', new Date().getTime());
}
}
var id = getUrlParam('productId')
if (id != 29 && id != 28 && id != 25 && id != 22 && id != 21 && id != 20 && id != 18 ) {
var lastClosedTime = localStorage.getItem('rebuyrecommend');
if (!lastClosedTime) {
// 如果之前没有关闭时间记录,则显示提示框
$('#product_recommend').modal('show')
} else {
// 如果有关闭时间记录则检查是否超过7天
var sevenDaysInMillis = 7 * 24 * 60 * 60 * 1000; // 7天的毫秒数
var currentTime = new Date().getTime();
if (currentTime - lastClosedTime > sevenDaysInMillis) {
// 超过7天显示提示框
$('#product_recommend').modal('show')
}
}
}
//获取url中的参数
function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
var r = window.location.search.substr(1).match(reg); //匹配目标参数
if (r != null) return unescape(r[2]); return null; //返回参数值
}
</script>

View File

@@ -56,6 +56,8 @@
<div class="item" style="height: auto;width:100%;">
@*<p><img src="@P(item.Image)"></p>*@
<p>代理商专用客户端</p>
<p><a href="https://mp4.juip.com/jihu.exe"> <button style="width:90%;" type="button" class="btnBlue">极狐IP-电脑端</button></a></p>
<p><a href="https://mp4.juip.com/jhip-0708.apk"> <button style="width:90%;" type="button" class="btnBlue">极狐IP-安卓</button></a></p><br>
<p><a href="http://wuxinxikehuduan.image.qiangzipptp.top/%E8%98%91%E8%8F%87IP-2-17.zip"> <button style="width:90%;" type="button" class="btnBlue">蘑菇IP-电脑端</button></a></p>
<p><a href="https://mp4.juip.com/%E8%98%91%E8%8F%87IP%E7%BA%AF%E5%87%80-v1.0.apk"> <button style="width:90%;" type="button" class="btnBlue">蘑菇IP-安卓</button></a></p><br>
<p><a href="https://mp4.juip.com/%E4%BA%91%E7%89%9B-%E4%BB%A3%E7%90%86%E7%89%88.zip"> <button style="width:90%;" type="button" class="btnBlue">云牛IP-电脑端</button></a></p><br>

View File

@@ -541,7 +541,7 @@
<p>所有IP产品已记录日志,均保留6个月以上</p>
<p>发现违法行为直接提交网监部门处理</p>
<div style="color:red;">
<p>聚IP重磅打造极狐IP<br>聚IP最好的动态IP产品地区超全涵盖全国260城市IP高纯净度超速且稳定且每个城市都是三网混合更真实有效<br>现活动推广期,周送1天送1周双月送1月</p>
<p>重磅打造极狐IP聚IP最好的动态产品),260城市纯净IP三网混合IP稳定极速视频直播无压力且有不同带宽可选<br>现推广期天卡1毛体验周送1天月送1周双月送1月<br>承诺不好用48小时内免费退款</p>
<br>
</div>
<div class="row text-center">

View File

@@ -1086,6 +1086,41 @@
</div>
</div>
<div class="modal fade" id="product_recommend" tabindex="-1" role="dialog" aria-labelledby="myModalLabelproduct" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabelproduct">
产品推荐
</h4>
</div>
<div class="modal-body">
<p style="font-weight:bold;">重磅打造极狐IP聚IP最好的动态产品260城市纯净IP三网混合IP稳定极速视频直播无压力且有不同带宽可选</p>
<p style="font-weight:bold;">现推广期天卡1毛体验周送1天月送1周双月送1月</p>
<p style="font-weight:bold;">承诺不好用48小时内免费退款</p>
<div class="text-right">
<label>
<input id="recommendchechk" type="checkbox"> 7天内不再提示
</label>
</div>
</div>
<div class="modal-footer">
<a href="/product/index" type="button" class="btn btn-primary" >
查看
</a>
<button type="button" class="btn btn-warning" onclick="buyrecommendfunc()" data-dismiss="modal">
忽略
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
@section Scripts{
@@ -1445,11 +1480,35 @@
</script>
<script type="text/javascript">
var currentPkgId = 0;
var testProductId = 0;
var product_id_click = 0;
var isTest = false;
function buyrecommendfunc() {
var isChecked = $('#recommendchechk').is(':checked');
if (isChecked) {
localStorage.setItem('buyrecommend', new Date().getTime());
}
}
function select(id) {
if (id != 29 && id != 28 && id != 25 && id != 22 && id != 21 && id != 20 && id != 18 ) {
var lastClosedTime = localStorage.getItem('buyrecommend');
if (!lastClosedTime) {
// 如果之前没有关闭时间记录,则显示提示框
$('#product_recommend').modal('show')
} else {
// 如果有关闭时间记录则检查是否超过7天
var sevenDaysInMillis = 7 * 24 * 60 * 60 * 1000; // 7天的毫秒数
var currentTime = new Date().getTime();
if (currentTime - lastClosedTime > sevenDaysInMillis) {
// 超过7天显示提示框
$('#product_recommend').modal('show')
}
}
}
var el = "#p" + id;
var packageBox = "#box" + id;
$(".packagebox").hide();

View File

@@ -481,6 +481,45 @@
}
</div>
<div class="modal fade" id="product_recommend" tabindex="-1" role="dialog" aria-labelledby="myModalLabelproduct" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabelproduct">
产品推荐
</h4>
</div>
<div class="modal-body">
<p style="font-weight:bold;">重磅打造极狐IP聚IP最好的动态产品260城市纯净IP三网混合IP稳定极速视频直播无压力且有不同带宽可选</p>
<p style="font-weight:bold;">现推广期天卡1毛体验周送1天月送1周双月送1月</p>
<p style="font-weight:bold;">承诺不好用48小时内免费退款</p>
<div class="text-right">
<label>
<input id="recommendchechk" type="checkbox"> 7天内不再提示
</label>
</div>
</div>
<div class="modal-footer">
<a href="/product/index" type="button" class="btn btn-primary" >
查看
</a>
<button type="button" class="btn btn-warning" onclick="buyrecommendfunc()" data-dismiss="modal">
忽略
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
@if(!string.IsNullOrWhiteSpace(ViewBag.errorTip))
{
<script>
@@ -491,34 +530,65 @@
@section Scripts{
<script type="text/javascript">
var currentPkgId = 0;
function selectPackage(id) {
currentPkgId = id;
var el = "#pkg" + id;
//$(".packageitem").hide();
//$(el).show()
$(el).addClass("kuang");
$(el).siblings().removeClass("kuang");
$(el).find(".cardCheck").show();
$(el).siblings().find(".cardCheck").hide();
}
function loginSuccess(data) {
window.location.href = "rebuy?packageId=" + currentPkgId+"&accounts=@ViewBag.accounts";
}
$(function () {
$(".card .item").click(function () {
currentPkgId = $(this).attr('a-pkg-id');
selectPackage(currentPkgId)
})
$(".btn-submit").click(function () {
if(currentPkgId == 0){
alert("未选择套餐!");
return;
function buyrecommendfunc() {
var isChecked = $('#recommendchechk').is(':checked');
if (isChecked) {
localStorage.setItem('rebuyrecommend', new Date().getTime());
}
}
var id = getUrlParam('productId')
if (id != 29 && id != 28 && id != 25 && id != 22 && id != 21 && id != 20 && id != 18 ) {
var lastClosedTime = localStorage.getItem('rebuyrecommend');
if (!lastClosedTime) {
// 如果之前没有关闭时间记录,则显示提示框
$('#product_recommend').modal('show')
} else {
// 如果有关闭时间记录则检查是否超过7天
var sevenDaysInMillis = 7 * 24 * 60 * 60 * 1000; // 7天的毫秒数
var currentTime = new Date().getTime();
if (currentTime - lastClosedTime > sevenDaysInMillis) {
// 超过7天显示提示框
$('#product_recommend').modal('show')
}
}
}
//获取url中的参数
function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
var r = window.location.search.substr(1).match(reg); //匹配目标参数
if (r != null) return unescape(r[2]); return null; //返回参数值
}
var currentPkgId = 0;
function selectPackage(id) {
currentPkgId = id;
var el = "#pkg" + id;
//$(".packageitem").hide();
//$(el).show()
$(el).addClass("kuang");
$(el).siblings().removeClass("kuang");
$(el).find(".cardCheck").show();
$(el).siblings().find(".cardCheck").hide();
}
function loginSuccess(data) {
window.location.href = "rebuy?packageId=" + currentPkgId+"&accounts=@ViewBag.accounts";
}
$(function () {
$(".card .item").click(function () {
currentPkgId = $(this).attr('a-pkg-id');
selectPackage(currentPkgId)
})
$(".btn-submit").click(function () {
if(currentPkgId == 0){
alert("未选择套餐!");
return;
}
window.location.href = "rebuy?packageId=" + currentPkgId+"&accounts=@ViewBag.accounts";
})
selectPackage(currentPkgId);
})
selectPackage(currentPkgId);
})
</script>
}

View File

@@ -114,6 +114,12 @@
<div class="softName" style="width:100%;text-align:center;height:50px;">
代理商专用客户端
</div>
<div class="item" style="margin-bottom: 5px;width:200px;">
<a href="https://mp4.juip.com/jihu.exe"> <button type="button" class="btn btn-primary" style="width: 99%;margin-right:5px">极狐IP-电脑端</button></a>
</div>
<div class="item" style="margin-bottom: 5px;width:200px;">
<a href="https://mp4.juip.com/jhip-0708.apk"> <button type="button" class="btn btn-primary" style="width: 99%;margin-right:5px">极狐IP-安卓版</button></a>
</div>
<div class="item" style="margin-bottom: 5px;width:200px;">
<a href="https://mp4.juip.com/%E8%98%91%E8%8F%87IP-2-17.zip"> <button type="button" class="btn btn-primary" style="width: 99%;margin-right:5px">蘑菇IP-电脑端</button></a>
</div>