Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kww_dayDayGetCredits_250512
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
kww_dayDayGetCredits_250512
Commits
e1759b46
Commit
e1759b46
authored
May 16, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
121e4bbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ObtainPanel.tsx
src/panels/ObtainPanel/ObtainPanel.tsx
+2
-1
VideoPanel.tsx
src/panels/VideoPanel/VideoPanel.tsx
+2
-2
No files found.
src/panels/ObtainPanel/ObtainPanel.tsx
View file @
e1759b46
...
@@ -24,6 +24,7 @@ class ObtainPanel extends React.Component<IObtainPanelProps> {
...
@@ -24,6 +24,7 @@ class ObtainPanel extends React.Component<IObtainPanelProps> {
};
};
clickGet
=
()
=>
{
clickGet
=
()
=>
{
ModalCtrl
.
closeModal
();
};
};
...
@@ -37,7 +38,7 @@ class ObtainPanel extends React.Component<IObtainPanelProps> {
...
@@ -37,7 +38,7 @@ class ObtainPanel extends React.Component<IObtainPanelProps> {
<
div
className=
{
styles
.
tip
}
>
恭喜获得
{
creditNum
}
积分
</
div
>
<
div
className=
{
styles
.
tip
}
>
恭喜获得
{
creditNum
}
积分
</
div
>
<
div
className=
{
classNames
({
<
div
className=
{
classNames
({
[
styles
.
exp
]:
isExp
,
[
styles
.
exp
ansion
]:
isExp
,
[
styles
.
normal
]:
!
isExp
,
[
styles
.
normal
]:
!
isExp
,
})
}
/>
})
}
/>
...
...
src/panels/VideoPanel/VideoPanel.tsx
View file @
e1759b46
...
@@ -59,9 +59,9 @@ class VideoPanel extends React.Component<IVideoPanelProps> {
...
@@ -59,9 +59,9 @@ class VideoPanel extends React.Component<IVideoPanelProps> {
clickClose
=
()
=>
{
clickClose
=
()
=>
{
ModalCtrl
.
closeModal
();
ModalCtrl
.
closeModal
();
if
(
this
.
completeData
?.
credit
s
Num
)
{
if
(
this
.
completeData
?.
creditNum
)
{
ModalCtrl
.
showModal
(
ObtainPanel
,
{
ModalCtrl
.
showModal
(
ObtainPanel
,
{
credit
sNum
:
this
.
completeData
.
credits
Num
,
credit
Num
:
this
.
completeData
.
credit
Num
,
isExp
:
this
.
props
.
isExp
,
isExp
:
this
.
props
.
isExp
,
});
});
}
}
...
...
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