替换测试域名

This commit is contained in:
dragon
2024-04-11 18:37:22 +08:00
parent bf4d72a029
commit 090f49864a
36 changed files with 49 additions and 25 deletions

View File

@@ -67,7 +67,7 @@ body {
width: 2rem;
height: 1.22667rem;
position: absolute;
left: 2rem;
left: 2.6rem;
top: 0;
text-align: center;
color: #666;

View File

@@ -66,7 +66,7 @@ body {
width: 2rem;
height: px2rem(92);
position: absolute;
left: 2rem;
left: 2.6rem;
top: 0;
text-align: center;
color: #666;

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 KiB

After

Width:  |  Height:  |  Size: 244 KiB

View File

@@ -17,8 +17,8 @@
</div>
<!-- 頭部 -->
<div class="header">
<img src="./images/header_h3.png" alt="" class="h3">
<a href="#rule"><img src="./images/rule_rule.png" alt="" class="rule_rule"></a>
<img id="img1" src="./images/header_h3.png" alt="" class="h3">
<a href="#rule"><img id="img2" src="./images/rule_rule.png" alt="" class="rule_rule"></a>
<div id="text1" class="text"></div>
<!-- <img src="./images/gold.png" alt=""> -->
</div>
@@ -93,7 +93,7 @@
<h3 id="text15"></h3>
<div class="text1" id="text16"></div>
<div class="text2" id="text17"></div>
<img src="./images/rule1_in.png" alt="" class="rule1_in">
<img id="img3" src="./images/rule1_in.png" alt="" class="rule1_in">
<span class="sp1">+1000 <img src="./images/gold.png" alt="" class="diamond"></span>
<span class="sp2">+1000 <img src="./images/gold.png" alt="" class="diamond"></span>
</div>
@@ -102,7 +102,7 @@
<div class="text1" id="text19"></div>
<div class="text2" id="text20"></div>
<div class="text3" id="text21"></div>
<img src="./images/rule_2in.png" alt="" class="rule_2in">
<img id="img4" src="./images/rule_2in.png" alt="" class="rule_2in">
<p class="p1" id="text22"></p>
<p class="p2" id="text23"></p>
<img src="./images/table1.png" alt="" class="table1">

View File

@@ -103,6 +103,10 @@ function translateFun() {
$('#text33').html(langReplace(localLang.demoModule.text33));
$('#text34').html(langReplace(localLang.demoModule.text34));
$('#text66').html(langReplace(localLang.demoModule.text66));
$('#img1').attr('src',langReplace(localLang.demoModule.img1))
$('#img2').attr('src',langReplace(localLang.demoModule.img2))
$('#img3').attr('src',langReplace(localLang.demoModule.img3))
$('#img4').attr('src',langReplace(localLang.demoModule.img4))
}
// 獲取配置接口
function getConfig() {

View File

@@ -89,6 +89,8 @@ function translateFun() {
$('.xz_id').html(langReplace(localLang.share.xz_id));
$('#title').html(langReplace(localLang.share.title));
$('#text4').html(langReplace(localLang.share.text4));
$('#img1').attr('style',langReplace(localLang.share.img1))
$('#img2').attr('style',langReplace(localLang.share.img2))
}
// 獲取接口
function get() {

View File

@@ -2,6 +2,10 @@
langAr = {
// 模块
demoModule: {
img1:`./images/header_h3-ar.png`,
img2:`./images/rule_rule-ar.png`,
img3:`./images/rule1_in-ar.png`,
img4:`./images/rule_2in-ar.png`,
title: `دعوة لكسب النقود`,
text1: `احصل على <b>1000</b> نقطة لكل دعوة`,
text2: `رمز الدعوة`,
@@ -106,6 +110,8 @@ langAr = {
</div>`,
},
share: {
img1: `background: url(./images/share/header-ar.png) no-repeat;background-size: 100% 100%;`,
img2: `background: url(./images/share/codeBg-ar.png) no-repeat;background-size: 100% 100%;`,
title: `انضم إليّ على Molistar، حيث المرح ينتظرك!`,
text1: `اكتشف الصدف الغير متوقعة على Molistar.`,
text2: `تحدث، والعب ألعاب، واكسب الأصدقاء في أي وقت وفي أي مكان على Molistar.`,

View File

@@ -2,6 +2,10 @@
langEn = {
// 模块
demoModule: {
img1:`./images/header_h3-en.png`,
img2:`./images/rule_rule-en.png`,
img3:`./images/rule1_in-en.png`,
img4:`./images/rule_2in-en.png`,
title: `Invite to Earn Coins`,
text1: `Get <b>1000</b> coins for each invitation`,
text2: `My Code`,
@@ -44,7 +48,7 @@ langEn = {
<li class="title">Others</li>
<li>1. If you have any questions, please contact WhatsApp: 8618984433556</li>
<li>2. The final interpretation right of this activity belongs to the official, and has nothing to do with Apple Inc./Google Inc.;</li>`,
text31: `Share QR Code >`,
text31: `Share QR >`,
text32: `Friends Scan QR Code to Download and Register`,
text33: `Get <b>1000</b><img src="./images/gold.png" alt="" class="diamond">`,
text34: `Save Locally`,
@@ -106,6 +110,8 @@ langEn = {
</div>`,
},
share: {
img1: `background: url(./images/share/header-en.png) no-repeat;background-size: 100% 100%;`,
img2: `background: url(./images/share/codeBg-en.png) no-repeat;background-size: 100% 100%;`,
title: `Join me on Molistar, where fun awaits!`,
text1: `Discover unexpected connections on Molistar.`,
text2: `Chat, play games, and make friends anytime, anywhere on Molistar.`,

View File

@@ -2,6 +2,10 @@
langZh = {
// 模塊
demoModule: {
img1: `./images/header_h3.png`,
img2: `./images/rule_rule.png`,
img3: `./images/rule1_in.png`,
img4: `./images/rule_2in.png`,
title: `邀請得金幣`,
text1: `每邀請一人得 <b>1000</b> `,
text2: `我的邀請碼`,
@@ -109,6 +113,8 @@ langZh = {
</div>`,
},
share: {
img1: `background: url(./images/share/header.png) no-repeat;background-size: 100% 100%;`,
img2: `background: url(./images/share/codeBg.png) no-repeat;background-size: 100% 100%;`,
title: `我在molistar等你来玩`,
text1: `molistar與心動聲音不期而遇`,
text2: `聊天玩遊戲交朋友隨時隨地在molistar`,

View File

@@ -21,7 +21,7 @@
</head>
<body>
<div class="header">
<div id="img1" class="header">
<div class="swiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
@@ -41,7 +41,7 @@
<div class="xz" id="downloads">立即下载molistar</div>
</a> -->
<div class="xz xz_id" id="downloads"></div>
<div class="codeBg">
<div id="img2" class="codeBg">
<div class="num"></div>
<div class="copy" id="copy"></div>
</div>

View File

@@ -1,5 +1,5 @@
const productUrl = 'https://api.molistar.xyz'; // 正式环境
const testUrl = 'http://beta.api.pekolive.com'; // 测试环境
const testUrl = 'http://beta.api.molistar.xyz'; // 测试环境
function render(templateId, templateData, target) {
@@ -582,7 +582,7 @@ function getLanguageCode(language) {
}
}
} else {
return 'zh'; // 旧版本返回默认语言
return 'en'; // 旧版本返回默认语言
}
}
// 判断国际化参数路径
@@ -839,7 +839,7 @@ function networkRequest(reqObj = {}, type) {
pubHeader.channel = pubInfo.deviceInfo.channel || ''
pubHeader.client = 'h5'
pubHeader.pub_uid = window.location.pathname.match(/login.html/) ? 0 : pubInfo.uid
if (browser.app) {//
if (browser.app) {//true
pubHeader.pub_ticket = pubInfo.ticket
} else {
pubHeader.h5_token = sessionStorage.getItem("ticket") ? sessionStorage.getItem("ticket") : '';

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,2 +1,2 @@
webpackJsonp([6],{bxJL:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("Z4iZ"),a=void 0;a="test"===Object(n.a)()?"http://beta.api.pekolive.com":"https://api.molistar.xyz";var r={created:function(){window.location.href=a+"/molistar/modules/rule/wishingWellRule.html"}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var l=i("VU/8")(r,o,!1,function(e){i("ve83")},"data-v-11e478be",null);t.default=l.exports},ve83:function(e,t){}});
webpackJsonp([6],{bxJL:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("Z4iZ"),a=void 0;a="test"===Object(n.a)()?"http://beta.api.molistar.xyz":"https://api.molistar.xyz";var r={created:function(){window.location.href=a+"/molistar/modules/rule/wishingWellRule.html"}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var l=i("VU/8")(r,o,!1,function(e){i("ve83")},"data-v-11e478be",null);t.default=l.exports},ve83:function(e,t){}});
//# sourceMappingURL=6.6ec7f8ca5c7459922dd5.js.map

View File

@@ -13,7 +13,7 @@ module.exports = {
proxyTable: { '/api': {
// target: 'https://api.molistar.xyz',
// target: 'http://120.79.211.243',
target: 'http://beta.api.pekolive.com',
target: 'http://beta.api.molistar.xyz',
changeOrigin: true,
secure: false,
pathRewrite: {

View File

@@ -5,7 +5,7 @@ let isApp = checkVersion().app
if (EnvCheck() === 'test') {
// console.log(12542);
// baseURL = 'http://120.79.211.243'
host = 'http://beta.api.pekolive.com'
host = 'http://beta.api.molistar.xyz'
// 正式环境
} else {
host = 'https://api.molistar.xyz'

View File

@@ -6,7 +6,7 @@ let baseURL;
if (EnvCheck() === 'test') {
// console.log('test');
// baseURL = 'http://120.79.211.243'
baseURL = 'http://beta.api.pekolive.com'
baseURL = 'http://beta.api.molistar.xyz'
// 正式环境
} else {
baseURL = 'https://api.molistar.xyz'

View File

@@ -864,10 +864,10 @@ export default {
});
},
examine() {
// window.location.href = `http://beta.api.pekolive.com/molistar/modules/statistic/serial.html?codes=${this.runningWater.roomUidEncode}`;
// window.location.href = `http://beta.api.molistar.xyz/molistar/modules/statistic/serial.html?codes=${this.runningWater.roomUidEncode}`;
if (EnvCheck() === "test") {
window.location.href =
"http://beta.api.pekolive.com/molistar/modules/statistic/serial.html?codes=" +
"http://beta.api.molistar.xyz/molistar/modules/statistic/serial.html?codes=" +
this.runningWater.roomUidEncode;
return;
}
@@ -879,7 +879,7 @@ export default {
examineSingleBroadcast() {
if (EnvCheck() === "test") {
window.location.href =
"http://beta.api.pekolive.com/molistar/modules/statistic/serialsingleBroadcast.html?codes=" +
"http://beta.api.molistar.xyz/molistar/modules/statistic/serialsingleBroadcast.html?codes=" +
this.rw_single_broadcast.roomUidEncode;
return;
}

View File

@@ -13,7 +13,7 @@ module.exports = {
proxyTable: { '/api': {
// target: 'https://api.molistar.xyz',
// target: 'http://120.79.211.243',
target: 'http://beta.api.pekolive.com',
target: 'http://beta.api.molistar.xyz',
changeOrigin: true,
secure: false,
pathRewrite: {

View File

@@ -5,7 +5,7 @@ import { EnvCheck } from '@/utils/browser.js'
let baseURL;
if (EnvCheck() === 'test') {
// baseURL = 'http://120.79.211.243'
baseURL = 'http://beta.api.pekolive.com'
baseURL = 'http://beta.api.molistar.xyz'
// 正式环境
} else {
baseURL = 'https://api.molistar.xyz'

View File

@@ -7,7 +7,7 @@ import { EnvCheck } from "@/utils/browser.js";
let baseURL;
if (EnvCheck() === "test") {
// baseURL = 'http://120.79.211.243'
baseURL = "http://beta.api.pekolive.com";
baseURL = "http://beta.api.molistar.xyz";
// 正式环境
} else {
baseURL = "https://api.molistar.xyz";