linwu 3 mēneši atpakaļ
vecāks
revīzija
f18de5fe1e

+ 10 - 3
public/themes/default/views/mobile/app/active/spring_special_jkq.blade.php

@@ -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() {