$(function() {
const $content= $('.content');
const $redBox= $('.red-box');
const redContentWidth=$content.width();
const redBoxWidth=$redBox.width();
const basePadding= 30;
const maxLeftPX= (redContentWidth - redBoxWidth - basePadding * 2) - 20;
let moneyTotal= 0;
let zIdex= 1;
let timer;
let listAll=[];
let timered, timedate;
let count= 15;functionbindEvent() {//将红包绑定事件onmousedowon
$content.on('touchstart', '.red-box', function(e) {//if (count == 0) {
// // //var d = dialog({
//id: 'baseConfig',
//height: '36rem',
//width: '52rem',
closable: true,
//zIndex: 999,
//title: '红包雨倒计时结束',
//content: '
//'
共获得
' +//'
¥' + moneyTotal.toFixed(2) + '
' +//'
//'
//'继续扫' +
//'' +
//'中奖记录' +
//'' +
//'
//});
//d.showMod