Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
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
wildfirecode13
xiaoxiaole
Commits
7837a6b9
Commit
7837a6b9
authored
Dec 11, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
af285044
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
TaskCenter.ts
egret/src/panels/TaskCenter/TaskCenter.ts
+9
-2
No files found.
egret/src/panels/TaskCenter/TaskCenter.ts
View file @
7837a6b9
...
...
@@ -4,6 +4,7 @@ import { NetManager } from "../../../libs/tw/manager/NetManager";
import
PanelCtrl
from
"../../../libs/new_wx/ctrls/panelCtrl"
;
import
{
GDispatcher
}
from
"../../../libs/tc/util/GDispatcher"
;
import
{
getlogItem
}
from
"../../Main"
;
import
{
Buried
}
from
"../../../libs/tw/util/Buried"
;
export
default
class
TaskCenter
extends
Panel
{
public
closeBtn
:
eui
.
Button
;
...
...
@@ -123,12 +124,12 @@ class TaskCenterItem extends eui.ItemRenderer {
},
this
.
data
.
subActivityId
);
},
this
);
}
else
if
(
status
==
0
&&
done
<
limit
)
{
// 未完成
NetManager
.
ins
.
showLog
(
getlogItem
(
63
));
NetManager
.
ins
.
showLog
(
this
.
getlogItem
(
));
this
.
btnImg
.
source
=
'TaskCenter_'
+
'goTask'
+
'Btn_png'
;
this
.
btnLabel
.
text
=
`
${
appIncompleteText
}
(
${
done
}
/
${
limit
}
)`
;
this
.
btnLabel
.
strokeColor
=
0x1376df
;
this
.
btnGroup
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
63
));
NetManager
.
ins
.
clickLog
(
this
.
getlogItem
(
));
// 跳转任务链接
window
.
location
.
href
=
this
.
data
.
appIncompletelink
;
},
this
);
...
...
@@ -138,4 +139,10 @@ class TaskCenterItem extends eui.ItemRenderer {
this
.
btnLabel
.
strokeColor
=
0x7e7e7e
;
}
}
private
getlogItem
(){
const
Dpm
=
Buried
.
connectDpm
(
110
,
63
,
this
.
data
.
subActivityId
);
// 点击埋点
const
Dcm
=
Buried
.
connectDcm
(
202
,
0
,
0
);
// 曝光埋点
return
Buried
.
createExposure
(
Dpm
,
Dcm
);
}
}
\ No newline at end of file
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