Browse Source

[抽签]功能实现并修改

master
chenjingyu 4 years ago
parent
commit
ac7ef5c35c
  1. 4
      src/assets/js/zhuanpan.js

4
src/assets/js/zhuanpan.js

@ -15,7 +15,7 @@ num=-1
$(document).ready(function(){
//var chooseid = $( "span[name='zhidui']").attr('id');
$("span[name='aaa']").on("click",function(){
console.log($(this).html())
//console.log($(this).html())
if($(this).html()=="钦州支队"){
turnplate.restaraunts = ["广西东油沥青有限公司", "钦州吾悦广场", "钦州天亿石化有限公司"];
turnplate.colors = ["#FFF4D6", "#FFFFFF", "#FFF4D6"];
@ -256,7 +256,7 @@ $(document).ready(function(){
drawRouletteWheel()
}
});
console.log(turnplate.restaraunts)
//console.log(turnplate.restaraunts)
//动态添加大转盘的奖品与奖品区域背景颜色
/* turnplate.restaraunts = ["广西", "亿", "", " ", "", ""];
turnplate.colors = ["#FFF4D6", "#FFFFFF", "#FFF4D6", "#FFFFFF","#FFF4D6", "#FFFFFF"]; */

Loading…
Cancel
Save