123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- <!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.0" />
- <style>
- .box-my {
- display: flex;
- justify-content: center;
- }
- </style>
- <title>兑换页面</title>
- </head>
- <script type="text/javascript">
- var deviceWidth = document.documentElement.clientWidth;
- if (deviceWidth > 760) {
- deviceWidth = 760;
- }
- document.documentElement.style.fontSize = deviceWidth / 7.5 + "px";
- </script>
- <style>
- body {
- margin: 0;
- }
-
- .overlay {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 9990;
- background-color: rgba(0, 0, 0, 0.3);
- min-height: 6.5rem;
- }
-
- .close {
- position: absolute;
- top: 0;
- right: 0.45rem;
- width: 0.59rem;
- height: 0.69rem;
- }
-
- img {
- width: 51%;
- position: absolute;
- top: 1.2rem;
- left: 2rem;
- }
-
- h1 {
- font-size: 0.36rem;
- font-weight: bold;
- text-align: center;
- margin-top: 0.6rem;
- }
-
- .dialog-alert {
- position: fixed;
- top: 4.62rem;
- left: 0.62rem;
- right: 0.62rem;
- height: 3.45rem;
- border-radius: 0.3rem;
- z-index: 9992;
- background: #ffffff;
- }
-
- .actions {
- font-size: 0.3rem;
- display: flex;
- align-items: center;
- margin-left: 1.9rem;
- }
-
- .okay {
- color: white;
- float: left;
- background: #0bb577;
- }
-
- .btn {
- color: white;
- font-size: 0.36rem;
- background: linear-gradient(-90deg, #1E98DF, #5256D5);
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 0.4rem;
- padding: 0;
- margin: 0;
- width: 2.34rem;
- height: 0.72rem;
- }
-
- .content {
- font-size: 0.38rem;
- text-align: center;
- margin-bottom: 0.4rem;
- }
-
- .zhi {
- position: absolute;
- top: 5.3rem;
- width: 2rem;
- height: 2rem;
- left: 2.8rem;
- }
-
- .box {
- background: url(./cd2img/banner-bg@4x.png);
- background-size: 100% 100%;
- width: 100%;
- height: 4rem;
- margin-top: 0.8rem;
- }
-
- .fanhui {
- position: absolute;
- top: 0.05rem;
- font-size: 0.5rem;
- left: 0.28rem;
- }
-
- .text_ac {
- margin: 0;
- font-size: 0.38rem;
- letter-spacing: 0.03rem;
- height: 1rem;
- border-bottom: solid 0.15rem #eeeeee91;
- line-height: 1rem;
- font-weight: 600;
- text-indent: 0.3rem;
- }
-
- .txte {
- margin: 0;
- font-size: 0.24rem;
- width: 6.89rem;
- margin-left: 0.3rem;
- line-height: 0.45rem;
- letter-spacing: 0.01rem;
- color: #7c7878;
- }
-
- .txte_ace {
- font-size: 0.29rem;
- margin: 0;
- text-indent: 0.3rem;
- margin-top: 0.2rem;
- margin-bottom: 0.1rem;
- letter-spacing: 0.02rem;
- font-weight: 500;
- }
-
- .tui {
- width: 6.8rem;
- background: #d60000;
- margin-left: 0.35rem;
- font-size: 0.36rem;
- height: 0.89rem;
- border-radius: 0.2rem;
- font-weight: 500;
- line-height: 0.88rem;
- text-align: center;
- color: #fff;
- letter-spacing: 0.02rem;
- margin-top: 1.55rem;
- margin-bottom: 0.6rem;
- }
- </style>
- <body>
- <span onclick="a()" class="fanhui"><</span>
- <div class="box">
- <img src="./cd2img/10元红包@4x.png" alt="">
- </div>
- <p class="text_ac">10元话费劵</p>
- <p class="txte_ace">兑换说明</p>
- <p class="txte">1.活动时间:2021年7月1日-2021年9月30日;</p>
- <p class="txte">2.活动形式:</p>
- <p class="txte">(1)活动期间,中国联通用户可参与抽话费活动,5元、10元、15元、20元、50元、100元等不同面额话费券,100%中奖;中将后用户需手动发起话费兑换,兑换成功后话费将于10个工作日内充值至手机号码;</p>
- <p class="txte">(2)活动期间,用户可分享给好友可增加抽奖机会;</p>
- <p class="txte">3.兑换时间:2021年7月1日-2021年12月31日;</p>
- <p class="txte">4.了解更多流量产品,<a style="color: #0059ff;" onclick="b()">点此进入;</a></p>
- <p class="txte">5.需在有效期内进行兑换,如话费券过期奖无法进行兑换;</p>
- <div class="tui" onclick="c()">马上兑换</div>
- </body>
- <script src="../public/libs/jquery-min.js"></script>
- <script>
- function c() {
- showAlert("活动已结束!")
- }
- function b() {
- window.location.href = 'https://800.wo.cn/orderchannel/douyin/poly/index9cd.html?fes=jkk&sou=n2&type=poly&ProvincesThreen2&t=1667056926741'
- }
- function a() {
- history.back()
- }
- function showAlert(message, hideButton, buttonLabel, hideTitle) {
- var title = '';
- if (hideTitle == undefined || hideTitle == false) {
- title = '温馨提示';
- }
- var $overlay = $('<div class="overlay overlay-alert"></div>');
- var $dialog = $(
- '<div class="dialog-alert">' +
- '<h1>' + title + '</h1>' +
- '<div class="content">' + message + '</div>' +
- '<div class="actions">' +
- ' <div class="btn">' + (buttonLabel == null || buttonLabel == "" ? "关闭" : buttonLabel) + '</div>' +
- '</div>' +
- '</div>');
- $("body").css("overflow", "hidden");
- $overlay.appendTo($(document.body));
- $dialog.appendTo($(document.body));
- if (hideButton == true) {
- $dialog.find('.btn').remove();
- }
- $dialog.close = function() {
- $("body").css("overflow", "auto");
- $overlay.remove();
- $dialog.remove();
- $dialog = null;
- }
- var def = $.Deferred();
- $dialog.find('.btn').on('click', function() {
- $dialog.close()
- def.resolve($dialog);
- })
- return def;
- }
- </script>
- </html>
|