Commit be52bb75 authored by 邱旭's avatar 邱旭

1

parent 6c314a4a
......@@ -53,8 +53,9 @@ export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command {
'cutTimeFont.png',
'sharenums.png',
'nums.png',
'nums3.png',
'nums2.png',
'nums3.png',
'nums4.png',
'hbCutTimeFont.png',
'hbGameScoreFont.png',
'hbGameCutTimeFont.png',
......
......@@ -91,13 +91,12 @@ class TaskCenterItem extends eui.ItemRenderer {
let taskConfig = config.taskConfs || [];
let has = false;
this.moneyGroup.visible = false;
for(let task of taskConfig) {
if(this.data.subActivityId == task.taskMark) {
for(let prize of task.prizeList) {
if(prize.categoryType == 4
&& prize.minValue == prize.maxValue) {
has = true;
this.moneyGroup.visible = true;
this.moneyCount.text = ${prize.maxValue}`;
this.moneyGroup.x = this.remark.x + this.remark.width + 20;
......@@ -106,10 +105,6 @@ class TaskCenterItem extends eui.ItemRenderer {
}
}
if(!has) {
this.moneyGroup.visible = false;
}
this.setBtn(); // 设置按钮
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment