diff --git a/view/molistar/common/local/langHandler.js b/view/molistar/common/local/langHandler.js index a840d8b..b7ef5f9 100644 --- a/view/molistar/common/local/langHandler.js +++ b/view/molistar/common/local/langHandler.js @@ -34,7 +34,7 @@ function initLocalLang() { window.lang.code = 'id' window.lang.defaults = false } else if (lang === 'tr' || window.location.href.match('=tr')) { - if (window.location.href.match('rechargeNew') ||window.location.href.match('2024-newYear') || window.location.href.match('guild-ar') || window.location.href.match('2024-invitationFission') || window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home') || window.location.href.match('pay')) { + if (window.location.href.match('roomLevel') || window.location.href.match('rechargeNew') || window.location.href.match('2024-newYear') || window.location.href.match('guild-ar') || window.location.href.match('2024-invitationFission') || window.location.href.match('inform') || window.location.href.match('superId') || window.location.href.match('newWeekStar') || window.location.href.match('home') || window.location.href.match('pay')) { // 土耳其 console.log("langHandler" + '土耳其') window.lang = langTr diff --git a/view/molistar/modules/roomLevel/css/index.css b/view/molistar/modules/roomLevel/css/index.css new file mode 100644 index 0000000..4ea21bc --- /dev/null +++ b/view/molistar/modules/roomLevel/css/index.css @@ -0,0 +1,74 @@ +html, +body { + width: 100%; + background: #000000; +} + +.back { + width: 10rem; + height: 2.34667rem; + position: fixed; + top: 0; + left: 50%; + transform: translateX(-50%); +} + +.back img { + width: 0.58667rem; + height: 0.58667rem; + position: absolute; + left: 0.4rem; + top: 1.46667rem; + z-index: 2; +} + +.back b { + width: 100%; + text-align: center; + height: 0.58667rem; + line-height: 0.58667rem; + color: #fff; + font-size: 0.42667rem; + font-weight: 500; + position: absolute; + left: 0.4rem; + top: 1.46667rem; +} + +.rule { + width: 9.2rem; + line-height: 0.53333rem; + font-size: 0.37333rem; + font-weight: 400; + color: #fff; + margin: 2.42667rem auto 0.37333rem; +} + +.img { + width: 9.2rem; + height: 10.18667rem; + margin: 0 auto 0.66667rem; + background: url(../images/ruleImg.png) no-repeat; + background-size: 100% 100%; +} + +.china .img { + background: url(../images/ruleImg-zh.png) no-repeat; + background-size: 100% 100%; +} + +.arabic .back img { + transform: rotate(180deg); + left: auto; + right: 0.4rem; +} + +.arabic .img { + background: url(../images/ruleImg-ar.png) no-repeat; + background-size: 100% 100%; +} + +.Turkiye .img { + background: url(../images/ruleImg-tr.png) no-repeat; + background-size: 100% 100%; +} diff --git a/view/molistar/modules/roomLevel/css/index.scss b/view/molistar/modules/roomLevel/css/index.scss new file mode 100644 index 0000000..6be78e1 --- /dev/null +++ b/view/molistar/modules/roomLevel/css/index.scss @@ -0,0 +1,84 @@ +@function px2rem($px) { + @return $px / 75+rem; +} + +html, +body { + width: 100%; + background: #000000; +} + +.back { + width: px2rem(750); + height: px2rem(176); + position: fixed; + top: 0; + left: 50%; + transform: translateX(-50%); + + img { + width: px2rem(44); + height: px2rem(44); + position: absolute; + left: px2rem(30); + top: px2rem(110); + z-index: 2; + } + + b { + width: 100%; + text-align: center; + height: px2rem(44); + line-height: px2rem(44); + color: #fff; + font-size: px2rem(32); + font-weight: 500; + position: absolute; + left: px2rem(30); + top: px2rem(110); + } +} + +.rule { + width: px2rem(690); + line-height: px2rem(40); + font-size: px2rem(28); + font-weight: 400; + color: #fff; + margin: px2rem(182) auto px2rem(28); +} + +.img { + width: px2rem(690); + height: px2rem(764); + margin: 0 auto px2rem(50); + background: url(../images/ruleImg.png) no-repeat; + background-size: 100% 100%; +} + +.china { + .img { + background: url(../images/ruleImg-zh.png) no-repeat; + background-size: 100% 100%; + } +} + +.arabic { + .back img { + transform: rotate(180deg); + left: auto; + right: px2rem(30); + } + + .img { + background: url(../images/ruleImg-ar.png) no-repeat; + background-size: 100% 100%; + } +} + +.Turkiye { + .img { + background: url(../images/ruleImg-tr.png) no-repeat; + background-size: 100% 100%; + } +} \ No newline at end of file diff --git a/view/molistar/modules/roomLevel/images/ruleImg-ar.png b/view/molistar/modules/roomLevel/images/ruleImg-ar.png new file mode 100644 index 0000000..e441d1e Binary files /dev/null and b/view/molistar/modules/roomLevel/images/ruleImg-ar.png differ diff --git a/view/molistar/modules/roomLevel/images/ruleImg-tr.png b/view/molistar/modules/roomLevel/images/ruleImg-tr.png new file mode 100644 index 0000000..3311c29 Binary files /dev/null and b/view/molistar/modules/roomLevel/images/ruleImg-tr.png differ diff --git a/view/molistar/modules/roomLevel/images/ruleImg-zh.png b/view/molistar/modules/roomLevel/images/ruleImg-zh.png new file mode 100644 index 0000000..f338777 Binary files /dev/null and b/view/molistar/modules/roomLevel/images/ruleImg-zh.png differ diff --git a/view/molistar/modules/roomLevel/images/ruleImg.png b/view/molistar/modules/roomLevel/images/ruleImg.png new file mode 100644 index 0000000..5c54783 Binary files /dev/null and b/view/molistar/modules/roomLevel/images/ruleImg.png differ diff --git a/view/molistar/modules/roomLevel/images/travel/back.png b/view/molistar/modules/roomLevel/images/travel/back.png new file mode 100644 index 0000000..2b3812d Binary files /dev/null and b/view/molistar/modules/roomLevel/images/travel/back.png differ diff --git a/view/molistar/modules/roomLevel/images/travel/backB.png b/view/molistar/modules/roomLevel/images/travel/backB.png new file mode 100644 index 0000000..92e190c Binary files /dev/null and b/view/molistar/modules/roomLevel/images/travel/backB.png differ diff --git a/view/molistar/modules/roomLevel/index.html b/view/molistar/modules/roomLevel/index.html new file mode 100644 index 0000000..96988f6 --- /dev/null +++ b/view/molistar/modules/roomLevel/index.html @@ -0,0 +1,39 @@ + + + +
+ + +عند إنشاء غرفة، سيحسب النظام قيمة تداول العملات في غرفتك. عند وصول قيمة الغرفة إلى مستوى معين، سيتم ترقية مستوى الغرفة.
+بعد الترقية، ستحصل على مزيد من امتيازات الغرفة، مثل جلد الميكروفون الحصري أو التأثيرات، ومزيد من امتيازات إدارة الغرفة، وغيرها.
+من خلال ترقية مستوى الغرفة بشكل مستمر، يمكنك الاستمتاع بمزيد من المزايا والتجارب الخاصة التي يوفرها النظام.
`, + } +} \ No newline at end of file diff --git a/view/molistar/modules/roomLevel/local/en.js b/view/molistar/modules/roomLevel/local/en.js new file mode 100644 index 0000000..4675a32 --- /dev/null +++ b/view/molistar/modules/roomLevel/local/en.js @@ -0,0 +1,14 @@ +langEn = { + demoModule: { + layerIndex1: `Loading...`, + layerIndex2: `Success`, + layerIndex3: `Network error`, + text1: `Room Level Description`, + text2: `When you create a room, the platform will count the coin turnover value of your room. When the room value + reaches a certain standard, your room level will be upgraded.
+After upgrading, you will get more room privileges, such as exclusive mic skin or effect, more room admin + privileges, etc.
+By continuously upgrading the room level, you can enjoy more special benefits and experiences provided by the + platform.
`, + }, +} diff --git a/view/molistar/modules/roomLevel/local/tr.js b/view/molistar/modules/roomLevel/local/tr.js new file mode 100644 index 0000000..27ca136 --- /dev/null +++ b/view/molistar/modules/roomLevel/local/tr.js @@ -0,0 +1,15 @@ +langTr = { + demoModule: { + layerIndex1: 'Yükleniyor...', + layerIndex2: 'Başarılı', + layerIndex3: 'Ağ hatası', + text1: 'Oda Seviyesi Açıklaması', + text2: ` +Bir oda oluşturduğunuzda, platform odanızın madeni para işlem değerini sayar. Oda değeri belirli bir standarda +ulaştığında, oda seviyeniz yükseltilecektir.
+Yükseltmeden sonra, özel mikrofon görünümü veya efektleri, daha fazla oda yönetim yetkisi gibi daha fazla oda +ayrıcalığı elde edersiniz.
+Oda seviyesini sürekli yükselterek, platformun sağladığı daha özel avantajlardan ve deneyimlerden yararlanabilirsiniz.
`, + }, + +} \ No newline at end of file diff --git a/view/molistar/modules/roomLevel/local/zh.js b/view/molistar/modules/roomLevel/local/zh.js new file mode 100644 index 0000000..4944bb1 --- /dev/null +++ b/view/molistar/modules/roomLevel/local/zh.js @@ -0,0 +1,15 @@ +// 中文 +langZh = { + // 模塊 + demoModule: { + layerIndex1: `加载中...`, + layerIndex2: `成功`, + layerIndex3: `网络错误`, + text1: '房間等級描述', + text2: ` +當您創建一個房間時,平台會計算您的房間的金幣交易值。當房間的價值達到一定標準時,您的房間等級將會提升。
+升級後,您將獲得更多的房間特權,例如專屬麥克風皮膚或效果、更高的房間管理權限等。
+通過持續提升房間等級,您可以享受平台提供的更多特別福利和體驗。
`, + + } +} \ No newline at end of file