[add] 新增環境
This commit is contained in:
parent
8edd4b29b7
commit
37be2a01b1
@ -10,6 +10,8 @@
|
||||
<!-- SmartAppBanner -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="theme-color" content="black">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||||
<meta name="apple-itunes-app" content="app-id=1593328573">
|
||||
|
@ -1,4 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
Coffee
|
||||
} from '@element-plus/icons-vue';
|
||||
import { ElDialog } from 'element-plus';
|
||||
import { ref } from "vue";
|
||||
import { BJ_Casino_Deeplink } from "../script/BJ_Casino_Deeplink";
|
||||
@ -13,6 +16,8 @@ const patch = ref(0)
|
||||
const iscustom = ref(false)
|
||||
const isBtn_WanOpen = ref(false)
|
||||
const PopupVisible = ref(false)
|
||||
const PopupCallback = ref(Function)
|
||||
const PopupInfo = ref('')
|
||||
const input3 = ref('')
|
||||
const self = {
|
||||
servertypeDefault: servertypeDefault,
|
||||
@ -24,6 +29,8 @@ const self = {
|
||||
iscustom: iscustom,
|
||||
isBtn_WanOpen: isBtn_WanOpen,
|
||||
PopupVisible: PopupVisible,
|
||||
PopupCallback: PopupCallback,
|
||||
PopupInfo: PopupInfo,
|
||||
Script: null
|
||||
}
|
||||
const Script = new BJ_Casino_Deeplink(self);
|
||||
@ -34,7 +41,7 @@ const Patch = Script.GetPatch();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<el-dialog v-model="PopupVisible" :show-close="false">
|
||||
<el-dialog v-model="PopupVisible" width="30%" :show-close="false">
|
||||
<Popup :APP="self" />
|
||||
</el-dialog>
|
||||
<div>
|
||||
@ -78,27 +85,30 @@ const Patch = Script.GetPatch();
|
||||
</span>
|
||||
<br>
|
||||
<el-button type="primary" @click.native="() => { Script.Install_Debug() }" size="large" round>
|
||||
安裝Debug>>
|
||||
安裝測試Debug>>
|
||||
</el-button>
|
||||
<br>
|
||||
<el-button type="primary" @click.native="() => { Script.Install_Release() }" size="large" round>
|
||||
安裝Release>></el-button>
|
||||
安裝測試Release>></el-button>
|
||||
<br>
|
||||
<el-button type="primary" @click.native="() => { Script.Install_Release_Debug() }" size="large" round>
|
||||
安裝Release(可看log)>></el-button>
|
||||
安裝外版Debug>></el-button>
|
||||
<br>
|
||||
<el-button type="primary" @click.native="() => { Script.Install_B2B() }" size="large" round>
|
||||
安裝B2B>>
|
||||
</el-button>
|
||||
<br>
|
||||
<el-button type="primary" @click.native="() => { Script.Install_JM() }" size="large" round>安裝建喵版>>
|
||||
</el-button>
|
||||
<br>
|
||||
<el-button type="primary" @click.native="() => { Script.Install_Store() }" size="large" round>
|
||||
APP商店>>
|
||||
</el-button>
|
||||
<br>
|
||||
<el-button type="primary" @click.native="() => { Script.Install_Bowei() }" size="large" round>
|
||||
<el-button type="danger" :icon="Coffee" @click.native="() => { Script.Install_JM() }" size="large" round>
|
||||
安裝建喵版>>
|
||||
</el-button>
|
||||
<el-button type="danger" @click.native="() => { Script.Install_Alex() }" size="large" round>
|
||||
安裝豆豆版>>
|
||||
</el-button>
|
||||
<el-button type="danger" @click.native="() => { Script.Install_Bowei() }" size="large" round>
|
||||
安裝柏威版>>
|
||||
</el-button>
|
||||
<div>
|
||||
@ -111,6 +121,11 @@ const Patch = Script.GetPatch();
|
||||
</el-input>
|
||||
Google Play商店(內部測試) 版本號
|
||||
</div>
|
||||
<div>
|
||||
<el-button type="success" @click.native="() => { Script.OnclickOpenDevTools() }" size="large" round>
|
||||
打開Devtools>>
|
||||
</el-button>
|
||||
</div>
|
||||
<br>
|
||||
<a href="bjcasino://get/message?ClearAllCache">清空資料>></a>
|
||||
<br><br>
|
||||
|
@ -6,13 +6,15 @@ const props = defineProps<{ APP: any }>()
|
||||
const input = ref('')
|
||||
const APP = props.APP
|
||||
function Send(content: string) {
|
||||
APP.Script.OnclickOpen(true, { deviceid: content });
|
||||
APP.PopupVisible.value = false;
|
||||
APP.PopupCallback.value(content);
|
||||
}
|
||||
const info = APP.PopupInfo
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<el-input v-model="input" placeholder="請輸入裝置碼" />
|
||||
{{ info }}
|
||||
<el-input v-model="input" />
|
||||
<el-button type="primary" @click.native="() => { Send(input) }" size="large" round>確定
|
||||
</el-button>
|
||||
</template>
|
@ -3,8 +3,8 @@ export class BJ_Casino_Deeplink {
|
||||
|
||||
//#region public
|
||||
|
||||
public Servertype: any[] = [5, ["不選擇版本", "Web", "Out", "Submit", "Internal_release", "Internal_Dev"]];
|
||||
public Hostport: any[] = [1, ["不選擇環境", "內版", "肉乾9006", "肉乾9007", "肉乾9008", "肉乾9009", "賴宏", "40", "送審", "外版", "testing1", "testing2", "testing3"]];
|
||||
public Servertype: any[] = [5, ["不選擇版本", "Web", "Out", "Submit", "Internal_release", "Internal_Dev", "Out_B2B", "QA", "Test"]];
|
||||
public Hostport: any[] = [1, ["不選擇環境", "內版", "肉乾9006", "肉乾9007", "肉乾9008", "肉乾9009", "賴宏", "40", "送審", "外版", "QA", "Test", "testing1", "testing2", "testing3"]];
|
||||
public Patch: any[] = [1, [
|
||||
"不選擇資源路徑",
|
||||
"內版",
|
||||
@ -14,9 +14,12 @@ export class BJ_Casino_Deeplink {
|
||||
"alex",
|
||||
"bowei",
|
||||
"建喵-內版",
|
||||
"建喵-Test",
|
||||
"建喵-B2B",
|
||||
"建喵-送審",
|
||||
"建喵-外版",
|
||||
"QA",
|
||||
"Test",
|
||||
"打包機-內版",
|
||||
"打包機-B2B",
|
||||
"打包機-送審",
|
||||
@ -219,6 +222,16 @@ export class BJ_Casino_Deeplink {
|
||||
}
|
||||
}
|
||||
|
||||
public Install_Alex() {
|
||||
if (this._isAndroid) {
|
||||
window.open("http://220.134.195.1/public/bonus_casino/html5/alex/RedBeanTest/BJ_Casino-debug.apk?v=" + Date.now(), "_self");
|
||||
} else if (this._isiOS) {
|
||||
alert("iOS不提供");
|
||||
} else {
|
||||
window.open("http://220.134.195.1/public/bonus_casino/html5/alex/RedBeanTest/BJ_Casino-debug.apk?v=" + Date.now(), "_blank");
|
||||
}
|
||||
}
|
||||
|
||||
public Install_Bowei() {
|
||||
if (this._isAndroid) {
|
||||
window.open("http://220.134.195.1/public/bonus_casino/html5/bowei/BJ_Casino-debug.apk?v=" + Date.now(), "_self");
|
||||
@ -241,9 +254,24 @@ export class BJ_Casino_Deeplink {
|
||||
}
|
||||
}
|
||||
|
||||
public OnclickWanOpen() {
|
||||
public OnclickOpenDevTools() {
|
||||
this._client.PopupVisible.value = true;
|
||||
// this.OnclickOpen(true);
|
||||
this._client.PopupInfo.value = "請輸入IP";
|
||||
this._client.PopupCallback.value = (content: string) => {
|
||||
const url: string = `devtools://devtools/bundled/js_app.html?v8only=true&ws=${content}:6086/00010002-0003-4004-8005-000600070008`;
|
||||
// const url: string = `https://devtools/bundled/js_app.html?v8only=true&ws=${content}:6086/00010002-0003-4004-8005-000600070008`;
|
||||
// window.open(url, "_blank");
|
||||
alert(url);
|
||||
};
|
||||
}
|
||||
|
||||
public OnclickWanOpen() {
|
||||
let self: this = this;
|
||||
this._client.PopupVisible.value = true;
|
||||
this._client.PopupInfo.value = "請輸入裝置碼";
|
||||
this._client.PopupCallback.value = (content: string) => {
|
||||
self.OnclickOpen(true, { deviceid: content })
|
||||
};
|
||||
}
|
||||
|
||||
public OnclickOpen(isWan: boolean = false, obj: Object = {}) {
|
||||
@ -338,22 +366,36 @@ export class BJ_Casino_Deeplink {
|
||||
break;
|
||||
}
|
||||
|
||||
// testing1
|
||||
// QA
|
||||
case 10: {
|
||||
URLscheme["host"] = "https://qa.online-bj.com";
|
||||
URLscheme["port"] = "9005";
|
||||
break;
|
||||
}
|
||||
|
||||
// Test
|
||||
case 11: {
|
||||
URLscheme["host"] = "https://bot.online-bj.com";
|
||||
URLscheme["port"] = "9005";
|
||||
break;
|
||||
}
|
||||
|
||||
// testing1
|
||||
case 12: {
|
||||
URLscheme["host"] = "http://bj-testing1.casino.catan.com.tw";
|
||||
URLscheme["port"] = "9005";
|
||||
break;
|
||||
}
|
||||
|
||||
// testing2
|
||||
case 11: {
|
||||
case 13: {
|
||||
URLscheme["host"] = "http://bj-testing2.casino.catan.com.tw";
|
||||
URLscheme["port"] = "9005";
|
||||
break;
|
||||
}
|
||||
|
||||
// testing3
|
||||
case 12: {
|
||||
case 14: {
|
||||
URLscheme["host"] = "http://bj-testing3.casino.catan.com.tw";
|
||||
URLscheme["port"] = "9005";
|
||||
break;
|
||||
@ -419,44 +461,62 @@ export class BJ_Casino_Deeplink {
|
||||
break;
|
||||
}
|
||||
|
||||
// jianmiau-Release
|
||||
// jianmiau-Test
|
||||
case 8: {
|
||||
URLscheme["patch"] = "http://192.168.5.36/Source/_BJ_Source/BJ-Testing/";
|
||||
break;
|
||||
}
|
||||
|
||||
// jianmiau-Release
|
||||
case 9: {
|
||||
URLscheme["patch"] = "http://192.168.5.36/Source/_BJ_Source/BJ-Internal-Release/";
|
||||
break;
|
||||
}
|
||||
|
||||
// jianmiau-Submit
|
||||
case 9: {
|
||||
case 10: {
|
||||
URLscheme["patch"] = "http://192.168.5.36/Source/_BJ_Source/BJ-Submit/";
|
||||
break;
|
||||
}
|
||||
|
||||
// jianmiau-Out
|
||||
case 10: {
|
||||
case 11: {
|
||||
URLscheme["patch"] = "http://192.168.5.36/Source/_BJ_Source/BJ-Out/";
|
||||
break;
|
||||
}
|
||||
|
||||
// 108-Dev
|
||||
case 11: {
|
||||
// QA
|
||||
case 12: {
|
||||
URLscheme["patch"] = "https://patch-qa.online-bj.com/game/";
|
||||
break;
|
||||
}
|
||||
|
||||
// Test
|
||||
case 13: {
|
||||
URLscheme["patch"] = "https://patch-bot.online-bj.com/game/";
|
||||
break;
|
||||
}
|
||||
|
||||
// 打包機-Dev
|
||||
case 14: {
|
||||
URLscheme["patch"] = "http://192.168.5.108/BJ-Internal-Dev/";
|
||||
break;
|
||||
}
|
||||
|
||||
// 108-Release
|
||||
case 12: {
|
||||
// 打包機-Release
|
||||
case 15: {
|
||||
URLscheme["patch"] = "http://192.168.5.108/BJ-Internal-Release/";
|
||||
break;
|
||||
}
|
||||
|
||||
// 108-Submit
|
||||
case 13: {
|
||||
// 打包機-Submit
|
||||
case 16: {
|
||||
URLscheme["patch"] = "http://192.168.5.108/BJ-Submit/";
|
||||
break;
|
||||
}
|
||||
|
||||
// 108-Out
|
||||
case 14: {
|
||||
// 打包機-Out
|
||||
case 17: {
|
||||
URLscheme["patch"] = "http://192.168.5.108/BJ-Out/";
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user