shiyou.js 538 B

123456789101112131415161718192021222324252627282930
  1. let SHIYOU = {
  2. fn:{
  3. clktofade(){
  4. $('.welcome').fadeOut()
  5. }
  6. },
  7. bindevents:()=>{
  8. $('.welcome > video').bind('ended',()=>{
  9. $('.welcome').fadeOut()
  10. });
  11. $('.jumpvideo').click(()=>{
  12. $('.welcome').fadeOut()
  13. })
  14. $('.myBacImg').bind('mousewheel',()=>{
  15. return false
  16. });
  17. $('.myBacImg').bind('pointermove touchmove',()=>{
  18. return false
  19. });
  20. // e.addEventListener("pointermove", this.onPointerMove.bind(this)),
  21. },
  22. start(){
  23. this.bindevents()
  24. }
  25. }
  26. SHIYOU.start()