diff --git a/view/peko/activity/act-2022-qx/js/index.js b/view/peko/activity/act-2022-qx/js/index.js index 7cf6b7b..bf51b4b 100644 --- a/view/peko/activity/act-2022-qx/js/index.js +++ b/view/peko/activity/act-2022-qx/js/index.js @@ -6,7 +6,7 @@ if (env == 'test') { } // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -335,7 +335,7 @@ function listRank (rankType) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -401,7 +401,7 @@ function listMyRankFun (rankType) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -458,7 +458,7 @@ function getRecommendRoom () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) hideLoading(layerIndex) @@ -469,7 +469,7 @@ function getRecommendRoom () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -521,7 +521,7 @@ function sendBulletChatFun (content) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } else { @@ -531,7 +531,7 @@ function sendBulletChatFun (content) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -560,7 +560,7 @@ function getMyBulletChat () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) @@ -615,7 +615,7 @@ function getPageInfo () { } }, error () { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) res.data.tasks.forEach((res, index) => { @@ -665,7 +665,7 @@ function getPageInfo () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -695,7 +695,7 @@ function chargeFun (batteryNum) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') chargeFunType = !chargeFunType; } }) diff --git a/view/peko/activity/act-520/js/index.js b/view/peko/activity/act-520/js/index.js index ce624f0..267fc86 100644 --- a/view/peko/activity/act-520/js/index.js +++ b/view/peko/activity/act-520/js/index.js @@ -3,7 +3,7 @@ let browser = checkVersion() if (EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -48,7 +48,7 @@ const getList = (rankType = 1, rankDataType = 0) => { } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-celebration/js/wish.js b/view/peko/activity/act-celebration/js/wish.js index 5614272..0c44e8d 100644 --- a/view/peko/activity/act-celebration/js/wish.js +++ b/view/peko/activity/act-celebration/js/wish.js @@ -2,7 +2,7 @@ const urlPrefix = getUrlPrefix() if(EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -41,7 +41,7 @@ const getInitInfo = () => { } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -76,7 +76,7 @@ const getUserActInfo = () => { } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -123,7 +123,7 @@ const wishDraw = (keyNum) => { } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -183,7 +183,7 @@ const getRecordList = (page = 1) => { isLock = true }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -315,7 +315,7 @@ $(function(){ } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-fortune-list/js/index.js b/view/peko/activity/act-fortune-list/js/index.js index 9050eed..57529aa 100644 --- a/view/peko/activity/act-fortune-list/js/index.js +++ b/view/peko/activity/act-fortune-list/js/index.js @@ -4,7 +4,7 @@ var rankDataType = 1; var rankType = 1; // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -83,7 +83,7 @@ function getData (rankDataType, rankType) { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/peko/activity/act-guard-planet/js/index.js b/view/peko/activity/act-guard-planet/js/index.js index da58536..6b04b44 100644 --- a/view/peko/activity/act-guard-planet/js/index.js +++ b/view/peko/activity/act-guard-planet/js/index.js @@ -27,7 +27,7 @@ console.log($(window).height()); // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -75,7 +75,7 @@ const getListPack = () => { } }, error (err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -107,7 +107,7 @@ const getUserInfo = (param) => { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -171,7 +171,7 @@ const getNewestAct = () => { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -478,7 +478,7 @@ const judgeStatus = () => { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -501,7 +501,7 @@ const getListItem = (roundId) => { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -657,7 +657,7 @@ const sendUserDrawInfo = (itemId, num) => { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -693,7 +693,7 @@ const getUserRecord = () => { } }, error (err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -793,7 +793,7 @@ const getPreviousResults = (count, roundId) => { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -874,7 +874,7 @@ const getListRank = (type, page) => { } }, error (err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -1525,7 +1525,7 @@ $(function () { } }, error (err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) }) diff --git a/view/peko/activity/act-guard-planet/js/mall.js b/view/peko/activity/act-guard-planet/js/mall.js index 7908c8e..a592606 100644 --- a/view/peko/activity/act-guard-planet/js/mall.js +++ b/view/peko/activity/act-guard-planet/js/mall.js @@ -13,7 +13,7 @@ const showLoading = () => { layer.open({ type: 2, shadeClose: false, - content: '加载中...', + content: '加載中...', success(e) { layerIndex = $(e).attr('index') } @@ -50,7 +50,7 @@ const getUserInfo = (param) => { } }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -68,7 +68,7 @@ const getListPack = () => { } }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -220,7 +220,7 @@ $(function(){ lock = false }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-luckyDraw/js/index.js b/view/peko/activity/act-luckyDraw/js/index.js index 123a9eb..ddf2d4f 100644 --- a/view/peko/activity/act-luckyDraw/js/index.js +++ b/view/peko/activity/act-luckyDraw/js/index.js @@ -7,7 +7,7 @@ const showLoading = () => { layer.open({ type: 2, shadeClose: false, - content: '加载中...', + content: '加載中...', success(e){ layerIndex = $(e).attr('index') } @@ -59,7 +59,7 @@ const getData = () => { }, error(err) { hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -81,7 +81,7 @@ const getBattery = () => { }, error(err) { hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -123,7 +123,7 @@ const lightBulb = (num) => { }, error(err) { hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -253,7 +253,7 @@ const getRecordList = () => { }, error(err) { hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-magicSchool/js/index.js b/view/peko/activity/act-magicSchool/js/index.js index 7651351..c67cc28 100644 --- a/view/peko/activity/act-magicSchool/js/index.js +++ b/view/peko/activity/act-magicSchool/js/index.js @@ -1,6 +1,6 @@ // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -176,7 +176,7 @@ function getMagicList () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -198,7 +198,7 @@ function getRecommendRoom () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -280,7 +280,7 @@ function getPageInfo () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -341,7 +341,7 @@ function getExplorerRecord (page) { error (err) { scrollBool = true; hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -386,7 +386,7 @@ function getExplorer (explorerType) { error (err) { xsSvgaClick = true; hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -432,7 +432,7 @@ function getCaystalTrial (num) { error (err) { xsSvgaClick = true; hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -495,7 +495,7 @@ function getCaystalTrialInit () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -791,7 +791,7 @@ function getRank (rankType, currentTime, comeFrom) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/peko/activity/act-mid-autumn-2021/js/index.js b/view/peko/activity/act-mid-autumn-2021/js/index.js index 83c69c4..501c083 100644 --- a/view/peko/activity/act-mid-autumn-2021/js/index.js +++ b/view/peko/activity/act-mid-autumn-2021/js/index.js @@ -8,7 +8,7 @@ const showLoading = () => { layer.open({ type: 2, shadeClose: false, - content: '加载中...', + content: '加載中...', success(e) { layerIndex = $(e).attr('index') } @@ -47,7 +47,7 @@ const getProgress = () => { }, error(err) { // hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -85,7 +85,7 @@ const getRanking = () => { }, error(err) { hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-mid-autumn/js/index.js b/view/peko/activity/act-mid-autumn/js/index.js index 4388eda..193dfae 100644 --- a/view/peko/activity/act-mid-autumn/js/index.js +++ b/view/peko/activity/act-mid-autumn/js/index.js @@ -8,7 +8,7 @@ const showLoading = () => { layer.open({ type: 2, shadeClose: false, - content: '加载中...', + content: '加載中...', success(e) { layerIndex = $(e).attr('index') } @@ -47,7 +47,7 @@ const getProgress = () => { }, error(err) { // hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -85,7 +85,7 @@ const getRanking = () => { }, error(err) { hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-midAutumnFestival-2022/js/index.js b/view/peko/activity/act-midAutumnFestival-2022/js/index.js index 7776132..86b144c 100644 --- a/view/peko/activity/act-midAutumnFestival-2022/js/index.js +++ b/view/peko/activity/act-midAutumnFestival-2022/js/index.js @@ -1,6 +1,6 @@ // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -167,7 +167,7 @@ function getRecommendRoom () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -191,7 +191,7 @@ function getConfessions () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -329,7 +329,7 @@ function getUserInfo () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -393,7 +393,7 @@ $('.toaks div span').click(function () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -462,7 +462,7 @@ function getConvert (convertType) {//convertType 1:初级兑换 2:高级兑换 }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') lhjBut = true; } }) @@ -735,7 +735,7 @@ $('.moonCake .make2 .but').click(function () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -815,7 +815,7 @@ function moonMakeFun (moonIds, moonMsg, type) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -888,7 +888,7 @@ function cpMyFun () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } else { @@ -903,7 +903,7 @@ function cpMyFun () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -937,7 +937,7 @@ function confessionsDefault ($this) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -974,7 +974,7 @@ $('.sendPut .sendPut_in .but').click(function () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -1058,7 +1058,7 @@ function getConvertRecord (page) { error (err) { scrollBool = true; hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -1130,7 +1130,7 @@ function makerecords (page) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') makerecordsBool = true; } }) @@ -1229,7 +1229,7 @@ function sendRecord (page, recordType) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') recordTypeBool = true; } }) @@ -1328,7 +1328,7 @@ function cpListRank () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -1392,7 +1392,7 @@ function mlListRank () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -1461,7 +1461,7 @@ function listMyRankFun () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/peko/activity/act-nameplate-cp/js/public.js b/view/peko/activity/act-nameplate-cp/js/public.js index 5aea891..e7484f7 100644 --- a/view/peko/activity/act-nameplate-cp/js/public.js +++ b/view/peko/activity/act-nameplate-cp/js/public.js @@ -4,7 +4,7 @@ var browser = checkVersion(); // if (EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -46,7 +46,7 @@ const getUserNameplateInfo = () => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -112,7 +112,7 @@ const sendApply = (mpId, mpTxt, index) => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-nameplate-cp/js/record.js b/view/peko/activity/act-nameplate-cp/js/record.js index 2bba104..7e348fb 100644 --- a/view/peko/activity/act-nameplate-cp/js/record.js +++ b/view/peko/activity/act-nameplate-cp/js/record.js @@ -3,7 +3,7 @@ if (EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -64,7 +64,7 @@ const getUserApplyRecord = () => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-nameplate/js/nobleHighRank.js b/view/peko/activity/act-nameplate/js/nobleHighRank.js index 1ae1c26..0252913 100644 --- a/view/peko/activity/act-nameplate/js/nobleHighRank.js +++ b/view/peko/activity/act-nameplate/js/nobleHighRank.js @@ -4,7 +4,7 @@ var browser = checkVersion(); if (EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -50,7 +50,7 @@ function getVipNameplateList () { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -82,7 +82,7 @@ $('.list li .but').click(function () { } }, error (err) { - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } else { diff --git a/view/peko/activity/act-nameplate/js/nobleHighRank_record.js b/view/peko/activity/act-nameplate/js/nobleHighRank_record.js index 2adaefa..9b22637 100644 --- a/view/peko/activity/act-nameplate/js/nobleHighRank_record.js +++ b/view/peko/activity/act-nameplate/js/nobleHighRank_record.js @@ -3,7 +3,7 @@ if (EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -64,7 +64,7 @@ const getUserApplyRecord = () => { }, error () { hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-nameplate/js/public.js b/view/peko/activity/act-nameplate/js/public.js index 3a45f3a..fc2ca9d 100644 --- a/view/peko/activity/act-nameplate/js/public.js +++ b/view/peko/activity/act-nameplate/js/public.js @@ -5,7 +5,7 @@ var info = {}; if (EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -49,7 +49,7 @@ const getUserNameplateInfo = () => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -103,7 +103,7 @@ const getUserNameplateList = (type) => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -158,7 +158,7 @@ const getNewNameplateList = (type) => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -217,7 +217,7 @@ const delayNamaplateConfirm = (params) => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -253,7 +253,7 @@ const applyNewNamaplateConfirm = (params) => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/peko/activity/act-nameplate/js/record.js b/view/peko/activity/act-nameplate/js/record.js index 7ec4c39..6ccabbb 100644 --- a/view/peko/activity/act-nameplate/js/record.js +++ b/view/peko/activity/act-nameplate/js/record.js @@ -3,7 +3,7 @@ if (EnvCheck() === 'test') new VConsole // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -64,7 +64,7 @@ const getUserApplyRecord = () => { }, error(){ hideLoading(layerIndex); - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-ocean/js/index.js b/view/peko/activity/act-ocean/js/index.js index 53d4333..4063477 100644 --- a/view/peko/activity/act-ocean/js/index.js +++ b/view/peko/activity/act-ocean/js/index.js @@ -11,7 +11,7 @@ let lock = false //防止用户暴力点击加的锁 // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -67,7 +67,7 @@ const getUserInfo = (param) => { } }, error(err){ - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -86,7 +86,7 @@ const getUserPieceNum = () => { lock = !lock }, error(err){ - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -150,7 +150,7 @@ const getNewestAct = () => { } }, error(err){ - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -382,7 +382,7 @@ const judgeStatus = () => { } }, error(err){ - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -460,7 +460,7 @@ const getListItem = (roundId) => { } }, error(err){ - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -519,7 +519,7 @@ const getPreviousResults = (count, roundId) => { } }, error(err){ - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -569,7 +569,7 @@ const sendUserDrawInfo = (itemId, num) => { } }, error(err){ - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/peko/activity/act-ocean/js/mall.js b/view/peko/activity/act-ocean/js/mall.js index 8432c25..2bf807b 100644 --- a/view/peko/activity/act-ocean/js/mall.js +++ b/view/peko/activity/act-ocean/js/mall.js @@ -11,7 +11,7 @@ const showLoading = () => { layer.open({ type: 2, shadeClose: false, - content: '加载中...', + content: '加載中...', success(e) { layerIndex = $(e).attr('index') } @@ -49,7 +49,7 @@ const getUserInfo = (param) => { } }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -67,7 +67,7 @@ const getListPack = () => { } }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -219,7 +219,7 @@ $(function(){ lock = false }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-ocean/js/rank.js b/view/peko/activity/act-ocean/js/rank.js index beff604..a943640 100644 --- a/view/peko/activity/act-ocean/js/rank.js +++ b/view/peko/activity/act-ocean/js/rank.js @@ -11,7 +11,7 @@ const showLoading = () => { layer.open({ type: 2, shadeClose: false, - content: '加载中...', + content: '加載中...', success(e) { layerIndex = $(e).attr('index') } @@ -101,7 +101,7 @@ const getListRank = (type, page) => { } }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-ocean/js/record.js b/view/peko/activity/act-ocean/js/record.js index 9b9eb52..dab7f5d 100644 --- a/view/peko/activity/act-ocean/js/record.js +++ b/view/peko/activity/act-ocean/js/record.js @@ -8,7 +8,7 @@ const showLoading = () => { layer.open({ type: 2, shadeClose: false, - content: '加载中...', + content: '加載中...', success(e) { layerIndex = $(e).attr('index') } @@ -56,7 +56,7 @@ const getUserRecord = () => { } }, error(err){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-radishMarket/js/index.js b/view/peko/activity/act-radishMarket/js/index.js index ec8a93b..6a4fc4e 100644 --- a/view/peko/activity/act-radishMarket/js/index.js +++ b/view/peko/activity/act-radishMarket/js/index.js @@ -6,7 +6,7 @@ var nowTime = new Date().getTime(); var sessionStorageVal = false; // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -101,7 +101,7 @@ function getPageInfo () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -158,7 +158,7 @@ function getListRank (rankType) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/peko/activity/act-sail/js/more.js b/view/peko/activity/act-sail/js/more.js index bac9e54..8ed1800 100644 --- a/view/peko/activity/act-sail/js/more.js +++ b/view/peko/activity/act-sail/js/more.js @@ -6,7 +6,7 @@ if (env == 'test') { } // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -74,7 +74,7 @@ const getUserPropNum = (param = 0) => { hideLoading(layerIndex) }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading(layerIndex) } }) @@ -106,7 +106,7 @@ const getUserInfo = () => { hideLoading(layerIndex) }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading(layerIndex) } }) @@ -132,7 +132,7 @@ const getListPack = () => { hideLoading(layerIndex) }, error() { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading(layerIndex) } }) @@ -276,7 +276,7 @@ $('.shade-content-buy .buy-btn .confirm').click(function () { lock = false }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/activity/act-sail/js/play_e.js b/view/peko/activity/act-sail/js/play_e.js index 6317b48..8d293af 100644 --- a/view/peko/activity/act-sail/js/play_e.js +++ b/view/peko/activity/act-sail/js/play_e.js @@ -6,7 +6,7 @@ if (env == 'test') { } // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -72,7 +72,7 @@ const getListPack = () => { hideLoading(layerIndex) }, error() { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading(layerIndex) } }) diff --git a/view/peko/activity/act-sail/js/play_i.js b/view/peko/activity/act-sail/js/play_i.js index 67be916..1fa72f2 100644 --- a/view/peko/activity/act-sail/js/play_i.js +++ b/view/peko/activity/act-sail/js/play_i.js @@ -6,7 +6,7 @@ if (env == 'test') { } // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -68,13 +68,13 @@ const getListPack = () => { listPack.map((item,index) =>{ console.log(item,index); if(index == 0){ - str +=`
2. 购买礼包1“${item.name}”,可获赠燃油1个;
` + str +=`2. 購買禮包1「${item.name}」,可獲贈燃油1個;
` }else if(index == 1){ - str +=`购买礼包2“${item.name}”,可获赠燃油7-10个;
` + str +=`購買禮包2「${item.name}」,可獲贈燃油7-10個;
` }else if(index == 2){ - str +=`购买礼包3“${item.name}”,可获赠燃油70-100个;
` + str +=`購買禮包3「${item.name}」,可獲贈燃油70-100個;
` }else if(index == 3){ - str +=`购买礼包4“${item.name}”,可获赠燃油700-1000个;
` + str +=`購買禮包4「${item.name}」,可獲贈燃油700-1000個;
` } }) $('.introduce p').eq(0).after(str) @@ -85,7 +85,7 @@ const getListPack = () => { hideLoading(layerIndex) }, error() { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading(layerIndex) } }) diff --git a/view/peko/activity/act-sail/js/win.js b/view/peko/activity/act-sail/js/win.js index 145cd81..4ed8103 100644 --- a/view/peko/activity/act-sail/js/win.js +++ b/view/peko/activity/act-sail/js/win.js @@ -6,7 +6,7 @@ if (env == 'test') { } // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -88,7 +88,7 @@ function recordFun() { }, error(err) { isLock = true; - toastMsg('网络错误,请退出重进'); + toastMsg('網絡錯誤,請退出重進'); } }) } diff --git a/view/peko/activity/act-summerCombat/js/index.js b/view/peko/activity/act-summerCombat/js/index.js index 0c8cf7a..aff7bdf 100644 --- a/view/peko/activity/act-summerCombat/js/index.js +++ b/view/peko/activity/act-summerCombat/js/index.js @@ -7,7 +7,7 @@ if (env == 'test') { // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -143,7 +143,7 @@ function listRank (rankType) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -187,7 +187,7 @@ $('.mine .pull_up').click(function () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) $('.mine .mine_ul').css({ "transition": "all 1s" }) @@ -240,7 +240,7 @@ function getRecommendRoom () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -275,7 +275,7 @@ function getUserTaskInfo () { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } @@ -300,7 +300,7 @@ function receiveTaskReward (taskRecordId) { }, error (err) { hideLoading(layerIndex) - toastMsg('网络错误,请退出重进') + toastMsg('網絡錯誤,請退出重進') } }) } diff --git a/view/peko/activity/act-valentineDay/js/index.js b/view/peko/activity/act-valentineDay/js/index.js index d01f7dd..abdb492 100644 --- a/view/peko/activity/act-valentineDay/js/index.js +++ b/view/peko/activity/act-valentineDay/js/index.js @@ -107,14 +107,14 @@ function getInfo (page) { } }, error: function (res) { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading() } }) } // 获取榜单信息 function getRank (rankType) { - showLoading('加载中'); + showLoading('加載中'); networkRequest({ type: 'GET', url: urlPrefix + '/activity/love/wall/rank', @@ -131,7 +131,7 @@ function getRank (rankType) { } }, error: function (res) { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading() } }) @@ -158,7 +158,7 @@ function bullet (bulletMsg) { } }, error: function (res) { - toastMsg('网络错误') + toastMsg('網絡錯誤') hideLoading(); } }) diff --git a/view/peko/activity/act-xplan/index.html b/view/peko/activity/act-xplan/index.html index 18db384..e1167da 100644 --- a/view/peko/activity/act-xplan/index.html +++ b/view/peko/activity/act-xplan/index.html @@ -36,7 +36,7 @@下拉刷新
',inited:function(d,c){d.downTipDom=c.getElementsByClassName("downwarp-tip")[0];d.downProgressDom=c.getElementsByClassName("downwarp-progress")[0]},inOffset:function(c){if(c.downTipDom){c.downTipDom.innerHTML="下拉刷新"}if(c.downProgressDom){c.downProgressDom.classList.remove("mescroll-rotate")}},outOffset:function(c){if(c.downTipDom){c.downTipDom.innerHTML="释放更新"}},onMoving:function(d,f,c){if(d.downProgressDom){var e=360*f;d.downProgressDom.style.webkitTransform="rotate("+e+"deg)";d.downProgressDom.style.transform="rotate("+e+"deg)"}},beforeLoading:function(d,c){return false},showLoading:function(c){if(c.downTipDom){c.downTipDom.innerHTML="加载中 ..."}if(c.downProgressDom){c.downProgressDom.classList.add("mescroll-rotate")}},callback:function(c){c.resetUpScroll()}})};a.prototype.extendUpScroll=function(b){var c=this.os.pc;a.extend(b,{use:true,auto:true,isLock:false,isBoth:false,isBounce:true,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1000,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",duration:300,supportTap:false},loadFull:{use:false,delay:500},empty:{warpId:null,icon:null,tip:"仅支持查看3个月内记录",btntext:"",btnClick:null,supportTap:false},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'加载中..
',htmlNodata:'-- 仅支持查看3个月内记录 --
',inited:function(d,e){},showLoading:function(d,e){e.innerHTML=d.optUp.htmlLoading},showNoMore:function(d,e){e.innerHTML=d.optUp.htmlNodata},onScroll:null,scrollbar:{use:c,barClass:"mescroll-bar"}})};a.extend=function(c,b){if(!c){return b}for(var key in b){if(c[key]==null){c[key]=b[key]}else{if(typeof c[key]=="object"){a.extend(c[key],b[key])}}}return c};a.prototype.initDownScroll=function(){var c=this;c.optDown=c.options.down||{};c.extendDownScroll(c.optDown);c.touchstartEvent=function(d){if(c.isScrollTo){d.preventDefault()}c.startPoint=c.getPoint(d);c.lastPoint=c.startPoint;c.maxTouchmoveY=c.getBodyHeight()-c.optDown.bottomOffset;c.inTouchend=false;if(c.os.pc&&c.getScrollTop()<=0){c.scrollDom.addEventListener("mousemove",c.touchmoveEvent);document.ondragstart=function(){return false}}};c.scrollDom.addEventListener("mousedown",c.touchstartEvent);c.scrollDom.addEventListener("touchstart",c.touchstartEvent);c.touchmoveEvent=function(l){var d=c.getScrollTop();var h=c.getPoint(l);var f=h.y-c.startPoint.y;if(f>0){if(d<=0){if(l.cancelable&&!l.defaultPrevented){l.preventDefault()}if(c.optDown.use&&!c.inTouchend&&!c.isDownScrolling&&!c.optDown.isLock&&(!c.isUpScrolling||(c.isUpScrolling&&c.optUp.isBoth))){var o=Math.abs(c.lastPoint.x-h.x);var n=Math.abs(c.lastPoint.y-h.y);var m=Math.sqrt(o*o+n*n);if(m!=0){var g=Math.asin(n/m)/Math.PI*180;if(g'+d.tip+"
"}if(d.btntext){f+=''+d.btntext+"
"}c.emptyDom=document.createElement("div");c.emptyDom.className="mescroll-empty";c.emptyDom.innerHTML=f;g.appendChild(c.emptyDom);if(d.btnClick){var e=c.emptyDom.getElementsByClassName("empty-btn")[0];if(d.supportTap){e.addEventListener("tap",function(h){h.stopPropagation();h.preventDefault();d.btnClick()})}else{e.onclick=function(){d.btnClick()}}}}};a.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)};a.prototype.showTopBtn=function(){if(!this.topBtnShow){this.topBtnShow=true;var c=this;var d=c.optUp.toTop;if(c.toTopBtn==null){if(d.html){c.toTopBtn=document.createElement("div");c.toTopBtn.innerHTML=d.html}else{c.toTopBtn=document.createElement("img");c.toTopBtn.src=d.src}c.toTopBtn.className=d.warpClass;if(d.supportTap){c.toTopBtn.addEventListener("tap",function(f){f.stopPropagation();f.preventDefault();c.scrollTo(0,c.optUp.toTop.duration)})}else{c.toTopBtn.onclick=function(){c.scrollTo(0,c.optUp.toTop.duration)}}var b;if(d.warpId){b=c.getDomById(d.warpId)}if(!b){b=document.body}b.appendChild(c.toTopBtn)}c.toTopBtn.classList.remove(d.hideClass);c.toTopBtn.classList.add(d.showClass)}};a.prototype.hideTopBtn=function(){if(this.topBtnShow&&this.toTopBtn){this.topBtnShow=false;this.toTopBtn.classList.remove(this.optUp.toTop.showClass);this.toTopBtn.classList.add(this.optUp.toTop.hideClass)}};a.prototype.scrollTo=function(g,c){var d=this;var f=d.getScrollTop();var b=g;if(b>0){var e=d.getScrollHeight()-d.getClientHeight();if(b>e){b=e}}else{b=0}d.isScrollTo=true;d.getStep(f,b,function(h){d.setScrollTop(h);if(h==b){d.isScrollTo=false}},c)};a.prototype.getStep=function(f,d,k,l,h){var j=d-f;if(l==0||j==0){k&&k(d);return}l=l||300;h=h||30;var g=l/h;var c=j/g;var e=0;var b=window.setInterval(function(){if(e下拉刷新
',inited:function(d,c){d.downTipDom=c.getElementsByClassName("downwarp-tip")[0];d.downProgressDom=c.getElementsByClassName("downwarp-progress")[0]},inOffset:function(c){if(c.downTipDom){c.downTipDom.innerHTML="下拉刷新"}if(c.downProgressDom){c.downProgressDom.classList.remove("mescroll-rotate")}},outOffset:function(c){if(c.downTipDom){c.downTipDom.innerHTML="释放更新"}},onMoving:function(d,f,c){if(d.downProgressDom){var e=360*f;d.downProgressDom.style.webkitTransform="rotate("+e+"deg)";d.downProgressDom.style.transform="rotate("+e+"deg)"}},beforeLoading:function(d,c){return false},showLoading:function(c){if(c.downTipDom){c.downTipDom.innerHTML="加載中 ..."}if(c.downProgressDom){c.downProgressDom.classList.add("mescroll-rotate")}},callback:function(c){c.resetUpScroll()}})};a.prototype.extendUpScroll=function(b){var c=this.os.pc;a.extend(b,{use:true,auto:true,isLock:false,isBoth:false,isBounce:true,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1000,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",duration:300,supportTap:false},loadFull:{use:false,delay:500},empty:{warpId:null,icon:null,tip:"仅支持查看3个月内记录",btntext:"",btnClick:null,supportTap:false},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'加載中..
',htmlNodata:'-- 仅支持查看3个月内记录 --
',inited:function(d,e){},showLoading:function(d,e){e.innerHTML=d.optUp.htmlLoading},showNoMore:function(d,e){e.innerHTML=d.optUp.htmlNodata},onScroll:null,scrollbar:{use:c,barClass:"mescroll-bar"}})};a.extend=function(c,b){if(!c){return b}for(var key in b){if(c[key]==null){c[key]=b[key]}else{if(typeof c[key]=="object"){a.extend(c[key],b[key])}}}return c};a.prototype.initDownScroll=function(){var c=this;c.optDown=c.options.down||{};c.extendDownScroll(c.optDown);c.touchstartEvent=function(d){if(c.isScrollTo){d.preventDefault()}c.startPoint=c.getPoint(d);c.lastPoint=c.startPoint;c.maxTouchmoveY=c.getBodyHeight()-c.optDown.bottomOffset;c.inTouchend=false;if(c.os.pc&&c.getScrollTop()<=0){c.scrollDom.addEventListener("mousemove",c.touchmoveEvent);document.ondragstart=function(){return false}}};c.scrollDom.addEventListener("mousedown",c.touchstartEvent);c.scrollDom.addEventListener("touchstart",c.touchstartEvent);c.touchmoveEvent=function(l){var d=c.getScrollTop();var h=c.getPoint(l);var f=h.y-c.startPoint.y;if(f>0){if(d<=0){if(l.cancelable&&!l.defaultPrevented){l.preventDefault()}if(c.optDown.use&&!c.inTouchend&&!c.isDownScrolling&&!c.optDown.isLock&&(!c.isUpScrolling||(c.isUpScrolling&&c.optUp.isBoth))){var o=Math.abs(c.lastPoint.x-h.x);var n=Math.abs(c.lastPoint.y-h.y);var m=Math.sqrt(o*o+n*n);if(m!=0){var g=Math.asin(n/m)/Math.PI*180;if(g'+d.tip+"
"}if(d.btntext){f+=''+d.btntext+"
"}c.emptyDom=document.createElement("div");c.emptyDom.className="mescroll-empty";c.emptyDom.innerHTML=f;g.appendChild(c.emptyDom);if(d.btnClick){var e=c.emptyDom.getElementsByClassName("empty-btn")[0];if(d.supportTap){e.addEventListener("tap",function(h){h.stopPropagation();h.preventDefault();d.btnClick()})}else{e.onclick=function(){d.btnClick()}}}}};a.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)};a.prototype.showTopBtn=function(){if(!this.topBtnShow){this.topBtnShow=true;var c=this;var d=c.optUp.toTop;if(c.toTopBtn==null){if(d.html){c.toTopBtn=document.createElement("div");c.toTopBtn.innerHTML=d.html}else{c.toTopBtn=document.createElement("img");c.toTopBtn.src=d.src}c.toTopBtn.className=d.warpClass;if(d.supportTap){c.toTopBtn.addEventListener("tap",function(f){f.stopPropagation();f.preventDefault();c.scrollTo(0,c.optUp.toTop.duration)})}else{c.toTopBtn.onclick=function(){c.scrollTo(0,c.optUp.toTop.duration)}}var b;if(d.warpId){b=c.getDomById(d.warpId)}if(!b){b=document.body}b.appendChild(c.toTopBtn)}c.toTopBtn.classList.remove(d.hideClass);c.toTopBtn.classList.add(d.showClass)}};a.prototype.hideTopBtn=function(){if(this.topBtnShow&&this.toTopBtn){this.topBtnShow=false;this.toTopBtn.classList.remove(this.optUp.toTop.showClass);this.toTopBtn.classList.add(this.optUp.toTop.hideClass)}};a.prototype.scrollTo=function(g,c){var d=this;var f=d.getScrollTop();var b=g;if(b>0){var e=d.getScrollHeight()-d.getClientHeight();if(b>e){b=e}}else{b=0}d.isScrollTo=true;d.getStep(f,b,function(h){d.setScrollTop(h);if(h==b){d.isScrollTo=false}},c)};a.prototype.getStep=function(f,d,k,l,h){var j=d-f;if(l==0||j==0){k&&k(d);return}l=l||300;h=h||30;var g=l/h;var c=j/g;var e=0;var b=window.setInterval(function(){if(e- 升级所需魅力值:0 + 升級所需魅力值:0 LV.0 LV.1
diff --git a/view/peko/modules/level/js/index.js b/view/peko/modules/level/js/index.js index 69e0a1c..62853d9 100644 --- a/view/peko/modules/level/js/index.js +++ b/view/peko/modules/level/js/index.js @@ -5,7 +5,7 @@ $(function () { if (EnvCheck() == 'test') { let vConsole = new VConsole }; let locateObj = getQueryString(); - //type=user 用户等级(财富等级) type = charm 魅力等级 + //type=user 用戶等級(財富等級) type = charm 魅力等級 if (locateObj.type == 'user') { $('.level').eq(0).addClass('active').siblings().removeClass('active'); $('.user-content').eq(0).show().siblings('.user-content').hide(); @@ -40,13 +40,13 @@ $(function () { $(window).scrollTop(0) } }) - //等级数据渲染 + //等級數據渲染 const renderUser = (data) => { let $user = $('.user-content'); $user.find('.user-head .user-avatar').attr('src', data.avatar); $user.find('.grade .grade-now').html('LV.' + data.userLevelExperience.levelExperience.levelSeq); $user.find('.grade .grade-next').html('LV.' + data.userLevelExperience.nextLevelExperience.levelSeq); - $user.find('.treasure-now').html('财富值:' + data.userLevelExperience.amount); + $user.find('.treasure-now').html('財富值:' + data.userLevelExperience.amount); var barWidth = (data.userLevelExperience.amount / data.userLevelExperience.nextLevelExperience.amount) * 100; // console.log(barWidth); barWidth = barWidth >= 100 ? 100 : barWidth @@ -57,9 +57,9 @@ $(function () { if (dis <= 0) { dis = '∞'; } - $user.find('.treasure-upgrade').html('升级所需财富值:' + `${dis}`); + $user.find('.treasure-upgrade').html('升級所需財富值:' + `${dis}`); } - //魅力数据渲染 + //魅力數據渲染 const renderCharm = (data) => { let $user = $('.user-charm'); $user.find('.user-head .user-avatar').attr('src', data.avatar); @@ -75,7 +75,7 @@ $(function () { if (dis <= 0) { dis = '∞'; } - $user.find('.treasure-upgrade').html('升级所需魅力值:' + `${dis}`); + $user.find('.treasure-upgrade').html('升級所需魅力值:' + `${dis}`); } const getMsg = () => { @@ -99,7 +99,7 @@ $(function () { function convertName(name) { return name.split('L')[0]; } - //用户等级和魅力等级切换 + //用戶等級和魅力等級切換 $('.level-head').on('click', '.level', function () { if ($(this).hasClass('active')) return; mySwiper.slideTo($(this).index(), 400, false) diff --git a/view/peko/modules/logout/js/confirm.js b/view/peko/modules/logout/js/confirm.js index e0b7cdf..10c4b5c 100644 --- a/view/peko/modules/logout/js/confirm.js +++ b/view/peko/modules/logout/js/confirm.js @@ -46,7 +46,7 @@ const getUserInfo = () => { } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -65,7 +65,7 @@ const confirmLogout = (text) => { } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } \ No newline at end of file diff --git a/view/peko/modules/logout/js/fail.js b/view/peko/modules/logout/js/fail.js index a006103..c4bbdd3 100644 --- a/view/peko/modules/logout/js/fail.js +++ b/view/peko/modules/logout/js/fail.js @@ -29,7 +29,7 @@ const getList = () => { } }, error(err) { - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/modules/logout/js/index.js b/view/peko/modules/logout/js/index.js index 1d14218..1295154 100644 --- a/view/peko/modules/logout/js/index.js +++ b/view/peko/modules/logout/js/index.js @@ -3,7 +3,7 @@ let browser = checkVersion() // 封装layer消息提醒框 let layerIndex -const showLoading = (content = '加载中...') => { +const showLoading = (content = '加載中...') => { layer.open({ type: 2, shadeClose: false, @@ -54,7 +54,7 @@ $(function(){ }, error(err) { hideLoading(layerIndex) - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) }) diff --git a/view/peko/modules/luckyBag/js/index.js b/view/peko/modules/luckyBag/js/index.js index da7e882..238bb62 100644 --- a/view/peko/modules/luckyBag/js/index.js +++ b/view/peko/modules/luckyBag/js/index.js @@ -59,7 +59,7 @@ $(function () { }, error(){ hideLoading() - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/modules/myincome/index.html b/view/peko/modules/myincome/index.html index 2d9f38a..370b879 100644 --- a/view/peko/modules/myincome/index.html +++ b/view/peko/modules/myincome/index.html @@ -1 +1 @@ -请选择储值方式:
+迪迦奥特曼
+ +请选择您的储值金额:
+香港
+台湾
+马来西亚
+新加坡
+ +${res.desc}
+ + ` + }); + $('.methods').append(strT); + coloursFun(0); + // 选择支付方式按钮 + $('.methods span').click(function () { + modeOfPayment = true; + console.log($(this)) + paymentType = $(this).attr('paymentType'); + payChannel = $(this).attr('payChannel'); + // $(this).parent().addClass('active').siblings().removeClass('active'); + $(this).addClass('active').siblings().removeClass('active'); + coloursFun($(this).index()); + }) + console.log(countryCode) + $('.but2').off(); + $('.but2').on('click', function () { + console.log(countryCode) + if (modeOfPayment == false) { + logingFun('請選擇儲值方式') + } else if (paymentAmount == false) { + logingFun('請選擇您的儲值金額') + } else { + console.log(countryCode) + networkRequest({ + type: 'POST', + url: urlPrefix + '/charge/apply2New', + data: { account, chargeProdId, countryCode, openId, payChannel, paymentType, successUrl, uid }, + success: function (res) { + if (res.code == 200) { + console.log(res) + $('.logingActive').text("請稍等"); + $('.logingActive').show(); + window.location.href = res.data.mweb_url + } else { + logingFun(res.message) + } + } + }); + } + }) + } else if (res.code == 1900) { + countryCode = "TW"; + getChargePageInfoForH5(countryCode); + } + } + }); + } + + $('.header_top_right').click(function () { + $('.pop_up').show(); + }); + $('.pop_up_in p').click(function () { + $('.header_top_right b').text($(this).text()); + countryCode = $(this).attr("countryCode"); + $('.pop_up').hide(); + // if (countryCode == "CN") { + // if (EnvCheck() == 'test') { + // if (host != "anan.uat.lecheng163.com") { + // window.location.href = ifCNFun() + '/peko/modules/pay/index.html?countryCodeURL=CN' + // } + // } else { + // if (host != "anan.lecheng163.com") { + // window.location.href = ifCNFun() + '/peko/modules/pay/index.html?countryCodeURL=CN' + // } + // } + // } else { + // window.location.href = urlPrefix + '/peko/modules/pay/index.html?countryCodeURL=' + countryCode; + // } + getChargePageInfoForH5(countryCode); + }) + function coloursFun (index) { + $('.pay_number .number span').remove(); + var str = ''; + arr[index].forEach(res => { + str += ` + + ${res.chargeGoldNum.toLocaleString()} 金幣 + ${res.currencySign} ${res.money.toLocaleString()} + + ` + }) + $('.pay_number .number').append(str); + // 选择支付金额按钮 + $('.pay_number .number span').click(function () { + paymentAmount = true; + console.log($(this)); + chargeProdId = $(this).attr('chargeProdId'); + $(this).addClass('active').siblings().removeClass('active'); + }) + } + $('.user').on('input', function () { + var val = $(this).val(); + // console.log(val) + if (isNumber(val)) { + console.log('不是数字') + $(this).val(""); + al = $(this).val(); + $('.but1').show(); + $('.but2').hide(); + } else { + if (val != '') { + $('.but1').hide(); + $('.but2').show(); + account = val; + } else { + $('.but1').show(); + $('.but2').hide(); + } + } + }) + function isNumber (string) { + var r = string.match(/^[0-9]*$/); + if (r == null) { + return true + } else { + return false + } + } + function logingFun (res) { + $('.logingActive').text(res.message == undefined ? res : res.message); + $('.logingActive').show(); + setTimeout(function () { + $('.logingActive').hide(); + }, 1500) + } + function ifCNFun () { + var envChecks; + const url = window.location.href; + console.log(url) + if (!url) return undefined; + if (url.match(/uat/) || url.match(/127.0.0.1:/) || url.match(/192.168/) || (url.match(/beta/))) { envChecks = "test" } else { envChecks = "live" }; + if (!envChecks) return undefined; + return envChecks === 'live' ? urlProduct : urlTest; + } +}) \ No newline at end of file diff --git a/view/peko/modules/payment/js/index.js b/view/peko/modules/payment/js/index.js index cb18e70..b0438cb 100644 --- a/view/peko/modules/payment/js/index.js +++ b/view/peko/modules/payment/js/index.js @@ -87,7 +87,7 @@ const getChargeList = () => { }, error() { hideLoading(); - toastMsg('网络错误'); + toastMsg('網絡錯誤'); } }); } @@ -262,7 +262,7 @@ const getOpenId = () => { } }, error() { - toastMsg('网络错误'); + toastMsg('網絡錯誤'); } }) } diff --git a/view/peko/modules/payment_mall/js/index.js b/view/peko/modules/payment_mall/js/index.js index 3f8b056..a368183 100644 --- a/view/peko/modules/payment_mall/js/index.js +++ b/view/peko/modules/payment_mall/js/index.js @@ -37,7 +37,7 @@ const isUserExist = (value) => { } }, error(){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -60,7 +60,7 @@ const getOpenId = () => { } }, error(){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/modules/payment_mall/js/payment.js b/view/peko/modules/payment_mall/js/payment.js index dbb46df..da9fcf0 100644 --- a/view/peko/modules/payment_mall/js/payment.js +++ b/view/peko/modules/payment_mall/js/payment.js @@ -26,7 +26,7 @@ const getChargeList = () => { renderChargeList() }, error(){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } @@ -72,7 +72,7 @@ const submitOrder = (params) => { } }, error(){ - toastMsg('网络错误') + toastMsg('網絡錯誤') } }) } diff --git a/view/peko/modules/payment_new/js/index.js b/view/peko/modules/payment_new/js/index.js index 4519e0a..a9f9a1f 100644 --- a/view/peko/modules/payment_new/js/index.js +++ b/view/peko/modules/payment_new/js/index.js @@ -83,7 +83,7 @@ const getChargeList = () => { }, error(){ hideLoading(); - toastMsg('网络错误'); + toastMsg('網絡錯誤'); } }); } @@ -129,7 +129,7 @@ const getOpenId = () => { } }, error(){ - toastMsg('网络错误'); + toastMsg('網絡錯誤'); } }) } diff --git a/view/peko/modules/rank/static/js/1.4b54610dd538d8be91f7.js b/view/peko/modules/rank/static/js/1.4b54610dd538d8be91f7.js index d803307..a1403df 100644 --- a/view/peko/modules/rank/static/js/1.4b54610dd538d8be91f7.js +++ b/view/peko/modules/rank/static/js/1.4b54610dd538d8be91f7.js @@ -12,5 +12,5 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. -***************************************************************************** */function o(){for(var e=0,t=0,s=arguments.length;t