新增官网跳转充值多语言
This commit is contained in:
@@ -33,6 +33,7 @@ var and;
|
||||
var url;
|
||||
var androidSkipType;
|
||||
var iosSkipType;
|
||||
var langCodes;
|
||||
// 初始化函數
|
||||
$(function () {
|
||||
getInfoFromClient();
|
||||
@@ -86,6 +87,7 @@ $(function () {
|
||||
}
|
||||
}
|
||||
langCode = getLanguageCode(langCode);
|
||||
langCodes = langCode
|
||||
if (langCode == 'zh') {
|
||||
$('.language').html('<b>中文</b> ▼')
|
||||
} else if (langCode == 'ar') {
|
||||
@@ -122,7 +124,7 @@ function translateFun() {
|
||||
|
||||
// pc跳轉充值
|
||||
$('body .pc .header .diamound, html .pc .header .diamound,body .homePc .diamound, html .homePc .diamound').click(function () {
|
||||
window.location = `${urlPrefix}/molistar/modules/payPc/index.html?channelType=4`
|
||||
window.location = `${urlPrefix}/molistar/modules/payPc/index.html?channelType=4&lang=${langCodes}`
|
||||
})
|
||||
// PC蘋果下載按鈕
|
||||
$('html .pc .pcIos').click(function () {
|
||||
|
Reference in New Issue
Block a user