jquery彩票双色球多选多种玩法下注页面效果
代码语言:html
所属分类:布局界面
代码描述:jquery彩票双色球多选多种玩法下注页面效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8"> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> <meta name="renderer" content="webkit" /> <meta http-equiv="Content-Type" content="text/html; charset=gbk" /> <style> @charset "utf-8"; body { font-size: 12px; font-family: "微软雅黑"; color: #555; background:#fff; overflow-x: hidden; position: relative; margin: 0; padding: 0; } * { padding: 0; margin: 0; } a, input { text-decoration: none; outline: none; } img, input { border: 0 none; } ul, li { list-style: none; vertical-align: top; } em, i { font-style: normal; } .clear { float: none; clear: both; } .clearfix:after { visibility: hidden; display: block; font-size: 0; content: "\20 "; clear: both; height: 0 } .clearfix { zoom: 1 } .jf_main_page{ margin:0 auto;text-align:left;width:880px;background: #fff; overflow: hidden; border: #ddd 1px solid; zoom: 1;} .wrapper { margin: 0 auto; text-align: left; width: 1200px; border-bottom: 0px; } </style> <style> .glb_disbtn_dh { padding: 32px 0; } .sd11x5-txt{ height:92px; padding: 22px 0 0 28px; font-size: 14px; font-family: "微软雅黑"; padding-right: 8px; margin:3px 3px 0 3px; } .sd11x5-txt h2{ font-size:18px;} .sd11x5-txt h2 .fl{ float:left; width:100px; margin-top:-12px;} .sd11x5-txt h2 .nm{ float:left; font-weight:normal;} .sd11x5-txt h2 .title{ color:##717171; font-size:12px;} .sd11x5-txt .tip a{ font-size:14px; color:#333; float:left; margin:8px 16px 0 0;} .sd11x5-txt .tip i{ display: inline-block; width: 17px; height: 17px; line-height: 17px; font-size: 0; margin-right: 3px; vertical-align: middle; } .sd11x5-txt .tip i.trend_icon { background-position: -41px -84px; } .sd11x5-txt .tip i.gameIntru_icon { background-position: -61px -84px; } .sd11x5-txt h2 .nm b{ font-size:24px; padding-right:12px; color:#d8000b;} .sd11x5-txt h2 .fr{ font-size:14px; float:right; font-weight:normal; padding-right:20px; text-align:right; padding-top:14px; display:inline;} .sd11x5-txt h2 .fr b{ color:#c50103; font-size:18px; padding:0 8px;} .sd11x5-txt h2 .period{ font-weight:bold; font-size:16px; color:#333; height:30px;} .sd11x5-txt h2 .fr .hide{ display:none;} .bettingBox { background: #fff; width: 880px; border-right: 1px solid #dedede; border-top: 1px solid #dedede; } .betTypeNav { height: 43px; clear: both; border-bottom: 1px solid #ddd; margin-top: -1px; } .betTypeList { height: 43px; line-height: 16px; padding: 0; background: #f7f7f7; } .betTypeList li { line-height: 17px; white-space: nowrap; height: 42px; border-right: 1px solid #ddd; float: left; width: 72.3px; text-align: center; cursor: pointer; color: #969696; border-top: 2px solid #0066cc; position: relative; z-index: 50; zoom: 1; } .betTypeList li.act { color: #fff; background: #0066cc; } .betTypeList em { line-height: 42px; color: #333; font-size: 14px; font-weight: 700; } .betTypeList li.act em { color: #fff; } .wfTitle { clear: both; line-height: 30px; height: 30px; margin:38px 100px 12px 80px; zoom: 1; padding: 3px 0 3px 50px; border-bottom: 1px solid #e9e9e9; display: block; background: #ebf3fd; color:#000; } .wfTitle label { margin-right: 18px; color: #000; font-size:14px; } .selectNum .title { padding:10px 0; clear: both; line-height: 30px; position: relative; z-index: 11; overflow: hidden; padding-left: 80px; color: #727272; height: auto; } .selectNum .title em { font-weight: 700; color: #ba2636; } .redBallBox { padding-left: 80px; padding-right: 4px; z-index: 10; zoom: 1; width: 499px; } .redBallBox .selectTitle { font-weight:bold; position: absolute; left: 80px; top: 8px; z-index: 11; color: #333; } .redBallBox ul { padding-left: 70px; } .redBallBox li { width: 33px; margin-right: 6px; float: left; text-align: center; height: 38px; line-height: 14px; } .redBallBox li a, .redBallBox li a:visited { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPUAAAA7CAYAAACjU8yhAAAgAElEQVR4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ack8oK7em6aQ4YcSA6SIKUdQL5olA49xNfkV4GUrrqqR9YShsDdfZ7z+4SScqNCsBeek4uPXDbVMv+0nLGjMFeOZ4rHtoffXEXYY3NBfmBtdvwFQXF9MQdVWmVO425L4wDuqohDFzNb2+mPb/9gyCMM06o2SYSSBuDvl/74BQhnBG2jJC1AaWkOJyxwUzisFjcArhBe/DzaqFNoCSDdvSDien192tErqPjp8PJ12AMKy3Jpavml1ueiGI9S/r/NAescuB/AE2BOZVpHgr8AAAAAElFTkSuQmCC) 0 0 no-repeat; width: 33px; height: 33px; display: block; text-align: center; line-height: 34px; font-size: 16px; font-weight: 700; overflow: hidden; outline: 0; color: #333; } .redBallBox li a:hover { background-position: -35px 0; color: #333; } .redBallBox li a.active, .redBallBox li a.active:visited, .redBallBox li a.active:hover { background-position: -70px 0; color: #fff; } .redBallBox { height:38px; float:left; padding-left: 80px; padding-right: 4px; position: relative; z-index: 10; zoom: 1; width: 499px; } .randombox { float: left; padding-top: 7px; padding-left:20px; white-space: nowrap; width: 160px; } .randombox a.graybtn { height: 20px; line-height: 20px; border: 1px solid #c9c9c9; border-radius: 2px; display: inline-block; background: url(../images/btn_repeat.png) repeat-x 0 -64px; text-align: center; text-align: center; margin-right: 9px; padding: 0 4px; color: #333; float: left; font-weight: 400; } .numberdiv{ height:38px; padding-top:10px;} .dantuo .title { padding-left: 80px; padding-bottom: 5px; } .selectNum .title strong { color: #333; } .selectNum .title em { font-weight: 700; color: #ba2636; } .dantuo_com h2 { text-align: center; font-size: 14px; height: 20px; line-height: 20px; margin-bottom: 15px; } .dantuo_com h2 strong { display: inline-block; padding: 0 10px; background-color: #fff; position: relative; z-index: 10; } .dantuo_com h2 strong em { font-size: 12px; margin-left: 15px; font-weight:normal; } .c_ba2636, a.c_ba2636:link, a.c_ba2636:visited { color: #ba2636; } .dantuo_com h2 i { display: block; height: 3px; border-top: 1px solid #e4e4e4; line-height: 0; background: #f1f1f1; font-size: 0; position: relative; z-index: 9; margin: -9px 36px 0 35px; } .betresult { clear:both; text-align: center; padding: 48px 0 28px; height: 27px; line-height: 27px; font-size:14px; color:#333; } .holderWrapLeft, .holderWrapRight { display: inline-block; width: 135px; text-align: right; } .holderWrapLeft, .holderWrapRight { zoom: 1; } .betresult strong { color: #ba2636; margin: 0 3px; font-family: Verdana; } .addSubtract { height: 20px; width: 73px; display: inline-block; border: 1px solid #abadb3; margin: 0 3px; position: relative; top: 6px; _top: 7px; z-index: 50; } .holderWrapRight { text-align: left; } .betresult strong { color: #ba2636; margin: 0 3px; font-family: Verdana; } .addSubtract a { width: 22px; background: url(../images/szc_comicons_2418d67.png) no-repeat; display: inline-block; height: 20px; font-family: Simsun; font-size: 14px; outline: 0; } .addSubtract input { float: left; height: 20px; line-height: 20px; border: 0; padding: 0; width: 27px; _width: 26px; text-align: center; } .addSubtract a.subtract, .addSubtract a.subtractDisable { float: left; border-right: 1px solid #abadb3; background-position: -72px 0; } .addSubtract a.subtractDisable, .addSubtract a.subtractDisable:hover { background-position: -72px -22px; cursor: default; } .addSubtract a.add, .addSubtract a.addDisable { float: right; border-left: 1px solid #abadb3; background-position: -119px 0; } .glb_disbtn_submit{ padding:10px 0 58px 0; text-align:center;} .glb_disbtn_stop{ padding:10px 0 58px 0; text-align:center; display:none;} .nottip{text-align:center;font-size:24px; color:red; padding-bottom:40px; display:none;} #zhixuan{ display:none;} #zhixuan .redBallBox{ margin-top:16px;} .betbtnBox, .revisebtnBox { padding: 21px 0 16px 280px;_padding:20px 0 9px 280px; } .betbtnBox .disabled {display: inline-block; height: 34px; width: 137px; background: url(../images/lotterybaseimg_9f1beac.png) no-repeat 0 -145px; cursor: pointer;} .betbtnBox .disabledcur{ background: url(../images/lotterybaseimg_9f1beac.png) no-repeat 0 -110px;} .betbtnBoxzhi{ clear:both; height:60px; padding:20px 0 0 280px;} .betbtnBoxzhi .disabledzhi {display: inline-block; height: 34px; width: 137px; background: url(../images/lotterybaseimg_9f1beac.png) no-repeat 0 -145px; cursor: pointer;} .betbtnBoxzhi .disabledcur{ background: url(../images/lotterybaseimg_9f1beac.png) no-repeat 0 -110px;} .selected_btnbox { float: left; position: relative; padding-left: 10px } .selected_btn { color:#333; height: 26px; width: 96px; line-height: 26px; border: 1px solid #c9c9c9; border-radius: 2px; display: block; background: url(../images/ssq_repeat_20844af.png) repeat-x 0 -64px; text-align: center; text-align: center; margin: 8px 0; } .clear_btn { margin-top:30px; } .selected_btnbox a.disabled, .selected_btnbox a.disabled:visited { color: #8b8b8b; cursor: default } .selected_box { padding-left:86px; clear: both } .selected_list { float: left; border: 1px solid #c8c8c8 } .selected_list dl { border-top: 1px solid #f1f1f1; border-left: 1px solid #fafafa; width: 450px; height: 155px; overflow-x: hidden; overflow-y: scroll } .selected_list dd { float:left; height: 30px; line-height: 30px; border-bottom: 1px dotted #aeaeae; padding: 0 15px; clear: both; width: 400px } .selected_list dd:hover, .selected_list .ddhover, .selected_list .ddactive, .selected_list .ddactive:hover { background-color: #FBF8E5 } .selected_list dd .type { float:left; width: auto; margin-right: 10px; color:#333; } .selected_list dd .nums { font-weight: 700; float: left; text-overflow: ellipsis; overflow: hidden; width: 250px; white-space: nowrap; letter-spacing:1px; } .selected_list dd strong { padding: 0 5px; font-family: Simsun; color:#ba2636; } .selected_list dd .sum { float: right; padding-right: 10px; text-align: right } .selected_list dd .c_del { float: right } .selected_list dd .c_del a { margin: 0 3px; color: #717171 } .selected_list dd .edit em { display: inline-block; width: 33px; zoom: 1 } .selected_list dd .edit a:hover { color: #ba2636 } .selected_btnbox { float: left; position: relative; padding-left: 10px } .button_ljdh{ display:block; width:146px; height:43px; background: url(../images/lotterybaseimg_9f1beac.png) no-repeat 0 -180px; margin:0 auto;} .button_ztxs{ display:block; width:146px; height:43px; background: url(../images/lotterybaseimg_9f1beac.png) no-repeat 0 -269px; margin:0 auto;} .randomBtn{ position:relative;} .randomBtn .selected_btn{ position:absolute; top:-40px; right:140px; width:60px;} .alltuoBtn{ padding:0 100px; height:60px; margin-top:-36px;} .alltuoBtn .selected_btn{ float:right; margin:0 10px; width:60px;} </style> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/mock.min.js"></script> <script type="text/javascript"> $(function(){ var tabCur=$("#type").val(); $("#"+ tabCur).addClass("act");//加载当前玩法样式 $('.betTypeList li').bind('click',function(){ $(this).addClass("act").siblings().removeClass("act"); var tabCurid=$(".act").attr("id") var curNum=$(this).index(); $('#type').val(tabCurid); $('.js_ball').removeClass('active'); no=[]; noz=[]; nochoosez=[]; $('#content').empty();//删除普通玩法下的已经选中的号码 $('#contentzhi').empty(); $('.js_ball').removeClass('active'); $('#contentNum').html(0); $('#money').html(0); $('#periods1').val(1); $('#multiple1').val(1); multiple = 1; number = 1; periods = 1; contentNum=0; periodsNum=1; $('#content').empty();//删除普通玩法下的已经选中的号码 $('#rx2_pt').attr("checked",'checked'); showCont(); var tabNub=$(this).index(); if(tabNub==0){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选2个号码,所选号码与开奖号码相同,即中奖<em>6</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选2个或多个号码,所选号码与开奖号码任意两个号码相同,即中奖<em>6</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1个胆码,选1~10个拖码,胆码加拖码不少于2个,单注奖金<em>6</em>元。'); } else if(tabNub==1){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选3个号码,所选号码与开奖号码相同,即中奖<em>19</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选3个或多个号码,所选号码与开奖号码任意三个号码相同,即中奖<em>19</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1~2个胆码、1~10个拖码,胆码加拖码不少于3个,单注奖金<em>19</em>元。'); } else if(tabNub==2){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选4个号码,所选号码与开奖号码四个号码相同,即中奖<em>78</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选4个或多个号码,所选号码与开奖号码任意四个号码相同,即中奖<em>78</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1~3个胆码、1~10个拖码,胆码加拖码不少于4个,单注奖金<em>78</em>元。'); } else if(tabNub==3){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选5个号码,所选号码与开奖号码全部相同,即中奖<em>540</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选5个或多个号码,所选号码与开奖号码全部相同,即中奖<em>540</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1~4个胆码、1~10个拖码,胆码加拖码不少于5个,单注奖金<em>540</em>元。'); } else if(tabNub==4){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选6个号码,所选号码与开奖号码五个号码相同,即中奖<em>90</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选6个或多个号码,所选号码与开奖号码五个号码相同,即中奖<em>90</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1~5个胆码、1~10个拖码,胆码加拖码不少于6个,单注奖金<em>90</em>元。'); } else if(tabNub==5){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选7个号码,所选号码与开奖号码五个号码相同,即中奖<em>26</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选7个或多个号码,所选号码与开奖号码五个号码相同,即中奖<em>26</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1~6个胆码、1~10个拖码,胆码加拖码不少于7个,单注奖金<em>26</em>元。'); } else if(tabNub==6){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选8个号码,所选号码与开奖号码五个号码相同,即中奖<em>9</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选8个或多个号码,所选号码与开奖号码五个号码相同,即中奖<em>9</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1~7个胆码、1~10个拖码,胆码加拖码不少于8个,单注奖金<em>9</em>元。'); } else if(tabNub==7){ $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选1个号码,所选号码与开奖号码第一位号码相同,即中奖<em>13</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选1个或多个号码,所选号码与开奖号码第一位号码相同,即中奖<em>13</em>元。'); $('#dantuo .title').html(''); } else if (tabNub == 8) { $('#putong .title').html('<strong>玩法提示:</strong>从01~11中任选2个号码,所选号码与开奖号码前两位号码相同(顺序不限),即中奖<em>65</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中任选2个号码,所选号码与开奖号码前两位号码相同(顺序不限),即中奖<em>65</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1个胆码、1~10个拖码,胆码加拖码不少于2个,单注奖金<em>65</em>元。'); } else if (tabNub == 9) { $('#zhixuan .title').html('<strong>玩法提示:</strong>从第一位、第二位各选1个号码,所选号码与开奖号码前两位号码相同(且顺序一致),即中奖<em>130</em>元。'); $('#fushizhi .title').html('<strong>玩法提示:</strong>从第一位、第二位选多个号码,所选号码与开奖号码前两位号码相同(且顺序一致),即中奖<em>130</em>元。'); $('#dantuo .title').html(''); } else if (tabNub == 10) { $('#putong .title').html('<strong>玩法提示:</strong>从01~11中选3号码,选号与开奖号码前三位相同(顺序不限),即中奖<em>195</em>元。'); $('#fushi .title').html('<strong>玩法提示:</strong>从01~11中选3号码,选号与开奖号码前三位相同(顺序不限),即中奖<em>195</em>元。'); $('#dantuo .title').html('<strong>玩法提示:</strong>选1~2个胆码、2~10个拖码,胆码加拖码不少于3个,单注奖金<em>195</em>元。'); } else { $('#zhixuan .title').html('<strong>玩法提示:</strong>从第一位、第二位、第三位位各选1个号码,选号与开奖号码前三位相同(且顺序一致),即中<em>1170</em>元。'); $('#fushizhi .title').html('<strong>玩法提示:</strong>从第一位、第二位、第三位各选多个号码,选号与开奖号码前三位相同(且顺序一致),即中<em>1170</em>元。'); $('#dantuo .title').html(''); } }); //选项卡切换 $('input[name=checkbox1]').click(function(){ showCont(); $('#content').empty();//删除普通玩法下的已经选中的号码 }) function showCont(){ switch($('input[name=checkbox1]:checked').attr('id')){ case 'rx2_pt' : $('.disabled').removeClass('disabledcur');//确认选号按钮不能选 $("#playtype").val("pt"); $('#putong').show(); $('#zhixuan').hide(); $('#fushizhi').hide(); $('#dantuo').hide(); $('#fushi').hide(); no=[]; noz=[]; nochoosez=[]; $('#content').empty();//删除普通玩法下的已经选中的号码 $('#contentzhi').empty(); $('.js_ball').removeClass('active'); $('#contentNum').html(0); $('#money').html(0); $('#periods1').val(1); $('#multiple1').val(1); multiple = 1; number = 1; periods = 1; contentNum=0; periodsNum=1; sd11x51.initPid2(); break; case 'rx2_fs' : $("#playtype").val("fs"); $('#putong').hide(); $('#zhixuan').hide(); $('#dantuo').hide(); $('#fushi').show(); no=[]; noz=[]; nochoosez=[]; $('#content').empty();//删除普通玩法下的已经选中的号码 $('#contentzhi').empty(); $('.js_ball').removeClass('active'); $('#contentNum').html(0); $('#money').html(0); $('#periods1').val(1); $('#multiple1').val(1); multiple = 1; number = 1; periods = 1; contentNum=0; periodsNum=1; sd11x51.initPid3(); break; case 'rx2_dt': $("#playtype").val("dt"); $('#putong').hide(); $('#zhixuan').hide(); $('#fushizhi').hide(); $('#dantuo').show(); $('#fushi').hide(); no=[]; noz=[]; nochoosez=[]; $('#content').empty();//删除普通玩法下的已经选中的号码 $('#contentzhi').empty(); $('.js_ball').removeClass('active'); $('#contentNum').html(0); $('#money').html(0); $('#periods1').val(1); $('#multiple1').val(1); multiple = 1; number = 1; periods = 1; contentNum=0; periodsNum=1; sd11x51.initPid4(); break; default:break; } }; sd11x51.initList3(); sd11x51.initUI1(); sd11x51.initLotteryState(); var mockJs= Mock.mock("http://localhost:8080/hello.html","post",{ "lastTime": "2019-04-18 18:59:01", "period": "18120518" }); $.ajax({ url:'http://localhost:8080/hello.html', type:'post', dataType:'json', async: false, //同步请求 success:function(dt){ $('.sd11x5-txt .period span').html(dt.period); $('#lastTime').val(dt.lastTime); $('#period').val(dt.period); sd11x51.initUI1(); }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(XMLHttpRequest.status); // 状态码 console.log(XMLHttpRequest.readyState); // 状态 console.log(textStatus); // 错误信息 } }); var periods = 1; var maxPeriods =88-$('#period').val().substr(6,8);//最大可选期数为当天全部期数减去当前期数并加一(包括当前期可选) var minPeriods = 1; var periodsNum=1; var multiple = 1; var MAX = 396, MIN = 1; var contentNum=0; var number=1; var delnoid=0; $('#multiple0').click(function(e) {//减倍数 var multiple0=$('#multiple0').val(); number = multiple - 1 if (number < MIN)number = MIN; $('#money').html(number * contentNum * periodsNum * 2); multiple = number; $('#multiple1').val(multiple);}); $('#multiple1').change(function(e) {//直接填写倍数 var multiple1=$('#multiple1').val(); number = multiple1; if (number < MIN)number = MIN; if (number > MAX)number = MAX; $('#money').html(number * contentNum * periodsNum * 2); multiple = number; $('#multiple1').val(multiple);}); $('#multiple2').click(function(e) {//加倍数 var multiple2=$('#multiple2').val(); number = multiple+ 1 if (number > MAX)number = MAX; $('#money').html(number * contentNum * periodsNum * 2); multiple = number; $('#multiple1').val(multiple);}); $('#periods0').click(function(e) {//减期数 var periods0=$('#periods0').val(); periodsNum = periods - 1 if (periodsNum < minPeriods)periodsNum = minPeriods; $('#money').html(number * contentNum * periodsNum * 2); periods = periodsNum; $('#periods1').val(periods);}); $('#periods1').change(function(e) {//直接填写期数 var periods1=$('#periods1').val(); periodsNum = periods1; if (periodsNum < minPeriods)periodsNum = minPeriods; if (periodsNum > maxPeriods)periodsNum = maxPeriods; $('#money').html(number * contentNum * periodsNum * 2); periods = periodsNum; $('#periods1').val(periods);}) $('#periods2').click(function(e) {//加期数 var periods2=$('#periods2').val(); periodsNum = periods+ 1 if (periodsNum > maxPeriods)periodsNum = maxPeriods; $('#money').html(number * contentNum * periodsNum * 2); periods = periodsNum; $('#periods1').val(periods);}); $('#addno').click(function(e) {//普通玩法选多注 $('.disabled').removeClass('disabledcur'); if(no.length>=5){ layer.alert("最多只允许五注"); return false; } if(noz.length==getContentNum($('#type').val())){ $('.active').removeClass('active');//取消现有选中 var strz=''; noz.sort(); for (var i = 0; i < noz.length; i++) {//对noz中的暂时选中号码进行遍历拼接 strz+=''+noz[i]; } noz=[];//清空暂时选中的号码 no.push(strz.substr(1)); delnoid=delnoid+1; $('#content').html($('#content').html()+'<dd id="del'+delnoid+'"><span class="type">'+getContentTitle($('#type').val())+'</span><span class="nums"><strong>'+strz.replace(new RegExp("nop","g"),',').substr(1)+'</strong></span><a id="del'+delnoid+'_'+strz.substr(1)+'" href="#del" class="c_del">删除</a></span></dd>'); contentNum=contentNum+1;//注数加1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); }else{ layer.alert('该玩法单注只支持'+getContentNum($('#type').val())+'个号码'); return false; } }); $('#choosedt').click(function(e) {//复试机选 no=[]; contentNum=0;//清空选号后,即选了0注 $('#dantuo .js_ball').removeClass('active'); if('r8'==$('#type').val()||'q1'==$('#type').val()){//任八只支持单式 layer.alert("任八不支持胆拖"); return false; } var maxDanNum=getContentNum($('#type').val())-1;//获取胆码最大数量 var randomDanNum=getRandomByMaxNum(maxDanNum);//随机胆码数量 var z0=''; noz=[];//暂用存储选号数组清空 for (var i = 0; i <randomDanNum ; i++) {//for循环生成指定数量的随机胆码 z0=getRandom(); if($.inArray(z0, noz)==-1){//数组中没有z0 noz.push(z0); }else{ i--; } } for (var i = 0; i <noz.length ; i++) { $('#nod' + noz[i]).addClass('active'); no.push('nod'+noz[i]); } var randomTuoNum=getContentNum($('#type').val())+1-randomDanNum;//获取到拖码数量 var nozt=[];//拖码暂用存放,必须和胆码进行分离,否则拖码中一定会有胆码 for (var i = 0; i <randomTuoNum ; i++) {//for循环生成指定数量的随机拖码 z0=getRandom(); if($.inArray(z0, noz)==-1&&$.inArray(z0, nozt)==-1){//数组中没有z0 nozt.push(z0); }else{ i--; } } for (var i = 0; i <nozt.length ; i++) { $('#not' + nozt[i]).addClass('active'); no.push('not'+nozt[i]); } contentNum=formulaP(getTuoNum(no), getContentNum($('#type').val())-getDanNum(no));//根据胆码及拖码数量计算注数 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); }) $('#choosef').click(function(e) {//复试机选 no=[]; contentNum=0;//清空选号后,即选了0注 $('#fushi .js_ball').removeClass('active'); if('r8'==$('#type').val()){//任八只支持单式 layer.alert("任八不支持复式"); return false; } var z0=''; noz=[];//暂用存储选号数组清空 for (var i = 0; i <getContentNum($('#type').val())+1 ; i++) { z0=getRandom(); if($.inArray(z0, noz)==-1){//数组中没有z0 noz.push(z0); }else{ i--; } } for (var i = 0; i <noz.length ; i++) { $('#nof' + noz[i]).addClass('active'); no.push('nof'+noz[i]); } contentNum=formulaP(no.length, getContentNum($('#type').val())); $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); }) var nochoosez=[]; $('#choose1').click(function(e) {//普通机选1注 if(no.length>=5){ layer.alert("最多只允许五注"); return false; } var z0=''; nochoosez=[];//暂用存储选号数组清空 for (var i = 0; i <getContentNum($('#type').val()) ; i++) { z0=getRandom(); if($.inArray(z0, nochoosez)==-1){//数组中没有z0 nochoosez.push(z0); }else{ i--; } } var strz=''; var nochoosez1=nochoosez; nochoosez1.sort(); for (var o = 0; o <getContentNum($('#type').val()); o++) { strz+=',nop'+nochoosez1[o]; } no.push(strz.substr(1)); delnoid=delnoid+1; $('#content').html($('#content').html()+'<dd id="del'+delnoid+'"><span class="type">'+getContentTitle($('#type').val())+'</span><span class="nums"><strong>'+strz.replace(new RegExp("nop","g"),'').substr(1)+'</strong></span><a id="del'+delnoid+'_'+strz.substr(1)+'" href="#del" class="c_del">删除</a></span></dd>'); contentNum=contentNum+1;//注数加1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); nochoosez=[]; }) $('#choose5').click(function(e) {//普通机选5注 // no=[]; // $('#content').empty();//删除所选元素下的子元素 // contentNum=0;//清空选号后,即选了0注 if(no.length>=1){ layer.alert("最多只允许五注"); return false; } for (var k = 0; k <5 ; k++) { var strz=''; var z0=''; nochoosez=[];//暂用存储选号数组清空 for (var i = 0; i <getContentNum($('#type').val()) ; i++) { z0=getRandom(); if($.inArray(z0, nochoosez)==-1){//数组中没有z0 nochoosez.push(z0); }else{ i--; } } var nochoosez1=nochoosez; nochoosez1.sort(); for (var o = 0; o <getContentNum($('#type').val()); o++) { strz+=',nop'+nochoosez1[o]; } no.push(strz.substr(1)); delnoid=delnoid+1; $('#content').html($('#content').html()+'<dd id="del'+delnoid+'"><span class="type">'+getContentTitle($('#type').val())+'</span><span class="nums"><strong>'+strz.replace(new RegExp("nop","g"),'').substr(1)+'</strong></span><a id="del'+delnoid+'_'+strz.substr(1)+'" href="#del" class="c_del">删除</a></span></dd>'); contentNum=contentNum+1;//注数加1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); } nochoosez=[]; }) $('#content').bind('click','.c_del',function(){//特别注意:针对js生成的部分,必须用父级菜单进行绑定事件才会生效 var idNo=$('#content .c_del').attr('id');//获取要删除的号码的id $('#'+idNo.split("_")[0]).remove();//因为有两个DIV,所以要删除两次 $('#'+idNo.split("_")[0]).remove();//因为有两个DIV,所以要删除两次 no.splice($.inArray(idNo.split("_")[1],no),1); contentNum=contentNum-1;//注数减1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); }); $('#contentzhi').bind('click','.c_del',function(){//特别注意:针对js生成的部分,必须用父级菜单进行绑定事件才会生效 var idNo=$('#contentzhi .c_del').attr('id');//获取要删除的号码的id $('#'+idNo.split("_")[0]).remove();//因为有两个DIV,所以要删除两次 //$('#'+idNo.split("_")[0]).remove();//因为有两个DIV,所以要删除两次 no.splice($.inArray(idNo.split("_")[1],no),1); contentNum=contentNum-1;//注数减1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); }); $('#delno').click(function(e) {//清空选号 no=[]; $('#content').empty();//删除所选元素下的子元素 contentNum=0;//清空选号后,即选了0注 $('#contentNum').html(0); $('#money').html(0); }) $('#alltuo').click(function(e) {//全拖,针对胆拖玩法 var danNum=getDanNum(no); if(danNum>0){//取得胆码数量 var noTuo=['not01','not02','not03','not04','not05','not06','not07','not08','not09','not10','not11']; //进行循环加拖码 for (var i = no.length-1; i >=0 ; i--) {//对选中的号码进行循环 if(no[i].indexOf('d')>0){//如果是胆码 noTuo.splice($.inArray(no[i].replace("d","t"),noTuo),1);//在拖码的合集中删除对应数字的拖码 }else{//如果是拖码,在no数组中删除,并在下方循环时加上,防止出现重复情况 no.splice($.inArray(no[i],no),1); } } for (var k = 0; k < noTuo.length; k++){//遍历拖码现有数组, $('#' + noTuo[k]).addClass('active'); no.push(noTuo[k]); } contentNum=formulaP(11-danNum, getContentNum($('#type').val())-danNum);//获取到拖码数量 $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); }else{//胆码数量小于等于0,即没有选择胆码 layer.alert("请最少选择一个胆码"); return false; } }) var no = [];//选中号码 var noz = [];//普通玩法中暂时选中的号码 $('#putong .js_ball').click(function() {//普通玩法号码选择 var idNo=$(this).attr('id'); if($('#' + idNo).hasClass('active')){ noz.splice($.inArray(idNo,noz),1); $('#' + idNo).removeClass('active'); //}else{ // if(noz.length==getContentNum($('#type').val())){//任八页面选中的号码超过8个 // layer.alert('当前玩法只支持选'+getContentNum($('#type').val())+'个号码,更多选号可切换到复式玩法!')//选中的号码中删除掉第一个选择的号码 // $('#putong .disabled').addClass('disabledcur'); // $('#' + idNo).addClass('active'); // noz.push(idNo); // }else{ // $('#putong .disabled').removeClass('disabledcur'); // } }else{ if(noz.length==getContentNum($('#type').val())){//任八页面选中的号码超过8个 layer.alert('当前玩法只支持选'+getContentNum($('#type').val())+'个号码,更多选号可切换到复式玩法!') return false; } $('#' + idNo).addClass('active'); noz.push(idNo); if(noz.length==getContentNum($('#type').val())){//任八页面选中的号码超过8个 $('#putong .disabled').addClass('disabledcur'); } } }); $('#fushi .js_ball').click(function() {//复式玩法号码选择 var idNo=$(this).attr('id'); if($('#' + idNo).hasClass('active')){ $('#' + idNo).removeClass('active'); no.splice($.inArray(idNo,no),1); contentNum=formulaP(no.length, getContentNum($('#type').val())); $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); }else{ $('#' + idNo).addClass('active'); no.push(idNo); if('r8'==$('#type').val()){//任八只支持单式 if(no.length>8){//任八页面选中的号码超过8个 $('#' + no[0]).addClass('active'); no.splice($.inArray(no[0],no),1);//选中的号码中删除掉第一个选择的号码 } } contentNum=formulaP(no.length, getContentNum($('#type').val())); $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); } }); $('#dantuo .js_ball').click(function() {//胆拖玩法号码选择 var idNo=$(this).attr('id'); if($('#' + idNo).hasClass('active')){ no.splice($.inArray(idNo,no),1); $('#' + idNo).removeClass('active'); if(getDanNum(no)>0){//如果胆码数量为0,则注数为0 contentNum=formulaP(getTuoNum(no), getContentNum($('#type').val())-getDanNum(no));//获取到拖码数量 }else{ contentNum=0; } $('#contentNum').html(contentNum);//计算注数 $('#money').html(number * contentNum * periodsNum * 2); }else{ if(idNo.indexOf('d')>0){//选择号码为胆码 var dNum=getDanNum(no);//获取到胆码的数量 if(dNum>=(getContentNum($('#type').val())-1)){//判断胆码数量 layer.alert('只能选择'+(getContentNum($('#type').val())-1)+'个胆码'); return false; }else{ $('#' + idNo).addClass('active'); no.push(idNo);//胆码颜色变红 //不论胆码中是否有个该拖码,都直接操作拖码颜色变白,并在数组中删除 $('#' + idNo.replace('nod','not')).removeClass('active'); //如果号码已经在数组中,进行删除,例如,选择的是nod01,判断not01已经在数组中,删除not01 var nod=idNo.replace('nod','not'); if($.inArray(nod,no)>=0){ no.splice($.inArray(nod,no),1); } contentNum=formulaP(getTuoNum(no), getContentNum($('#type').val())-getDanNum(no));//根据胆码及拖码数量计算注数 $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); } }else{//选择号码为拖码 $('#' + idNo).addClass('active'); no.push(idNo); //不论胆码中是否有个该拖码,都直接操作拖码颜色变白 $('#' + idNo.replace('not','nod')).removeClass('active'); var nod=idNo.replace('not','nod'); if($.inArray(nod,no)>=0){ no.splice($.inArray(nod,no),1); } if(getDanNum(no)>0){//如果胆码数量为0,则注数为0 contentNum=formulaP(getTuoNum(no), getContentNum($('#type').val())-getDanNum(no));//获取到拖码数量 }else{ contentNum=0; } $('#contentNum').html(contentNum);//计算注数 $('#money').html(number * contentNum * periodsNum * 2); } } }); $('#zhixuan .js_ball').click(function() {//取消选中号码情况 var idNo=$(this).attr('id'); if($('#' + idNo).hasClass('active')){//判定时选中号码 noz.splice($.inArray(idNo,noz),1); $('#' + idNo).removeClass('active'); }else{//进行手动选择号码 $('#' + idNo).addClass('active'); for (var nozi = noz.length-1; nozi >= 0; nozi--) {//倒序循环,防止出现删除数组内容后不继续遍历 //判断是否同一位已经选中数据,或者其他位置已经选中该号码 if(noz[nozi].indexOf(idNo.substr(0,3))>=0||noz[nozi].indexOf(idNo.substr(3,5))>=0){ $('#' + noz[nozi]).removeClass('active'); noz.splice($.inArray(noz[nozi],noz),1); } } noz.push(idNo); $('#' + idNo).addClass('active'); if((noz.length) >= getContentNum($('#type').val())){ $('.disabledzhi').addClass('disabledcur'); } } }); $('#addnozhi').click(function(e) {//普通玩法选多注 $('.disabledzhi').removeClass('disabledcur'); if(no.length>=5){ layer.alert("最多只允许五注"); return false; } noz.sort(function(a,b){ // sortrule是排序规则 var sortrule = ["noy", "noe", "nos"]; return sortrule.indexOf(a.substr(0,3)) - sortrule.indexOf(b.substr(0,3)) }); if(noz.length==getContentNum($('#type').val())){ $('#zhixuan .js_ball').removeClass('active'); var strz=''; for (var i = 0; i < noz.length; i++) {//对noz中的暂时选中号码进行遍历拼接 strz+=''+noz[i]; } noz=[];//清空暂时选中的号码 no.push(strz.substr(1)); delnoid=delnoid+1; $('#contentzhi').html($('#contentzhi').html()+'<dd id="del'+delnoid+'"><span class="type">'+getContentTitle($('#type').val())+'</span><span class="nums"><strong>'+strz.replace(new RegExp("noy","g"),',').replace(new RegExp("noe","g"),',').replace(new RegExp("nos","g"),',').substr(1)+'</strong></span><a id="del'+delnoid+'_'+strz.substr(1)+'" href="#del" class="c_del">删除</a></span></dd>'); contentNum=contentNum+1;//注数加1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); }else{ layer.alert('该玩法单注只支持'+getContentNum($('#type').val())+'个号码'); return false; } }) $('#choose1zhi').click(function(e) {//前二前三普通机选1注 if(no.length>=5){ layer.alert("最多只允许五注"); return false; } var z0=''; nochoosez=[];//暂用存储选号数组清空 for (var i = 0; i <getContentNum($('#type').val()) ; i++) { z0=getRandom(); if($.inArray(z0, nochoosez)==-1){//数组中没有z0 nochoosez.push(z0); }else{ i--; } } var strz=''; var nochoosez1=nochoosez; for (var o = 0; o <getContentNum($('#type').val()); o++) { if(o==0){strz+=',noy'+nochoosez1[o];} if(o==1){strz+=',noe'+nochoosez1[o];} if(o==2){strz+=',nos'+nochoosez1[o];} } no.push(strz.substr(1)); delnoid=delnoid+1; $('#contentzhi').html($('#contentzhi').html()+'<dd id="del'+delnoid+'"><span class="type">'+getContentTitle($('#type').val())+'</span><span class="nums"><strong>'+strz.replace(new RegExp("noy","g"),'').replace(new RegExp("noe","g"),'').replace(new RegExp("nos","g"),'').substr(1)+'</strong></span><a id="del'+delnoid+'_'+strz.substr(1)+'" href="#del" class="c_del">删除</a></span></dd>'); contentNum=contentNum+1;//注数加1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); nochoosez=[]; }) $('#choose5zhi').click(function(e) {//前二前三普通机选5注 // no=[]; // $('#contentzhi').empty();//删除所选元素下的子元素 // contentNum=0;//清空选号后,即选了0注 if(no.length>=1){ layer.alert("最多只允许五注"); return false; } for (var k = 0; k <5 ; k++) { var strz=''; var z0=''; nochoosez=[];//暂用存储选号数组清空 for (var i = 0; i <getContentNum($('#type').val()) ; i++) { z0=getRandom(); if($.inArray(z0, nochoosez)==-1){//数组中没有z0 nochoosez.push(z0); }else{ i--; } } var nochoosez1=nochoosez; for (var o = 0; o <getContentNum($('#type').val()); o++) { if(o==0){strz+=',noy'+nochoosez1[o];} if(o==1){strz+=',noe'+nochoosez1[o];} if(o==2){strz+=',nos'+nochoosez1[o];} } no.push(strz.substr(1)); delnoid=delnoid+1; $('#contentzhi').html($('#contentzhi').html()+'<dd id="del'+delnoid+'"><span class="type">'+getContentTitle($('#type').val())+'</span><span class="nums"><strong>'+strz.replace(new RegExp("noy","g"),'').replace(new RegExp("noe","g"),'').replace(new RegExp("nos","g"),'').substr(1)+'</strong></span><a id="del'+delnoid+'_'+strz.substr(1)+'" href="#del" class="c_del">删除</a></span></dd>'); contentNum=contentNum+1;//注数加1 $('#contentNum').html(contentNum); $('#money').html(contentNum * multiple * periodsNum * 2); } nochoosez=[]; }); $('#delnozhi').click(function(e) {//清空选号 no=[]; $('#contentzhi').empty();//删除所选元素下的子元素 contentNum=0;//清空选号后,即选了0注 $('#contentNum').html(0); $('#money').html(0); }); $('#choosefzhi').click(function(e) {//复试机选 no=[]; contentNum=0;//清空选号后,即选了0注 $('#fushizhi .js_ball').removeClass('active'); var z0=''; noz=[];//暂用存储选号数组清空 for (var i = 0; i <getContentNum($('#type').val()) ; i++) { z0=getRandom(); if($.inArray(z0, noz)==-1){//数组中没有z0 noz.push(z0); }else{ i--; } } for (var i = 0; i <noz.length ; i++) { $('#noqf' + noz[i]).addClass('active'); no.push('noqf'+noz[i]); } contentNum=formulaPz(no.length, getContentNum($('#type').val())); $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); }) $('#fushizhi .js_ball').click(function() {//组选复试玩法号码选择 var idNo=$(this).attr('id'); if($('#' + idNo).hasClass('active')){ no.splice($.inArray(idNo,no),1); $('#' + idNo).removeClass('active'); contentNum=formulaPz(no.length, getContentNum($('#type').val())); $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); }else{ $('#' + idNo).addClass('active'); no.push(idNo); contentNum=formulaPz(no.length, getContentNum($('#type').val())); $('#contentNum').html(contentNum); $('#money').html(number * contentNum * periodsNum * 2); } }); $('#toSubmit').click(function() { // var timeStamp=('' + Date.parse(new Date())).substr(0,10); var lastTime = $('#_m').html() + $('#_s').html(); if(contentNum==0){ layer.alert('请最少选择一注'); return false; } if(getDanNum(no)>0){//确定是胆拖玩法 if((getDanNum(no)+getTuoNum(no))<=getContentNum($('#type').val())){ layer.alert('胆码加拖码数量不能少于'+(getContentNum($('#type').val())+1)+'个'); return false; } } if (lastTime == '00').........完整代码请登录后点击上方下载按钮下载查看
网友评论0