Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TianGongKaiWu-20251203
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
TianGongKaiWu-20251203
Commits
27569909
Commit
27569909
authored
Dec 12, 2025
by
王勇霞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 联调
parent
faf6f80f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
19 deletions
+7
-19
App.tsx
src/App.tsx
+0
-3
init.ts
src/built-in/duiba-utils/init.ts
+0
-9
HomePage.tsx
src/pages/HomePage/HomePage.tsx
+1
-2
index.jsx
src/pages/newRecordPage/index.jsx
+1
-1
index.jsx
src/panels/blackPop/index.jsx
+1
-1
index.jsx
src/panels/setupSuccessPop/index.jsx
+1
-1
index.jsx
src/panels/signTaskPop/index.jsx
+3
-0
errorHandler.ts
src/utils/errorHandler.ts
+0
-2
No files found.
src/App.tsx
View file @
27569909
...
...
@@ -14,9 +14,6 @@ import { GetCurrSkinId, getCustomShareId } from "@/utils/utils.ts";
import
HomePage
from
"@/pages/HomePage/HomePage.tsx"
;
import
Auth
from
"@/pages/auth/auth.jsx"
;
import
{
loadFont
}
from
"@/core/preload.ts"
;
import
DetailPage
from
"@/pages/DetailPage/DetailPage.tsx"
;
import
PrizePage
from
"@/pages/PrizePage/PrizePage.tsx"
;
import
SharePage
from
"@/pages/sharePage/sharePage.jsx"
;
...
...
src/built-in/duiba-utils/init.ts
View file @
27569909
...
...
@@ -67,22 +67,13 @@ function dealPageRemainTime() {
windowVisibility
((
visibility
)
=>
{
if
(
visibility
)
{
startTimer
=
new
Date
().
getTime
();
//console.log('starttimer', startTimer)
}
else
{
endTimer
=
new
Date
().
getTime
();
//console.log('endTimer', endTimer);
sendData
();
}
})
const
sendData
=
()
=>
{
const
t0
=
endTimer
-
startTimer
;
//console.log('duration', t0);
accessLog
(
156
,
{
remain
:
t0
,
});
};
document
.
body
[
'onbeforeunload'
]
=
()
=>
{
...
...
src/pages/HomePage/HomePage.tsx
View file @
27569909
...
...
@@ -19,7 +19,6 @@ import Countdown from '@/core/components/ComCountdown/index.jsx';
import
PrizePage
from
"@/pages/PrizePage/PrizePage.tsx"
;
import
SignCom
from
'@/panels/signCom/signCom.jsx'
;
import
SetupSuccessPop
from
'@/panels/setupSuccessPop'
;
import
SharePage
from
"../sharePage/sharePage"
;
@
observer
class
HomePage
extends
React
.
Component
<
any
,
any
>
{
...
...
@@ -333,7 +332,7 @@ class HomePage extends React.Component<any, any> {
<
span
className=
"recommend_products_bg"
>
<
div
className=
"r_products_list"
>
{
bannerInfo
?.
map
((
item
,
index
)
=>
(
<
div
className=
"r_products_item"
key=
{
`r_prdct_${index}`
}
onClick=
{
this
.
handleClickBanner
}
>
<
div
className=
"r_products_item"
key=
{
`r_prdct_${index}`
}
onClick=
{
()
=>
this
.
handleClickBanner
(
item
)
}
>
<
img
className=
"r_product_bg"
src=
{
item
.
bannerImg
}
alt=
""
/>
</
div
>
))
}
...
...
src/pages/newRecordPage/index.jsx
View file @
27569909
...
...
@@ -35,7 +35,7 @@ class NewRecordPage extends React.Component {
async
updateList
()
{
const
{
pageNum
,
pageSize
,
haveMore
}
=
this
;
if
(
!
haveMore
)
return
;
const
{
success
,
data
}
=
await
this
.
API
({
pageNum
,
pageSize
});
const
{
success
,
data
}
=
await
this
.
API
({
pageNum
,
pageSize
,
spId
:
'sp_wealth'
});
if
(
!
success
)
return
;
this
.
pageNum
++
;
this
.
haveMore
=
data
.
haveMore
;
...
...
src/panels/blackPop/index.jsx
View file @
27569909
...
...
@@ -17,7 +17,7 @@ class BlackPop extends React.Component {
}
handleClose
=
_asyncThrottle
(()
=>
{
window
.
location
.
href
=
`
${
CFG
.
domain
}
/projectx/
${
store
.
frontVariable
.
otherProjectId
}
/index.html?appID=
${
CFG
.
appID
}
&channel=
${
CFG
.
channel
}
`
window
.
location
.
href
=
`
${
CFG
.
domain
}
/projectx/
${
store
.
frontVariable
.
otherProjectId
}
/index.html?appID=
${
CFG
.
appID
}
`
})
render
()
{
...
...
src/panels/setupSuccessPop/index.jsx
View file @
27569909
...
...
@@ -29,7 +29,7 @@ class SetupSuccessPop extends React.Component {
onStop
=
async
()
=>
{
this
.
btnStarting
=
false
;
//
store.updateIndex();
store
.
updateIndex
();
if
(
this
.
drawResultInfo
.
prizeId
==
"thanks"
)
{
ModalCtrl
.
showModal
(
NoPrizePanel
,
{
type
:
'final_turntable'
,
...
this
.
drawResultInfo
});
}
else
{
...
...
src/panels/signTaskPop/index.jsx
View file @
27569909
...
...
@@ -15,6 +15,9 @@ class SignTaskPop extends React.Component {
handleToLink
=
_asyncThrottle
(
async
()
=>
{
this
.
props
.
callback
?.();
setTimeout
(()
=>
{
ModalCtrl
.
closeModal
();
},
300
)
location
.
href
=
this
.
props
.
otherPrizeInfo
?.
link
||
''
})
...
...
src/utils/errorHandler.ts
View file @
27569909
import
{
CHANNEL
,
IS_OTHER_APP
,
isWeiXin
}
from
"@/AppTools"
;
import
{
ModalCtrl
}
from
"@/core/ctrls/ModalCtrl"
;
import
{
Toast
}
from
"@grace/ui"
;
// 需要过滤的错误码
...
...
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