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
79803f46
Commit
79803f46
authored
Jul 18, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
3c9002ef
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
index.html
index.html
+2
-1
App.tsx
src/App.tsx
+2
-0
PrizePage.tsx
src/pages/PrizePage/PrizePage.tsx
+2
-2
loginpop.jsx
src/panels/loginpop/loginpop.jsx
+2
-2
No files found.
index.html
View file @
79803f46
...
...
@@ -38,8 +38,9 @@
CFG
.
channel
=
getUrlParam
(
"channel"
);
// 首页
CFG
.
index
=
'/projectx/'
+
CFG
.
projectId
+
'/index.html?appID='
+
CFG
.
appID
+
'&channel='
+
CFG
.
channel
;
CFG
.
prize
=
'/projectx/'
+
CFG
.
projectId
+
'/prize.html?appID='
+
CFG
.
appID
+
'&channel='
+
CFG
.
channel
;
// 提示弹窗二维码短链链接(目的页是 首页xx/index.html?off=1) 线上正式 TODO 域名记得改为dexfu的
CFG
.
prizePageQrcodeUrl
=
CFG
.
domain
+
CFG
.
index
+
"&off=1"
;
CFG
.
prizePageQrcodeUrl
=
CFG
.
domain
+
CFG
.
prize
+
"&off=1"
;
if
(
!
getUrlParam
(
"appID"
))
{
...
...
src/App.tsx
View file @
79803f46
...
...
@@ -20,6 +20,7 @@ import { loadFont } from "@/core/preload.ts";
import
DetailPage
from
"@/pages/DetailPage/DetailPage.tsx"
;
import
RecordPage
from
"@/pages/RecordPage/RecordPage.tsx"
;
import
ResPage
from
"@/pages/ResPage/ResPage.tsx"
;
import
PrizePage
from
"@/pages/PrizePage/PrizePage.tsx"
;
@
observer
...
...
@@ -30,6 +31,7 @@ class App extends Component {
const
defaultPage
=
{
auth
:
Auth
,
// TODO 举例子 新宿台奖品页
index
:
HomePage
,
prize
:
PrizePage
,
}[
skinId
]
||
HomePage
;
PageCtrl
.
changePage
(
defaultPage
);
}
...
...
src/pages/PrizePage/PrizePage.tsx
View file @
79803f46
...
...
@@ -6,7 +6,7 @@ import classNames from "classnames";
import
resStore
from
"@/store/ResStore.ts"
;
import
{
PageCtrl
}
from
"@/core/ctrls/PageCtrl.tsx"
;
import
HomePage
from
"@/pages/HomePage/HomePage.tsx"
;
import
{
dateFormatter
}
from
"@/utils/utils.ts"
;
import
{
dateFormatter
,
getUrlParam
}
from
"@/utils/utils.ts"
;
@
observer
class
PrizePage
extends
React
.
Component
<
any
,
any
>
{
...
...
@@ -51,7 +51,7 @@ class PrizePage extends React.Component<any, any> {
</
div
>
:
<
div
className=
{
styles
.
listNone
}
></
div
>
}
<
Button
className=
{
styles
.
backBtn
}
onClick=
{
this
.
clickBack
}
/>
{
getUrlParam
(
"off"
)
!=
"1"
&&
<
Button
className=
{
styles
.
backBtn
}
onClick=
{
this
.
clickBack
}
/>
}
</
div
>;
}
}
...
...
src/panels/loginpop/loginpop.jsx
View file @
79803f46
...
...
@@ -164,7 +164,7 @@ class Loginpop extends React.Component {
"phoneNumber"
:
loginPhone
,
"smsCode"
:
loginCode
,
"origenUid"
:
uid
||
''
,
// 华夏理财渠道才拿得到 其他渠道不用传
"redirectUrl"
:
CFG
.
domain
+
CFG
.
index
"redirectUrl"
:
CFG
.
domain
+
(
getUrlParam
(
"off"
)
==
1
?
CFG
.
prize
:
CFG
.
index
)
}
const
{
success
,
data
}
=
await
API
.
coop_checkCode
(
params
)
if
(
success
)
{
...
...
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