|
@@ -151,6 +151,7 @@ a{text-decoration: none}
|
|
|
top: 0;
|
|
|
overflow: hidden;
|
|
|
background: rgba(0, 0, 0, 0.4);
|
|
|
+ transition: all 2s; ;
|
|
|
}
|
|
|
.alert .content {
|
|
|
width: 80%;
|
|
@@ -227,13 +228,10 @@ a{text-decoration: none}
|
|
|
</div>
|
|
|
<div class="wrap">
|
|
|
<img src="https://cdn-novel.iycdm.com/h5/20190411/free_currency_wrap.jpg" alt="" />
|
|
|
- @if($is_get)
|
|
|
- <a class="to_get" href="{{$url}}">马上去看书> ></a>
|
|
|
- <p class="get_notice">领取成功 {{$fee}}书币已经到账</p>
|
|
|
- @else
|
|
|
- <a class="to_get js-get">领取{{$fee}}书币奖励</a>
|
|
|
- <p class="get_notice">领取成功后,会自动发放到您的余额中</p>
|
|
|
- @endif
|
|
|
+
|
|
|
+ <a class="to_get" href="{{$url}}">马上去看书> ></a>
|
|
|
+ <p class="get_notice">领取成功 {{$fee}}书币已经到账</p>
|
|
|
+
|
|
|
<div class="help_wrap">
|
|
|
<p class="title">阅读小管家给您提供优质阅读体验</p>
|
|
|
<div class="help_item">
|
|
@@ -246,7 +244,7 @@ a{text-decoration: none}
|
|
|
</div>
|
|
|
</div>
|
|
|
</main>
|
|
|
- <div class="hide alert">
|
|
|
+ <div class="{{$is_get == 0?'t':'hide'}} alert">
|
|
|
<div class="content">
|
|
|
<p class="title">
|
|
|
温馨提示
|
|
@@ -263,7 +261,7 @@ a{text-decoration: none}
|
|
|
window.onload=function(){
|
|
|
var d = document;
|
|
|
var is_get = {{$is_get}};
|
|
|
- var source = {{$source}};
|
|
|
+ var source = "{{$source}}";
|
|
|
var fee = {{$fee}};
|
|
|
var url = "{{$url}}";
|
|
|
is_get = parseInt(is_get);
|
|
@@ -272,10 +270,8 @@ window.onload=function(){
|
|
|
var get_notice = d.querySelector('.get_notice');
|
|
|
var uid = {{$uid}}
|
|
|
uid = parseInt(uid);
|
|
|
- if(is_get){
|
|
|
- return ;
|
|
|
- }
|
|
|
- btn.addEventListener("click",function(){
|
|
|
+ close();
|
|
|
+ /*btn.addEventListener("click",function(){
|
|
|
ajax('POST','/freecurrency',function(){
|
|
|
show();
|
|
|
setTimeout(function () {
|
|
@@ -285,7 +281,7 @@ window.onload=function(){
|
|
|
},200);
|
|
|
})
|
|
|
});
|
|
|
- close();
|
|
|
+ //close();
|
|
|
function ajax(method,url,callback){
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
xhr.open(method, url, true);
|
|
@@ -297,7 +293,7 @@ window.onload=function(){
|
|
|
callback();
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
function close() {
|
|
|
d.querySelector('.close').addEventListener('click',function () {
|