overdue.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <extend name="Public:pinduoduobase" />
  2. <block name="content">
  3. <script type="text/javascript">
  4. window.use_screen_base = '750';
  5. (function (a, b) {
  6. var c = "orientationchange" in b ? "orientationchange" : "resize",
  7. d = use_screen_base.indexOf("_mate"),
  8. e = parseInt(use_screen_base),
  9. f = a.documentElement,
  10. g = function () {
  11. var a = f.clientWidth,
  12. c = b.innerWidth;
  13. c >=750 ? c=750 : c;
  14. f.style.fontSize = 100 * (c / e) + "px"
  15. };
  16. if (/iPad.*OS|iPhone.*OS/.test(navigator.userAgent) && d > 0) {
  17. var h = a.querySelectorAll("meta[name=viewport]"),
  18. i = b.devicePixelRatio;
  19. i = i != 1 ? 2 : 1, h[0] && h[0].setAttribute("content",
  20. "width=device-width, user-scalable=no, minimum-scale=" + 1 / i + ", maximum-scale=" + 1 / i +
  21. ", initial-scale=" + 1 / i)
  22. }
  23. g(), b.addEventListener(c, g, !1), delete use_screen_base
  24. })(document, window);
  25. </script>
  26. <link rel="stylesheet" href="__PUBLIC__/mogu/bonus/css/index.css">
  27. <div id="main">
  28. <div class="duo-red-packet-container mobile-container">
  29. <div class="rp-main">
  30. <div class="main-bg-top"><img src="__PUBLIC__/mogu/bonus/image/red_packet_main_bg_top.png"></div>
  31. <div class="main-bg-middle"><img src="__PUBLIC__/mogu/bonus/image/red_packet_main_bg_middle.png"></div>
  32. <div class="main-bg-bottom">
  33. <img src="__PUBLIC__/mogu/bonus/image/red_packet_main_bg_bottom.png">
  34. </div>
  35. <img src="__PUBLIC__/mogu/bonus/image/red_packet_main_bg_ribbon.png" class="main-bg-ribbon">
  36. <img src="__PUBLIC__/mogu/bonus/image/cl_main_title.png" class="main-title">
  37. <img src="__PUBLIC__/mogu/bonus/image/cl_sub_title.png" class="main-sub-title">
  38. <!-- 过期 -->
  39. <div class="main-overdue">
  40. <img src="__PUBLIC__/mogu/bonus/image/red_packet_overdue_v2.png" class="main-overdue-img">
  41. <div class="main-overdue-title">已过期,请明天再来~</div>
  42. <div class="main-overdue-desc">红包有效期2小时</div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </block>