1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"ast":null,"code":"import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, withModifiers as _withModifiers, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, createBlock as _createBlock, Transition as _Transition, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nimport _imports_0 from '@/assets/images/dice/video_btn.png';\nimport _imports_1 from '@/assets/images/dice/table_btn.png';\nimport _imports_2 from '@/assets/images/roulette/video_btn.png';\nimport _imports_3 from '@/assets/images/roulette/table_btn.png';\nconst _withScopeId = n => (_pushScopeId(\"data-v-5af63a2e\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"nav\"\n};\nconst _hoisted_2 = {\n class: \"left\"\n};\nconst _hoisted_3 = {\n class: \"user\"\n};\nconst _hoisted_4 = {\n class: \"name\"\n};\nconst _hoisted_5 = {\n class: \"money\"\n};\nconst _hoisted_6 = {\n class: \"right\"\n};\nconst _hoisted_7 = {\n class: \"cutdown\"\n};\nconst _hoisted_8 = {\n class: \"box\"\n};\nconst _hoisted_9 = {\n class: \"view\"\n};\nconst _hoisted_10 = {\n class: \"left-btn\"\n};\nconst _hoisted_11 = {\n key: 0,\n class: \"dice-btn\"\n};\nconst _hoisted_12 = {\n key: 1,\n class: \"roulette-btn\"\n};\nconst _hoisted_13 = {\n class: \"right-btn\"\n};\nconst _hoisted_14 = [\"src\"];\nconst _hoisted_15 = {\n class: \"game-area\"\n};\nconst _hoisted_16 = {\n key: 0,\n class: \"switchView animate__fadeIn animated0\"\n};\nconst _hoisted_17 = {\n key: 1,\n class: \"switchView camera animate__fadeIn animated0\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_Circle = _resolveComponent(\"Circle\");\n const _component_PlayChip = _resolveComponent(\"PlayChip\");\n const _component_PlayTable = _resolveComponent(\"PlayTable\");\n const _component_RushVillage = _resolveComponent(\"RushVillage\");\n const _component_PlayWay = _resolveComponent(\"PlayWay\");\n const _component_Poker = _resolveComponent(\"Poker\");\n const _component_ToningResult = _resolveComponent(\"ToningResult\");\n const _component_DiceResult = _resolveComponent(\"DiceResult\");\n const _component_RouletteResult = _resolveComponent(\"RouletteResult\");\n const _component_SwitchTab = _resolveComponent(\"SwitchTab\");\n const _component_setCamera = _resolveComponent(\"setCamera\");\n const _component_PlayTypePop = _resolveComponent(\"PlayTypePop\");\n const _component_TableInfoPop = _resolveComponent(\"TableInfoPop\");\n const _component_OnLinePop = _resolveComponent(\"OnLinePop\");\n return _openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"play\", [{\n offcamera: !$setup.switchVideo\n }, {\n no_bg: $setup.tableData && ($setup.tableData.game_id == 7 || $setup.tableData.game_id == 8)\n }]])\n }, [_createElementVNode(\"div\", _hoisted_1, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", {\n class: \"back\",\n onClick: _cache[0] || (_cache[0] = $event => $setup.router.replace({\n name: $setup.routerStack\n }))\n }), _createElementVNode(\"div\", _hoisted_3, [_createElementVNode(\"div\", _hoisted_4, _toDisplayString($setup.userInfo.username), 1), _createElementVNode(\"div\", _hoisted_5, _toDisplayString($setup.userInfo.money), 1)])]), _createElementVNode(\"div\", _hoisted_6, [_withDirectives(_createElementVNode(\"div\", _hoisted_7, [_createVNode(_component_Circle, {\n \"current-rate\": $setup.currentRate,\n \"onUpdate:currentRate\": _cache[1] || (_cache[1] = $event => $setup.currentRate = $event),\n \"start-position\": \"left\",\n size: 38,\n \"stroke-width\": 120,\n rate: $setup.circle.rate,\n color: {\n '0%': '#3fecff',\n '100%': '#6149f6'\n },\n \"layer-color\": \"rgba(255,255,255,0.3)\",\n text: `${$setup.circle.num || 0}`\n }, null, 8, [\"current-rate\", \"rate\", \"text\"])], 512), [[_vShow, $setup.tableData && ($setup.tableData.sendMode == 'startBetCountDown' || $setup.tableData.sendMode == 'toBet' || $setup.tableData.sendMode == 'toBetFlase')]]), _createElementVNode(\"ul\", _hoisted_8, [_createElementVNode(\"li\", {\n class: _normalizeClass([\"btn camera\", {\n off: !$setup.switchVideo\n }]),\n onClick: _cache[2] || (_cache[2] = _withModifiers($event => $setup.showSwitchCamera(true), [\"stop\"]))\n }, null, 2), _createElementVNode(\"li\", {\n class: \"btn muise\",\n onClick: _cache[3] || (_cache[3] = (...args) => $setup.toggleAplayer && $setup.toggleAplayer(...args))\n }), _createElementVNode(\"li\", {\n class: \"btn menu\",\n onClick: _cache[4] || (_cache[4] = (...args) => $setup.showMenu && $setup.showMenu(...args))\n })])])]), _createElementVNode(\"div\", _hoisted_9, [_createElementVNode(\"div\", {\n class: \"video\",\n ref: \"videoDom\",\n onClick: _cache[15] || (_cache[15] = _withModifiers($event => $setup.closeSwitchView(false), [\"stop\"]))\n }, [_createElementVNode(\"ul\", _hoisted_10, [$setup.tableData && $setup.tableData.game_id == 7 && $setup.switchVideo == true ? (_openBlock(), _createElementBlock(\"li\", _hoisted_11, [$setup.hideVideo ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"img-btn\",\n src: _imports_0,\n alt: \"\",\n onClick: _cache[5] || (_cache[5] = (...args) => $setup.toggleVide && $setup.toggleVide(...args))\n })) : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"img-btn\",\n src: _imports_1,\n alt: \"\",\n onClick: _cache[6] || (_cache[6] = (...args) => $setup.toggleVide && $setup.toggleVide(...args))\n }))])) : _createCommentVNode(\"\", true), $setup.tableData && $setup.tableData.game_id == 8 && $setup.switchVideo == true ? (_openBlock(), _createElementBlock(\"li\", _hoisted_12, [$setup.hideVideo ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n class: \"img-btn\",\n src: _imports_2,\n alt: \"\",\n onClick: _cache[7] || (_cache[7] = (...args) => $setup.toggleVide && $setup.toggleVide(...args))\n })) : (_openBlock(), _createElementBlock(\"img\", {\n key: 1,\n class: \"img-btn\",\n src: _imports_3,\n alt: \"\",\n onClick: _cache[8] || (_cache[8] = (...args) => $setup.toggleVide && $setup.toggleVide(...args))\n }))])) : _createCommentVNode(\"\", true), $setup.tableData && $setup.tableData.game_id == 8 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 2,\n class: \"btn switch\",\n onClick: _cache[9] || (_cache[9] = (...args) => $setup.switchRouletteType && $setup.switchRouletteType(...args))\n })) : _createCommentVNode(\"\", true), $setup.tableData && $setup.tableData.game_id == 1 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 3,\n class: \"btn switch\",\n onClick: _cache[10] || (_cache[10] = (...args) => $setup.showBaccaratPlayType && $setup.showBaccaratPlayType(...args))\n })) : _createCommentVNode(\"\", true), $setup.tableData && $setup.tableData.game_id == 1 ? (_openBlock(), _createElementBlock(\"li\", {\n key: 4,\n class: _normalizeClass([\"btn free\", [{\n active: $setup.baccaratType == 1\n }, {\n en: $setup.Type != 'tw' && $setup.Type != 'cn'\n }]]),\n onClick: _cache[11] || (_cache[11] = (...args) => $setup.showSetFree && $setup.showSetFree(...args))\n }, null, 2)) : _createCommentVNode(\"\", true), _createElementVNode(\"li\", {\n class: \"btn tip\",\n onClick: _cache[12] || (_cache[12] = (...args) => $setup.showTableInfo && $setup.showTableInfo(...args))\n }), _createElementVNode(\"li\", {\n class: \"btn people\",\n onClick: _cache[13] || (_cache[13] = (...args) => $setup.showOnLine && $setup.showOnLine(...args)),\n style: _normalizeStyle({\n marginBottom: $setup.tableData && ($setup.tableData.game_id == 4 || $setup.tableData.game_id == 5) ? '1.5rem' : 0\n })\n }, null, 4)]), _createElementVNode(\"ul\", _hoisted_13, [_createElementVNode(\"li\", {\n class: \"btn switch-tab\",\n onClick: _cache[14] || (_cache[14] = _withModifiers($event => $setup.showSwitchtab(true), [\"stop\"]))\n })]), $setup.switchVideo && $setup.tableData ? (_openBlock(), _createElementBlock(\"iframe\", {\n key: 0,\n style: _normalizeStyle({\n width: $setup.foxVideo.w,\n height: $setup.foxVideo.h,\n marginTop: $setup.foxVideo.mt\n }),\n class: _normalizeClass([\"iframe\", [{\n scale: $setup.videoConfig.zoom && $setup.tableData.sendMode && ($setup.tableData.sendMode == 'endBet' || $setup.tableData.sendMode == 'sendScanResult')\n }]]),\n src: $setup.videoUrl\n }, null, 14, _hoisted_14)) : _createCommentVNode(\"\", true)], 512), _createElementVNode(\"div\", _hoisted_15, [_createVNode(_component_PlayChip), $setup.tableData && ($setup.tableData.game_id == 7 || $setup.tableData.game_id == 8) ? (_openBlock(), _createBlock(_Transition, {\n key: 0,\n name: \"custom-classes\",\n \"enter-active-class\": \"animate__animated animate__faster animate__fadeInRight\",\n \"leave-active-class\": \"animate__animated animate__faster animate__fadeOutRight\"\n }, {\n default: _withCtx(() => [$setup.hideVideo ? (_openBlock(), _createBlock(_component_PlayTable, {\n key: 0,\n class: \"dice-table\",\n ref: \"chipTable\",\n game_id: $setup.tableData?.game_id,\n sendMode: $setup.tableData?.sendMode,\n table_id: $setup.tableData?.id,\n number_tab_id: $setup.tableData?.number_tab_id,\n is_scavenging: $setup.tableData?.is_scavenging,\n winArray: $setup.winArray,\n bet_amount_msg: $setup.tableData?.bet_amount_msg,\n can_bet_big_small: $setup.tableData?.can_bet_big_small,\n can_bet_luck_six: $setup.tableData?.can_bet_luck_six,\n limit_money: $setup.tableData?.limit_money,\n limit_money_pair: $setup.tableData?.limit_money_pair,\n limit_money_tie: $setup.tableData?.limit_money_tie,\n tableData: $setup.tableData\n }, null, 8, [\"game_id\", \"sendMode\", \"table_id\", \"number_tab_id\", \"is_scavenging\", \"winArray\", \"bet_amount_msg\", \"can_bet_big_small\", \"can_bet_luck_six\", \"limit_money\", \"limit_money_pair\", \"limit_money_tie\", \"tableData\"])) : _createCommentVNode(\"\", true)]),\n _: 1\n })) : (_openBlock(), _createBlock(_component_PlayTable, {\n key: 1,\n ref: \"chipTable\",\n game_id: $setup.tableData?.game_id,\n sendMode: $setup.tableData?.sendMode,\n table_id: $setup.tableData?.id,\n number_tab_id: $setup.tableData?.number_tab_id,\n is_scavenging: $setup.tableData?.is_scavenging,\n winArray: $setup.winArray,\n bet_amount_msg: $setup.tableData?.bet_amount_msg,\n can_bet_big_small: $setup.tableData?.can_bet_big_small,\n can_bet_luck_six: $setup.tableData?.can_bet_luck_six,\n limit_money: $setup.tableData?.limit_money,\n limit_money_pair: $setup.tableData?.limit_money_pair,\n limit_money_tie: $setup.tableData?.limit_money_tie,\n tableData: $setup.tableData,\n class: _normalizeClass([{\n hideTable: $setup.tableData && ($setup.tableData.sendMode == 'sendScanResult' || $setup.tableData.sendMode == 'endBet') && ($setup.tableData.game_id == 4 || $setup.tableData.game_id == 5)\n }])\n }, null, 8, [\"game_id\", \"sendMode\", \"table_id\", \"number_tab_id\", \"is_scavenging\", \"winArray\", \"bet_amount_msg\", \"can_bet_big_small\", \"can_bet_luck_six\", \"limit_money\", \"limit_money_pair\", \"limit_money_tie\", \"tableData\", \"class\"])), $setup.tableData && $setup.tableData.is_rob == 1 ? (_openBlock(), _createBlock(_component_RushVillage, {\n key: 2,\n thisData: $setup.tableData\n }, null, 8, [\"thisData\"])) : _createCommentVNode(\"\", true)]), _createElementVNode(\"div\", {\n class: \"wayView\",\n onClick: _cache[16] || (_cache[16] = _withModifiers($event => $setup.closeSwitchView(false), [\"stop\"]))\n }, [_createVNode(_component_PlayWay, {\n tableData: $setup.tableData\n }, null, 8, [\"tableData\"]), $setup.tableData && $setup.tableData.is_scavenging == 1 ? (_openBlock(), _createBlock(_component_Poker, {\n key: 0,\n class: \"pokerView\",\n thisData: $setup.tableData\n }, null, 8, [\"thisData\"])) : _createCommentVNode(\"\", true), $setup.showToningResult ? (_openBlock(), _createBlock(_component_ToningResult, {\n key: 1,\n result: $setup.tableData.round && $setup.tableData.round.result,\n sendMode: $setup.tableData.sendMode\n }, null, 8, [\"result\", \"sendMode\"])) : _createCommentVNode(\"\", true), $setup.showDiceResult ? (_openBlock(), _createBlock(_component_DiceResult, {\n key: 2,\n result: $setup.tableData.round && $setup.tableData.round.result,\n sendMode: $setup.tableData.sendMode\n }, null, 8, [\"result\", \"sendMode\"])) : _createCommentVNode(\"\", true), $setup.showRouletteResult ? (_openBlock(), _createBlock(_component_RouletteResult, {\n key: 3,\n resultInfo: $setup.tableData.round,\n sendMode: $setup.tableData.sendMode\n }, null, 8, [\"resultInfo\", \"sendMode\"])) : _createCommentVNode(\"\", true)]), $setup.switchtabshow ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [_createVNode(_component_SwitchTab, {\n onShowSwitchtab: $setup.showSwitchtab,\n tabInfo: {\n game_id: $setup.tableData && $setup.tableData.game_id,\n table_id: $setup.tableData && $setup.tableData.id\n }\n }, null, 8, [\"onShowSwitchtab\", \"tabInfo\"])])) : _createCommentVNode(\"\", true), $setup.switchCameraShow ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [_createVNode(_component_setCamera, {\n onShowSwitchCamera: $setup.showSwitchCamera\n }, null, 8, [\"onShowSwitchCamera\"])])) : _createCommentVNode(\"\", true)]), _createVNode(_component_PlayTypePop, {\n class: \"play-type-pop\"\n }), _createVNode(_component_TableInfoPop, {\n class: \"table-info-pop\",\n tableData: $setup.tableData\n }, null, 8, [\"tableData\"]), _createVNode(_component_OnLinePop, {\n class: \"online-pop\"\n })], 2);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]} |