1 line
56 KiB
JSON
1 line
56 KiB
JSON
{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\nimport { computed, ref, watch, nextTick } from \"vue\";\nimport { useStore } from \"vuex\";\nimport { useRouter } from \"vue-router\";\nimport { requestFullScreen, showfloatBtn } from \"./plugins/fox.config\";\nimport NoSleep from \"@/assets/js/NoSleep.js\";\nimport aPlayer from \"@/components/aPlayer\";\nimport Record from \"@/components/Record\";\nimport { showToast, showSuccessToast } from \"vant\";\nexport default {\n components: {\n aPlayer,\n Record\n },\n setup() {\n const showChipPop = ref(false);\n const langselect = ref(false);\n const store = useStore();\n const router = useRouter();\n const settingMenu = [{\n key: \"chips\",\n name: \"筹码设置\"\n }, {\n key: \"set\",\n name: \"系统设置\"\n }, {\n key: \"record\",\n name: \"投注记录\"\n }, {\n key: \"help\",\n name: \"帮助\"\n }];\n const langList = {\n en: \"English\",\n tw: \"繁體中文\",\n cn: \"简体中文\",\n yn: \"Việt nam\",\n kr: \"한국어\",\n tl: \"แบบไทย\",\n in: \"Indonesia\"\n };\n const switchSound = ref(true);\n const switchVideo = ref(true);\n const musicVal = computed(() => store.state.config.musicVolume);\n const effectsVal = computed(() => store.state.config.effectsVolume);\n const otherChipVal = computed(() => store.state.config.showOtherChip);\n const musicVolume = ref(musicVal.value);\n const effectsVolume = ref(effectsVal.value);\n const showOtherChip = ref(otherChipVal.value);\n const userInfo = computed(() => store.state.app.userInfo);\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const showMenu = computed(() => store.state.config.showMenu);\n const chipArry = computed(() => store.state.config.chipArry);\n const fullScreen = computed(() => store.state.config.fullScreen);\n const showAplayer = computed(() => store.state.config.showAplayer);\n const showSetFree = computed(() => store.state.config.showSetFree);\n const baccaratType = computed(() => store.state.config.baccaratType);\n const showTableInfo = computed(() => store.state.config.showTableInfo);\n const showShare = computed(() => store.state.config.showShare);\n const showBaccaratPlayType = computed(() => store.state.config.showBaccaratPlayType);\n const showOnLine = computed(() => store.state.config.showOnLine);\n const showRecord = computed(() => store.state.config.showRecord);\n const showSystem = computed(() => store.state.config.showSystem);\n const volume = computed(() => store.state.config.volume);\n const toggleAplayer = () => {\n store.commit(\"config/showAplayer\");\n };\n const closeMenu = () => {\n store.commit(\"config/showMenu\", false);\n store.commit(\"config/showTableInfo\", false);\n };\n const chooseMenu = type => {\n switch (type) {\n case \"chips\":\n toggleChipPop();\n break;\n case \"record\":\n if (userInfo.value.is_sw == 1) {\n showToast(Lang.value[Type.value].is_sw);\n } else {\n toggleRecord();\n }\n break;\n case \"set\":\n toggleSystem();\n break;\n case \"help\":\n router.push({\n path: \"/help\"\n });\n break;\n }\n closeMenu();\n };\n const setChip = item => {\n const list = chipArry.value.filter(v => v.show == true);\n if (item.show && list.length == 1) {\n showToast(Lang.value[Type.value].cannot_less_one);\n } else if (!item.show && list.length > 5) {\n showToast(Lang.value[Type.value].no_more_6);\n } else {\n item.show = !item.show;\n }\n };\n const toggleChipPop = () => {\n showChipPop.value = !showChipPop.value;\n };\n const setBaccaratType = type => {\n if (type == 0) {\n showToast(Lang.value[Type.value].switch_free_text_0);\n } else {\n showToast(Lang.value[Type.value].switch_free_text_1);\n }\n store.commit(\"config/setBaccaratType\", type);\n };\n const closeSetFree = () => {\n store.commit(\"config/showSetFree\");\n };\n const toggleRecord = () => {\n store.commit(\"config/showRecord\");\n };\n const toggleSystem = () => {\n store.commit(\"config/showSystem\");\n };\n const showLangselect = state => {\n langselect.value = state;\n };\n const choseLang = lang => {\n store.commit(\"config/updateLang\", lang);\n langselect.value = false;\n };\n const shareFn = state => {\n store.commit(\"config/showMenu\", false);\n store.commit(\"config/showShare\", state);\n };\n const copyUrl = () => {\n const protocol = document.location.protocol;\n const hostname = document.location.hostname;\n const port = document.location.port;\n let url = \"\";\n if (port) {\n url = `${protocol}//${hostname}:${port}`;\n } else {\n url = `${protocol}//${hostname}`;\n }\n const input = document.createElement(\"input\");\n input.style.cssText = \"opacity: 0\";\n input.type = \"text\";\n input.value = url;\n document.body.appendChild(input);\n input.select();\n document.execCommand(\"copy\");\n input.remove();\n store.commit(\"config/showShare\", false);\n showSuccessToast(Lang.value[Type.value].coyp_successful);\n };\n const setVolume = (name, type) => {\n store.commit(\"config/volumeSeting\", {\n name,\n type\n });\n };\n const collect = () => {\n // 判断是否支持浏览器API\n if (\"navigator\" in window && \"standalone\" in window.navigator && !window.navigator.standalone) {\n // 判断是否为苹果设备\n if (/iphone|ipod|ipad/i.test(navigator.userAgent)) {\n const addToHomeScreen = confirm(\"Add to Home Screen?\");\n if (addToHomeScreen) {\n const icon = require(\"./assets/images/en_baccarat_icon.png\"); // 替换为你的图标路径\n const title = \"AgGame\"; // 替换为你的应用标题\n const url = window.location.href; // 获取当前页面的URL\n const meta = document.createElement(\"meta\");\n meta.setAttribute(\"name\", \"apple-mobile-web-app-capable\");\n meta.setAttribute(\"content\", \"yes\");\n document.head.appendChild(meta);\n const link = document.createElement(\"link\");\n link.setAttribute(\"rel\", \"apple-touch-icon\");\n link.setAttribute(\"href\", icon);\n document.head.appendChild(link);\n const titleElement = document.createElement(\"title\");\n titleElement.innerText = title;\n document.head.appendChild(titleElement);\n window.location.href = url;\n }\n } else if (/android/i.test(navigator.userAgent)) {\n const addToHomeScreen = confirm(\"Add to Home Screen?\");\n if (addToHomeScreen) {\n const icon = require(\"./assets/images/en_baccarat_icon.png\"); // 替换为你的图标路径\n const title = \"AgGame\"; // 替换为你的应用标题\n const url = window.location.href; // 获取当前页面的URL\n const meta = document.createElement(\"meta\");\n meta.setAttribute(\"name\", \"mobile-web-app-capable\");\n meta.setAttribute(\"content\", \"yes\");\n document.head.appendChild(meta);\n const link = document.createElement(\"link\");\n link.setAttribute(\"rel\", \"icon\");\n link.setAttribute(\"type\", \"image/png\");\n link.setAttribute(\"href\", icon);\n document.head.appendChild(link);\n const titleElement = document.createElement(\"title\");\n titleElement.innerText = title;\n document.head.appendChild(titleElement);\n window.location.href = url;\n }\n }\n }\n showSuccessToast(Lang.value[Type.value].collection_successful);\n };\n // 从新计算待机时长\n const touchScreen = () => {\n store.commit(\"app/standbyTime\");\n };\n showfloatBtn({\n store\n });\n const noSleep = new NoSleep();\n document.addEventListener(\"click\", function enableNoSleep() {\n document.removeEventListener(\"click\", enableNoSleep, false);\n noSleep.enable();\n }, false);\n\n //\n\n // nextTick(() => {\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 // store.state.app.musicPlayer.play()\n // })\n // })\n\n // 视频开关\n watch(() => [switchVideo], ([type]) => {\n store.commit(\"config/switchVideo\", type);\n }, {\n immediate: true,\n deep: true\n });\n watch(() => [musicVal.value], ([type]) => {\n musicVolume.value = type;\n }, {\n immediate: true,\n deep: true\n });\n // 音乐开关\n watch(() => [musicVolume.value], ([type]) => {\n store.commit(\"config/setValue\", {\n name: \"musicVolume\",\n type\n });\n });\n // 音效开关\n watch(() => [effectsVolume.value], ([type]) => {\n store.commit(\"config/setValue\", {\n name: \"effectsVolume\",\n type\n });\n });\n // 下注筹码显示\n watch(() => [showOtherChip.value], ([type]) => {\n store.commit(\"config/setValue\", {\n name: \"showOtherChip\",\n type\n });\n });\n // 总声音控制\n watch(() => [switchSound.value], ([type]) => {\n nextTick(() => {\n store.commit(\"config/switchSound\", type);\n const Audio = document.getElementById(\"Audio\");\n Audio.muted = !type;\n });\n }, {\n immediate: true,\n deep: true\n });\n return {\n Type,\n Lang,\n fullScreen,\n showAplayer,\n showMenu,\n settingMenu,\n chipArry,\n showChipPop,\n baccaratType,\n showSetFree,\n showBaccaratPlayType,\n showTableInfo,\n showOnLine,\n showRecord,\n showSystem,\n switchSound,\n switchVideo,\n langList,\n langselect,\n showShare,\n volume,\n musicVolume,\n effectsVolume,\n showOtherChip,\n requestFullScreen,\n toggleAplayer,\n chooseMenu,\n setChip,\n toggleChipPop,\n closeMenu,\n setBaccaratType,\n closeSetFree,\n toggleRecord,\n toggleSystem,\n showLangselect,\n choseLang,\n shareFn,\n copyUrl,\n collect,\n touchScreen,\n setVolume\n };\n }\n};","map":{"version":3,"names":["computed","ref","watch","nextTick","useStore","useRouter","requestFullScreen","showfloatBtn","NoSleep","aPlayer","Record","showToast","showSuccessToast","components","setup","showChipPop","langselect","store","router","settingMenu","key","name","langList","en","tw","cn","yn","kr","tl","in","switchSound","switchVideo","musicVal","state","config","musicVolume","effectsVal","effectsVolume","otherChipVal","showOtherChip","value","userInfo","app","Type","$Type","Lang","$lang","showMenu","chipArry","fullScreen","showAplayer","showSetFree","baccaratType","showTableInfo","showShare","showBaccaratPlayType","showOnLine","showRecord","showSystem","volume","toggleAplayer","commit","closeMenu","chooseMenu","type","toggleChipPop","is_sw","toggleRecord","toggleSystem","push","path","setChip","item","list","filter","v","show","length","cannot_less_one","no_more_6","setBaccaratType","switch_free_text_0","switch_free_text_1","closeSetFree","showLangselect","choseLang","lang","shareFn","copyUrl","protocol","document","location","hostname","port","url","input","createElement","style","cssText","body","appendChild","select","execCommand","remove","coyp_successful","setVolume","collect","window","navigator","standalone","test","userAgent","addToHomeScreen","confirm","icon","require","title","href","meta","setAttribute","head","link","titleElement","innerText","collection_successful","touchScreen","noSleep","addEventListener","enableNoSleep","removeEventListener","enable","immediate","deep","Audio","getElementById","muted"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/App.vue"],"sourcesContent":["<template>\n <div id=\"page\" class=\"page\" @click=\"touchScreen\">\n <!-- 竖屏版本:移除全屏提示 -->\n <!-- 音乐播放器 -->\n <Transition\n name=\"custom-classes\"\n enter-active-class=\"animate__animated animate__zoomIn\"\n leave-active-class=\"animate__animated animate__zoomOut\"\n >\n <div class=\"aplayer-pop\" v-show=\"showAplayer\">\n <div class=\"aplayer-view\">\n <van-icon class=\"close\" @click=\"toggleAplayer\" name=\"cross\" />\n <aPlayer></aPlayer>\n </div>\n </div>\n </Transition>\n <!-- 菜单 -->\n <Transition\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 <div class=\"setting-pop\" v-if=\"showMenu\">\n <div class=\"setting-view\">\n <div\n class=\"btn animate__bounceInRight animated0\"\n :class=\"[Type, item.key, `animated-delay0${index + 1}`]\"\n v-for=\"(item, index) in settingMenu\"\n :key=\"item.key\"\n @click=\"chooseMenu(item.key)\"\n ></div>\n <div class=\"ft animate__bounceInRight animated0 animated-delay06\">\n <span class=\"collect\" :class=\"[Type]\" @click=\"collect\"></span>\n <span class=\"share\" :class=\"[Type]\" @click=\"shareFn(true)\"></span>\n </div>\n </div>\n </div>\n </Transition>\n <!-- 筹码设置 -->\n <Transition\n name=\"custom-classes\"\n enter-active-class=\"animate__animated animate__zoomIn\"\n leave-active-class=\"animate__animated animate__zoomOut\"\n >\n <div class=\"chips-pop\" v-if=\"showChipPop\">\n <div class=\"chips-view\">\n <div class=\"title\">\n {{ Lang[Type].set_chips }}\n <van-icon class=\"close\" @click=\"toggleChipPop\" name=\"cross\" />\n </div>\n <div\n class=\"chip\"\n :class=\"[`chip_${item.key}`, item.show ? 'active' : '']\"\n v-for=\"item in chipArry\"\n :key=\"item.key\"\n @click=\"setChip(item)\"\n ></div>\n <div class=\"chip\"></div>\n <div class=\"chip\"></div>\n </div>\n </div>\n </Transition>\n <!-- 免佣切换 -->\n <Transition\n name=\"custom-classes\"\n enter-active-class=\"animate__animated animate__zoomIn\"\n leave-active-class=\"animate__animated animate__zoomOut\"\n >\n <div class=\"free-pop\" v-if=\"showSetFree\">\n <div class=\"free-view\">\n <div class=\"title\">\n {{ Lang[Type].switch_free }}\n <van-icon class=\"close\" @click=\"closeSetFree\" name=\"cross\" />\n </div>\n <div\n class=\"item\"\n :class=\"{ active: baccaratType == 0 }\"\n @click=\"setBaccaratType(0)\"\n >\n <h5>{{ Lang[Type].banker_un_free }}</h5>\n <div>\n {{ Lang[Type].banker_is }}\n <span class=\"red\">{{ Lang[Type].any_points }}</span>\n {{ Lang[Type].banker_un_free_text }}\n </div>\n <i class=\"icon\"></i>\n </div>\n <div\n class=\"item\"\n :class=\"{ active: baccaratType == 1 }\"\n @click=\"setBaccaratType(1)\"\n >\n <h5>{{ Lang[Type].banker_free }}</h5>\n <div>\n {{ Lang[Type].banker_is }}\n <span class=\"red\">{{ Lang[Type].other_6_points }}</span>\n {{ Lang[Type].banker_free_text_1 }}\n <span class=\"red\">{{ Lang[Type].six_points }}</span>\n {{ Lang[Type].banker_free_text_2 }}\n </div>\n <i class=\"icon\"></i>\n </div>\n </div>\n </div>\n </Transition>\n <!-- 分享试玩 -->\n <Transition\n name=\"custom-classes\"\n enter-active-class=\"animate__animated animate__zoomIn\"\n leave-active-class=\"animate__animated animate__zoomOut\"\n >\n <div class=\"share-pop\" v-if=\"showShare\">\n <div class=\"share-view\">\n <div class=\"title\">\n {{ Lang[Type].share_link }}\n <van-icon @click=\"shareFn(false)\" class=\"close\" name=\"cross\" />\n </div>\n <div class=\"flex share-box\">\n <div class=\"logo\" :class=\"[Type]\"></div>\n <div class=\"box\">\n <div class=\"name\">{{ Lang[Type].classic_baccarat }}</div>\n <div class=\"text\">\n {{ Lang[Type].share_active_text }}\n </div>\n </div>\n </div>\n <div class=\"copy-btn\" @click=\"copyUrl\">\n <van-icon class=\"icon\" name=\"link-o\" />\n {{ Lang[Type].copy_link }}\n </div>\n </div>\n </div>\n </Transition>\n\n <!-- 历史记录 -->\n <Transition\n name=\"custom-classes\"\n enter-active-class=\"animate__animated animate__zoomIn\"\n leave-active-class=\"animate__animated animate__zoomOut\"\n >\n <div class=\"record-pop\" v-if=\"showRecord\">\n <div class=\"record-view\">\n <van-icon class=\"close\" @click=\"toggleRecord\" name=\"cross\" />\n <Record></Record>\n </div>\n </div>\n </Transition>\n <!-- 系统设置 -->\n <Transition\n name=\"custom-classes\"\n enter-active-class=\"animate__animated animate__zoomIn\"\n leave-active-class=\"animate__animated animate__zoomOut\"\n >\n <div class=\"system-pop\" v-if=\"showSystem\">\n <div class=\"system-view\">\n <div class=\"title\">\n {{ Lang[Type].set_up }}\n <van-icon class=\"close\" @click=\"toggleSystem\" name=\"cross\" />\n </div>\n <div class=\"list\">\n <label class=\"lab\" @click=\"showLangselect(true)\">\n {{ Lang[Type].languageSet }}:{{ langList[Type] }}\n </label>\n <div class=\"select\" @click=\"showLangselect(true)\">\n {{ langList[Type] }}\n </div>\n <div class=\"select-box\" v-show=\"langselect\">\n <div\n class=\"option\"\n v-for=\"item in Object.keys(langList)\"\n :key=\"item\"\n :class=\"{ active: item == Type }\"\n @click=\"choseLang(item)\"\n >\n {{ langList[item] }}\n </div>\n </div>\n </div>\n <div class=\"list\">\n <div class=\"lab\">\n {{ Lang[Type].gameVideo }}:{{\n switchVideo ? Lang[Type].ON : Lang[Type].OFF\n }}\n </div>\n <div class=\"box\">\n <van-switch v-model=\"switchVideo\" size=\"0.7rem\" />\n </div>\n </div>\n <div class=\"list\">\n <div class=\"lab\">\n {{ Lang[Type].musicVolume }}:{{\n musicVolume ? Lang[Type].ON : Lang[Type].OFF\n }}\n </div>\n <div class=\"box\">\n <van-switch v-model=\"musicVolume\" size=\"0.7rem\" />\n </div>\n </div>\n <div class=\"list\">\n <div class=\"lab\">\n {{ Lang[Type].effectsVolume }}:{{\n effectsVolume ? Lang[Type].ON : Lang[Type].OFF\n }}\n </div>\n <div class=\"box\">\n <van-switch v-model=\"effectsVolume\" size=\"0.7rem\" />\n </div>\n </div>\n <div class=\"list\">\n <div class=\"lab\">\n {{ Lang[Type].showOtherChip }}:{{\n showOtherChip ? Lang[Type].ON : Lang[Type].OFF\n }}\n </div>\n <div class=\"box\">\n <van-switch v-model=\"showOtherChip\" size=\"0.7rem\" />\n </div>\n </div>\n <!-- <div class=\"list\">\n <div class=\"lab\">\n {{ Lang[Type].soundSet }}:{{\n switchSound ? Lang[Type].ON : Lang[Type].OFF\n }}\n </div>\n <div class=\"box\">\n <van-switch v-model=\"switchSound\" size=\"0.7rem\" />\n </div>\n </div> -->\n <!-- 音量设置 -->\n <!-- <div class=\"list\">\n <div class=\"lab\">提示音量:</div>\n <div class=\"progress-box\">\n <van-icon\n class=\"icon\"\n name=\"minus\"\n @click=\"setVolume('effects', 'cut')\"\n />\n <van-progress\n class=\"progress\"\n :percentage=\"volume.effects\"\n stroke-width=\"8\"\n />\n <van-icon\n class=\"icon\"\n name=\"plus\"\n @click=\"setVolume('effects', 'add')\"\n />\n </div>\n </div>\n <div class=\"list\">\n <div class=\"lab\">音乐音量:</div>\n <div class=\"progress-box\">\n <van-icon\n class=\"icon\"\n name=\"minus\"\n @click=\"setVolume('music', 'cut')\"\n />\n <van-progress\n class=\"progress\"\n :percentage=\"volume.music\"\n stroke-width=\"8\"\n />\n <van-icon\n class=\"icon\"\n name=\"plus\"\n @click=\"setVolume('music', 'add')\"\n />\n </div>\n </div> -->\n </div>\n </div>\n </Transition>\n <!-- 背景 -->\n <div\n class=\"pop-bg\"\n v-if=\"\n showAplayer || showChipPop || showSetFree || showSystem || showShare\n \"\n ></div>\n <div\n class=\"pop-bg transparent\"\n v-if=\"showMenu || showTableInfo\"\n @click=\"closeMenu\"\n ></div>\n <!-- 音效播放器 -->\n <audio hidden id=\"Audio\">\n <source id=\"audioSourceAside\" />\n </audio>\n <router-view />\n </div>\n</template>\n<script>\nimport { computed, ref, watch, nextTick } from \"vue\"\nimport { useStore } from \"vuex\"\nimport { useRouter } from \"vue-router\"\nimport { requestFullScreen, showfloatBtn } from \"./plugins/fox.config\"\nimport NoSleep from \"@/assets/js/NoSleep.js\"\nimport aPlayer from \"@/components/aPlayer\"\nimport Record from \"@/components/Record\"\n\nimport { showToast, showSuccessToast } from \"vant\"\nexport default {\n components: { aPlayer, Record },\n setup() {\n const showChipPop = ref(false)\n const langselect = ref(false)\n const store = useStore()\n const router = useRouter()\n const settingMenu = [\n { key: \"chips\", name: \"筹码设置\" },\n { key: \"set\", name: \"系统设置\" },\n { key: \"record\", name: \"投注记录\" },\n { key: \"help\", name: \"帮助\" }\n ]\n const langList = {\n en: \"English\",\n tw: \"繁體中文\",\n cn: \"简体中文\",\n yn: \"Việt nam\",\n kr: \"한국어\",\n tl: \"แบบไทย\",\n in: \"Indonesia\"\n }\n const switchSound = ref(true)\n const switchVideo = ref(true)\n\n const musicVal = computed(() => store.state.config.musicVolume)\n const effectsVal = computed(() => store.state.config.effectsVolume)\n const otherChipVal = computed(() => store.state.config.showOtherChip)\n const musicVolume = ref(musicVal.value)\n const effectsVolume = ref(effectsVal.value)\n const showOtherChip = ref(otherChipVal.value)\n\n const userInfo = computed(() => store.state.app.userInfo)\n const Type = computed(() => store.state.config.$Type)\n const Lang = computed(() => store.state.config.$lang)\n const showMenu = computed(() => store.state.config.showMenu)\n const chipArry = computed(() => store.state.config.chipArry)\n const fullScreen = computed(() => store.state.config.fullScreen)\n const showAplayer = computed(() => store.state.config.showAplayer)\n const showSetFree = computed(() => store.state.config.showSetFree)\n const baccaratType = computed(() => store.state.config.baccaratType)\n const showTableInfo = computed(() => store.state.config.showTableInfo)\n const showShare = computed(() => store.state.config.showShare)\n const showBaccaratPlayType = computed(\n () => store.state.config.showBaccaratPlayType\n )\n const showOnLine = computed(() => store.state.config.showOnLine)\n const showRecord = computed(() => store.state.config.showRecord)\n const showSystem = computed(() => store.state.config.showSystem)\n const volume = computed(() => store.state.config.volume)\n const toggleAplayer = () => {\n store.commit(\"config/showAplayer\")\n }\n const closeMenu = () => {\n store.commit(\"config/showMenu\", false)\n store.commit(\"config/showTableInfo\", false)\n }\n const chooseMenu = (type) => {\n switch (type) {\n case \"chips\":\n toggleChipPop()\n break\n case \"record\":\n if (userInfo.value.is_sw == 1) {\n showToast(Lang.value[Type.value].is_sw)\n } else {\n toggleRecord()\n }\n break\n case \"set\":\n toggleSystem()\n break\n case \"help\":\n router.push({ path: \"/help\" })\n break\n }\n closeMenu()\n }\n const setChip = (item) => {\n const list = chipArry.value.filter((v) => v.show == true)\n if (item.show && list.length == 1) {\n showToast(Lang.value[Type.value].cannot_less_one)\n } else if (!item.show && list.length > 5) {\n showToast(Lang.value[Type.value].no_more_6)\n } else {\n item.show = !item.show\n }\n }\n const toggleChipPop = () => {\n showChipPop.value = !showChipPop.value\n }\n const setBaccaratType = (type) => {\n if (type == 0) {\n showToast(Lang.value[Type.value].switch_free_text_0)\n } else {\n showToast(Lang.value[Type.value].switch_free_text_1)\n }\n store.commit(\"config/setBaccaratType\", type)\n }\n const closeSetFree = () => {\n store.commit(\"config/showSetFree\")\n }\n const toggleRecord = () => {\n store.commit(\"config/showRecord\")\n }\n const toggleSystem = () => {\n store.commit(\"config/showSystem\")\n }\n const showLangselect = (state) => {\n langselect.value = state\n }\n const choseLang = (lang) => {\n store.commit(\"config/updateLang\", lang)\n langselect.value = false\n }\n const shareFn = (state) => {\n store.commit(\"config/showMenu\", false)\n store.commit(\"config/showShare\", state)\n }\n const copyUrl = () => {\n const protocol = document.location.protocol\n const hostname = document.location.hostname\n const port = document.location.port\n let url = \"\"\n if (port) {\n url = `${protocol}//${hostname}:${port}`\n } else {\n url = `${protocol}//${hostname}`\n }\n const input = document.createElement(\"input\")\n input.style.cssText = \"opacity: 0\"\n input.type = \"text\"\n input.value = url\n document.body.appendChild(input)\n input.select()\n document.execCommand(\"copy\")\n input.remove()\n store.commit(\"config/showShare\", false)\n showSuccessToast(Lang.value[Type.value].coyp_successful)\n }\n const setVolume = (name, type) => {\n store.commit(\"config/volumeSeting\", { name, type })\n }\n const collect = () => {\n // 判断是否支持浏览器API\n if (\n \"navigator\" in window &&\n \"standalone\" in window.navigator &&\n !window.navigator.standalone\n ) {\n // 判断是否为苹果设备\n if (/iphone|ipod|ipad/i.test(navigator.userAgent)) {\n const addToHomeScreen = confirm(\"Add to Home Screen?\")\n if (addToHomeScreen) {\n const icon = require(\"./assets/images/en_baccarat_icon.png\") // 替换为你的图标路径\n const title = \"AgGame\" // 替换为你的应用标题\n const url = window.location.href // 获取当前页面的URL\n const meta = document.createElement(\"meta\")\n meta.setAttribute(\"name\", \"apple-mobile-web-app-capable\")\n meta.setAttribute(\"content\", \"yes\")\n document.head.appendChild(meta)\n const link = document.createElement(\"link\")\n link.setAttribute(\"rel\", \"apple-touch-icon\")\n link.setAttribute(\"href\", icon)\n document.head.appendChild(link)\n const titleElement = document.createElement(\"title\")\n titleElement.innerText = title\n document.head.appendChild(titleElement)\n window.location.href = url\n }\n } else if (/android/i.test(navigator.userAgent)) {\n const addToHomeScreen = confirm(\"Add to Home Screen?\")\n if (addToHomeScreen) {\n const icon = require(\"./assets/images/en_baccarat_icon.png\") // 替换为你的图标路径\n const title = \"AgGame\" // 替换为你的应用标题\n const url = window.location.href // 获取当前页面的URL\n const meta = document.createElement(\"meta\")\n meta.setAttribute(\"name\", \"mobile-web-app-capable\")\n meta.setAttribute(\"content\", \"yes\")\n document.head.appendChild(meta)\n const link = document.createElement(\"link\")\n link.setAttribute(\"rel\", \"icon\")\n link.setAttribute(\"type\", \"image/png\")\n link.setAttribute(\"href\", icon)\n document.head.appendChild(link)\n const titleElement = document.createElement(\"title\")\n titleElement.innerText = title\n document.head.appendChild(titleElement)\n window.location.href = url\n }\n }\n }\n\n showSuccessToast(Lang.value[Type.value].collection_successful)\n }\n // 从新计算待机时长\n const touchScreen = () => {\n store.commit(\"app/standbyTime\")\n }\n showfloatBtn({ store })\n const noSleep = new NoSleep()\n document.addEventListener(\n \"click\",\n function enableNoSleep() {\n document.removeEventListener(\"click\", enableNoSleep, false)\n noSleep.enable()\n },\n false\n )\n\n //\n\n // nextTick(() => {\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 // store.state.app.musicPlayer.play()\n // })\n // })\n\n // 视频开关\n watch(\n () => [switchVideo],\n ([type]) => {\n store.commit(\"config/switchVideo\", type)\n },\n { immediate: true, deep: true }\n )\n watch(\n () => [musicVal.value],\n ([type]) => {\n musicVolume.value = type\n },\n { immediate: true, deep: true }\n )\n // 音乐开关\n watch(\n () => [musicVolume.value],\n ([type]) => {\n store.commit(\"config/setValue\", { name: \"musicVolume\", type })\n }\n )\n // 音效开关\n watch(\n () => [effectsVolume.value],\n ([type]) => {\n store.commit(\"config/setValue\", { name: \"effectsVolume\", type })\n }\n )\n // 下注筹码显示\n watch(\n () => [showOtherChip.value],\n ([type]) => {\n store.commit(\"config/setValue\", { name: \"showOtherChip\", type })\n }\n )\n // 总声音控制\n watch(\n () => [switchSound.value],\n ([type]) => {\n nextTick(() => {\n store.commit(\"config/switchSound\", type)\n const Audio = document.getElementById(\"Audio\")\n Audio.muted = !type\n })\n },\n { immediate: true, deep: true }\n )\n\n return {\n Type,\n Lang,\n fullScreen,\n showAplayer,\n showMenu,\n settingMenu,\n chipArry,\n showChipPop,\n baccaratType,\n showSetFree,\n showBaccaratPlayType,\n showTableInfo,\n showOnLine,\n showRecord,\n showSystem,\n switchSound,\n switchVideo,\n langList,\n langselect,\n showShare,\n volume,\n musicVolume,\n effectsVolume,\n showOtherChip,\n requestFullScreen,\n toggleAplayer,\n chooseMenu,\n setChip,\n toggleChipPop,\n closeMenu,\n setBaccaratType,\n closeSetFree,\n toggleRecord,\n toggleSystem,\n showLangselect,\n choseLang,\n shareFn,\n copyUrl,\n collect,\n touchScreen,\n setVolume\n }\n }\n}\n</script>\n<style lang=\"scss\">\n@import \"swiper/css\";\n@import \"@/assets/style/animate.min\";\n@import \"vant/lib/index.css\";\n@import \"@/assets/style/base\";\n@import \"@/assets/style/portrait\";\n.tipFull {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n background: rgba(0, 0, 0, 1);\n z-index: 40;\n transform: rotateX(0deg);\n .box {\n width: 8rem;\n min-width: 280px;\n background: #fff;\n margin: 0 auto;\n font-size: 16px;\n border-radius: 10px;\n padding: 5px 20px;\n display: flex;\n flex-direction: column;\n align-items: center;\n padding-bottom: 20px;\n margin-top: 2rem;\n .title {\n text-align: center;\n font-size: 18px;\n line-height: 1.5;\n margin: 10px 0;\n }\n }\n}\n.pop-bg {\n position: absolute;\n z-index: 35;\n transform: rotateX(0deg);\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.5);\n &.transparent {\n background: none;\n }\n}\n.setting-pop {\n position: absolute;\n transform: rotateX(0deg);\n z-index: 1000;\n right: 0;\n top: 0;\n bottom: 0;\n width: 7rem;\n background: rgba(50, 54, 60, 0.9);\n .setting-view {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n .btn {\n width: 5rem;\n height: 1.2rem;\n background-size: 100% 100%;\n margin: 0.25rem auto;\n &:active {\n opacity: 0.6;\n }\n &.chips {\n background-image: url(\"~@/assets/images/cn_chip_btn.png\");\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_chip_btn.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_chip_btn.png\");\n }\n }\n &.good {\n background-image: url(\"~@/assets/images/cn_good_btn.png\");\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_good_btn.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_good_btn.png\");\n }\n }\n &.set {\n background-image: url(\"~@/assets/images/cn_seting_btn.png\");\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_seting_btn.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_seting_btn.png\");\n }\n }\n &.record {\n background-image: url(\"~@/assets/images/cn_record_btn.png\");\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_record_btn.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_record_btn.png\");\n }\n }\n &.help {\n background-image: url(\"~@/assets/images/cn_help_btn.png\");\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_help_btn.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_help_btn.png\");\n }\n }\n }\n .ft {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n bottom: 1rem;\n .collect {\n width: 2.4rem;\n height: 1.2rem;\n background: url(\"~@/assets/images/cn_collect_btn.png\") no-repeat;\n background-size: 100% auto;\n margin-right: 0.3rem;\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_collect_btn.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_collect_btn.png\");\n }\n &:active {\n opacity: 0.6;\n }\n }\n .share {\n width: 2.4rem;\n height: 1.2rem;\n background: url(\"~@/assets/images/cn_share_btn.png\") no-repeat;\n background-size: 100% auto;\n margin-left: 0.3rem;\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_share_btn.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_share_btn.png\");\n }\n &:active {\n opacity: 0.6;\n }\n }\n }\n }\n}\n.chips-pop {\n position: absolute;\n transform: rotateX(0deg);\n z-index: 36;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n display: flex;\n justify-content: center;\n .chips-view {\n display: flex;\n flex-wrap: wrap;\n width: 8.5rem;\n height: 6rem;\n border: 1px solid #ddd;\n margin-top: 2rem;\n border-radius: 0.5rem;\n background: rgba(50, 54, 60, 0.9);\n justify-content: space-between;\n align-items: center;\n padding: 1.2rem 0.5rem 0.4rem 0.5rem;\n position: relative;\n overflow: hidden;\n .title {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n text-align: center;\n font-size: 0.5rem;\n line-height: 1.3rem;\n color: #eee;\n .close {\n position: absolute;\n right: 0.2rem;\n top: 0.3rem;\n color: #ccc;\n font-size: 0.5rem;\n &:active {\n opacity: 0.6;\n }\n }\n }\n\n .chip {\n width: 1.45rem;\n height: 1.35rem;\n margin: 0 0.3rem;\n transform: scale(1);\n background-repeat: no-repeat;\n &:active {\n opacity: 0.6;\n }\n &.active {\n &:after {\n width: 1.45rem;\n height: 1.38rem;\n }\n &:before {\n content: \"\";\n width: 0.7rem;\n height: 0.7rem;\n position: absolute;\n background: url(\"~@/assets/images/sprite_btn.png\") no-repeat;\n z-index: 2;\n right: -0.3rem;\n top: -0.1rem;\n background-position: -0.93rem -0.9rem;\n background-size: 1.7rem;\n }\n }\n }\n }\n}\n.aplayer-pop {\n position: absolute;\n transform: rotateX(0deg);\n z-index: 36;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n .aplayer-view {\n width: 70%;\n position: relative;\n .close {\n position: absolute;\n top: 6px;\n right: 6px;\n z-index: 99;\n font-size: 20px;\n padding: 8px;\n transform: rotateX(0deg);\n &:active {\n opacity: 0.6;\n }\n }\n }\n}\n.record-pop {\n position: absolute;\n transform: rotateX(0deg);\n z-index: 36;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n display: flex;\n justify-content: center;\n .record-view {\n width: 100%;\n height: 100%;\n position: relative;\n background: #32363c;\n overflow: hidden;\n .close {\n color: #fff;\n position: absolute;\n top: 2px;\n right: 6px;\n z-index: 99;\n font-size: 20px;\n padding: 8px;\n &:active {\n opacity: 0.6;\n }\n }\n }\n}\n.system-pop {\n position: absolute;\n transform: rotateX(0deg);\n z-index: 36;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n .system-view {\n width: 11.5rem;\n // height: 6.5rem;\n position: relative;\n background: #fff;\n border-radius: 0.5rem;\n overflow: hidden;\n .title {\n font-size: 0.48rem;\n font-weight: 600;\n text-align: center;\n padding: 0.5rem 0;\n }\n .close {\n color: #32363c;\n position: absolute;\n top: 6px;\n right: 6px;\n z-index: 99;\n font-size: 20px;\n padding: 8px;\n &:active {\n opacity: 0.6;\n }\n }\n .list {\n font-size: 0.45rem;\n font-weight: 500;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 0.5rem 0.7rem 0.5rem;\n position: relative;\n .lab {\n font-weight: 600;\n color: #212121;\n }\n .select {\n border-radius: 0.2rem;\n width: 2.5rem;\n display: inline-block;\n font-size: 0.45rem;\n color: #1989fa;\n line-height: 0.88rem;\n border: 1px solid #1989fa;\n text-align: center;\n background: #eff5ff;\n font-weight: bold;\n &:active {\n opacity: 0.6;\n }\n }\n .select-box {\n position: absolute;\n right: 0;\n top: 1rem;\n width: 2.5rem;\n line-height: 0.88rem;\n background: #212121;\n border-radius: 0.2rem;\n text-align: center;\n color: #fff;\n font-size: 0.4rem;\n z-index: 9;\n max-height: 3.5rem;\n overflow-y: auto;\n .option:active {\n opacity: 0.6;\n }\n .active {\n color: #cfc189;\n font-weight: bold;\n }\n }\n .box {\n width: 2rem;\n }\n .progress-box {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n .progress {\n flex: 1;\n margin: 0 10px;\n }\n .icon {\n width: 0.8rem;\n height: 0.8rem;\n border: 1px solid #ddd;\n text-align: center;\n line-height: 0.8rem;\n font-weight: bold;\n border-radius: 2px;\n background: #eff5ff;\n &:active {\n opacity: 0.6;\n }\n }\n }\n }\n }\n}\n.free-pop,\n.share-pop {\n position: absolute;\n transform: rotateX(0deg);\n z-index: 36;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n\n .free-view,\n .share-view {\n width: 11.5rem;\n border: 1px solid #ddd;\n margin-top: 2rem;\n border-radius: 0.5rem;\n background: #fff;\n padding: 0rem 0.6rem 0.4rem 0.6rem;\n position: relative;\n overflow: hidden;\n left: 50%;\n margin-left: -5.525rem;\n .title {\n font-size: 0.65rem;\n font-weight: 600;\n color: #333;\n text-align: center;\n width: 100%;\n margin: 0.5rem 0;\n position: relative;\n .close {\n position: absolute;\n right: 0rem;\n top: -0.1rem;\n font-size: 1rem;\n color: #999;\n &:active {\n opacity: 0.6;\n }\n }\n }\n .item {\n margin: 0.4rem 0;\n border: 1px solid #ddd;\n border-radius: 0.2rem;\n font-size: 0.42rem;\n padding: 0.4rem 2.4rem 0.4rem 0.4rem;\n width: 100%;\n position: relative;\n box-sizing: border-box;\n color: #444;\n line-height: 1.5;\n &:active {\n opacity: 0.6;\n }\n .icon {\n position: absolute;\n width: 0.72rem;\n height: 0.72rem;\n border: 0.06rem solid #ddd;\n border-radius: 0.72rem;\n box-sizing: border-box;\n right: 0.8rem;\n top: 50%;\n margin-top: -0.35rem;\n &::after {\n content: \"\";\n width: 0.44rem;\n height: 0.44rem;\n background: #d9e6ed;\n border-radius: 0.44rem;\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -0.22rem;\n margin-top: -0.22rem;\n }\n }\n &.active {\n background: #f3fbff;\n border-color: #b2d3f6;\n .icon {\n border-color: #b2d3f6;\n &:after {\n background: #19b8f5;\n }\n }\n }\n h5 {\n font-size: 0.5rem;\n margin-top: 0;\n margin-bottom: 0.1rem;\n }\n }\n .share-box {\n font-size: 0.5rem;\n background: #ecedf1;\n padding: 1rem 0.4rem;\n border-radius: 0.2rem;\n color: #353538;\n line-height: 1.5;\n display: flex;\n align-items: center;\n .logo {\n min-width: 2.5rem;\n height: 2.5rem;\n background: url(\"~@/assets/images/cn_baccarat_icon.png\") no-repeat;\n background-size: 100% auto;\n margin-right: 0.5rem;\n border-radius: 0.6rem;\n &.en,\n &.kr,\n &.yn {\n background-image: url(\"~@/assets/images/en_baccarat_icon.png\");\n }\n &.tw {\n background-image: url(\"~@/assets/images/tw_baccarat_icon.png\");\n }\n }\n .name {\n font-weight: 600;\n }\n }\n .copy-btn {\n font-size: 0.53rem;\n text-align: center;\n font-weight: 600;\n border: 1px solid #ccc;\n margin: 0 auto;\n border-radius: 1rem;\n width: 6rem;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0.35rem 0.2rem;\n position: relative;\n margin-top: 0.4rem;\n &:active {\n opacity: 0.6;\n }\n .icon {\n background: #29cca2;\n color: #fff;\n padding: 0.2rem;\n border-radius: 0.5rem;\n position: absolute;\n left: 0.4rem;\n font-size: 0.55rem;\n }\n }\n .red {\n color: #db4d4c;\n font-weight: bold;\n }\n }\n}\n\n// /* 进场的瞬间与离场的效果添加 */\n.menu-enter-from,\n.menu-leave-to {\n opacity: 0;\n transform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ACZgB,cAAc;MACdC,SAAS;MACTE,OAAO;MACPC,OAAO;MACPkB,OAAO;MACPmB,WAAW;MACXpB;IACF;EACF;AACF"},"metadata":{},"sourceType":"module","externalDependencies":[]} |