From df4b647d2a0a87ba0986cf119d8ab7c3e2d340c6 Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Fri, 21 Jun 2024 16:13:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A6=9C=E5=8D=95=E5=8D=95?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/molistar/common/js/common2.js | 14 +-- view/molistar/modules/charm/index.html | 2 +- view/molistar/modules/charm/js/index.js | 8 +- view/molistar/modules/rank/index.html | 2 +- .../app.58b0733a13f43850a9ed3127eb5033fc.css | 2 + .../app.816d18a4a19c64f496b1f35a68fb3a2d.css | 2 - .../rank/static/js/1.9055ef482eb71804ed40.js | 16 ++++ ...a897451e8.js => 2.c400ed84fcfb7544002c.js} | 4 +- .../rank/static/js/2.ee817bfbe2f0f7f4ffcf.js | 16 ---- .../static/js/app.6073143aaecac844f980.js | 2 + .../static/js/app.f9cd1a971030e0feba78.js | 2 - ...5c.js => manifest.b407b340f7bdc9b43edf.js} | 4 +- view/molistar/modules/room_rank/hourRank.html | 2 +- view/molistar/modules/room_rank/index.html | 2 +- .../molistar/modules/room_rank/js/hourRank.js | 21 ++--- view/molistar/modules/room_rank/js/index.js | 4 +- view/molistar/modules/room_rank/local/ar.js | 6 +- view/molistar/modules/room_rank/local/en.js | 6 +- view/molistar/modules/room_rank/local/zh.js | 4 +- .../wishRank/src/assets/images/rank/gold.png | Bin 0 -> 3058 bytes .../vue-project/wishRank/src/i18n/langs/ar.js | 3 +- .../vue-project/wishRank/src/i18n/langs/en.js | 3 +- .../vue-project/wishRank/src/i18n/langs/zh.js | 3 +- .../wishRank/src/view/rank/Rank.vue | 87 ++++++++++++++---- 24 files changed, 135 insertions(+), 80 deletions(-) create mode 100644 view/molistar/modules/rank/static/css/app.58b0733a13f43850a9ed3127eb5033fc.css delete mode 100644 view/molistar/modules/rank/static/css/app.816d18a4a19c64f496b1f35a68fb3a2d.css create mode 100644 view/molistar/modules/rank/static/js/1.9055ef482eb71804ed40.js rename view/molistar/modules/rank/static/js/{1.1bd9d8db377a897451e8.js => 2.c400ed84fcfb7544002c.js} (98%) delete mode 100644 view/molistar/modules/rank/static/js/2.ee817bfbe2f0f7f4ffcf.js create mode 100644 view/molistar/modules/rank/static/js/app.6073143aaecac844f980.js delete mode 100644 view/molistar/modules/rank/static/js/app.f9cd1a971030e0feba78.js rename view/molistar/modules/rank/static/js/{manifest.1244b84e5bdc6ca4325c.js => manifest.b407b340f7bdc9b43edf.js} (52%) create mode 100644 view/molistar/vue-project/wishRank/src/assets/images/rank/gold.png diff --git a/view/molistar/common/js/common2.js b/view/molistar/common/js/common2.js index 85e4006..bf60be3 100644 --- a/view/molistar/common/js/common2.js +++ b/view/molistar/common/js/common2.js @@ -827,7 +827,7 @@ function fuzzyMatchUpdateQueryStringParameterFun() { } function langCodeFun(langCode) { if (window.location.href.match(/guildAr/)) { - return + return } var body = document.body; body.style.display = 'none'; @@ -837,10 +837,10 @@ function langCodeFun(langCode) { if (langCode == "ar") { document.documentElement.setAttribute("dir", "rtl"); document.body.classList.add('arabic'); - - if (window.location.href.match(/guildAr/)) { - document.documentElement.setAttribute("dir", "ltr"); - } + + if (window.location.href.match(/guildAr/)) { + document.documentElement.setAttribute("dir", "ltr"); + } } } // 获取整条url @@ -1011,9 +1011,9 @@ function unitProcessingAr(val, toFixeds) { //值 保留几位小数 if (val < 1000) { return val; } else if (val >= 1000 && val < 1000000) { - return (Math.floor(val / 1000)).toFixed(toFixeds) + 'K' + return (val / 1000).toFixed(toFixeds) + 'K' } else if (val >= 1000000) { - return (Math.floor(val / 1000000)).toFixed(toFixeds) + 'M' + return (val / 1000000).toFixed(toFixeds) + 'M' } } // 封装 在ios环境中 配置公共参数的回调函数 diff --git a/view/molistar/modules/charm/index.html b/view/molistar/modules/charm/index.html index 6f7ad7e..454c9e7 100644 --- a/view/molistar/modules/charm/index.html +++ b/view/molistar/modules/charm/index.html @@ -34,7 +34,7 @@ - +
diff --git a/view/molistar/modules/charm/js/index.js b/view/molistar/modules/charm/js/index.js index cb07c42..bbcd531 100644 --- a/view/molistar/modules/charm/js/index.js +++ b/view/molistar/modules/charm/js/index.js @@ -56,7 +56,7 @@ $(function () {
- ${item.score}
+ ${unitProcessingAr(item.score,1)}
` } @@ -82,7 +82,7 @@ $(function () {
- ${item.score}
+ ${unitProcessingAr(item.score,1)}
` }) @@ -127,13 +127,13 @@ $(function () { }, error(err) { hideLoading(layerIndex) - toastMsg('網絡錯誤,請退出重進') + // toastMsg('網絡錯誤,請退出重進') } }) }, error(err) { hideLoading(layerIndex) - toastMsg('網絡錯誤,請退出重進') + // toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/molistar/modules/rank/index.html b/view/molistar/modules/rank/index.html index 371162d..f6fb0a6 100644 --- a/view/molistar/modules/rank/index.html +++ b/view/molistar/modules/rank/index.html @@ -1 +1 @@ -