Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
华
华夏模拟理财_20250701
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
华夏模拟理财_20250701
Commits
a5a3266f
Commit
a5a3266f
authored
Jul 07, 2025
by
俞嘉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 下线二维码 不需要单独渠道
parent
fb49a7d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
index.html
index.html
+2
-2
AppTools.ts
src/AppTools.ts
+10
-5
loginpop.jsx
src/panels/loginpop/loginpop.jsx
+2
-2
No files found.
index.html
View file @
a5a3266f
...
@@ -38,11 +38,11 @@
...
@@ -38,11 +38,11 @@
CFG
.
channel
=
getUrlParam
(
"channel"
);
CFG
.
channel
=
getUrlParam
(
"channel"
);
// 首页
// 首页
CFG
.
index
=
'/projectx/'
+
CFG
.
projectId
+
'/index.html?appID='
+
CFG
.
appID
+
'&channel='
+
CFG
.
channel
;
CFG
.
index
=
'/projectx/'
+
CFG
.
projectId
+
'/index.html?appID='
+
CFG
.
appID
+
'&channel='
+
CFG
.
channel
;
// 提示弹窗二维码短链链接(目的页是 首页xx/index.html) 线上正式 TODO 域名记得改为dexfu的
// 提示弹窗二维码短链链接(目的页是 首页xx/index.html
?off=1
) 线上正式 TODO 域名记得改为dexfu的
CFG
.
prizePageQrcodeUrl
=
"https://hxlc90548.activity-29.m.duiba.com.cn/outActivity/12hy"
;
CFG
.
prizePageQrcodeUrl
=
"https://hxlc90548.activity-29.m.duiba.com.cn/outActivity/12hy"
;
if
(
location
.
origin
.
indexOf
(
"duibatest"
)
>
-
1
)
{
if
(
location
.
origin
.
indexOf
(
"duibatest"
)
>
-
1
)
{
// 测试环境
// 测试环境
CFG
.
prizePageQrcodeUrl
=
CFG
.
domain
+
"/projectx/"
+
CFG
.
projectId
+
"/index.html?appID="
+
CFG
.
appID
+
"&channel=9
"
CFG
.
prizePageQrcodeUrl
=
CFG
.
index
+
"&off=1
"
}
else
if
(
CFG
.
projectId
==
'p5185b9f0'
)
{
}
else
if
(
CFG
.
projectId
==
'p5185b9f0'
)
{
// 线上测试
// 线上测试
CFG
.
prizePageQrcodeUrl
=
"https://hxlc90548.activity-29.m.duiba.com.cn/outActivity/12hw"
CFG
.
prizePageQrcodeUrl
=
"https://hxlc90548.activity-29.m.duiba.com.cn/outActivity/12hw"
...
...
src/AppTools.ts
View file @
a5a3266f
...
@@ -11,13 +11,20 @@ export function isIos() {
...
@@ -11,13 +11,20 @@ export function isIos() {
return
navigator
.
userAgent
.
match
(
/iphone|ipod|ipad/gi
)
return
navigator
.
userAgent
.
match
(
/iphone|ipod|ipad/gi
)
}
}
/** 产品类型 */
export
const
PRODUCT_TYPE
=
{
/** 非现金 */
NON_CASH
:
0
,
/** 现金 */
CASH
:
1
,
}
/** 渠道 */
/** 渠道 */
export
const
CHANNEL
=
{
export
const
CHANNEL
=
{
/** 母行-华夏银行 */
HXBANK
:
"1"
,
/** 华夏理财 */
/** 华夏理财 */
HXLC
:
"2"
,
HXLC
:
"1"
,
/** 母行-华夏银行 */
HXBANK
:
"2"
,
// /** 三方合作APP-南粤银行 */
// /** 三方合作APP-南粤银行 */
// NANYUE: "3",
// NANYUE: "3",
// /** 三方合作APP-紫金 */
// /** 三方合作APP-紫金 */
...
@@ -30,8 +37,6 @@ export const CHANNEL = {
...
@@ -30,8 +37,6 @@ export const CHANNEL = {
// BOHAI: "7",
// BOHAI: "7",
// /** 母行备选渠道 手机号登录模式 投放母行app外 相当于三方合作APP */
// /** 母行备选渠道 手机号登录模式 投放母行app外 相当于三方合作APP */
// HXBANK_TEL: "8",
// HXBANK_TEL: "8",
/** 下线弹窗二维码入口进入 */
OFFLINE_QRCODE
:
"9"
,
};
};
/** 是否为三方合作APP */
/** 是否为三方合作APP */
...
...
src/panels/loginpop/loginpop.jsx
View file @
a5a3266f
...
@@ -6,7 +6,7 @@ import './loginpop.less';
...
@@ -6,7 +6,7 @@ import './loginpop.less';
import
API
from
'@/api'
;
import
API
from
'@/api'
;
import
{
ModalCtrl
}
from
'@/core/ctrls/ModalCtrl'
;
import
{
ModalCtrl
}
from
'@/core/ctrls/ModalCtrl'
;
import
{
Button
,
Toast
}
from
'@grace/ui'
;
import
{
Button
,
Toast
}
from
'@grace/ui'
;
import
{
_asyncThrottle
}
from
'@/utils/utils'
;
import
{
_asyncThrottle
,
getUrlParam
}
from
'@/utils/utils'
;
import
LightSDK
from
'light-sdk/dist/index.umd'
import
LightSDK
from
'light-sdk/dist/index.umd'
import
{
CHANNEL
}
from
'@/AppTools'
;
import
{
CHANNEL
}
from
'@/AppTools'
;
import
Privacypop
from
'../privacypop/privacypop'
;
import
Privacypop
from
'../privacypop/privacypop'
;
...
@@ -211,7 +211,7 @@ class Loginpop extends React.Component {
...
@@ -211,7 +211,7 @@ class Loginpop extends React.Component {
<
span
className=
"content_title"
onClick=
{
()
=>
this
.
setState
({
showPrivacyPop
:
true
})
}
dangerouslySetInnerHTML=
{
{
__html
:
agreementTitle
}
}
></
span
>
<
span
className=
"content_title"
onClick=
{
()
=>
this
.
setState
({
showPrivacyPop
:
true
})
}
dangerouslySetInnerHTML=
{
{
__html
:
agreementTitle
}
}
></
span
>
</
div
>
</
div
>
</
div
>
}
</
div
>
}
<
Button
className=
{
`btn ${
CFG.channel === CHANNEL.OFFLINE_QRCODE
? 'enter_btn' : ''}`
}
onClick=
{
this
.
handleSubmit
}
></
Button
>
<
Button
className=
{
`btn ${
getUrlParam("off") == 1
? 'enter_btn' : ''}`
}
onClick=
{
this
.
handleSubmit
}
></
Button
>
{
!
hideClose
&&
<
Button
className=
"close"
onClick=
{
this
.
close
}
></
Button
>
}
{
!
hideClose
&&
<
Button
className=
"close"
onClick=
{
this
.
close
}
></
Button
>
}
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment