Commit 11429e08 authored by wildfirecode's avatar wildfirecode

1

parent cc335fd4
...@@ -9,6 +9,7 @@ export default ([sapmodid, eleid], saData = {}) => { ...@@ -9,6 +9,7 @@ export default ([sapmodid, eleid], saData = {}) => {
try { try {
elem.setAttribute('sa-data', JSON.stringify(saData)); elem.setAttribute('sa-data', JSON.stringify(saData));
if (window['SAUP'] && window['SAUP'].sendLogData) { if (window['SAUP'] && window['SAUP'].sendLogData) {
console.log('发送埋点',sapmodid,eleid)
window['SAUP'].sendLogData("click", { window['SAUP'].sendLogData("click", {
tag: elem,   // 必传;如果需要传拓展的信息,在tag中加一个sa-data,将需要传的内容用json格式传到sa-data tag: elem,   // 必传;如果需要传拓展的信息,在tag中加一个sa-data,将需要传的内容用json格式传到sa-data
sapmodid: sapmodid,    // 必传;区块编码 sapmodid: sapmodid,    // 必传;区块编码
......
...@@ -28,7 +28,7 @@ export class HoneyPotShootAni extends egret.DisplayObjectContainer { ...@@ -28,7 +28,7 @@ export class HoneyPotShootAni extends egret.DisplayObjectContainer {
// this.shoot.rotation = rotation; // this.shoot.rotation = rotation;
egret.Tween.get(this) egret.Tween.get(this)
.set({ scaleX: 0, scaleY: 0 }) .set({ scaleX: 0, scaleY: 0 })
.to({ x: p[0], y: p[1], scaleX: 1, scaleY: 1 }, 700) .to({ x: p[0], y: p[1], scaleX: 1, scaleY: 1 }, 700,egret.Ease.quadIn)
.to({ scaleX: 1.2, scaleY: 1.2 }, 400) .to({ scaleX: 1.2, scaleY: 1.2 }, 400)
.to({ scaleX: 1, scaleY: 1 }, 200) .to({ scaleX: 1, scaleY: 1 }, 200)
.call(() => { .call(() => {
......
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