rocatescd.html 8.7 KB

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