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
9c0ea7e5
Commit
9c0ea7e5
authored
Dec 18, 2025
by
天马流星拳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 统一任务描述字段名并更新奖品查看提示文案
将任务描述字段从subtitle改为subTitle以保持命名一致性 修改奖品查看提示文案为更简洁的表达方式
parent
26b4f2c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
main.ts
mock/main.ts
+4
-4
PrizePanel.tsx
src/panels/PrizePanel/PrizePanel.tsx
+1
-1
index.jsx
src/panels/taskPanel/index.jsx
+1
-1
No files found.
mock/main.ts
View file @
9c0ea7e5
...
...
@@ -642,7 +642,7 @@ export default [
"extra"
:
"aliquip qui do laborum mollit"
,
"completeSize"
:
2
,
"title"
:
"风险测评"
,
"sub
t
itle"
:
"任务描述1"
,
"sub
T
itle"
:
"任务描述1"
,
"taskStatus"
:
0
},
{
...
...
@@ -656,7 +656,7 @@ export default [
"extra"
:
"aliquip qui do laborum mollit"
,
"completeSize"
:
2
,
"title"
:
"花完初始本金"
,
"sub
t
itle"
:
"任务描述2"
,
"sub
T
itle"
:
"任务描述2"
,
"taskStatus"
:
0
},
{
...
...
@@ -670,7 +670,7 @@ export default [
"extra"
:
"aliquip qui do laborum mollit"
,
"completeSize"
:
2
,
"title"
:
"邀请助力任务"
,
"sub
t
itle"
:
"任务描述3"
,
"sub
T
itle"
:
"任务描述3"
,
"taskStatus"
:
0
},
{
...
...
@@ -684,7 +684,7 @@ export default [
"extra"
:
"aliquip qui do laborum mollit"
,
"completeSize"
:
2
,
"title"
:
"答题任务"
,
"sub
t
itle"
:
"任务描述3"
,
"sub
T
itle"
:
"任务描述3"
,
"taskStatus"
:
0
},
]
...
...
src/panels/PrizePanel/PrizePanel.tsx
View file @
9c0ea7e5
...
...
@@ -29,7 +29,7 @@ export class PrizePanel extends Component<any, any> {
<
img
className=
"img"
src=
{
optionImg
}
/>
<
div
className=
"prizeName"
>
{
optionName
}
</
div
>
<
Button
className=
{
`btn`
}
onClick=
{
this
.
clickBtn
}
/>
{
type
!=
'red'
&&
<
div
className=
"tips"
>
奖品可在
【首页】-【我的奖品】
中查看
</
div
>
}
{
type
!=
'red'
&&
<
div
className=
"tips"
>
奖品可在
「首页奖品」
中查看
</
div
>
}
<
Button
className=
"close"
onClick=
{
this
.
clickClose
}
/>
</
div
>
}
...
...
src/panels/taskPanel/index.jsx
View file @
9c0ea7e5
...
...
@@ -47,7 +47,7 @@ class TaskPanel extends React.Component {
return
<
div
className=
'taskItem'
key=
{
index
}
>
<
img
src=
{
el
.
icon
}
className=
'taskIcon'
/>
<
span
className=
'taskTitle'
>
{
`${el.title}(${el.completedSize || 0}/${el.intervalLimitSize || 0})`
}
</
span
>
<
span
className=
'taskSubTitle'
>
{
el
.
sub
t
itle
}
</
span
>
<
span
className=
'taskSubTitle'
>
{
el
.
sub
T
itle
}
</
span
>
{
el
.
taskStatus
==
0
&&
<
Button
className=
'goToBtn'
onClick=
{
_asyncThrottle
(()
=>
{
handleTaskLogClick
(
16
,
el
.
code
,
1
);
taskStore
.
doComplete
(
el
)
...
...
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