Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
0cf0a279
Commit
0cf0a279
authored
Nov 24, 2020
by
zhaofei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s
parent
0ad5cabe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
rank-table.axml
client/components/rank/rank-table/rank-table.axml
+1
-0
rank-table.js
client/components/rank/rank-table/rank-table.js
+1
-0
activityconfig.service.ts
server/duibats/src/service/activityconfig.service.ts
+1
-1
No files found.
client/components/rank/rank-table/rank-table.axml
View file @
0cf0a279
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
isEdit="{{isEdit}}"
isEdit="{{isEdit}}"
conditionKeys="{{conditionKeys}}"
conditionKeys="{{conditionKeys}}"
prizeDialogData="{{prizeDialogData}}"
prizeDialogData="{{prizeDialogData}}"
prizeDataType="{{prizeDataType}}"
imageLimit="{{imageLimit}}"
imageLimit="{{imageLimit}}"
onClose="onCloseDialog"
onClose="onCloseDialog"
type="rank"
type="rank"
...
...
client/components/rank/rank-table/rank-table.js
View file @
0cf0a279
...
@@ -12,6 +12,7 @@ Component({
...
@@ -12,6 +12,7 @@ Component({
conditionKeys
:
[],
conditionKeys
:
[],
maxRankLimit
:
''
,
maxRankLimit
:
''
,
list
:
[],
list
:
[],
prizeDataType
:
null
,
onChange
:
()
=>
{
},
onChange
:
()
=>
{
},
dataName
:
''
dataName
:
''
},
},
...
...
server/duibats/src/service/activityconfig.service.ts
View file @
0cf0a279
...
@@ -431,7 +431,7 @@ export default class ActivityConfigService {
...
@@ -431,7 +431,7 @@ export default class ActivityConfigService {
if
(
item
?.
sort
==
'prizePool'
)
{
if
(
item
?.
sort
==
'prizePool'
)
{
if
(
item
.
conditionKeys
?.
length
)
{
if
(
item
.
conditionKeys
?.
length
)
{
item
.
conditionKeys
.
forEach
(
condition
=>
{
item
.
conditionKeys
.
forEach
(
condition
=>
{
prizeData
[
item
.
key
].
filter
(
prize
=>
{
prizeData
[
item
.
key
]
=
prizeData
[
item
.
key
]
.
filter
(
prize
=>
{
return
prize
[
condition
.
key
]
==
condition
.
value
return
prize
[
condition
.
key
]
==
condition
.
value
})
})
})
})
...
...
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