rocatecd1.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <style>
  8. .box-my {
  9. display: flex;
  10. justify-content: center;
  11. }
  12. </style>
  13. <title>转盘抽奖页面</title>
  14. </head>
  15. <script type="text/javascript">
  16. var deviceWidth = document.documentElement.clientWidth;
  17. if (deviceWidth > 760) {
  18. deviceWidth = 760;
  19. }
  20. document.documentElement.style.fontSize = deviceWidth / 7.5 + "px";
  21. </script>
  22. <style>
  23. body {
  24. margin: 0;
  25. background: #f05e48;
  26. }
  27. .main {
  28. background: url(./cd1img/背景@4x.png);
  29. background-size: 100% 100%;
  30. height: 27rem;
  31. }
  32. .box_img {
  33. background: url(./cd1img/温馨提示-bg1@4x.png);
  34. background-size: 100% 100%;
  35. width: 100%;
  36. height: 0.5rem;
  37. position: absolute;
  38. margin-top: 4.7rem;
  39. }
  40. .box_img_A {
  41. background: url(./cd1img/温馨提示-bg2@4x.png);
  42. background-size: 100% 100%;
  43. width: 100%;
  44. height: 15.5rem;
  45. margin-top: 5rem;
  46. }
  47. .text {
  48. margin: 0;
  49. font-size: 0.26rem;
  50. width: 6rem;
  51. margin-left: 0.8rem;
  52. color: #ef212e;
  53. font-weight: 500;
  54. letter-spacing: 0.01rem;
  55. margin-top: 0.2rem;
  56. }
  57. .box_img_B {
  58. background: url(./cd1img/温馨提示-bg3@4x.png);
  59. background-size: 100% 100%;
  60. width: 100%;
  61. height: 0.5rem;
  62. margin-bottom: 0.3rem;
  63. }
  64. .overlay {
  65. position: fixed;
  66. top: 0;
  67. right: 0;
  68. bottom: 0;
  69. left: 0;
  70. z-index: 9990;
  71. background-color: rgba(0, 0, 0, 0.3);
  72. min-height: 6.5rem;
  73. }
  74. .close {
  75. position: absolute;
  76. top: 0;
  77. right: 0.45rem;
  78. width: 0.59rem;
  79. height: 0.69rem;
  80. }
  81. img {
  82. width: 100%;
  83. }
  84. h1 {
  85. font-size: 0.36rem;
  86. font-weight: bold;
  87. text-align: center;
  88. margin-top: 0.6rem;
  89. }
  90. .dialog-alert {
  91. position: fixed;
  92. top: 4.62rem;
  93. left: 0.62rem;
  94. right: 0.62rem;
  95. height: 3.45rem;
  96. border-radius: 0.3rem;
  97. z-index: 9992;
  98. background: #ffffff;
  99. }
  100. .actions {
  101. font-size: 0.3rem;
  102. display: flex;
  103. align-items: center;
  104. margin-left: 1.9rem;
  105. }
  106. .okay {
  107. color: white;
  108. float: left;
  109. background: #0bb577;
  110. }
  111. .btn {
  112. color: white;
  113. font-size: 0.36rem;
  114. background: linear-gradient(-90deg, #1E98DF, #5256D5);
  115. display: flex;
  116. align-items: center;
  117. justify-content: center;
  118. border-radius: 0.4rem;
  119. padding: 0;
  120. margin: 0;
  121. width: 2.34rem;
  122. height: 0.72rem;
  123. }
  124. .content {
  125. font-size: 0.38rem;
  126. text-align: center;
  127. margin-bottom: 0.4rem;
  128. }
  129. .zhi {
  130. position: absolute;
  131. top: 5.7rem;
  132. width: 2rem;
  133. height: 2rem;
  134. left: 2.8rem;
  135. }
  136. .ding {
  137. background: url(./cdimg/btn-left.png);
  138. background-size: 100% 100%;
  139. width: 3.6rem;
  140. height: 1.35rem;
  141. position: absolute;
  142. top: 10.5rem;
  143. left: 0.15rem;
  144. }
  145. .tuid {
  146. background: url(./cdimg/btn-right.png);
  147. background-size: 100% 100%;
  148. width: 3.6rem;
  149. height: 1.35rem;
  150. position: absolute;
  151. right: 0.15rem;
  152. top: 10.5rem;
  153. }
  154. </style>
  155. <body>
  156. <div class="main">
  157. <img style="width: 7.5rem;" src="./cd1img/标题@4x.png" alt="">
  158. <img style=" width: 91%;
  159. position: absolute;
  160. top: 3.4rem;
  161. left: 0.33rem;" src="./cd1img/宫格@4x.png" alt="">
  162. <div onclick="c()" class="zhi"></div>
  163. <div class="ding" onclick="b()"></div>
  164. <div class="tuid" onclick="a()"></div>
  165. <div style="height: 4rem;">
  166. </div>
  167. <div class="box_img">
  168. <img style="width: 64%;
  169. margin-left: 1.3rem;
  170. margin-bottom: 0.2rem;" src="./cd1img/温馨提示-标题@4x.png" alt="">
  171. </div>
  172. <div class="box_img_A">
  173. <div style="height: 0.6rem;"></div>
  174. <p class="text">1.活动时间:2021年4月1日-2021年6月30日;</p>
  175. <p class="text">2.活动形式:</p>
  176. <p class="text">(1)活动期间,中国联通用户可参与抽话费活动,5元、10元、20元、50元、100元等不同面额话费券,100%中奖;中将后用户需手动发起话费兑换,兑换成功后话费将于10个工作日内充值至手机号码;</p>
  177. <p class="text">(2)活动期间,用户可分享给好友可增加抽奖机会;</p>
  178. <p class="text">3.兑换时间:2021年4月1日-2021年12月31日;</p>
  179. <p class="text">4.了解更多流量产品,<a style="color: #0059ff;" onclick="b()">点此进入;</a></p>
  180. <p class="text">5.流量说明: </p>
  181. <p class="text">(1)定向流量适用范围包含:抖音短视频、今日头条、西瓜视频、火山小视频、多闪、懂车帝、图虫、皮皮虾、海豚股票、海豚财富、gogokid、轻颜、好好学习、飞聊、时光相册、半次元、飞书、激萌、番茄畅听APP使用;</p>
  182. <p class="text">(2)定向流量适用范围不包含:发起直播及上传视频;第三方提供的广告、视频、图片;下载/缓存客户端及第三方链接视频所产生的流量;</p>
  183. <p class="text">(3)请使用手机默认3GNET接入点访问本产品(如需修改请在手机设置-移动网络-接入点APN内更改); </p>
  184. <p class="text">(4)全国共享组合套餐、智慧沃家成员用户、全国套餐主副卡等共享类套餐用户订购,仅限该成员使用,其他成员不可共享,需单独订购;</p>
  185. <p class="text">(5)若您的套餐(如蚂蚁宝卡、阿里宝卡、钉钉宝卡或工商银行e卡等)流量使用范围包含头条系相关产品,将优先使用套餐内的专属定向流量,用罄后即消耗本产品包内的定向流量;</p>
  186. <p class="text">6.本活动将根据活动形式、用户体验、活动效果等多方面因素,不定期对活动形式、奖励奖品进行调整或下线优化,具体以页面实际展示为准:</p>
  187. <p class="text">7.关于产品使用过程中有任何疑问可咨询联通客服:10010。</p>
  188. </div>
  189. <div class="box_img_B">
  190. </div>
  191. </div>
  192. </body>
  193. <script src="../public/libs/jquery-min.js"></script>
  194. <script>
  195. function c() {
  196. showAlert("活动已结束!")
  197. }
  198. function a() {
  199. if (window.location.href.indexOf("http://100.0.4.69:8282/orderchannel") >= 0) {
  200. window.location.href = 'http://100.0.4.69:8282/orderchannel/turntable/ruihuans.html'
  201. } else {
  202. window.location.href = 'http://100.0.4.69:3344/orderchannel/turntable/ruihuans.html'
  203. }
  204. }
  205. function b() {
  206. window.location.href = 'https://800.wo.cn/orderchannel/douyin/poly/index9cd.html?fes=jkk&sou=n3&type=poly&ProvincesTwon3&t=1667056936895'
  207. }
  208. function showAlert(message, hideButton, buttonLabel, hideTitle) {
  209. var title = '';
  210. if (hideTitle == undefined || hideTitle == false) {
  211. title = '温馨提示';
  212. }
  213. var $overlay = $('<div class="overlay overlay-alert"></div>');
  214. var $dialog = $(
  215. '<div class="dialog-alert">' +
  216. '<h1>' + title + '</h1>' +
  217. '<div class="content">' + message + '</div>' +
  218. '<div class="actions">' +
  219. ' <div class="btn">' + (buttonLabel == null || buttonLabel == "" ? "关闭" : buttonLabel) + '</div>' +
  220. '</div>' +
  221. '</div>');
  222. $("body").css("overflow", "hidden");
  223. $overlay.appendTo($(document.body));
  224. $dialog.appendTo($(document.body));
  225. if (hideButton == true) {
  226. $dialog.find('.btn').remove();
  227. }
  228. $dialog.close = function() {
  229. $("body").css("overflow", "auto");
  230. $overlay.remove();
  231. $dialog.remove();
  232. $dialog = null;
  233. }
  234. var def = $.Deferred();
  235. $dialog.find('.btn').on('click', function() {
  236. $dialog.close()
  237. def.resolve($dialog);
  238. })
  239. return def;
  240. }
  241. </script>
  242. </html>