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