|
@@ -184,6 +184,7 @@
|
|
|
@endforeach
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <a id="lottery"></a>
|
|
|
@foreach ($images as $k => $v)
|
|
|
<img src="{{ $v }}" id="gift-img{{$k}}" style="display:none;"/>
|
|
|
@endforeach
|
|
@@ -557,9 +558,15 @@
|
|
|
});
|
|
|
event.stopPropagation();
|
|
|
});
|
|
|
- $('.to_live').click(function () {
|
|
|
- url = $(this).data('url');
|
|
|
- location.href = url;
|
|
|
+ // $('.to_live').click(function () {
|
|
|
+ // url = $(this).data('url');
|
|
|
+ // location.href = url;
|
|
|
+ // });
|
|
|
+
|
|
|
+ $('.for-event').click(function() {
|
|
|
+ $('html, body').animate({
|
|
|
+ scrollTop: $('#lottery').offset().top
|
|
|
+ }, 'slow');
|
|
|
});
|
|
|
|
|
|
function goPage() {
|