Browse Source

[转盘修改]帝王全部改名

master
chenjingyu 4 years ago
parent
commit
18b586ab64
  1. 28
      src/assets/js/zhuanpan.js

28
src/assets/js/zhuanpan.js

@ -42,7 +42,7 @@ $(document).ready(function(){
if($(this).html().substring(0,4)=="钦州支队"){
//console.log(item)
turnplate.restaraunts = ["帝王财富中心(模板)", "龙城地下商业街(模板)", "钦州吾悦广场","广西东油沥青有限公司"];
turnplate.restaraunts = ["地王国际财富中心(模板)", "龙城地下商业街(模板)", "钦州吾悦广场","广西东油沥青有限公司"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=6
if(window.localStorage["6"]==undefined)
@ -121,7 +121,7 @@ $(document).ready(function(){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="柳州支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)", "龙城地下商业街", "板栗园加气站 ","柳州万达广场"];
turnplate.restaraunts = ["地王国际财富中心(模板)", "龙城地下商业街", "板栗园加气站 ","柳州万达广场"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=1
if(window.localStorage["1"]==undefined)
@ -163,7 +163,7 @@ $(document).ready(function(){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="河池支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)","广西河池市大洋购物中心", "河池市宜州区地下商业街", "河池市中石化金城江油库 "];
turnplate.restaraunts = ["地王国际财富中心(模板)","广西河池市大洋购物中心", "河池市宜州区地下商业街", "河池市中石化金城江油库 "];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=11
if(window.localStorage["11"]==undefined)
@ -323,7 +323,7 @@ $(document).ready(function(){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="崇左支队")
{
turnplate.restaraunts = ["钦州吾悦广场(模板)","龙城地下商业街(模板)","帝王财富中心(模板)","崇左油库"];
turnplate.restaraunts = ["钦州吾悦广场(模板)","龙城地下商业街(模板)","地王国际财富中心(模板)","崇左油库"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=13
if(window.localStorage["13"]==undefined)
@ -402,7 +402,7 @@ $(document).ready(function(){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="梧州支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "梧州市中石化火山油库" ];
turnplate.restaraunts = ["地王国际财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "梧州市中石化火山油库" ];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=3
if(window.localStorage["3"]==undefined)
@ -477,7 +477,7 @@ $(document).ready(function(){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="玉林支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "兴安油库(模板) "];
turnplate.restaraunts = ["地王国际财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "兴安油库(模板) "];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=8
if(window.localStorage["8"]==undefined)
@ -517,7 +517,7 @@ $(document).ready(function(){
}else if($(this).html().substring(0,4)=="北海支队")
{
console.log(turnplate.startAngle)
turnplate.restaraunts = ["帝王财富中心(模板)", "龙城地下商业街(模板)", "和安宁春城","广西东油沥青有限公司(模板)"];
turnplate.restaraunts = ["地王国际财富中心(模板)", "龙城地下商业街(模板)", "和安宁春城","广西东油沥青有限公司(模板)"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=4
if(window.localStorage["4"]==undefined)
@ -631,7 +631,7 @@ var rotateFn = function (item, txt){
if($(this).html().substring(0,4)=="钦州支队"){
console.log(turnplate.startAngle)
turnplate.restaraunts = ["帝王财富中心(模板)", "龙城地下商业街(模板)", "钦州吾悦广场","广西东油沥青有限公司"];
turnplate.restaraunts = ["地王国际财富中心(模板)", "龙城地下商业街(模板)", "钦州吾悦广场","广西东油沥青有限公司"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=6
//turnplate.startAngle=3
@ -706,7 +706,7 @@ var rotateFn = function (item, txt){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="柳州支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)", "龙城地下商业街", "板栗园加气站 ","柳州万达广场"];
turnplate.restaraunts = ["地王国际财富中心(模板)", "龙城地下商业街", "板栗园加气站 ","柳州万达广场"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=1
if(window.localStorage["1"]==undefined)
@ -742,7 +742,7 @@ var rotateFn = function (item, txt){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="河池支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)","广西河池市大洋购物中心", "河池市宜州区地下商业街", "河池市中石化金城江油库 "];
turnplate.restaraunts = ["地王国际财富中心(模板)","广西河池市大洋购物中心", "河池市宜州区地下商业街", "河池市中石化金城江油库 "];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=11
if(window.localStorage["11"]==undefined)
@ -888,7 +888,7 @@ var rotateFn = function (item, txt){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="崇左支队")
{
turnplate.restaraunts = ["钦州吾悦广场(模板)","龙城地下商业街(模板)","帝王财富中心(模板)","崇左油库"];
turnplate.restaraunts = ["钦州吾悦广场(模板)","龙城地下商业街(模板)","地王国际财富中心(模板)","崇左油库"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=13
if(window.localStorage["13"]==undefined)
@ -961,7 +961,7 @@ var rotateFn = function (item, txt){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="梧州支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "梧州市中石化火山油库" ];
turnplate.restaraunts = ["地王国际财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "梧州市中石化火山油库" ];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=3
if(window.localStorage["3"]==undefined)
@ -1033,7 +1033,7 @@ var rotateFn = function (item, txt){
drawRouletteWheel()
}else if($(this).html().substring(0,4)=="玉林支队")
{
turnplate.restaraunts = ["帝王财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "兴安油库(模板) "];
turnplate.restaraunts = ["地王国际财富中心(模板)", "钦州吾悦广场(模板)", "龙城地下商业街(模板)", "兴安油库(模板) "];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=8
if(window.localStorage["8"]==undefined)
@ -1070,7 +1070,7 @@ var rotateFn = function (item, txt){
}else if($(this).html().substring(0,4)=="北海支队")
{
console.log(turnplate.startAngle)
turnplate.restaraunts = ["帝王财富中心(模板)", "龙城地下商业街(模板)", "和安宁春城","广西东油沥青有限公司(模板)"];
turnplate.restaraunts = ["地王国际财富中心(模板)", "龙城地下商业街(模板)", "和安宁春城","广西东油沥青有限公司(模板)"];
turnplate.colors = ["#FFEBEA", "#FF7245", "#FFEBEA", "#FF7245"];
num=4
if(window.localStorage["4"]==undefined)

Loading…
Cancel
Save