极客提示
This commit is contained in:
@@ -233,6 +233,22 @@
|
||||
flex-wrap: wrap;
|
||||
padding: 30px;
|
||||
display: none;
|
||||
}
|
||||
.warning-jike{
|
||||
position: fixed;
|
||||
width: 400px;
|
||||
height: auto;
|
||||
left: 47%;
|
||||
top: 30%;
|
||||
z-index: 100;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0px 6px 8px 6px #ccc;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
padding: 30px;
|
||||
display: none;
|
||||
}
|
||||
#hidebg { position:absolute;left:0px;top:0px;
|
||||
|
||||
@@ -1033,6 +1049,17 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="warning-jike">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body text-center" style="font-size: 20px;">
|
||||
因极客和西瓜产品完全一样,为方便管理,只保留西瓜IP,如需使用极客IP,可直接购买西瓜IP ^.^
|
||||
</div>
|
||||
<p class="text-center">
|
||||
<button type="button" class="btn btn-danger quxiao" onclick="$('.warning-jike').hide();$('#hidebg').hide();">我明白了</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1394,6 +1421,7 @@
|
||||
<script type="text/javascript">
|
||||
var currentPkgId = 0;
|
||||
var testProductId = 0;
|
||||
var product_id_click = 0;
|
||||
var isTest = false;
|
||||
function select(id) {
|
||||
var el = "#p" + id;
|
||||
@@ -1787,6 +1815,7 @@
|
||||
//$(this).siblings().find(".check").hide();
|
||||
$("[data-toggle='popover']").popover('hide')
|
||||
var pid = $(this).attr('a-pid');
|
||||
product_id_click = pid;
|
||||
if(pid == 7){
|
||||
alert('请注意!无尽IP仅供电脑端使用!');
|
||||
}
|
||||
@@ -1905,12 +1934,19 @@
|
||||
|
||||
})
|
||||
$(".btn-submit").click(function () {
|
||||
|
||||
if (product_id_click == 13) {
|
||||
|
||||
$('.warning-jike').show();
|
||||
return;
|
||||
}
|
||||
if(!currentPkgId){
|
||||
$('#hidebg').height($(document).height());
|
||||
$('#hidebg').show();
|
||||
$('.warning').show();
|
||||
return;
|
||||
}
|
||||
|
||||
if(isTest){
|
||||
window.location.href = "Test?id=" + currentPkgId;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user