GamePortrait/node_modules/.cache/babel-loader/c3543d491e1bd87752e90c8a8796060ac10ac246e76590d79338adfbd3331784.json

1 line
42 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"ast":null,"code":"import { ref, watch, nextTick, computed } from \"vue\";\nimport { useStore } from \"vuex\";\nimport { Waybill, WaybillbigRoad, NNcanvas, ToningWaybill, DiceWaybill, RouletteWaybill } from \"@/assets/js/waybill.js\";\nexport default {\n components: {},\n props: {\n dutch: {\n type: Boolean,\n default: true\n },\n wayType: {\n type: String,\n default: \"allway\"\n },\n data: {\n type: Object,\n default: () => {}\n },\n index: {\n type: Number,\n default: 0\n },\n routerName: {\n type: String,\n default: \"allway\"\n }\n },\n setup(props) {\n const store = useStore();\n const refItem = ref(null);\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const timeStamp = computed(() => store.state.config.timeStamp);\n const probability = computed(() => {\n const tabData = props.data;\n const totle = tabData.number_tab_number - 1;\n // console.log(tabData)\n let data = {};\n if (tabData.game_id == 1 || tabData.game_id == 2) {\n data.banker = totle ? parseInt(tabData.bankerCount / totle * 100) : 0;\n data.tie = totle ? parseInt(tabData.tieCount / totle * 100) : 0;\n data.palyer = totle ? parseInt(tabData.playerCount / totle * 100) : 0;\n data.bankerNum = data.banker;\n data.tieNum = data.tie;\n data.palyerNum = data.palyer;\n } else if (tabData.game_id == 4 || tabData.game_id == 5) {\n data.player1 = totle ? parseInt(tabData.player_1_count / totle * 100) : 0;\n data.player2 = totle ? parseInt(tabData.player_2_count / totle * 100) : 0;\n data.player3 = totle ? parseInt(tabData.player_3_count / totle * 100) : 0;\n data.player1Num = data.player1;\n data.player2Num = data.player2;\n data.player3Num = data.player3;\n } else if (tabData.game_id == 6) {\n try {\n data.zero_count = totle ? parseInt(tabData.count.zero_count / totle * 100) : 0;\n data.one_count = totle ? parseInt(tabData.count.one_count / totle * 100) : 0;\n data.two_count = totle ? parseInt(tabData.count.two_count / totle * 100) : 0;\n data.three_count = totle ? parseInt(tabData.count.three_count / totle * 100) : 0;\n data.four_count = totle ? parseInt(tabData.count.four_count / totle * 100) : 0;\n data.zeroNum = data.zero_count;\n data.oneNum = data.one_count;\n data.twoNum = data.two_count;\n data.threeNum = data.three_count;\n data.fourNum = data.four_count;\n } catch (err) {\n console.log(err);\n }\n } else if (tabData.game_id == 7) {\n try {\n data.big_count = totle ? parseInt(tabData.count.big_count / totle * 100) : 0;\n data.leopard_count = totle ? parseInt(tabData.count.leopard_count / totle * 100) : 0;\n data.small_count = totle ? parseInt(tabData.count.small_count / totle * 100) : 0;\n data.bigNum = data.big_count;\n data.leopardNum = data.leopard_count;\n data.smallNum = data.small_count;\n } catch (err) {\n console.log(err);\n }\n }\n if (data.player1 == 0 && data.player2 == 0 && data.player3 == 0) {\n data.player1 = 33;\n data.player2 = 33;\n data.player3 = 33;\n }\n if (data.banker == 0 && data.tie == 0 && data.palyer == 0) {\n data.banker = 33;\n data.tie = 33;\n data.palyer = 33;\n }\n if (data.big_count == 0 && data.leopard_count == 0 && data.small_count == 0) {\n data.big_count = 33;\n data.leopard_count = 33;\n data.small_count = 33;\n }\n if (data.zero_count == 0 && data.one_count == 0 && data.two_count == 0 && data.four_count == 0) {\n data.zero_count = 20;\n data.one_count = 20;\n data.two_count = 20;\n data.three_count = 20;\n data.four_count = 20;\n }\n return data;\n });\n watch(() => [props.data.ludan, props.wayType, timeStamp.value, Type.value], ([data, type]) => {\n const waybill = data?.waybill || {\n showRoad: [],\n bigRoad: [],\n bigEyeRoad: [],\n pathway: [],\n roach: [],\n sanxingRoad: [],\n bigRoadBS: [],\n bigRoadSP: []\n };\n const {\n showRoad = [],\n bigRoad = [],\n bigEyeRoad = [],\n pathway = [],\n roach = [],\n sanxingRoad = [],\n bigRoadBS = [],\n bigRoadSP = []\n } = waybill;\n let Ludan = [];\n if (props.data.game_id == 4 || props.data.game_id == 5) {\n Ludan = data || {\n waybill: []\n };\n } else {\n Ludan = {\n showRoad,\n bigRoad,\n bigEyeRoad,\n pathway,\n roach,\n sanxingRoad,\n bigRoadBS,\n bigRoadSP\n };\n }\n nextTick(() => {\n switch (type) {\n case \"bigway\":\n case \"allway\":\n resizeCanvas({\n game_id: props.data.game_id,\n ludan: Ludan\n }, refItem.value, type);\n break;\n case \"totle\":\n break;\n }\n });\n }, {\n immediate: true,\n deep: true\n });\n // 路单配置\n const resizeCanvas = (data, canvas, type) => {\n const getPixelRatio = context => {\n const backingStore = context.backingStorePixelRatio || context.webkitBackingStorePixelRatio || context.mozBackingStorePixelRatio || context.msBackingStorePixelRatio || context.oBackingStorePixelRatio || context.backingStorePixelRatio || 1;\n return (window.devicePixelRatio || 1) / backingStore;\n };\n const ctb = canvas.getContext(\"2d\"),\n dpr = getPixelRatio(ctb),\n height = canvas.clientHeight,\n width = canvas.clientWidth;\n let rows, cols, unit, path;\n if (data.game_id == 1 || data.game_id == 2) {\n rows = 6;\n unit = parseInt(height / rows) * dpr;\n cols = parseInt(width / (unit / dpr));\n if (cols % 2 != 0) {\n cols = cols - 1;\n }\n path = false;\n var ask = false,\n askroad = false;\n canvas.setAttribute(\"width\", unit * cols);\n canvas.setAttribute(\"height\", unit * rows);\n if (type == \"bigway\") {\n path = data.ludan?.bigRoad || [];\n WaybillbigRoad(ctb, unit, rows, cols, path, data.game_id, ask, askroad);\n } else {\n path = data.ludan;\n Waybill(ctb, unit, rows, cols, path, data.game_id, ask, askroad);\n }\n } else if (data.game_id == 4 || data.game_id == 5) {\n rows = 4;\n const unit_y = height / rows * dpr,\n unit_x = unit_y * 1.05;\n cols = parseInt(width / (unit_x / dpr));\n path = false;\n canvas.setAttribute(\"width\", unit_x * cols);\n canvas.setAttribute(\"height\", unit_y * rows);\n if (data.ludan.waybill) {\n path = data.ludan.waybill;\n }\n NNcanvas(data.game_id, ctb, unit_x, unit_y, rows, cols, path);\n } else if (data.game_id == 6) {\n rows = 6;\n unit = parseInt(height / rows) * dpr;\n cols = parseInt(width / (unit / dpr));\n if (cols % 2 != 0) {\n cols = cols - 1;\n }\n path = false;\n canvas.setAttribute(\"width\", unit * cols);\n canvas.setAttribute(\"height\", unit * rows);\n path = data.ludan;\n let billnumber = 2,\n showBigWay = false;\n if (type == \"bigway\") {\n billnumber = 1;\n showBigWay = true;\n }\n path = data.ludan;\n ToningWaybill(ctb, unit, rows, cols, path, data.game_id, billnumber, showBigWay);\n } else if (data.game_id == 7) {\n rows = 6;\n const unit = height / rows * dpr,\n cols = parseInt(width / (unit / dpr));\n path = false;\n canvas.setAttribute(\"width\", unit * cols);\n canvas.setAttribute(\"height\", unit * rows);\n if (data.ludan) {\n path = data.ludan;\n }\n DiceWaybill(ctb, unit, rows, cols, path);\n } else if (data.game_id == 8) {\n rows = 6;\n const unit = height / rows * dpr,\n cols = parseInt(width / (unit / dpr));\n path = false;\n canvas.setAttribute(\"width\", unit * cols);\n canvas.setAttribute(\"height\", unit * rows);\n if (data.ludan) {\n path = data.ludan;\n }\n RouletteWaybill(ctb, unit, rows, cols, path);\n }\n };\n return {\n Type,\n Lang,\n probability,\n refItem\n };\n }\n};","map":{"version":3,"names":["ref","watch","nextTick","computed","useStore","Waybill","WaybillbigRoad","NNcanvas","ToningWaybill","DiceWaybill","RouletteWaybill","components","props","dutch","type","Boolean","default","wayType","String","data","Object","index","Number","routerName","setup","store","refItem","Type","state","config","$Type","Lang","$lang","timeStamp","probability","tabData","totle","number_tab_number","game_id","banker","parseInt","bankerCount","tie","tieCount","palyer","playerCount","bankerNum","tieNum","palyerNum","player1","player_1_count","player2","player_2_count","player3","player_3_count","player1Num","player2Num","player3Num","zero_count","count","one_count","two_count","three_count","four_count","zeroNum","oneNum","twoNum","threeNum","fourNum","err","console","log","big_count","leopard_count","small_count","bigNum","leopardNum","smallNum","ludan","value","waybill","showRoad","bigRoad","bigEyeRoad","pathway","roach","sanxingRoad","bigRoadBS","bigRoadSP","Ludan","resizeCanvas","immediate","deep","canvas","getPixelRatio","context","backingStore","backingStorePixelRatio","webkitBackingStorePixelRatio","mozBackingStorePixelRatio","msBackingStorePixelRatio","oBackingStorePixelRatio","window","devicePixelRatio","ctb","getContext","dpr","height","clientHeight","width","clientWidth","rows","cols","unit","path","ask","askroad","setAttribute","unit_y","unit_x","billnumber","showBigWay"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/components/WayBox.vue"],"sourcesContent":["<template>\n <div class=\"way-box\">\n <template v-if=\"wayType != 'totle'\">\n <!-- <div class=\"dutch\" v-if=\"wayType == 'bigway' && dutch\">\n <img class=\"pic\" src=\"~@/assets/images/lady.png\" alt=\"\" />\n </div> -->\n <div class=\"way\">\n <canvas class=\"canvas\" ref=\"refItem\"></canvas>\n </div>\n </template>\n <template v-else>\n <div class=\"flex flex-1 flex-v\">\n <div class=\"totle\">\n <div class=\"lable\">{{ Lang[Type].totalGame }}</div>\n <div class=\"box\">\n <span v-if=\"data.game_id == 1\" class=\"name\">\n {{ Lang[Type].p_banker }}\n </span>\n <span v-if=\"data.game_id == 1\" class=\"num\">\n {{ data.banker_pair_Count || 0 }}\n </span>\n <span v-if=\"data.game_id == 1\" class=\"name\">\n {{ Lang[Type].p_player }}\n </span>\n <span v-if=\"data.game_id == 1\" class=\"num\">\n {{ data.player_pair_Count || 0 }}\n </span>\n <span class=\"name\">{{ Lang[Type].game }}</span>\n <span class=\"num\">{{ data.number_tab_number - 1 || 0 }}</span>\n </div>\n </div>\n <div class=\"progress\" v-if=\"data.game_id == 1 || data.game_id == 2\">\n <div class=\"item banker\" :style=\"{ width: `${probability.banker}%` }\">\n <div class=\"box\">\n <span class=\"type\">\n <template v-if=\"data.game_id == 1\">\n {{ Type == \"cn\" ? \"庄\" : Type == \"tw\" ? \"莊\" : \"B\" }}\n </template>\n <template v-if=\"data.game_id == 2\">\n {{ Type == \"cn\" ? \"龙\" : Type == \"tw\" ? \"龍\" : \"D\" }}\n </template>\n </span>\n <span class=\"num\">{{ data.bankerCount }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.bankerNum }}%</span>\n </div>\n </div>\n <div class=\"item palyer\" :style=\"{ width: `${probability.palyer}%` }\">\n <div class=\"box\">\n <span class=\"type\">\n <template v-if=\"data.game_id == 1\">\n {{ Type == \"cn\" ? \"闲\" : Type == \"tw\" ? \"閒\" : \"P\" }}\n </template>\n <template v-if=\"data.game_id == 2\">\n {{ Type == \"cn\" ? \"虎\" : Type == \"tw\" ? \"虎\" : \"T\" }}\n </template>\n </span>\n <span class=\"num\">{{ data.playerCount }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.palyerNum }}%</span>\n </div>\n </div>\n <div class=\"item tie\" :style=\"{ width: `${probability.tie}%` }\">\n <div class=\"box\">\n <span class=\"type\">\n {{ Type == \"cn\" ? \"和\" : Type == \"tw\" ? \"和\" : \"T\" }}\n </span>\n <span class=\"num\">{{ data.tieCount }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.tieNum }}%</span>\n </div>\n </div>\n </div>\n <!-- ==牛牛== -->\n <div class=\"progress\" v-if=\"data.game_id == 4 || data.game_id == 5\">\n <div\n class=\"item banker\"\n :style=\"{ width: `${probability.player1}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">\n {{ Type == \"cn\" ? \"闲1\" : Type == \"tw\" ? \"閒1\" : \"P1\" }}\n </span>\n <span class=\"num\">{{ data.player_1_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.player1Num }}%</span>\n </div>\n </div>\n <div\n class=\"item palyer\"\n :style=\"{ width: `${probability.player2}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">\n {{ Type == \"cn\" ? \"闲2\" : Type == \"tw\" ? \"閒2\" : \"P2\" }}\n </span>\n <span class=\"num\">{{ data.player_2_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.player2Num }}%</span>\n </div>\n </div>\n <div class=\"item tie\" :style=\"{ width: `${probability.player3}%` }\">\n <div class=\"box\">\n <span class=\"type\">\n {{ Type == \"cn\" ? \"闲3\" : Type == \"tw\" ? \"閒3\" : \"P3\" }}\n </span>\n <span class=\"num\">{{ data.player_3_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.player3Num }}%</span>\n </div>\n </div>\n </div>\n <!-- 色碟 -->\n <div class=\"progress\" v-if=\"data.game_id == 6\">\n <!-- 0 -->\n <div\n class=\"item black\"\n :style=\"{ width: `${probability.zero_count}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">0</span>\n <span class=\"num\">{{ data.count.zero_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.zeroNum }}%</span>\n </div>\n </div>\n <!-- 1 -->\n <div\n class=\"item palyer toning\"\n :style=\"{ width: `${probability.one_count}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">1</span>\n <span class=\"num\">{{ data.count.one_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.oneNum }}%</span>\n </div>\n </div>\n <!-- 2 -->\n <div class=\"item tie\" :style=\"{ width: `${probability.two_count}%` }\">\n <div class=\"box\">\n <span class=\"type\">2</span>\n <span class=\"num\">{{ data.count.two_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.twoNum }}%</span>\n </div>\n </div>\n <!-- 3 -->\n <div\n class=\"item yellow\"\n :style=\"{ width: `${probability.three_count}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">3</span>\n <span class=\"num\">{{ data.count.three_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.threeNum }}%</span>\n </div>\n </div>\n <!-- 4 -->\n <div\n class=\"item banker\"\n :style=\"{ width: `${probability.four_count}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">4</span>\n <span class=\"num\">{{ data.count.four_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.fourNum }}%</span>\n </div>\n </div>\n </div>\n <!-- 骰宝 -->\n <div class=\"progress\" v-if=\"data.game_id == 7\">\n <div\n class=\"item banker\"\n :style=\"{ width: `${probability.big_count}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">{{ Lang[Type].big }}</span>\n <span class=\"num\">{{ data.count.big_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.bigNum }}%</span>\n </div>\n </div>\n <div\n class=\"item palyer\"\n :style=\"{ width: `${probability.small_count}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">{{ Lang[Type].small }}</span>\n <span class=\"num\">{{ data.count.small_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.smallNum }}%</span>\n </div>\n </div>\n <div\n class=\"item tie\"\n :style=\"{ width: `${probability.leopard_count}%` }\"\n >\n <div class=\"box\">\n <span class=\"type\">{{ Lang[Type].wai }}</span>\n <span class=\"num\">{{ data.count.leopard_count }}</span>\n </div>\n <div class=\"bar\">\n <span>{{ probability.leopardNum }}%</span>\n </div>\n </div>\n </div>\n <!-- 轮盘 -->\n <div class=\"progress\" v-if=\"data.game_id == 8\"></div>\n </div>\n </template>\n </div>\n</template>\n<script>\nimport { ref, watch, nextTick, computed } from \"vue\"\nimport { useStore } from \"vuex\"\nimport {\n Waybill,\n WaybillbigRoad,\n NNcanvas,\n ToningWaybill,\n DiceWaybill,\n RouletteWaybill\n} from \"@/assets/js/waybill.js\"\nexport default {\n components: {},\n props: {\n dutch: {\n type: Boolean,\n default: true\n },\n wayType: {\n type: String,\n default: \"allway\"\n },\n data: {\n type: Object,\n default: () => {}\n },\n index: {\n type: Number,\n default: 0\n },\n routerName: {\n type: String,\n default: \"allway\"\n }\n },\n setup(props) {\n const store = useStore()\n const refItem = ref(null)\n const Type = computed(() => store.state.config.$Type)\n const Lang = computed(() => store.state.config.$lang)\n const timeStamp = computed(() => store.state.config.timeStamp)\n const probability = computed(() => {\n const tabData = props.data\n const totle = tabData.number_tab_number - 1\n // console.log(tabData)\n let data = {}\n if (tabData.game_id == 1 || tabData.game_id == 2) {\n data.banker = totle ? parseInt((tabData.bankerCount / totle) * 100) : 0\n data.tie = totle ? parseInt((tabData.tieCount / totle) * 100) : 0\n data.palyer = totle ? parseInt((tabData.playerCount / totle) * 100) : 0\n data.bankerNum = data.banker\n data.tieNum = data.tie\n data.palyerNum = data.palyer\n } else if (tabData.game_id == 4 || tabData.game_id == 5) {\n data.player1 = totle\n ? parseInt((tabData.player_1_count / totle) * 100)\n : 0\n data.player2 = totle\n ? parseInt((tabData.player_2_count / totle) * 100)\n : 0\n data.player3 = totle\n ? parseInt((tabData.player_3_count / totle) * 100)\n : 0\n data.player1Num = data.player1\n data.player2Num = data.player2\n data.player3Num = data.player3\n } else if (tabData.game_id == 6) {\n try {\n data.zero_count = totle\n ? parseInt((tabData.count.zero_count / totle) * 100)\n : 0\n data.one_count = totle\n ? parseInt((tabData.count.one_count / totle) * 100)\n : 0\n data.two_count = totle\n ? parseInt((tabData.count.two_count / totle) * 100)\n : 0\n data.three_count = totle\n ? parseInt((tabData.count.three_count / totle) * 100)\n : 0\n data.four_count = totle\n ? parseInt((tabData.count.four_count / totle) * 100)\n : 0\n data.zeroNum = data.zero_count\n data.oneNum = data.one_count\n data.twoNum = data.two_count\n data.threeNum = data.three_count\n data.fourNum = data.four_count\n } catch (err) {\n console.log(err)\n }\n } else if (tabData.game_id == 7) {\n try {\n data.big_count = totle\n ? parseInt((tabData.count.big_count / totle) * 100)\n : 0\n data.leopard_count = totle\n ? parseInt((tabData.count.leopard_count / totle) * 100)\n : 0\n data.small_count = totle\n ? parseInt((tabData.count.small_count / totle) * 100)\n : 0\n data.bigNum = data.big_count\n data.leopardNum = data.leopard_count\n data.smallNum = data.small_count\n } catch (err) {\n console.log(err)\n }\n }\n if (data.player1 == 0 && data.player2 == 0 && data.player3 == 0) {\n data.player1 = 33\n data.player2 = 33\n data.player3 = 33\n }\n if (data.banker == 0 && data.tie == 0 && data.palyer == 0) {\n data.banker = 33\n data.tie = 33\n data.palyer = 33\n }\n if (\n data.big_count == 0 &&\n data.leopard_count == 0 &&\n data.small_count == 0\n ) {\n data.big_count = 33\n data.leopard_count = 33\n data.small_count = 33\n }\n if (\n data.zero_count == 0 &&\n data.one_count == 0 &&\n data.two_count == 0 &&\n data.four_count == 0\n ) {\n data.zero_count = 20\n data.one_count = 20\n data.two_count = 20\n data.three_count = 20\n data.four_count = 20\n }\n return data\n })\n\n watch(\n () => [props.data.ludan, props.wayType, timeStamp.value, Type.value],\n ([data, type]) => {\n const waybill = data?.waybill || {\n showRoad: [],\n bigRoad: [],\n bigEyeRoad: [],\n pathway: [],\n roach: [],\n sanxingRoad: [],\n bigRoadBS: [],\n bigRoadSP: []\n }\n const {\n showRoad = [],\n bigRoad = [],\n bigEyeRoad = [],\n pathway = [],\n roach = [],\n sanxingRoad = [],\n bigRoadBS = [],\n bigRoadSP = []\n } = waybill\n\n let Ludan = []\n if (props.data.game_id == 4 || props.data.game_id == 5) {\n Ludan = data || { waybill: [] }\n } else {\n Ludan = {\n showRoad,\n bigRoad,\n bigEyeRoad,\n pathway,\n roach,\n sanxingRoad,\n bigRoadBS,\n bigRoadSP\n }\n }\n nextTick(() => {\n switch (type) {\n case \"bigway\":\n case \"allway\":\n resizeCanvas(\n {\n game_id: props.data.game_id,\n ludan: Ludan\n },\n refItem.value,\n type\n )\n break\n case \"totle\":\n break\n }\n })\n },\n { immediate: true, deep: true }\n )\n // 路单配置\n const resizeCanvas = (data, canvas, type) => {\n const getPixelRatio = (context) => {\n const backingStore =\n context.backingStorePixelRatio ||\n context.webkitBackingStorePixelRatio ||\n context.mozBackingStorePixelRatio ||\n context.msBackingStorePixelRatio ||\n context.oBackingStorePixelRatio ||\n context.backingStorePixelRatio ||\n 1\n return (window.devicePixelRatio || 1) / backingStore\n }\n const ctb = canvas.getContext(\"2d\"),\n dpr = getPixelRatio(ctb),\n height = canvas.clientHeight,\n width = canvas.clientWidth\n\n let rows, cols, unit, path\n if (data.game_id == 1 || data.game_id == 2) {\n rows = 6\n unit = parseInt(height / rows) * dpr\n cols = parseInt(width / (unit / dpr))\n\n if (cols % 2 != 0) {\n cols = cols - 1\n }\n\n path = false\n var ask = false,\n askroad = false\n\n canvas.setAttribute(\"width\", unit * cols)\n canvas.setAttribute(\"height\", unit * rows)\n if (type == \"bigway\") {\n path = data.ludan?.bigRoad || []\n WaybillbigRoad(\n ctb,\n unit,\n rows,\n cols,\n path,\n data.game_id,\n ask,\n askroad\n )\n } else {\n path = data.ludan\n Waybill(ctb, unit, rows, cols, path, data.game_id, ask, askroad)\n }\n } else if (data.game_id == 4 || data.game_id == 5) {\n rows = 4\n const unit_y = (height / rows) * dpr,\n unit_x = unit_y * 1.05\n cols = parseInt(width / (unit_x / dpr))\n path = false\n canvas.setAttribute(\"width\", unit_x * cols)\n canvas.setAttribute(\"height\", unit_y * rows)\n if (data.ludan.waybill) {\n path = data.ludan.waybill\n }\n NNcanvas(data.game_id, ctb, unit_x, unit_y, rows, cols, path)\n } else if (data.game_id == 6) {\n rows = 6\n unit = parseInt(height / rows) * dpr\n cols = parseInt(width / (unit / dpr))\n if (cols % 2 != 0) {\n cols = cols - 1\n }\n path = false\n canvas.setAttribute(\"width\", unit * cols)\n canvas.setAttribute(\"height\", unit * rows)\n path = data.ludan\n let billnumber = 2,\n showBigWay = false\n if (type == \"bigway\") {\n billnumber = 1\n showBigWay = true\n }\n path = data.ludan\n ToningWaybill(\n ctb,\n unit,\n rows,\n cols,\n path,\n data.game_id,\n billnumber,\n showBigWay\n )\n } else if (data.game_id == 7) {\n rows = 6\n const unit = (height / rows) * dpr,\n cols = parseInt(width / (unit / dpr))\n path = false\n canvas.setAttribute(\"width\", unit * cols)\n canvas.setAttribute(\"height\", unit * rows)\n if (data.ludan) {\n path = data.ludan\n }\n DiceWaybill(ctb, unit, rows, cols, path)\n } else if (data.game_id == 8) {\n rows = 6\n const unit = (height / rows) * dpr,\n cols = parseInt(width / (unit / dpr))\n path = false\n canvas.setAttribute(\"width\", unit * cols)\n canvas.setAttribute(\"height\", unit * rows)\n if (data.ludan) {\n path = data.ludan\n }\n RouletteWaybill(ctb, unit, rows, cols, path)\n }\n }\n return {\n Type,\n Lang,\n probability,\n refItem\n }\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n.way-box {\n background: #fff;\n display: flex;\n width: 100%;\n height: 4.2rem;\n .dutch {\n width: 3.32rem;\n height: 4.2rem;\n background: url(\"~@/assets/images/dutch_bg.png\") no-repeat;\n background-size: 100% 100%;\n margin-right: 4px;\n .pic {\n width: 96%;\n }\n }\n .way {\n flex: 1;\n }\n canvas {\n width: 100%;\n height: 4.2rem;\n display: block;\n // border: 1px solid #deded9;\n box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.1);\n }\n .totle {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 2px 0;\n .lable {\n color: #66696d;\n font-weight: bold;\n position: relative;\n padding-left: 6px;\n font-size: 12px;\n\n &::before {\n content: \"\";\n border-left: 3px solid #66696d;\n height: 10px;\n position: absolute;\n left: 0;\n top: 50%;\n margin-top: -5px;\n border-radius: 2px;\n }\n }\n .box {\n display: flex;\n align-items: center;\n .name {\n padding-left: 10px;\n color: #a9abad;\n }\n .num {\n color: #8e9092;\n }\n }\n }\n .progress {\n width: 100%;\n flex: 1;\n background: #f5f7fa;\n border-radius: 2px;\n display: flex;\n align-items: center;\n text-align: center;\n padding: 0 5px;\n .item {\n min-width: 40px;\n .box {\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n .type {\n border-radius: 20px;\n width: 20px;\n height: 20px;\n font-size: 10px;\n line-height: 20px;\n overflow: hidden;\n &::after {\n display: none;\n }\n &::before {\n display: none;\n }\n }\n .num {\n padding-left: 8px;\n font-size: 12px;\n line-height: 1;\n }\n }\n .bar {\n border-radius: 20px;\n margin-top: 10px;\n position: relative;\n span {\n position: relative;\n z-index: 10;\n }\n }\n &.banker {\n .type,\n .bar {\n background: linear-gradient(180deg, #f75848 0%, #f0473c 100%);\n color: #fff;\n }\n }\n &.palyer {\n .type,\n .bar {\n background: linear-gradient(180deg, #3e9cfb 0%, #348df7 100%);\n color: #fff;\n }\n .bar {\n &::before {\n content: \"\";\n position: absolute;\n height: 100%;\n left: -10px;\n width: 20px;\n background: url(\"~@/assets/images/red_blue.png\") no-repeat;\n background-size: 100% 100%;\n z-index: 9;\n }\n &::after {\n content: \"\";\n position: absolute;\n height: 100%;\n right: -10px;\n width: 20px;\n background: url(\"~@/assets/images/blue_green.png\") no-repeat;\n background-size: 100% 100%;\n z-index: 9;\n }\n }\n &.toning {\n .bar::before {\n display: none;\n }\n }\n }\n &.tie {\n .type,\n .bar {\n background: linear-gradient(180deg, #6cbc54 0%, #4aae34 100%);\n color: #fff;\n }\n }\n &.yellow {\n .type,\n .bar {\n background: linear-gradient(180deg, #ffc53b 0%, #ffb120 100%);\n color: #fff;\n }\n .bar {\n &::before {\n content: \"\";\n position: absolute;\n height: 100%;\n left: -10px;\n width: 20px;\n background: url(\"~@/assets/images/blue_yellow.png\") no-repeat;\n background-size: 100% 100%;\n z-index: 9;\n }\n &::after {\n content: \"\";\n position: absolute;\n height: 100%;\n right: -10px;\n width: 20px;\n background: url(\"~@/assets/images/yellow_red.png\") no-repeat;\n background-size: 100% 100%;\n z-index: 9;\n }\n }\n }\n &.black {\n .type,\n .bar {\n background: linear-gradient(180deg, #626262 0%, #525252 100%);\n color: #fff;\n &::after {\n content: \"\";\n position: absolute;\n height: 100%;\n right: -10px;\n width: 20px;\n background: url(\"~@/assets/images/black_blue.png\") no-repeat;\n background-size: 100% 100%;\n z-index: 9;\n }\n }\n }\n }\n }\n}\n</style>\n"],"mappings":"AAqOA,SAASA,GAAG,EAAEC,KAAK,EAAEC,QAAQ,EAAEC,QAAO,QAAS,KAAI;AACnD,SAASC,QAAO,QAAS,MAAK;AAC9B,SACEC,OAAO,EACPC,cAAc,EACdC,QAAQ,EACRC,aAAa,EACbC,WAAW,EACXC,eAAc,QACT,wBAAuB;AAC9B,eAAe;EACbC,UAAU,EAAE,CAAC,CAAC;EACdC,KAAK,EAAE;IACLC,KAAK,EAAE;MACLC,IAAI,EAAEC,OAAO;MACbC,OAAO,EA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