diff --git a/view/molistar/activity/2024-cityLove/js/index.js b/view/molistar/activity/2024-cityLove/js/index.js index 9c5ad92..04f84c1 100644 --- a/view/molistar/activity/2024-cityLove/js/index.js +++ b/view/molistar/activity/2024-cityLove/js/index.js @@ -1,9 +1,9 @@ let urlPrefix = getUrlPrefix() let browser = checkVersion() let env = EnvCheck(); -// if (env == 'test') { +if (env == 'test') { new VConsole(); -// } +} var langReplace; var localLang; // 封裝layer消息提醒框 @@ -45,24 +45,18 @@ $(function () { } }; // 頂部返回事件 - $('.back img').click(() => { - var productId = 'diamond_charge_01' + $('.back').click(() => { if (browser.android) { - window.androidJsObj.openPayment(productId) + window.androidJsObj.closeWebView() } else { - window.webkit.messageHandlers.openPayment.postMessage(productId) + window.webkit.messageHandlers.closeWebView.postMessage(null) } }) getCurrency(); activityCodeInfo(); }, 100) }) -function openPaymentCallback(obj) { - console.log('回调对象', obj); - console.log('回调orderId', obj.orderId); - console.log('回调code', obj.code); - console.log('回调productId', obj.productId); -} + // 配置接口 function getCurrency() { showLoading() diff --git a/view/molistar/modules/h5Income/css/login.css b/view/molistar/modules/h5Income/css/login.css index 423084b..da47e70 100644 --- a/view/molistar/modules/h5Income/css/login.css +++ b/view/molistar/modules/h5Income/css/login.css @@ -142,7 +142,7 @@ body { float: right; margin-top: 0.18667rem; margin-right: 0.21333rem; - background: #9168FA; + background: #14D2A6 100%; } .box .phone .codeBox .codeButTime { @@ -158,12 +158,11 @@ body { color: #FFFFFF; font-size: 0.42667rem; margin: 0 auto 0.53333rem; - background: linear-gradient(180deg, rgba(249, 195, 234, 0.65) 0%, rgba(229, 142, 255, 0.65) 50%, rgba(205, 122, 233, 0.65) 100%) top; + background: linear-gradient(270deg, #A5EEC8, #ABF5E3); } .box .butok { - background: url(../images/login/butBg.png) no-repeat; - background-size: 100% 100%; + background: linear-gradient(270deg, #57E193, #14D2A6); } .box .hone { @@ -175,8 +174,7 @@ body { color: #fff; font-size: 0.42667rem; margin: 0 auto 0.53333rem; - background: url(../images/login/butBg.png) no-repeat; - background-size: 100% 100%; + background: linear-gradient(270deg, #57E193, #14D2A6); } .area { diff --git a/view/molistar/modules/h5Income/css/login.scss b/view/molistar/modules/h5Income/css/login.scss index b30037d..8908174 100644 --- a/view/molistar/modules/h5Income/css/login.scss +++ b/view/molistar/modules/h5Income/css/login.scss @@ -146,7 +146,7 @@ body { float: right; margin-top: px2rem(14); margin-right: px2rem(16); - background: #9168FA; + background: #14D2A6 100%; } .codeButTime { @@ -167,13 +167,13 @@ body { font-size: px2rem(32); margin: 0 auto px2rem(40); // background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%); - background: linear-gradient(180deg, rgba(249,195,234,.65) 0%, rgba(229,142,255,.65) 50%, rgba(205, 122, 233, .65) 100%) top; + background: linear-gradient(270deg, #A5EEC8, #ABF5E3); } .butok { - // background: linear-gradient(180deg, #F9C3EA 0%, #E58EE1 50%, #CD7AE9 100%) top; - background: url(../images/login/butBg.png) no-repeat; - background-size: 100% 100%; + background: linear-gradient(270deg, #57E193, #14D2A6); + // background: url(../images/login/butBg.png) no-repeat; + // background-size: 100% 100%; } .hone { @@ -185,10 +185,10 @@ body { color: #fff; font-size: px2rem(32); margin: 0 auto px2rem(40); - // background: linear-gradient(270deg, #FAEDFF 0%, #E6FDFF 100%); + background: linear-gradient(270deg, #57E193, #14D2A6); // border: 1px solid #D480FF; - background: url(../images/login/butBg.png) no-repeat; - background-size: 100% 100%; + // background: url(../images/login/butBg.png) no-repeat; + // background-size: 100% 100%; } } diff --git a/view/molistar/modules/h5Income/images/login/bg.png b/view/molistar/modules/h5Income/images/login/bg.png index b2bd34a..76fdca7 100644 Binary files a/view/molistar/modules/h5Income/images/login/bg.png and b/view/molistar/modules/h5Income/images/login/bg.png differ diff --git a/view/molistar/modules/h5Income/login.html b/view/molistar/modules/h5Income/login.html index e631000..b5cd317 100644 --- a/view/molistar/modules/h5Income/login.html +++ b/view/molistar/modules/h5Income/login.html @@ -9,7 +9,7 @@