From 296a640744dc164ac747033e08dbff63ed38a225 Mon Sep 17 00:00:00 2001 From: Dragon <13925835632@139.com> Date: Tue, 11 Jul 2023 17:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9uid=E5=92=8Cticket=E4=BC=A0?= =?UTF-8?q?=E5=8F=82=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/peko/common/js/common2.js | 4 +- view/peko/modules/h5Income/css/withdrawal.css | 41 +++++++++++++++++ .../peko/modules/h5Income/css/withdrawal.scss | 44 +++++++++++++++++++ view/peko/modules/h5Income/js/login.js | 4 +- view/peko/modules/h5Income/withdrawal.html | 7 +++ 5 files changed, 96 insertions(+), 4 deletions(-) diff --git a/view/peko/common/js/common2.js b/view/peko/common/js/common2.js index fd00694..4193a23 100644 --- a/view/peko/common/js/common2.js +++ b/view/peko/common/js/common2.js @@ -541,8 +541,8 @@ function getInfoFromClient () { } else { // 非app环境调试参数 - pubInfo.uid = sessionStorage.getItem("uid"); - pubInfo.ticket = sessionStorage.getItem("ticket"); + pubInfo.uid = sessionStorage.getItem("uid") ? sessionStorage.getItem("uid") : ''; + pubInfo.ticket = sessionStorage.getItem("ticket") ? sessionStorage.getItem("ticket") : ''; pubInfo.deviceId = "0"; pubInfo.deviceInfo = { diff --git a/view/peko/modules/h5Income/css/withdrawal.css b/view/peko/modules/h5Income/css/withdrawal.css index 8c05d35..cba569c 100644 --- a/view/peko/modules/h5Income/css/withdrawal.css +++ b/view/peko/modules/h5Income/css/withdrawal.css @@ -241,4 +241,45 @@ body { color: #9168FA; } +.goldPub { + position: fixed; + left: 0; + top: 0; + bottom: 0; + right: 0; + background: rgba(0, 0, 0, 0.6); + z-index: 99; +} +.goldPub .goldPub_in { + width: 8.5066666667rem; + height: 7.3066666667rem; + background: #fff; + border-radius: 0.5333333333rem; + position: relative; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); +} +.goldPub .goldPub_in .title { + width: 100%; + text-align: center; + font-size: 0.4266666667rem; + font-weight: bold; + color: #1F1B4F; + position: absolute; + left: 0; + top: 0.64rem; +} +.goldPub .goldPub_in .num { + position: absolute; + width: 100%; + text-align: center; + color: #1F1B4F; + text-align: center; + top: 1.8666666667rem; + left: 0; + font-size: 0.7466666667rem; + font-weight: bold; +} + /*# sourceMappingURL=withdrawal.css.map */ diff --git a/view/peko/modules/h5Income/css/withdrawal.scss b/view/peko/modules/h5Income/css/withdrawal.scss index 3466fcb..cab285b 100644 --- a/view/peko/modules/h5Income/css/withdrawal.scss +++ b/view/peko/modules/h5Income/css/withdrawal.scss @@ -273,4 +273,48 @@ body { } } } +} + +.goldPub { + position: fixed; + left: 0; + top: 0; + bottom: 0; + right: 0; + background: rgba(0, 0, 0, .6); + z-index: 99; + + .goldPub_in { + width: px2rem(638, ); + height: px2rem(548, ); + background: #fff; + border-radius: px2rem(40, ); + position: relative; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + + .title { + width: 100%; + text-align: center; + font-size: px2rem(32, ); + font-weight: bold; + color: #1F1B4F; + position: absolute; + left: 0; + top: px2rem(48, ); + } + + .num { + position: absolute; + width: 100%; + text-align: center; + color: #1F1B4F; + text-align: center; + top: px2rem(140, ); + left: 0; + font-size: px2rem(56, ); + font-weight: bold; + } + } } \ No newline at end of file diff --git a/view/peko/modules/h5Income/js/login.js b/view/peko/modules/h5Income/js/login.js index 7c213e6..a4ae424 100644 --- a/view/peko/modules/h5Income/js/login.js +++ b/view/peko/modules/h5Income/js/login.js @@ -45,7 +45,7 @@ function getCode () { networkRequest({ type: 'POST', url: urlPrefix + '/sms/getCode', - headers: {"pub_uid":"0"}, + headers: { "pub_uid": "0" }, data: { mobile: mobileDes, phoneAreaCode: $('.box .phone .phoneNumberBox .prefix b').text(), type: 2 }, success (res) { if (res.code === 200) { @@ -76,7 +76,7 @@ function oauthToken () { networkRequest({ type: 'POST', url: urlPrefix + '/oauth/token', - data: idOrPhone ? { "grant_type": "password", phone, password } : { grant_type: 'verify_code', phoneAreaCode, phone, code }, + data: idOrPhone ? { "grant_type": "password", phone, password, client_id: "erban-client", "client_secret": "uyzjdhds" } : { grant_type: 'verify_code', phoneAreaCode, phone, code, client_id: "erban-client", "client_secret": "uyzjdhds" }, success (res) { if (res.code === 200) { diff --git a/view/peko/modules/h5Income/withdrawal.html b/view/peko/modules/h5Income/withdrawal.html index 61990e5..ed0a8be 100644 --- a/view/peko/modules/h5Income/withdrawal.html +++ b/view/peko/modules/h5Income/withdrawal.html @@ -58,6 +58,13 @@ + +
輸入提現金幣數額
+