恢复联调代码,并且更新提现登入页

This commit is contained in:
dragon
2024-07-12 18:01:55 +08:00
parent 395897f119
commit 7fa188e04a
5 changed files with 21 additions and 29 deletions

View File

@@ -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()

View File

@@ -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 {

View File

@@ -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%;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 KiB

After

Width:  |  Height:  |  Size: 304 KiB

View File

@@ -9,7 +9,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<title>登入</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/login.css">
<link rel="stylesheet" href="./css/login.css?v=1.0">
</head>
<body>
@@ -17,7 +17,7 @@
<img src="./images/back.png" alt="" class="back">
<!-- 頭部 -->
<div class="header">
<img src="./images/login/logo.png" alt="" class="logo">
<!-- <img src="./images/login/logo.png" alt="" class="logo"> -->
</div>
<!-- 底部登入 -->
<div class="box">
@@ -63,4 +63,4 @@
<script src="../../common/js/route-constant.js"></script>
<script src="../../common/js/svga.min.js"></script>
<script src="../../common/js/crypto-js.js"></script>
<script src="./js/login.js?v=1.0"></script>
<script src="./js/login.js?v=1.1"></script>