chore: 更新 .gitignore 规则,排除构建产物和缓存文件

- 添加 .DS_Store(macOS 系统文件)
- 添加 dist.zip 和 *.tar.gz(构建压缩包)
- 添加 node_modules/.cache/(Node 模块缓存)
- 添加 .setting/(IDE 配置目录)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
li 2026-01-17 23:16:57 +08:00
parent c19ebf267a
commit 1ce0a9e722
292 changed files with 13 additions and 289 deletions

BIN
.DS_Store vendored

Binary file not shown.

13
.gitignore vendored
View File

@ -1 +1,14 @@
.ace-tool/ .ace-tool/
# macOS
.DS_Store
# Build artifacts
dist.zip
*.tar.gz
# Node modules cache
node_modules/.cache/
# IDE settings
.setting/

BIN
dist.zip

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, TransitionGroup as _TransitionGroup, withCtx as _withCtx, createVNode as _createVNode } from \"vue\";\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"chip-view\", {\n win: $props.win\n }])\n }, [_createVNode(_TransitionGroup, {\n class: \"chip-box\",\n tag: \"ul\",\n \"enter-from-class\": \"chip-enter-from\",\n \"leave-to-class\": \"chip-leave-to\"\n }, {\n default: _withCtx(() => [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($props.list, (item, index) => {\n return _openBlock(), _createElementBlock(\"li\", {\n class: \"box\",\n key: `${item.key}_${index}`,\n style: _normalizeStyle({\n top: item.y,\n left: item.x\n })\n }, [_createElementVNode(\"i\", {\n class: _normalizeClass([\"chip\", [item.key, item.type]])\n }, null, 2)], 4);\n }), 128))]),\n _: 1\n })], 2);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, vShow as _vShow, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-d16bf8aa\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"login\"\n};\nconst _hoisted_2 = {\n class: \"langview\"\n};\nconst _hoisted_3 = {\n class: \"select-box\"\n};\nconst _hoisted_4 = [\"onClick\"];\nconst _hoisted_5 = {\n class: \"content\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_van_field = _resolveComponent(\"van-field\");\n const _component_van_icon = _resolveComponent(\"van-icon\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", {\n class: \"select\",\n onClick: _cache[0] || (_cache[0] = $event => $setup.showLangselect(true))\n }, _toDisplayString($setup.langList[$setup.Type]), 1), _withDirectives(_createElementVNode(\"div\", _hoisted_3, [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(Object.keys($setup.langList), item => {\n return _openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"option\", {\n active: item == $setup.Type\n }]),\n key: item,\n onClick: $event => $setup.choseLang(item)\n }, _toDisplayString($setup.langList[item]), 11, _hoisted_4);\n }), 128))], 512), [[_vShow, $setup.langselect]])]), _createElementVNode(\"div\", _hoisted_5, [_createVNode(_component_van_field, {\n class: \"input\",\n modelValue: $setup.username,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = $event => $setup.username = $event),\n type: \"text\",\n label: $setup.Lang[$setup.Type].account\n }, null, 8, [\"modelValue\", \"label\"]), _createVNode(_component_van_field, {\n class: \"input\",\n modelValue: $setup.password,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = $event => $setup.password = $event),\n type: $setup.showPassword ? 'text' : 'password',\n label: $setup.Lang[$setup.Type].password\n }, {\n \"right-icon\": _withCtx(() => [_createVNode(_component_van_icon, {\n onClick: _cache[2] || (_cache[2] = $event => $setup.showPassword = !$setup.showPassword),\n name: $setup.showPassword ? 'eye-o' : 'closed-eye'\n }, null, 8, [\"name\"])]),\n _: 1\n }, 8, [\"modelValue\", \"type\", \"label\"]), _createElementVNode(\"div\", {\n class: \"btn\",\n onClick: _cache[4] || (_cache[4] = $event => $setup.doLogin('login'))\n }, _toDisplayString($setup.Lang[$setup.Type].login), 1), _createElementVNode(\"div\", {\n class: \"btn\",\n onClick: _cache[5] || (_cache[5] = $event => $setup.doLogin('dome'))\n }, _toDisplayString($setup.Lang[$setup.Type].dome), 1)])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nimport { audioMp3 } from \"@/assets/js/sound.js\";\nexport default {\n name: \"PlayChip\",\n components: {},\n setup() {\n const store = useStore();\n const chipArry = computed(() => store.state.config.chipArry.filter(v => v.show == true));\n const chooseChip = computed(() => store.state.app.chooseChip);\n const chooseFn = item => {\n store.commit(\"app/updateChooseChip\", item);\n audioMp3([\"check\"]).Play();\n };\n return {\n chipArry,\n chooseChip,\n chooseFn\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { withModifiers as _withModifiers, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, vShow as _vShow, normalizeStyle as _normalizeStyle, withDirectives as _withDirectives, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-7a4a0e34\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n key: 0,\n class: \"btn-box\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"touch-view\", {\n pointer: !$props.data.show\n }])\n }, [$props.data.show ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"span\", {\n class: \"cancel btn\",\n onClick: _cache[0] || (_cache[0] = _withModifiers((...args) => $setup.cancel && $setup.cancel(...args), [\"stop\"]))\n }), _createElementVNode(\"span\", {\n class: \"confirm btn\",\n onClick: _cache[1] || (_cache[1] = _withModifiers((...args) => $setup.confirm && $setup.confirm(...args), [\"stop\"]))\n })])) : _createCommentVNode(\"\", true), _withDirectives(_createElementVNode(\"div\", {\n class: \"num\",\n style: _normalizeStyle({\n marginTop: $props.data.show ? `0` : `1rem`\n })\n }, _toDisplayString($props.data.money) + \" \" + _toDisplayString($props.data.times ? `${$setup.Lang[$setup.Type].withhold}${$props.data.money * ($props.data.game_id == 4 ? 4 : 19)}` : \"\"), 5), [[_vShow, $props.data.money > 0]])], 2);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-690d8f72\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"tabbar\"\n};\nconst _hoisted_2 = [\"src\"];\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_van_tabbar_item = _resolveComponent(\"van-tabbar-item\");\n const _component_van_tabbar = _resolveComponent(\"van-tabbar\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_component_van_tabbar, {\n modelValue: $setup.active,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.active = $event)\n }, {\n default: _withCtx(() => [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.tabbar, (item, index) => {\n return _openBlock(), _createBlock(_component_van_tabbar_item, {\n onClick: $event => $setup.changeEvnt(item),\n name: $setup.tabbar.name,\n key: index,\n to: item.to\n }, {\n icon: _withCtx(props => [_createElementVNode(\"img\", {\n src: props.active ? $setup.tabbar[index].icon.active : $setup.tabbar[index].icon.inactive\n }, null, 8, _hoisted_2)]),\n _: 2\n }, 1032, [\"onClick\", \"name\", \"to\"]);\n }), 128))]),\n _: 1\n }, 8, [\"modelValue\"])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-391538d0\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"hall\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_HallNav = _resolveComponent(\"HallNav\");\n const _component_HallList = _resolveComponent(\"HallList\");\n const _component_Tabbar = _resolveComponent(\"Tabbar\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_component_HallNav), _createVNode(_component_HallList), _createVNode(_component_Tabbar)]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Transition as _Transition, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-094f5ebe\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n key: 0,\n class: \"play-type-pop\"\n};\nconst _hoisted_2 = {\n class: \"play-type-view\"\n};\nconst _hoisted_3 = {\n class: \"title\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_van_icon = _resolveComponent(\"van-icon\");\n return _openBlock(), _createBlock(_Transition, {\n name: \"custom-classes\",\n \"enter-active-class\": \"animate__animated animate__zoomIn\",\n \"leave-active-class\": \"animate__animated animate__zoomOut\"\n }, {\n default: _withCtx(() => [$setup.showBaccaratPlayType ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", _hoisted_3, [_createTextVNode(_toDisplayString($setup.Lang[$setup.Type].switch_play) + \" \", 1), _createVNode(_component_van_icon, {\n class: \"close\",\n name: \"cross\",\n onClick: $setup.closeBaccaratPlayType\n }, null, 8, [\"onClick\"])]), _createElementVNode(\"div\", {\n class: _normalizeClass([\"list\", [$setup.Type]])\n }, [_createElementVNode(\"div\", {\n class: _normalizeClass([\"item classics\", {\n active: $setup.baccaratPlayType == 'classics'\n }]),\n onClick: _cache[0] || (_cache[0] = $event => $setup.chooseType('classics'))\n }, null, 2)], 2), _createElementVNode(\"div\", {\n class: _normalizeClass([\"list\", [$setup.Type]])\n }, [_createElementVNode(\"div\", {\n class: _normalizeClass([\"item long\", {\n active: $setup.baccaratPlayType == 'long'\n }]),\n onClick: _cache[1] || (_cache[1] = $event => $setup.chooseType('long'))\n }, null, 2), _createElementVNode(\"div\", {\n class: _normalizeClass([\"item pairs\", {\n active: $setup.baccaratPlayType == 'pairs'\n }]),\n onClick: _cache[2] || (_cache[2] = $event => $setup.chooseType('pairs'))\n }, null, 2), _createElementVNode(\"div\", {\n class: _normalizeClass([\"item super\", {\n active: $setup.baccaratPlayType == 'super'\n }]),\n onClick: _cache[3] || (_cache[3] = $event => $setup.chooseType('super'))\n }, null, 2)], 2), _createElementVNode(\"div\", {\n class: _normalizeClass([\"list\", [$setup.Type]])\n }, [_createElementVNode(\"div\", {\n class: _normalizeClass([\"item tiger\", {\n active: $setup.baccaratPlayType == 'tiger'\n }]),\n onClick: _cache[4] || (_cache[4] = $event => $setup.chooseType('tiger'))\n }, null, 2), _createElementVNode(\"div\", {\n class: _normalizeClass([\"item sky\", {\n active: $setup.baccaratPlayType == 'sky'\n }]),\n onClick: _cache[5] || (_cache[5] = $event => $setup.chooseType('sky'))\n }, null, 2), _createElementVNode(\"div\", {\n class: _normalizeClass([\"item longhu\", {\n active: $setup.baccaratPlayType == 'longhu'\n }]),\n onClick: _cache[6] || (_cache[6] = $event => $setup.chooseType('longhu'))\n }, null, 2)], 2)])])) : _createCommentVNode(\"\", true)]),\n _: 1\n });\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { ref, onMounted, computed, watch } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useStore } from \"vuex\";\nimport { Tabbar, TabbarItem, showDialog } from \"vant\";\nexport default {\n name: \"TabBar\",\n components: {\n \"van-tabbar\": Tabbar,\n \"van-tabbar-item\": TabbarItem\n },\n setup() {\n const router = useRouter();\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const active = ref(0);\n const tabbar = ref([]);\n watch(() => [Type.value], ([language]) => {\n const prefix = language == \"kr\" || language == \"yn\" || language == \"tl\" || language == \"in\" ? \"en\" : language;\n tabbar.value = [{\n // text: \"百家乐\",\n name: \"hall\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_classics_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_classics.png`)\n },\n to: \"/baccarat\"\n }, {\n // text: \"龙虎\",\n name: \"lh\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_lh_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_lh.png`)\n },\n to: \"/longhu\"\n }, {\n // text: \"牛牛\",\n name: \"nn\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_nn_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_nn.png`)\n },\n to: \"/nn\"\n }, {\n // text: \"色碟\",\n name: \"toning\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_sd_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_sd.png`)\n },\n to: \"/toning\"\n }, {\n // text: \"骰宝\",\n name: \"dice\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_sb_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_sb.png`)\n },\n to: \"/dice\"\n }, {\n // text: \"炸金花\",\n name: \"threecard\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_sbnn_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_sbnn.png`)\n },\n to: \"/threecard\"\n }, {\n // text: \"轮盘\",\n name: \"lp\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_lp_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_lp.png`)\n }\n //to: \"/lp\"\n }, {\n // text: \"多台\",\n name: \"multiple\",\n icon: {\n active: require(`../assets/images/tabbar/${prefix}_multiple_active.png`),\n inactive: require(`../assets/images/tabbar/${prefix}_multiple.png`)\n }\n // to: \"/multiple\"\n }];\n }, {\n immediate: true,\n deep: true\n });\n const changeEvnt = data => {\n //if (![\"hall\", \"lh\", \"nn\", \"toning\", \"dice\", \"lp\"].includes(data.name)) {\n //if (![\"hall\", \"lh\", \"nn\", \"toning\", \"dice\"].includes(data.name)) {\n if (![\"hall\", \"lh\", \"nn\", \"toning\", \"dice\", \"threecard\"].includes(data.name)) {\n showDialog({\n title: Lang.value[Type.value].tips,\n message: Lang.value[Type.value].msg_waiting_development,\n confirmButtonText: Lang.value[Type.value].Confirm\n }).then(() => {\n active.value = 0;\n });\n }\n };\n onMounted(() => {\n const routerName = router.currentRoute.value.name;\n active.value = routerName == \"nn\" ? 2 : routerName == \"longhu\" ? 1 : routerName == \"toning\" ? 3 : routerName == \"dice\" ? 4 : routerName == \"threecard\" ? 5 : routerName == \"lp\" ? 6 : 0;\n });\n return {\n tabbar,\n active,\n changeEvnt\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-34fe5d7e\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"tabbar\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_van_tabbar_item = _resolveComponent(\"van-tabbar-item\");\n const _component_van_tabbar = _resolveComponent(\"van-tabbar\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_component_van_tabbar, {\n modelValue: $setup.active,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.active = $event)\n }, {\n default: _withCtx(() => [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($setup.tabbar, (item, index) => {\n return _openBlock(), _createBlock(_component_van_tabbar_item, {\n key: index,\n name: item.name,\n onClick: $event => $setup.handleClick(item)\n }, {\n icon: _withCtx(props => [_createElementVNode(\"span\", {\n class: _normalizeClass([\"tab-icon\", {\n active: props.active\n }])\n }, _toDisplayString(item.icon), 3)]),\n default: _withCtx(() => [_createElementVNode(\"span\", {\n class: _normalizeClass([\"tab-text\", {\n active: $setup.active === item.name\n }])\n }, _toDisplayString(item.text), 3)]),\n _: 2\n }, 1032, [\"name\", \"onClick\"]);\n }), 128))]),\n _: 1\n }, 8, [\"modelValue\"])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nexport default {\n name: \"confirmBet\",\n components: {},\n props: {\n data: {\n type: Object,\n default: () => ({\n money: 0,\n show: false,\n times: false,\n game_id: 4\n })\n }\n },\n setup(props, {\n emit\n }) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n // 确认下注\n const confirm = () => {\n emit(\"confirm\");\n };\n // 取消下注\n const cancel = () => {\n emit(\"cancel\");\n };\n return {\n Type,\n Lang,\n confirm,\n cancel,\n props\n };\n }\n};","map":{"version":3,"names":["computed","useStore","name","components","props","data","type","Object","default","money","show","times","game_id","setup","emit","store","Type","state","config","$Type","Lang","$lang","confirm","cancel"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/components/confirmBet.vue"],"sourcesContent":["<template>\n <div class=\"touch-view\" :class=\"{ pointer: !data.show }\">\n <div class=\"btn-box\" v-if=\"data.show\">\n <span class=\"cancel btn\" @click.stop=\"cancel\"></span>\n <span class=\"confirm btn\" @click.stop=\"confirm\"></span>\n </div>\n <div\n class=\"num\"\n :style=\"{ marginTop: data.show ? `0` : `1rem` }\"\n v-show=\"data.money > 0\"\n >\n {{ data.money }}\n {{\n data.times\n ? `${Lang[Type].withhold}${data.money * (data.game_id == 4 ? 4 : 19)}`\n : \"\"\n }}\n </div>\n </div>\n</template>\n\n<script>\nimport { computed } from \"vue\"\nimport { useStore } from \"vuex\"\nexport default {\n name: \"confirmBet\",\n components: {},\n props: {\n data: {\n type: Object,\n default: () => ({\n money: 0,\n show: false,\n times: false,\n game_id: 4\n })\n }\n },\n setup(props, { emit }) {\n const store = useStore()\n const Type = computed(() => store.state.config.$Type)\n const Lang = computed(() => store.state.config.$lang)\n // 确认下注\n const confirm = () => {\n emit(\"confirm\")\n }\n // 取消下注\n const cancel = () => {\n emit(\"cancel\")\n }\n return {\n Type,\n Lang,\n confirm,\n cancel,\n props\n }\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n/* 深色豪华主题配色 */\n$gold: #c5a059;\n\n.pointer {\n pointer-events: none;\n}\n.touch-view {\n position: absolute;\n width: 2 * 1.35rem;\n z-index: 99;\n left: 50%;\n bottom: 80%;\n transform: translateX(-50%);\n text-align: center;\n height: 1rem;\n .num {\n background: rgba(197, 160, 89, 0.9);\n border-radius: 1rem;\n color: #000;\n font-size: 0.4rem;\n padding: 0.02rem 0.05rem;\n border: 1px solid $gold;\n pointer-events: none;\n font-weight: 600;\n }\n .btn-box {\n display: flex;\n justify-content: center;\n margin-bottom: 0.05rem;\n .btn {\n width: 0.95 * 1.35rem;\n height: 0.95 * 1.35rem;\n background: url(\"~@/assets/images/sprite_btn.png\");\n background-size: 2.2 * 1.35rem auto;\n &.cancel {\n background-position: -0.07 * 1.35rem -0.04 * 1.35rem;\n &:active {\n background-position: -1.18 * 1.35rem -0.04 * 1.35rem;\n }\n }\n &.confirm {\n margin-left: 0.1rem;\n background-position: -0.05 * 1.35rem -1.14 * 1.35rem;\n &:active {\n background-position: -1.17 * 1.35rem -1.13 * 1.35rem;\n }\n }\n }\n }\n}\n</style>\n"],"mappings":"AAsBA,SAASA,QAAO,QAAS,KAAI;AAC7B,SAASC,QAAO,QAAS,MAAK;AAC9B,eAAe;EACbC,IAAI,EAAE,YAAY;EAClBC,UAAU,EAAE,CAAC,CAAC;EACdC,KAAK,EAAE;IACLC,IAAI,EAAE;MACJC,IAAI,EAAEC,MAAM;MACZC,OAAO,EAAEA,CAAA,MAAO;QACdC,KAAK,EAAE,CAAC;QACRC,IAAI,EAAE,KAAK;QACXC,KAAK,EAAE,KAAK;QACZC,OAAO,EAAE;MACX,CAAC;IACH;EACF,CAAC;EACDC,KAAKA,CAACT,KAAK,EAAE;IAAEU;EAAK,CAAC,EAAE;IACrB,MAAMC,KAAI,GAAId,QAAQ,EAAC;IACvB,MAAMe,IAAG,GAAIhB,QAAQ,CAAC,MAAMe,KAAK,CAACE,KAAK,CAACC,MAAM,CAACC,KAAK;IACpD,MAAMC,IAAG,GAAIpB,QAAQ,CAAC,MAAMe,KAAK,CAACE,KAAK,CAACC,MAAM,CAACG,KAAK;IACpD;IACA,MAAMC,OAAM,GAAIA,CAAA,KAAM;MACpBR,IAAI,CAAC,SAAS;IAChB;IACA;IACA,MAAMS,MAAK,GAAIA,CAAA,KAAM;MACnBT,IAAI,CAAC,QAAQ;IACf;IACA,OAAO;MACLE,IAAI;MACJI,IAAI;MACJE,OAAO;MACPC,MAAM;MACNnB;IACF;EACF;AACF"},"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nimport _imports_0 from '@/assets/images/icon/back.png';\nimport _imports_1 from '@/assets/images/icon/drop.png';\nimport _imports_2 from '@/assets/images/icon/music.png';\nimport _imports_3 from '@/assets/images/icon/menu.png';\nconst _withScopeId = n => (_pushScopeId(\"data-v-df6e8ede\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"navbar\"\n};\nconst _hoisted_2 = {\n class: \"user\"\n};\nconst _hoisted_3 = {\n class: \"name\"\n};\nconst _hoisted_4 = {\n class: \"money\"\n};\nconst _hoisted_5 = {\n class: \"drop-view\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_NavBar = _resolveComponent(\"NavBar\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_component_NavBar, {\n clickable: false\n }, {\n left: _withCtx(() => [_createElementVNode(\"img\", {\n class: \"icon\",\n onClick: _cache[0] || (_cache[0] = (...args) => $setup.logout && $setup.logout(...args)),\n src: _imports_0,\n alt: \"\"\n }), _createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", _hoisted_3, _toDisplayString($setup.userInfo.username), 1), _createElementVNode(\"div\", _hoisted_4, _toDisplayString($setup.userInfo.money), 1)])]),\n title: _withCtx(() => [_createTextVNode(_toDisplayString($setup.Lang[$setup.Type].game_hall), 1)]),\n right: _withCtx(() => [_createElementVNode(\"img\", {\n class: \"icon\",\n onClick: _cache[1] || (_cache[1] = (...args) => $setup.toggleDrop && $setup.toggleDrop(...args)),\n src: _imports_1,\n alt: \"\"\n }), _createElementVNode(\"img\", {\n class: \"icon margin\",\n onClick: _cache[2] || (_cache[2] = (...args) => $setup.toggleAplayer && $setup.toggleAplayer(...args)),\n src: _imports_2,\n alt: \"\"\n }), _createElementVNode(\"img\", {\n class: \"icon\",\n onClick: _cache[3] || (_cache[3] = (...args) => $setup.showMenu && $setup.showMenu(...args)),\n src: _imports_3,\n alt: \"\"\n })]),\n _: 1\n }), _withDirectives(_createElementVNode(\"div\", _hoisted_5, [_createElementVNode(\"div\", {\n onClick: _cache[4] || (_cache[4] = $event => $setup.checkType('bigway')),\n class: _normalizeClass([\"btn animate__animated animated-delay01 animate__bounceIn bigway\", [{\n active: $setup.wayType == 'bigway'\n }, $setup.Type]])\n }, null, 2), _createElementVNode(\"div\", {\n onClick: _cache[5] || (_cache[5] = $event => $setup.checkType('allway')),\n class: _normalizeClass([\"btn animate__animated animated-delay03 animate__bounceIn allway\", [{\n active: $setup.wayType == 'allway'\n }, $setup.Type]])\n }, null, 2), _createElementVNode(\"div\", {\n onClick: _cache[6] || (_cache[6] = $event => $setup.checkType('totle')),\n class: _normalizeClass([\"btn animate__animated animated-delay04 animate__bounceIn totle\", [{\n active: $setup.wayType == 'totle'\n }, $setup.Type]])\n }, null, 2)], 512), [[_vShow, $setup.showBnt]])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nimport confirmBet from \"@/components/confirmBet.vue\";\nimport chipView from \"@/components/chipView.vue\";\nimport { diceData } from \"@/utils/common\";\nexport default {\n name: \"TableDice\",\n components: {\n confirmBet,\n chipView\n },\n props: {\n touch: {\n type: String,\n default: \"\"\n },\n bet_amount_msg: {\n type: Object,\n default: () => ({\n ...diceData.amount\n })\n },\n winArray: {\n type: Array,\n default: () => []\n },\n downChip: {\n type: Object,\n default: () => ({\n ...diceData.amount\n })\n },\n chipArray: {\n type: Object,\n default: () => ({\n ...diceData.array\n })\n }\n },\n setup(prop, context) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const downBet = (e, type) => {\n context.emit(\"downBet\", e, type);\n };\n const confirmChip = () => {\n context.emit(\"confirmChip\");\n };\n const cancelChip = () => {\n context.emit(\"cancelChip\");\n };\n return {\n Type,\n Lang,\n downBet,\n confirmChip,\n cancelChip\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import HallNav from \"@/components/HallNav.vue\";\nimport Tabbar from \"@/components/Tabbar.vue\";\nimport HallList from \"@/components/HallList.vue\";\nexport default {\n name: \"HallView\",\n components: {\n Tabbar,\n HallNav,\n HallList\n },\n setup() {}\n};","map":{"version":3,"names":["HallNav","Tabbar","HallList","name","components","setup"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/views/hall.vue"],"sourcesContent":["<template>\n <div class=\"hall\">\n <HallNav></HallNav>\n <HallList></HallList>\n <Tabbar></Tabbar>\n </div>\n</template>\n\n<script>\nimport HallNav from \"@/components/HallNav.vue\"\nimport Tabbar from \"@/components/Tabbar.vue\"\nimport HallList from \"@/components/HallList.vue\"\nexport default {\n name: \"HallView\",\n components: { Tabbar, HallNav, HallList },\n setup() {}\n}\n</script>\n<style lang=\"scss\" scoped>\n.hall {\n width: 100%;\n height: 100%;\n position: absolute;\n background: #fff;\n}\n</style>\n"],"mappings":"AASA,OAAOA,OAAM,MAAO,0BAAyB;AAC7C,OAAOC,MAAK,MAAO,yBAAwB;AAC3C,OAAOC,QAAO,MAAO,2BAA0B;AAC/C,eAAe;EACbC,IAAI,EAAE,UAAU;EAChBC,UAAU,EAAE;IAAEH,MAAM;IAAED,OAAO;IAAEE;EAAS,CAAC;EACzCG,KAAKA,CAAA,EAAG,CAAC;AACX"},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nexport default {\n name: \"confirmBet\",\n components: {},\n props: {\n data: {\n type: Object,\n default: () => ({\n money: 0,\n show: false,\n times: false,\n game_id: 4\n })\n }\n },\n setup(props, {\n emit\n }) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n // 确认下注\n const confirm = () => {\n emit(\"confirm\");\n };\n // 取消下注\n const cancel = () => {\n emit(\"cancel\");\n };\n return {\n Type,\n Lang,\n confirm,\n cancel,\n props\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-0c505a07\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"switchtab\"\n};\nconst _hoisted_2 = {\n class: \"nav\"\n};\nconst _hoisted_3 = {\n class: \"content\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_GoodRoad = _resolveComponent(\"GoodRoad\");\n const _component_TableList = _resolveComponent(\"TableList\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", {\n class: _normalizeClass([\"li good\", {\n active: $data.active == 0\n }]),\n onClick: _cache[0] || (_cache[0] = $event => $options.chooseType(0))\n }, _toDisplayString(_ctx.Lang[_ctx.Type].good_road_tip), 3), _createElementVNode(\"div\", {\n class: _normalizeClass([\"li switch\", {\n active: $data.active == 1\n }]),\n onClick: _cache[1] || (_cache[1] = $event => $options.chooseType(1))\n }, _toDisplayString(_ctx.Lang[_ctx.Type].switch_table), 3)]), _createElementVNode(\"div\", _hoisted_3, [$data.active == 0 ? (_openBlock(), _createBlock(_component_GoodRoad, {\n key: 0,\n onClose: $options.close\n }, null, 8, [\"onClose\"])) : _createCommentVNode(\"\", true), $data.active == 1 ? (_openBlock(), _createBlock(_component_TableList, {\n key: 1,\n onClose: $options.close,\n tabInfo: $props.tabInfo\n }, null, 8, [\"onClose\", \"tabInfo\"])) : _createCommentVNode(\"\", true)])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-ce6d6a5a\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"hall\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_HallNav = _resolveComponent(\"HallNav\");\n const _component_HallList = _resolveComponent(\"HallList\");\n const _component_Tabbar = _resolveComponent(\"Tabbar\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_component_HallNav), _createVNode(_component_HallList), _createVNode(_component_Tabbar)]);\n}","map":{"version":3,"names":["class","_createElementBlock","_hoisted_1","_createVNode","_component_HallNav","_component_HallList","_component_Tabbar"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/views/hall.vue"],"sourcesContent":["<template>\n <div class=\"hall\">\n <HallNav></HallNav>\n <HallList></HallList>\n <Tabbar></Tabbar>\n </div>\n</template>\n\n<script>\nimport HallNav from \"@/components/HallNav.vue\"\nimport Tabbar from \"@/components/Tabbar.vue\"\nimport HallList from \"@/components/HallList.vue\"\nexport default {\n name: \"HallView\",\n components: { Tabbar, HallNav, HallList },\n setup() {}\n}\n</script>\n<style lang=\"scss\" scoped>\n.hall {\n width: 100%;\n height: 100%;\n position: absolute;\n background: #fff;\n}\n</style>\n"],"mappings":";;;EACOA,KAAK,EAAC;AAAM;;;;;uBAAjBC,mBAAA,CAIM,OAJNC,UAIM,GAHJC,YAAA,CAAmBC,kBAAA,GACnBD,YAAA,CAAqBE,mBAAA,GACrBF,YAAA,CAAiBG,iBAAA,E"},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { vModelText as _vModelText, createElementVNode as _createElementVNode, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, TransitionGroup as _TransitionGroup, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-c5f47a3a\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n id: \"demo\"\n};\nconst _hoisted_2 = {\n span: \"9\"\n};\nconst _hoisted_3 = {\n class: \"demo-input\"\n};\nconst _hoisted_4 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n span: \"15\"\n}, [/*#__PURE__*/_createElementVNode(\"span\")], -1));\nconst _hoisted_5 = {\n class: \"demo-input remove-btn\"\n};\nconst _hoisted_6 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/_createElementVNode(\"h3\", null, \"数据展示区:\", -1));\nconst _hoisted_7 = [\"onClick\"];\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"div\", null, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", _hoisted_3, [_withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $data.value = $event),\n maxlength: \"10\",\n \"show-word-limit\": \"\",\n clearable: \"\",\n placeholder: \"请输入添加项...\",\n style: {\n \"width\": \"200px\"\n }\n }, null, 512), [[_vModelText, $data.value]]), _createElementVNode(\"button\", {\n class: \"add-btn\",\n type: \"success\",\n onClick: _cache[1] || (_cache[1] = (...args) => $options.handleAdd && $options.handleAdd(...args))\n }, \" 添加 \")])]), _hoisted_4]), _createElementVNode(\"div\", _hoisted_5, [_hoisted_6, _createVNode(_TransitionGroup, {\n name: \"myfade\",\n tag: \"ul\"\n }, {\n default: _withCtx(() => [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($data.dataList, item => {\n return _openBlock(), _createElementBlock(\"li\", {\n key: item.id\n }, [_createTextVNode(_toDisplayString(item.label) + \" \" + _toDisplayString(item.id) + \" \", 1), _createElementVNode(\"button\", {\n type: \"text\",\n onClick: $event => $options.handleRemove(item)\n }, \"remove\", 8, _hoisted_7)]);\n }), 128))]),\n _: 1\n })])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-238e9a71\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"tableList\"\n};\nconst _hoisted_2 = {\n class: \"tabs\"\n};\nconst _hoisted_3 = {\n class: \"view\"\n};\nconst _hoisted_4 = [\"onClick\"];\nconst _hoisted_5 = {\n class: \"left\"\n};\nconst _hoisted_6 = {\n class: \"hd\"\n};\nconst _hoisted_7 = {\n class: \"name\"\n};\nconst _hoisted_8 = {\n class: \"lable\"\n};\nconst _hoisted_9 = {\n class: \"sate flex\"\n};\nconst _hoisted_10 = [\"innerHTML\"];\nconst _hoisted_11 = {\n class: \"bd\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_van_progress = _resolveComponent(\"van-progress\");\n const _component_WayBox = _resolveComponent(\"WayBox\");\n const _component_van_empty = _resolveComponent(\"van-empty\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 1\n }]),\n onClick: _cache[0] || (_cache[0] = $event => $data.game_id = 1)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].Baccarat), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 2\n }]),\n onClick: _cache[1] || (_cache[1] = $event => $data.game_id = 2)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].DragonTiger), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 4\n }]),\n onClick: _cache[2] || (_cache[2] = $event => $data.game_id = 4)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].NN), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 5\n }]),\n onClick: _cache[3] || (_cache[3] = $event => $data.game_id = 5)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].ThreeCard), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 6\n }]),\n onClick: _cache[4] || (_cache[4] = $event => $data.game_id = 6)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].Toning), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 7\n }]),\n onClick: _cache[5] || (_cache[5] = $event => $data.game_id = 7)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].Dice), 3)]), _createElementVNode(\"div\", _hoisted_3, [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($options.tabData, (item, index) => {\n return _openBlock(), _createElementBlock(\"div\", {\n class: \"list animate__animated animate__fadeIn\",\n key: index,\n onClick: $event => $options.goPath(item)\n }, [_createElementVNode(\"div\", _hoisted_5, [_createElementVNode(\"div\", _hoisted_6, [_createElementVNode(\"div\", _hoisted_7, _toDisplayString(item.table_name), 1), _createElementVNode(\"div\", _hoisted_8, _toDisplayString(item.spec_type), 1), _createElementVNode(\"div\", _hoisted_9, [_createElementVNode(\"span\", null, _toDisplayString($options.getSendMode(item.sendMode)), 1), _createElementVNode(\"div\", {\n class: \"result\",\n innerHTML: $options.getTextVal(item)\n }, null, 8, _hoisted_10)])]), _createVNode(_component_van_progress, {\n percentage: item.sendMode == 'startBetCountDown' ? item.count_down / item.wait_time * 100 : 0,\n \"stroke-width\": \"2.5\",\n \"show-pivot\": false\n }, null, 8, [\"percentage\"]), _createElementVNode(\"div\", _hoisted_11, [_createVNode(_component_WayBox, {\n wayType: \"allway\",\n data: item,\n index: index,\n routerName: \"allway\"\n }, null, 8, [\"data\", \"index\"])])])], 8, _hoisted_4);\n }), 128)), $options.tabData.length == 0 ? (_openBlock(), _createBlock(_component_van_empty, {\n key: 0,\n description: _ctx.$lang[_ctx.$Type].no_data\n }, null, 8, [\"description\"])) : _createCommentVNode(\"\", true)])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { mapState } from \"vuex\";\nexport default {\n name: \"SwitchTab\",\n data() {\n return {\n switchVideo: true\n };\n },\n created() {},\n methods: {\n switchVideoFn(type) {\n this.$store.commit(\"config/switchVideo\", type);\n },\n updateVideo(type, choose) {\n this.$store.commit(\"config/updateVideo\", {\n type,\n choose\n });\n }\n },\n computed: {\n ...mapState({\n Lang: state => state.config.$lang,\n Type: state => state.config.$Type,\n userInfo: state => state.app.userInfo,\n video: state => state.config.switchVideo,\n info: state => state.config.video\n })\n },\n watch: {\n video: {\n handler(state) {\n if (state == true) {\n this.switchVideo = true;\n } else {\n this.switchVideo = false;\n }\n },\n immediate: true\n }\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-50f41650\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"hall\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_HallNav = _resolveComponent(\"HallNav\");\n const _component_HallList = _resolveComponent(\"HallList\");\n const _component_Tabbar = _resolveComponent(\"Tabbar\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createVNode(_component_HallNav), _createVNode(_component_HallList), _createVNode(_component_Tabbar)]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { getAppConfig } from \"@/utils/api\";\nimport { createRouter, createWebHashHistory } from \"vue-router\";\nimport $store from \"@/store\";\nconst routes = [{\n path: \"/\",\n name: \"login\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/login.vue\")\n}, {\n path: \"/hall\",\n name: \"baccarat\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/baccarat\",\n name: \"baccarat\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/longhu\",\n name: \"longhu\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/nn\",\n name: \"nn\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/threecard\",\n name: \"threecard\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/toning\",\n name: \"toning\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/dice\",\n name: \"dice\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/lp\",\n name: \"lp\",\n component: () => import( /* webpackChunkName: \"hall\" */\"../views/hall.vue\")\n}, {\n path: \"/play\",\n name: \"play\",\n component: () => import( /* webpackChunkName: \"play\" */\"../views/play.vue\")\n}, {\n path: \"/game\",\n name: \"game\",\n component: () => import( /* webpackChunkName: \"game\" */\"../views/game.vue\")\n}, {\n path: \"/test\",\n name: \"test\",\n component: () => import( /* webpackChunkName: \"test\" */\"../views/test.vue\")\n}, {\n path: \"/help\",\n name: \"help\",\n component: () => import( /* webpackChunkName: \"help\" */\"../views/help.vue\")\n}, {\n path: \"/:pathMatch(.*)\",\n redirect: \"/baccarat\"\n}];\nconst router = createRouter({\n history: createWebHashHistory(),\n routes\n});\nlet first = true;\n\n// 权限逻辑处理\nconst inlet = (to, from, next) => {\n let userInfo = {};\n try {\n userInfo = JSON.parse(localStorage.getItem(\"userInfo\"));\n } catch (err) {\n console.log(err);\n }\n if (userInfo && userInfo.online_token) {\n if (first) {\n first = false;\n $store.dispatch(\"app/init\");\n $store.dispatch(\"socket/getGoodTabData\");\n }\n if (to.name === \"login\") next({\n name: \"baccarat\"\n });else next();\n } else {\n if (to.query && to.query.token) {\n $store.dispatch(\"app/getUserInfo\", to.query.token);\n } else {\n if (to.name !== \"login\") {\n $store.commit(\"app/removeUserInfo\");\n } else {\n next();\n }\n }\n }\n};\n// 路由守卫\nrouter.beforeEach((to, from, next) => {\n const apiUrl = $store.state.config.apiUrl;\n if (!apiUrl) {\n // 入口配置\n getAppConfig(\"/config.json\").then(res => {\n if (res.title) {\n $store.commit(\"config/setConfig\", res);\n inlet(to, from, next);\n } else {\n console.warn(\"配置文件不存在\");\n }\n }).catch(err => {\n console.log(err);\n });\n } else {\n inlet(to, from, next);\n }\n});\nexport default router;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { Button, Icon, Popup, Toast, Sticky, Progress, Dialog, Field, CellGroup, Switch, Empty, Image as VanImage } from \"vant\";\nexport function vants(app) {\n app.use(Button).use(Icon).use(Popup).use(Toast).use(Sticky).use(Progress).use(Dialog).use(Field).use(CellGroup).use(Switch).use(Empty).use(VanImage);\n}","map":{"version":3,"names":["Button","Icon","Popup","Toast","Sticky","Progress","Dialog","Field","CellGroup","Switch","Empty","Image","VanImage","vants","app","use"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/plugins/vant.config.js"],"sourcesContent":["import {\n Button,\n Icon,\n Popup,\n Toast,\n Sticky,\n Progress,\n Dialog,\n Field,\n CellGroup,\n Switch,\n Empty,\n Image as VanImage\n} from \"vant\"\n\nexport function vants(app) {\n app\n .use(Button)\n .use(Icon)\n .use(Popup)\n .use(Toast)\n .use(Sticky)\n .use(Progress)\n .use(Dialog)\n .use(Field)\n .use(CellGroup)\n .use(Switch)\n .use(Empty)\n .use(VanImage)\n}\n"],"mappings":"AAAA,SACEA,MAAM,EACNC,IAAI,EACJC,KAAK,EACLC,KAAK,EACLC,MAAM,EACNC,QAAQ,EACRC,MAAM,EACNC,KAAK,EACLC,SAAS,EACTC,MAAM,EACNC,KAAK,EACLC,KAAK,IAAIC,QAAQ,QACZ,MAAM;AAEb,OAAO,SAASC,KAAKA,CAACC,GAAG,EAAE;EACzBA,GAAG,CACAC,GAAG,CAACf,MAAM,CAAC,CACXe,GAAG,CAACd,IAAI,CAAC,CACTc,GAAG,CAACb,KAAK,CAAC,CACVa,GAAG,CAACZ,KAAK,CAAC,CACVY,GAAG,CAACX,MAAM,CAAC,CACXW,GAAG,CAACV,QAAQ,CAAC,CACbU,GAAG,CAACT,MAAM,CAAC,CACXS,GAAG,CAACR,KAAK,CAAC,CACVQ,GAAG,CAACP,SAAS,CAAC,CACdO,GAAG,CAACN,MAAM,CAAC,CACXM,GAAG,CAACL,KAAK,CAAC,CACVK,GAAG,CAACH,QAAQ,CAAC;AAClB"},"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nexport default {\n name: \"TableInfoPop\",\n props: {\n tableData: {\n type: [Object, String],\n default: () => {}\n }\n },\n setup(props) {\n const store = useStore();\n const showTableInfo = computed(() => store.state.config.showTableInfo);\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n console.log(props);\n return {\n Type,\n Lang,\n showTableInfo\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-59aaca60\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"roulette-result\"\n};\nconst _hoisted_2 = {\n class: \"left\"\n};\nconst _hoisted_3 = {\n class: \"right\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [$props.sendMode == 'openingRouletteResult' && $setup.result ? (_openBlock(), _createElementBlock(_Fragment, {\n key: 0\n }, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"div\", null, _toDisplayString($setup.result.sbText), 1), _createElementVNode(\"div\", null, _toDisplayString($setup.result.spText), 1)]), _createElementVNode(\"div\", {\n class: _normalizeClass([\"center\", [$setup.result.color]])\n }, _toDisplayString($setup.result.num), 3), _createElementVNode(\"div\", _hoisted_3, [_createElementVNode(\"div\", null, _toDisplayString($setup.result.dozenText), 1), _createElementVNode(\"div\", null, _toDisplayString($setup.result.columnText), 1)])], 64)) : _createCommentVNode(\"\", true)]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-7a233d29\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"game-iframe\"\n};\nconst _hoisted_2 = [\"src\"];\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [false ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"back\",\n onClick: _cache[0] || (_cache[0] = (...args) => $setup.goBack && $setup.goBack(...args))\n }, \"返回\")) : _createCommentVNode(\"\", true), _createElementVNode(\"iframe\", {\n class: \"iframe\",\n src: $setup.gameUrl,\n frameborder: \"0\"\n }, null, 8, _hoisted_2)]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nimport confirmBet from \"@/components/confirmBet.vue\";\nimport chipView from \"@/components/chipView.vue\";\nimport { toningData } from \"@/utils/common\";\nexport default {\n name: \"TableToning\",\n components: {\n confirmBet,\n chipView\n },\n props: {\n touch: {\n type: String,\n default: \"\"\n },\n bet_amount_msg: {\n type: Object,\n default: () => ({\n ...toningData.amount\n })\n },\n winArray: {\n type: Array,\n default: () => []\n },\n downChip: {\n type: Object,\n default: () => ({\n ...toningData.amount\n })\n },\n chipArray: {\n type: Object,\n default: () => ({\n ...toningData.array\n })\n }\n },\n setup(prop, context) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const downBet = (e, type) => {\n context.emit(\"downBet\", e, type);\n };\n const confirmChip = () => {\n context.emit(\"confirmChip\");\n };\n const cancelChip = () => {\n context.emit(\"cancelChip\");\n };\n return {\n Type,\n Lang,\n downBet,\n confirmChip,\n cancelChip\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\nimport { ref, onMounted, computed, watch } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport { useStore } from \"vuex\";\nimport { Tabbar, TabbarItem, showDialog, showToast } from \"vant\";\nexport default {\n name: \"TabBar\",\n components: {\n \"van-tabbar\": Tabbar,\n \"van-tabbar-item\": TabbarItem\n },\n setup() {\n const router = useRouter();\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const active = ref(\"hall\");\n\n // 5个功能图标 - 深色豪华风格\n const tabbar = ref([{\n name: \"hall\",\n icon: \"🏠\",\n text: \"大厅\",\n to: \"/baccarat\"\n }, {\n name: \"statement\",\n icon: \"📊\",\n text: \"报表\"\n }, {\n name: \"message\",\n icon: \"💬\",\n text: \"消息\"\n }, {\n name: \"record\",\n icon: \"📝\",\n text: \"记录\"\n }, {\n name: \"profile\",\n icon: \"👤\",\n text: \"我的\"\n }]);\n const handleClick = item => {\n if (item.to) {\n router.push(item.to);\n } else {\n // 功能开发中提示\n showToast({\n message: Lang.value?.[Type.value]?.msg_waiting_development || \"功能开发中\",\n position: \"bottom\"\n });\n }\n };\n onMounted(() => {\n active.value = \"hall\";\n });\n return {\n tabbar,\n active,\n handleClick\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed, onMounted } from \"vue\";\nimport { useStore } from \"vuex\";\nimport { useRouter } from \"vue-router\";\nexport default {\n name: \"GameIframe\",\n setup() {\n const store = useStore();\n const router = useRouter();\n const gameUrl = computed(() => store.state.app.gameUrl);\n const goBack = () => {\n router.back();\n };\n onMounted(() => {\n store.commit(\"config/setValue\", {\n name: \"musicVolume\",\n type: false\n });\n });\n return {\n gameUrl,\n goBack\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\";\nconst _withScopeId = n => (_pushScopeId(\"data-v-6e4d3102\"), n = n(), _popScopeId(), n);\nconst _hoisted_1 = {\n class: \"tableList\"\n};\nconst _hoisted_2 = {\n class: \"tabs\"\n};\nconst _hoisted_3 = {\n class: \"view\"\n};\nconst _hoisted_4 = [\"onClick\"];\nconst _hoisted_5 = {\n class: \"left\"\n};\nconst _hoisted_6 = {\n class: \"hd\"\n};\nconst _hoisted_7 = {\n class: \"name\"\n};\nconst _hoisted_8 = {\n class: \"lable\"\n};\nconst _hoisted_9 = {\n class: \"sate flex\"\n};\nconst _hoisted_10 = [\"innerHTML\"];\nconst _hoisted_11 = {\n class: \"bd\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_van_progress = _resolveComponent(\"van-progress\");\n const _component_WayBox = _resolveComponent(\"WayBox\");\n const _component_van_empty = _resolveComponent(\"van-empty\");\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, [_createElementVNode(\"div\", _hoisted_2, [_createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 1\n }]),\n onClick: _cache[0] || (_cache[0] = $event => $data.game_id = 1)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].Baccarat), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 2\n }]),\n onClick: _cache[1] || (_cache[1] = $event => $data.game_id = 2)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].DragonTiger), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 4\n }]),\n onClick: _cache[2] || (_cache[2] = $event => $data.game_id = 4)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].NN), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 5\n }]),\n onClick: _cache[3] || (_cache[3] = $event => $data.game_id = 5)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].ThreeCard), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 6\n }]),\n onClick: _cache[4] || (_cache[4] = $event => $data.game_id = 6)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].Toning), 3), _createElementVNode(\"span\", {\n class: _normalizeClass([\"li\", {\n active: $data.game_id == 7\n }]),\n onClick: _cache[5] || (_cache[5] = $event => $data.game_id = 7)\n }, _toDisplayString(_ctx.$lang[_ctx.$Type].Dice), 3)]), _createElementVNode(\"div\", _hoisted_3, [(_openBlock(true), _createElementBlock(_Fragment, null, _renderList($options.tabData, (item, index) => {\n return _openBlock(), _createElementBlock(\"div\", {\n class: \"list animate__animated animate__fadeIn\",\n key: index,\n onClick: $event => $options.goPath(item)\n }, [_createElementVNode(\"div\", _hoisted_5, [_createElementVNode(\"div\", _hoisted_6, [_createElementVNode(\"div\", _hoisted_7, _toDisplayString(item.table_name), 1), _createElementVNode(\"div\", _hoisted_8, _toDisplayString(item.spec_type), 1), _createElementVNode(\"div\", _hoisted_9, [_createElementVNode(\"span\", null, _toDisplayString($options.getSendMode(item.sendMode)), 1), _createElementVNode(\"div\", {\n class: \"result\",\n innerHTML: $options.getTextVal(item)\n }, null, 8, _hoisted_10)])]), _createVNode(_component_van_progress, {\n percentage: item.sendMode == 'startBetCountDown' ? item.count_down / item.wait_time * 100 : 0,\n \"stroke-width\": \"2.5\",\n \"show-pivot\": false\n }, null, 8, [\"percentage\"]), _createElementVNode(\"div\", _hoisted_11, [_createVNode(_component_WayBox, {\n wayType: \"allway\",\n data: item,\n index: index,\n routerName: \"allway\"\n }, null, 8, [\"data\", \"index\"])])])], 8, _hoisted_4);\n }), 128)), $options.tabData.length == 0 ? (_openBlock(), _createBlock(_component_van_empty, {\n key: 0,\n description: _ctx.$lang[_ctx.$Type].no_data\n }, null, 8, [\"description\"])) : _createCommentVNode(\"\", true)])]);\n}","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"/* eslint-disable */\nimport APlayer from \"aplayer\";\nimport { nextTick, onMounted, computed, watch } from \"vue\";\nimport { getAppMusic } from \"@/utils/api\";\nimport { useStore } from \"vuex\";\nexport default {\n name: \"confirmBet\",\n components: {},\n props: {\n data: {\n type: Object,\n default: () => ({\n show: false\n })\n }\n },\n setup() {\n const store = useStore();\n const musicVolume = computed(() => store.state.config.musicVolume);\n const volume = computed(() => store.state.config.volume);\n let player = null;\n onMounted(() => {\n nextTick(() => {\n // const list = [\n // {\n // name: \"We Cant Stop\", //歌名\n // artist: \"Miley Cyrus - Berlin Tag Und Nacht Vol.4\", //歌手\n // url: require(\"../assets/mp3/2023520.mp3\"), //音频文件地址\n // cover: require(\"../assets/mp3/cover/2023520.webp\"), //音乐封面地址\n // lrc: \"\"\n // },\n // {\n // name: \"Peter Pan Was Right\", //歌名\n // artist: \"Anson Seabra - Peter Pan Was Right\", //歌手\n // url: require(\"../assets/mp3/4138042894.mp3\"), //音频文件地址\n // cover: require(\"../assets/mp3/cover/4138042894.webp\"), //音乐封面地址\n // lrc: \"\"\n // },\n // {\n // name: \"Shape of You\", //歌名\n // artist: \"Ed Sheeran - Shape of You\", //歌手\n // url: require(\"../assets/mp3/3197545262.mp3\"), //音频文件地址\n // cover: require(\"../assets/mp3/cover/3197545262.webp\"), //音乐封面地址\n // lrc: \"\"\n // },\n // {\n // name: \"Unstoppable\", //歌名\n // artist: \"Sia - This Is Acting (Deluxe Version)\", //歌手\n // url: require(\"../assets/mp3/6005971CUY6.mp3\"), //音频文件地址\n // cover: require(\"../assets/mp3/cover/6005971CUY6.webp\"), //音乐封面地址\n // lrc: \"\"\n // },\n // {\n // name: \"Bones\", //歌名\n // artist: \"Imagine Dragons - Bones\", //歌手\n // url: require(\"../assets/mp3/680637476.mp3\"), //音频文件地址\n // cover: require(\"../assets/mp3/cover/680637476.webp\"), //音乐封面地址\n // lrc: \"\"\n // },\n // {\n // name: \"Someone Like You\", //歌名\n // artist: \"Adele - 21 (Explicit)\", //歌手\n // url: require(\"../assets/mp3/2591806824.mp3\"), //音频文件地址\n // cover: require(\"../assets/mp3/cover/2591806824.webp\"), //音乐封面地址\n // lrc: \"\"\n // }\n // ]\n\n // 音乐文件\n getAppMusic(\"/music.json\").then(res => {\n if (res.list && res.list.length > 0) {\n init(res.list);\n } else {\n console.warn(\"音乐列表文件不存在\");\n }\n }).catch(err => {\n console.log(err);\n });\n });\n });\n const init = list => {\n player = new APlayer({\n container: document.getElementById(\"aPlayer\"),\n mini: false,\n audio: list,\n listFolded: false,\n listMaxHeight: \"8rem\"\n });\n store.commit(\"app/musicPlayer\", player);\n player.on(\"play\", function () {\n if (musicVolume.value == false) {\n store.commit(\"config/setValue\", {\n name: \"musicVolume\",\n type: true\n });\n }\n });\n player.on(\"pause\", function () {\n if (musicVolume.value == true) {\n // console.log(\"pause\")\n store.commit(\"config/setValue\", {\n name: \"musicVolume\",\n type: false\n });\n }\n });\n player.pause();\n player.play();\n };\n watch(() => [musicVolume.value], ([type]) => {\n if (player) {\n nextTick(() => {\n if (type) {\n player.volume(volume.value.music / 100, true);\n player.play();\n } else {\n player.volume(volume.value.music / 100, false);\n player.pause();\n }\n });\n }\n }, {\n deep: true\n });\n watch(() => [volume.value.music], ([value]) => {\n if (player) {\n nextTick(() => {\n player.volume(value / 100, true);\n });\n }\n }, {\n immediate: true,\n deep: true\n });\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nimport confirmBet from \"@/components/confirmBet.vue\";\nimport chipView from \"@/components/chipView.vue\";\nimport { nnData } from \"@/utils/common\";\nexport default {\n name: \"TableBullbull\",\n components: {\n confirmBet,\n chipView\n },\n props: {\n game_id: {\n type: [String, Number],\n default: 1\n },\n touch: {\n type: String,\n default: \"\"\n },\n bet_amount_msg: {\n type: Object,\n default: () => ({\n ...nnData.amount\n })\n },\n winArray: {\n type: Array,\n default: () => []\n },\n downChip: {\n type: Object,\n default: () => ({\n ...nnData.amount\n })\n },\n chipArray: {\n type: Object,\n default: () => ({\n ...nnData.array\n })\n }\n },\n setup(prop, context) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const downBet = (e, type) => {\n context.emit(\"downBet\", e, type);\n };\n const confirmChip = () => {\n context.emit(\"confirmChip\");\n };\n const cancelChip = () => {\n context.emit(\"cancelChip\");\n };\n return {\n Type,\n Lang,\n downBet,\n confirmChip,\n cancelChip\n };\n }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

View File

@ -1 +0,0 @@
{"ast":null,"code":"import { get, post, config } from \"@/plugins/axios.config\";\n\n// 获取应用配置\nconst getAppConfig = async url => {\n return await config(url);\n};\n// 获取音乐列表\nconst getAppMusic = async url => {\n return await config(url);\n};\n\n// 登录\nconst login = async params => {\n return await post(\"/login\", params);\n};\n\n// 试玩\nconst dome = async params => {\n return await post(\"/demologin\", params);\n};\n\n// 获取所有桌子信息\nconst getAllTableData = async params => {\n return await post(\"/all_table\", params);\n};\n\n// 获取单张桌子信息\nconst getSingletable = async params => {\n return await post(\"/singletable\", params);\n};\n\n// 获取结果百家乐\nconst getUserBetBaccarat = async params => {\n return await post(\"/user_bet_baccarat\", params);\n};\n// 获取龙虎结果\nconst getUserBetDt = async params => {\n return await post(\"/user_bet_dt\", params);\n};\n// 获取牛牛结果\nconst getUserBetNn = async params => {\n return await post(\"/user_bet_nn\", params);\n};\n\n// 获取三卡牛牛结果\nconst getUserBetTc = async params => {\n return await post(\"/user_bet_tc\", params);\n};\n\n// 获取色碟结果\nconst getUserBetToning = async params => {\n return await post(\"/user_bet_toning\", params);\n};\n\n// 获取骰宝结果\nconst getUserBetDice = async params => {\n return await post(\"/user_bet_dice\", params);\n};\n\n// 获取轮盘结果\nconst getUserBetRoulette = async params => {\n return await post(\"/user_bet_roulette\", params);\n};\n\n// 获取好路信息\nconst getGoodRoad = async params => {\n return await post(\"/good_road\", params);\n};\n\n// 获取用户下注记录\nconst getUserBets = async params => {\n return await post(\"/get_user_bets\", params);\n};\n// 获取三卡下注记录\nconst getRobBet = async params => {\n return await post(\"/get_rob_bet\", params);\n};\n// 获取打赏记录\nconst tipRecord = async params => {\n return await post(\"/tip_record\", params);\n};\n// 上下分记录\nconst rechargeRecord = async params => {\n return await post(\"/recharge_record\", params);\n};\n\n// 其他游戏\nconst getGameUrl = async params => {\n return await post(\"/game/geturl\", params);\n};\n\n// 获取用户信息\nconst getUserInfo = async params => {\n return await post(\"/get_user_info\", params);\n};\nconst getDome = async params => {\n return await get(\"/login/sendCodeNew\", params);\n};\nexport { getAppConfig, getAppMusic, login, getDome, dome, getAllTableData, getSingletable, getUserBetBaccarat, getGoodRoad, getUserBets, getUserBetDt, getUserBetNn, getUserBetTc, getUserBetToning, getUserBetDice, getUserBetRoulette, getRobBet, tipRecord, rechargeRecord, getGameUrl, getUserInfo };","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}

Some files were not shown because too many files have changed in this diff Show More