index.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/dist/favicon.ico><title>百家樂</title><script>!function(d,a){var e=d.documentElement,c="orientationchange"in window?"orientationchange":"resize",v=function(){
  2. var f=e.clientWidth
  3. if (window.orientation == 180 || window.orientation == 0){
  4. f = e.clientHeight
  5. }
  6. var p=20*(f/320)
  7. if(p > 110) p = 110
  8. if(p < 50) p = p * 1.2
  9. f&&(e.style.fontSize=p+"px")
  10. };d.addEventListener&&(a.addEventListener(c,v,!1),d.addEventListener("DOMContentLoaded",v,!1))}(document,window);</script><link href=/dist/css/chunk-4d9e0cd2.422762db.css rel=prefetch><link href=/dist/js/chunk-0465d832.f9b1fcae.js rel=prefetch><link href=/dist/js/chunk-4d9e0cd2.cb4466fa.js rel=prefetch><link href=/dist/css/app.e6bedaf4.css rel=preload as=style><link href=/dist/css/chunk-vendors.1f7fe88d.css rel=preload as=style><link href=/dist/js/app.7d2d2d2e.js rel=preload as=script><link href=/dist/js/chunk-vendors.3b5ca77c.js rel=preload as=script><link href=/dist/css/chunk-vendors.1f7fe88d.css rel=stylesheet><link href=/dist/css/app.e6bedaf4.css rel=stylesheet></head><body><noscript><strong>We're sorry but eos-red-packet doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script>var EOS_PROTOCOL = "https";
  11. var EOS_HOST = "nodes.get-scatter.com";
  12. var EOS_PORT = "443";</script><script src=https://www.mee.chat/sdk.js></script><script>function __getOptions() {
  13. var options = {
  14. group_id : 10001
  15. };
  16. if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
  17. // 移动端的情况
  18. if (window.innerHeight >= window.innerWidth) {
  19. // 竖屏
  20. options.bottom = 0;
  21. options.left = 0;
  22. options.height = '66%';
  23. options.width = '100%';
  24. options.show = false;
  25. } else {
  26. // 横屏
  27. options.bottom = 0;
  28. options.left = 0;
  29. options.height = '100%';
  30. options.width = '60%';
  31. options.show = false;
  32. }
  33. } else {
  34. // PC 端的情况
  35. options.bottom = 10;
  36. options.right = 10;
  37. options.height = 500;
  38. options.width = 300;
  39. options.show = true;
  40. }
  41. return options;
  42. }
  43. __MeeChat.init(__getOptions());
  44. // *************************** 【可选】响应式网站可以加入以下代码 ************************
  45. resize();
  46. window.addEventListener('orientationchange', resize);
  47. window.addEventListener('resize', resize);
  48. function resize() {
  49. var options = __getOptions();
  50. delete options.show;
  51. __MeeChat.resize(options);
  52. }
  53. // ***********************************************************************************</script><script src=/dist/js/chunk-vendors.3b5ca77c.js></script><script src=/dist/js/app.7d2d2d2e.js></script></body></html>