Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
new_taobao
Commits
9cabd2df
Commit
9cabd2df
authored
Sep 28, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1234
parent
11266a70
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16025 additions
and
89 deletions
+16025
-89
output.js
project/src/canvas/game/output.js
+101
-10
output.js.map
project/src/canvas/game/output.js.map
+1
-1
output.js
project/src/canvas/game/released/output.js
+101
-10
Ins.ts
project/src/canvas/game/src/Ins.ts
+15
-0
Button.ts
project/src/canvas/game/src/ui/Button.ts
+37
-0
MainSceneBtnUi.ts
project/src/canvas/game/src/ui/MainSceneBtnUi.ts
+15
-11
app.js
taobao_mini/client/app.js
+1
-1
comcatname.js
taobao_mini/client/components/comcatname/comcatname.js
+45
-33
output.js
taobao_mini/client/pages/pagecanvas/output.js
+101
-10
pagecanvas.js
taobao_mini/client/pages/pagecanvas/pagecanvas.js
+3
-3
pagecanvasoutput.js
taobao_mini/client/pages/pagecanvasoutput.js
+101
-10
debug.log
taobao_mini/debug.log
+15504
-0
No files found.
project/src/canvas/game/output.js
View file @
9cabd2df
...
...
@@ -2138,6 +2138,7 @@ var RES_1 = __webpack_require__(/*! ../module/RES */ "./module/RES.ts");
var resCanvasList_1 = __webpack_require__(/*! ../resCanvasList */ "./resCanvasList.js");
var Main_1 = __webpack_require__(/*! ./Main */ "./src/Main.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ./TaoBaoNet */ "./src/TaoBaoNet.ts");
var button_1 = __webpack_require__(/*! ./ui/button */ "./src/ui/button.ts");
var Ins = (function () {
function Ins() {
}
...
...
@@ -2181,6 +2182,20 @@ var Ins = (function () {
btn.y = y;
return btn;
};
Ins.initButton = function (uuid, x, y) {
if (x === void 0) { x = 0; }
if (y === void 0) { y = 0; }
var btn;
if (uuid) {
btn = new button_1.Button(this.getRes(uuid));
}
else {
btn = new button_1.Button();
}
btn.x = x;
btn.y = y;
return btn;
};
Ins.initLabel = function (data) {
var label = new FYGE.TextField();
label.fillColor = data.color ? data.color : "black";
...
...
@@ -46935,6 +46950,16 @@ var MainScene = (function (_super) {
that.letter.visible = true;
}
};
MainScene.prototype.initRecallCatTimer = function () {
var that = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.recallInfo, {}, function (s, r) {
if (s) {
that.recallTimer = setTimeout(function () {
that.recallCat();
}, r.data.backTime - r.data.serverTime);
}
});
};
MainScene.prototype.initGuide = function (sence) {
var that = this;
if (!Ins_1.Ins.senceInfo.senceGuide['' + sence]) {
...
...
@@ -47303,6 +47328,72 @@ exports.setStage = function (stage) {
};
/***/ }),
/***/ "./src/ui/button.ts":
/*!**************************!*\
!*** ./src/ui/button.ts ***!
\**************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Button = void 0;
var Button = (function (_super) {
__extends(Button, _super);
function Button(texture) {
var _this = _super.call(this, texture) || this;
_this.anchorX = texture.baseTexture.width / 2;
_this.anchorY = texture.baseTexture.width / 2;
_this.initButton();
_this.addEventListener(FYGE.Event.REMOVED_FROM_STAGE, _this.removeButton, _this);
return _this;
}
Button.prototype.initButton = function () {
console.log("初始化按钮");
this.addEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_OUT, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
Button.prototype.touchEvent = function (e) {
console.log("按钮事件");
var that = this;
if (!that)
return;
if (e.type == FYGE.MouseEvent.MOUSE_DOWN) {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 0.9, scaleY: 0.9 }, 50);
}
else {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 1, scaleY: 1 }, 50);
}
};
Button.prototype.removeButton = function () {
this.removeEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_OVER, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
return Button;
}(FYGE.Sprite));
exports.Button = Button;
/***/ }),
/***/ "./src/ui/mainSceneBtnUi.ts":
...
...
@@ -47359,16 +47450,16 @@ var MainSceneBtnUi = (function (_super) {
that.bottomBtnGroup.y = 1240;
that.bottomBtnGroup.mouseEnable = that.bottomBtnGroup.mouseChildren = true;
that.addChild(that.bottomBtnGroup);
that.strategyBtn = Ins_1.Ins.init
Sprite
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.strategyBtn = Ins_1.Ins.init
Button
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.topBtnGroup.addChild(that.strategyBtn);
that.prizeBtn = Ins_1.Ins.init
Sprite
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.prizeBtn = Ins_1.Ins.init
Button
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.topBtnGroup.addChild(that.prizeBtn);
that.energyBtn = Ins_1.Ins.init
Sprite
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.energyBtn = Ins_1.Ins.init
Button
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.bottomBtnGroup.addChild(that.energyBtn);
that.initActBtn();
that.initCatInfoGroup();
that.initFishPointGroup();
that.shapGoBtn = Ins_1.Ins.init
Sprite
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn = Ins_1.Ins.init
Button
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn.position.set((Ins_1.Ins.stageW - that.shapGoBtn.width) >> 1, 137);
that.bottomBtnGroup.addChild(that.shapGoBtn);
that.updateUserInfo();
...
...
@@ -47415,17 +47506,17 @@ var MainSceneBtnUi = (function (_super) {
};
MainSceneBtnUi.prototype.initActBtn = function () {
var that = this;
that.combingBtn = Ins_1.Ins.init
Sprite
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.combingBtn = Ins_1.Ins.init
Button
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.bottomBtnGroup.addChild(that.combingBtn);
that.catBtn = Ins_1.Ins.init
Sprite
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.catBtn = Ins_1.Ins.init
Button
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.bottomBtnGroup.addChild(that.catBtn);
that.returnBtn = Ins_1.Ins.init
Sprite
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.returnBtn = Ins_1.Ins.init
Button
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.bottomBtnGroup.addChild(that.returnBtn);
that.touchHeadBtn = Ins_1.Ins.init
Sprite
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.touchHeadBtn = Ins_1.Ins.init
Button
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.bottomBtnGroup.addChild(that.touchHeadBtn);
that.playBtn = Ins_1.Ins.init
Sprite
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.playBtn = Ins_1.Ins.init
Button
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.bottomBtnGroup.addChild(that.playBtn);
that.catRecall = Ins_1.Ins.init
Sprite
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.catRecall = Ins_1.Ins.init
Button
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.bottomBtnGroup.addChild(that.catRecall);
that.hideAllActBtn();
that.changeBtnByUiType(that.uiType);
project/src/canvas/game/output.js.map
View file @
9cabd2df
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/output.js
View file @
9cabd2df
...
...
@@ -2140,6 +2140,7 @@ var RES_1 = __webpack_require__(/*! ../module/RES */ "./module/RES.ts");
var resCanvasList_1 = __webpack_require__(/*! ../resCanvasList */ "./resCanvasList.js");
var Main_1 = __webpack_require__(/*! ./Main */ "./src/Main.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ./TaoBaoNet */ "./src/TaoBaoNet.ts");
var button_1 = __webpack_require__(/*! ./ui/button */ "./src/ui/button.ts");
var Ins = (function () {
function Ins() {
}
...
...
@@ -2183,6 +2184,20 @@ var Ins = (function () {
btn.y = y;
return btn;
};
Ins.initButton = function (uuid, x, y) {
if (x === void 0) { x = 0; }
if (y === void 0) { y = 0; }
var btn;
if (uuid) {
btn = new button_1.Button(this.getRes(uuid));
}
else {
btn = new button_1.Button();
}
btn.x = x;
btn.y = y;
return btn;
};
Ins.initLabel = function (data) {
var label = new FYGE.TextField();
label.fillColor = data.color ? data.color : "black";
...
...
@@ -46937,6 +46952,16 @@ var MainScene = (function (_super) {
that.letter.visible = true;
}
};
MainScene.prototype.initRecallCatTimer = function () {
var that = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.recallInfo, {}, function (s, r) {
if (s) {
that.recallTimer = setTimeout(function () {
that.recallCat();
}, r.data.backTime - r.data.serverTime);
}
});
};
MainScene.prototype.initGuide = function (sence) {
var that = this;
if (!Ins_1.Ins.senceInfo.senceGuide['' + sence]) {
...
...
@@ -47305,6 +47330,72 @@ exports.setStage = function (stage) {
};
/***/ }),
/***/ "./src/ui/button.ts":
/*!**************************!*\
!*** ./src/ui/button.ts ***!
\**************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Button = void 0;
var Button = (function (_super) {
__extends(Button, _super);
function Button(texture) {
var _this = _super.call(this, texture) || this;
_this.anchorX = texture.baseTexture.width / 2;
_this.anchorY = texture.baseTexture.width / 2;
_this.initButton();
_this.addEventListener(FYGE.Event.REMOVED_FROM_STAGE, _this.removeButton, _this);
return _this;
}
Button.prototype.initButton = function () {
console.log("初始化按钮");
this.addEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_OUT, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
Button.prototype.touchEvent = function (e) {
console.log("按钮事件");
var that = this;
if (!that)
return;
if (e.type == FYGE.MouseEvent.MOUSE_DOWN) {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 0.9, scaleY: 0.9 }, 50);
}
else {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 1, scaleY: 1 }, 50);
}
};
Button.prototype.removeButton = function () {
this.removeEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_OVER, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
return Button;
}(FYGE.Sprite));
exports.Button = Button;
/***/ }),
/***/ "./src/ui/mainSceneBtnUi.ts":
...
...
@@ -47361,16 +47452,16 @@ var MainSceneBtnUi = (function (_super) {
that.bottomBtnGroup.y = 1240;
that.bottomBtnGroup.mouseEnable = that.bottomBtnGroup.mouseChildren = true;
that.addChild(that.bottomBtnGroup);
that.strategyBtn = Ins_1.Ins.init
Sprite
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.strategyBtn = Ins_1.Ins.init
Button
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.topBtnGroup.addChild(that.strategyBtn);
that.prizeBtn = Ins_1.Ins.init
Sprite
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.prizeBtn = Ins_1.Ins.init
Button
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.topBtnGroup.addChild(that.prizeBtn);
that.energyBtn = Ins_1.Ins.init
Sprite
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.energyBtn = Ins_1.Ins.init
Button
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.bottomBtnGroup.addChild(that.energyBtn);
that.initActBtn();
that.initCatInfoGroup();
that.initFishPointGroup();
that.shapGoBtn = Ins_1.Ins.init
Sprite
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn = Ins_1.Ins.init
Button
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn.position.set((Ins_1.Ins.stageW - that.shapGoBtn.width) >> 1, 137);
that.bottomBtnGroup.addChild(that.shapGoBtn);
that.updateUserInfo();
...
...
@@ -47417,17 +47508,17 @@ var MainSceneBtnUi = (function (_super) {
};
MainSceneBtnUi.prototype.initActBtn = function () {
var that = this;
that.combingBtn = Ins_1.Ins.init
Sprite
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.combingBtn = Ins_1.Ins.init
Button
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.bottomBtnGroup.addChild(that.combingBtn);
that.catBtn = Ins_1.Ins.init
Sprite
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.catBtn = Ins_1.Ins.init
Button
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.bottomBtnGroup.addChild(that.catBtn);
that.returnBtn = Ins_1.Ins.init
Sprite
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.returnBtn = Ins_1.Ins.init
Button
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.bottomBtnGroup.addChild(that.returnBtn);
that.touchHeadBtn = Ins_1.Ins.init
Sprite
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.touchHeadBtn = Ins_1.Ins.init
Button
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.bottomBtnGroup.addChild(that.touchHeadBtn);
that.playBtn = Ins_1.Ins.init
Sprite
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.playBtn = Ins_1.Ins.init
Button
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.bottomBtnGroup.addChild(that.playBtn);
that.catRecall = Ins_1.Ins.init
Sprite
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.catRecall = Ins_1.Ins.init
Button
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.bottomBtnGroup.addChild(that.catRecall);
that.hideAllActBtn();
that.changeBtnByUiType(that.uiType);
project/src/canvas/game/src/Ins.ts
View file @
9cabd2df
...
...
@@ -4,6 +4,7 @@ import resCanvasList from "../resCanvasList"
import
{
SCENETYPE
}
from
"./Enum"
;
import
{
GDispatcher
}
from
"./Main"
;
import
{
sendTbNet
,
TbNetName
}
from
"./TaoBaoNet"
;
import
{
Button
}
from
"./ui/button"
;
/**记录全局信息与全局方法 */
export
class
Ins
{
/**舞台宽高 */
...
...
@@ -91,6 +92,20 @@ export class Ins {
return
btn
;
}
/**生成一个按钮 */
public
static
initButton
(
uuid
?:
string
,
x
=
0
,
y
=
0
){
let
btn
;
if
(
uuid
)
{
btn
=
new
Button
(
this
.
getRes
(
uuid
));
}
else
{
btn
=
new
Button
();
}
// btn.initButton();
btn
.
x
=
x
;
btn
.
y
=
y
;
return
btn
;
}
/**生成一个文本
* data:{color?:string,size?:number,x?:number,y?:number,text?:string}
*/
...
...
project/src/canvas/game/src/ui/Button.ts
0 → 100644
View file @
9cabd2df
export
class
Button
extends
FYGE
.
Sprite
{
constructor
(
texture
?:
FYGE
.
Texture
){
super
(
texture
)
this
.
anchorX
=
texture
.
baseTexture
.
width
/
2
;
this
.
anchorY
=
texture
.
baseTexture
.
width
/
2
;
this
.
initButton
();
// this.addEventListener(FYGE.Event.ADDED_TO_STAGE,this.initButton,this);
this
.
addEventListener
(
FYGE
.
Event
.
REMOVED_FROM_STAGE
,
this
.
removeButton
,
this
);
}
initButton
(){
console
.
log
(
"初始化按钮"
)
this
.
addEventListener
(
FYGE
.
MouseEvent
.
MOUSE_DOWN
,
this
.
touchEvent
,
this
);
this
.
addEventListener
(
FYGE
.
MouseEvent
.
MOUSE_OUT
,
this
.
touchEvent
,
this
);
this
.
addEventListener
(
FYGE
.
MouseEvent
.
MOUSE_UP
,
this
.
touchEvent
,
this
)
}
touchEvent
(
e
:
FYGE
.
MouseEvent
){
console
.
log
(
"按钮事件"
)
var
that
=
this
;
if
(
!
that
)
return
;
if
(
e
.
type
==
FYGE
.
MouseEvent
.
MOUSE_DOWN
){
FYGE
.
Tween
.
removeTweens
(
that
);
FYGE
.
Tween
.
get
(
that
).
to
({
scaleX
:
0.9
,
scaleY
:
0.9
},
50
)
}
else
{
FYGE
.
Tween
.
removeTweens
(
that
);
FYGE
.
Tween
.
get
(
that
).
to
({
scaleX
:
1
,
scaleY
:
1
},
50
)
}
}
removeButton
(){
this
.
removeEventListener
(
FYGE
.
MouseEvent
.
MOUSE_DOWN
,
this
.
touchEvent
,
this
);
this
.
removeEventListener
(
FYGE
.
MouseEvent
.
MOUSE_OVER
,
this
.
touchEvent
,
this
);
this
.
removeEventListener
(
FYGE
.
MouseEvent
.
MOUSE_UP
,
this
.
touchEvent
,
this
)
}
}
\ No newline at end of file
project/src/canvas/game/src/ui/MainSceneBtnUi.ts
View file @
9cabd2df
...
...
@@ -8,6 +8,8 @@ import { changeScene, showPanel } from "../../module/ctrls";
import
{
RulePanel
}
from
"../panels/rulePanel"
;
import
{
MyPrizeScene
}
from
"../scenes/MyPrizeScene"
;
import
{
sendTbNet
,
TbNetName
}
from
"../TaoBaoNet"
;
import
{
getStage
}
from
"../scenes/stage"
;
import
{
Button
}
from
"./button"
;
export
class
MainSceneBtnUi
extends
Module
{
/**主场景ui
...
...
@@ -26,7 +28,7 @@ export class MainSceneBtnUi extends Module {
/**商城按钮 */
private
shapGoBtn
:
FYGE
.
Sprite
;
/**返回按钮 */
private
returnBtn
:
FYGE
.
Sprite
;
private
returnBtn
:
Button
;
/**攻略按钮 */
private
strategyBtn
:
FYGE
.
Sprite
;
/**奖品按钮 */
...
...
@@ -60,6 +62,8 @@ export class MainSceneBtnUi extends Module {
/**互动进行中,当互动进行中时,无法点击互动按钮进行互动 */
private
actRunning
:
boolean
=
false
;
// private btnArr:FYGE.Sprite[] = [];
initUi
()
{
var
that
=
this
;
that
.
initUniversalUi
();
...
...
@@ -81,19 +85,19 @@ export class MainSceneBtnUi extends Module {
that
.
bottomBtnGroup
.
mouseEnable
=
that
.
bottomBtnGroup
.
mouseChildren
=
true
;
that
.
addChild
(
that
.
bottomBtnGroup
);
that
.
strategyBtn
=
Ins
.
init
Sprite
(
"e636bd22-361f-442a-8684-ccfe1141485a"
,
579
,
112
);
that
.
strategyBtn
=
Ins
.
init
Button
(
"e636bd22-361f-442a-8684-ccfe1141485a"
,
579
,
112
);
that
.
topBtnGroup
.
addChild
(
that
.
strategyBtn
);
that
.
prizeBtn
=
Ins
.
init
Sprite
(
"e8b083c7-307a-4446-9bc9-99f75c3573e5"
,
579
,
237
);
that
.
prizeBtn
=
Ins
.
init
Button
(
"e8b083c7-307a-4446-9bc9-99f75c3573e5"
,
579
,
237
);
that
.
topBtnGroup
.
addChild
(
that
.
prizeBtn
);
that
.
energyBtn
=
Ins
.
init
Sprite
(
"cdb8e186-9872-442e-b71e-bba0a9ce5846"
,
542
,
-
7
);
that
.
energyBtn
=
Ins
.
init
Button
(
"cdb8e186-9872-442e-b71e-bba0a9ce5846"
,
542
,
-
7
);
that
.
bottomBtnGroup
.
addChild
(
that
.
energyBtn
);
that
.
initActBtn
();
that
.
initCatInfoGroup
();
that
.
initFishPointGroup
();
that
.
shapGoBtn
=
Ins
.
init
Sprite
(
"dba58651-57a3-4b75-9447-0e4d498dd8cd"
)
that
.
shapGoBtn
=
Ins
.
init
Button
(
"dba58651-57a3-4b75-9447-0e4d498dd8cd"
)
that
.
shapGoBtn
.
position
.
set
((
Ins
.
stageW
-
that
.
shapGoBtn
.
width
)
>>
1
,
137
);
that
.
bottomBtnGroup
.
addChild
(
that
.
shapGoBtn
);
that
.
updateUserInfo
();
...
...
@@ -154,17 +158,17 @@ export class MainSceneBtnUi extends Module {
/**初始化互动按钮 */
initActBtn
()
{
var
that
=
this
;
that
.
combingBtn
=
Ins
.
init
Sprite
(
"aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8"
,
69
);
that
.
combingBtn
=
Ins
.
init
Button
(
"aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8"
,
69
);
that
.
bottomBtnGroup
.
addChild
(
that
.
combingBtn
);
that
.
catBtn
=
Ins
.
init
Sprite
(
"0b44efa9-1e8a-4c43-a2a5-93852d88918c"
,
214
);
that
.
catBtn
=
Ins
.
init
Button
(
"0b44efa9-1e8a-4c43-a2a5-93852d88918c"
,
214
);
that
.
bottomBtnGroup
.
addChild
(
that
.
catBtn
);
that
.
returnBtn
=
Ins
.
init
Sprite
(
"55f703cd-f0d2-4ec1-9430-6193c1cbc1cb"
,
69
);
that
.
returnBtn
=
Ins
.
init
Button
(
"55f703cd-f0d2-4ec1-9430-6193c1cbc1cb"
,
69
);
that
.
bottomBtnGroup
.
addChild
(
that
.
returnBtn
);
that
.
touchHeadBtn
=
Ins
.
init
Sprite
(
"b7ec0f16-ea48-4e41-8def-7cc660fa93d7"
,
214
);
that
.
touchHeadBtn
=
Ins
.
init
Button
(
"b7ec0f16-ea48-4e41-8def-7cc660fa93d7"
,
214
);
that
.
bottomBtnGroup
.
addChild
(
that
.
touchHeadBtn
);
that
.
playBtn
=
Ins
.
init
Sprite
(
"922deced-62d2-4995-9dd6-82bc7913f362"
,
214
);
that
.
playBtn
=
Ins
.
init
Button
(
"922deced-62d2-4995-9dd6-82bc7913f362"
,
214
);
that
.
bottomBtnGroup
.
addChild
(
that
.
playBtn
);
that
.
catRecall
=
Ins
.
init
Sprite
(
"72345190-f95b-4152-bccf-393b8a5aa8d0"
,
69
)
that
.
catRecall
=
Ins
.
init
Button
(
"72345190-f95b-4152-bccf-393b8a5aa8d0"
,
69
)
that
.
bottomBtnGroup
.
addChild
(
that
.
catRecall
);
that
.
hideAllActBtn
();
that
.
changeBtnByUiType
(
that
.
uiType
)
...
...
taobao_mini/client/app.js
View file @
9cabd2df
...
...
@@ -27,7 +27,7 @@ App({
*/
handleQuery
(
query
)
{
const
{
activityId
}
=
query
;
this
.
activityId
=
activityId
||
'5f
6b09b3c3ad342fed5a0b2
1'
;
this
.
activityId
=
activityId
||
'5f
7183e852bbded304b27d7
1'
;
}
});
taobao_mini/client/components/comcatname/comcatname.js
View file @
9cabd2df
...
...
@@ -2,16 +2,19 @@
import
API
from
'../../api'
;
import
resList
from
'../../resconfig/resList'
;
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
tbcc
}
=
app
;
const
{
textRiskIdentification
}
=
tbcc
.
tb
;
textRiskIdentification
,
commonToast
}
=
tbcc
.
tb
;
Component
({
props
:
{
catImgArr
:
[
"90b114e6-83cb-46f1-b607-f88c50077b05"
,
"4e471df6-01ab-421d-ba0b-084b2110dc6d"
,
"003e9904-aee4-4b8d-8d5d-fb4b1188bec1"
,
"90283bd3-4b18-4535-97a8-90318f068781"
],
catImgArr
:
[
"90b114e6-83cb-46f1-b607-f88c50077b05"
,
"4e471df6-01ab-421d-ba0b-084b2110dc6d"
,
"003e9904-aee4-4b8d-8d5d-fb4b1188bec1"
,
"90283bd3-4b18-4535-97a8-90318f068781"
],
catName
:
""
},
data
:
{
...
...
@@ -23,8 +26,8 @@ Component({
/**获取字符串字符长度 */
getlen
(
str
)
{
var
strlen
=
0
;
console
.
log
(
"名称长度"
,
str
.
length
)
console
.
log
(
"charChodeAt"
,
str
.
charCodeAt
)
console
.
log
(
"名称长度"
,
str
.
length
)
console
.
log
(
"charChodeAt"
,
str
.
charCodeAt
)
for
(
var
i
=
0
;
i
<
str
.
length
;
i
++
)
{
if
(
str
.
charCodeAt
(
i
)
>
255
)
//如果是汉字,则字符串长度加2
strlen
+=
2
;
...
...
@@ -61,29 +64,33 @@ Component({
this
.
props
.
catName
=
e
.
detail
.
value
;
// console.log(this.props.catName)
},
/**确认 */
/**确认
领养
*/
async
catNameSure
()
{
let
name
=
this
.
props
.
catName
;
let
len
=
this
.
getlen
(
name
);
console
.
log
(
"名称字符长度"
,
len
)
if
(
len
<=
0
)
{
my
.
showToast
({
content
:
"名字不能为空哦"
,
});
}
else
if
(
len
>
12
)
{
}
else
if
(
len
>
6
)
{
my
.
showToast
({
content
:
"名字过长哦"
,
});
}
else
{
}
else
{
/**检查敏感词 */
console
.
log
(
'检查敏感词'
,
name
)
console
.
log
(
'检查敏感词'
,
name
)
const
success
=
await
textRiskIdentification
(
name
).
catch
(
err
=>
{
console
.
log
(
'textRiskIdentification error'
,
err
);
commonToast
(
err
)
console
.
log
(
'textRiskIdentification error'
,
err
);
});
console
.
log
(
'敏感词校验结果'
,
success
)
if
(
success
!==
true
)
{
console
.
log
(
'敏感词校验结果'
,
success
)
if
(
!
success
)
{
commonToast
(
"非法名称"
)
console
.
log
(
'敏感词校验失败.'
)
}
return
;
}
else
{
my
.
showLoading
();
/**调用领养接口 */
...
...
@@ -93,7 +100,7 @@ Component({
// invitedId: 'openId:AAHVNvjuAMaJc3uyPjeHlCEF'//honingwon
invitedId
:
app
.
inviteId
});
console
.
log
(
"aaaa"
,
adoptCat
)
console
.
log
(
"aaaa"
,
adoptCat
)
if
(
adoptCat
&&
adoptCat
.
success
)
{
// my.showToast({content:'邀请成功'+app.inviteId})
my
.
hideLoading
();
...
...
@@ -102,8 +109,13 @@ Component({
}
else
{
console
.
log
(
"ergerg"
)
my
.
hideLoading
();
my
.
showToast
({
content
:
adoptCat
.
message
||
'网络异常,请稍后重试~'
})
my
.
showToast
({
content
:
adoptCat
.
message
||
'网络异常,请稍后重试~'
})
}
}
}
console
.
log
(
this
.
props
.
catName
)
}
...
...
taobao_mini/client/pages/pagecanvas/output.js
View file @
9cabd2df
...
...
@@ -2140,6 +2140,7 @@ var RES_1 = __webpack_require__(/*! ../module/RES */ "./module/RES.ts");
var resCanvasList_1 = __webpack_require__(/*! ../resCanvasList */ "./resCanvasList.js");
var Main_1 = __webpack_require__(/*! ./Main */ "./src/Main.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ./TaoBaoNet */ "./src/TaoBaoNet.ts");
var button_1 = __webpack_require__(/*! ./ui/button */ "./src/ui/button.ts");
var Ins = (function () {
function Ins() {
}
...
...
@@ -2183,6 +2184,20 @@ var Ins = (function () {
btn.y = y;
return btn;
};
Ins.initButton = function (uuid, x, y) {
if (x === void 0) { x = 0; }
if (y === void 0) { y = 0; }
var btn;
if (uuid) {
btn = new button_1.Button(this.getRes(uuid));
}
else {
btn = new button_1.Button();
}
btn.x = x;
btn.y = y;
return btn;
};
Ins.initLabel = function (data) {
var label = new FYGE.TextField();
label.fillColor = data.color ? data.color : "black";
...
...
@@ -46937,6 +46952,16 @@ var MainScene = (function (_super) {
that.letter.visible = true;
}
};
MainScene.prototype.initRecallCatTimer = function () {
var that = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.recallInfo, {}, function (s, r) {
if (s) {
that.recallTimer = setTimeout(function () {
that.recallCat();
}, r.data.backTime - r.data.serverTime);
}
});
};
MainScene.prototype.initGuide = function (sence) {
var that = this;
if (!Ins_1.Ins.senceInfo.senceGuide['' + sence]) {
...
...
@@ -47305,6 +47330,72 @@ exports.setStage = function (stage) {
};
/***/ }),
/***/ "./src/ui/button.ts":
/*!**************************!*\
!*** ./src/ui/button.ts ***!
\**************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Button = void 0;
var Button = (function (_super) {
__extends(Button, _super);
function Button(texture) {
var _this = _super.call(this, texture) || this;
_this.anchorX = texture.baseTexture.width / 2;
_this.anchorY = texture.baseTexture.width / 2;
_this.initButton();
_this.addEventListener(FYGE.Event.REMOVED_FROM_STAGE, _this.removeButton, _this);
return _this;
}
Button.prototype.initButton = function () {
console.log("初始化按钮");
this.addEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_OUT, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
Button.prototype.touchEvent = function (e) {
console.log("按钮事件");
var that = this;
if (!that)
return;
if (e.type == FYGE.MouseEvent.MOUSE_DOWN) {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 0.9, scaleY: 0.9 }, 50);
}
else {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 1, scaleY: 1 }, 50);
}
};
Button.prototype.removeButton = function () {
this.removeEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_OVER, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
return Button;
}(FYGE.Sprite));
exports.Button = Button;
/***/ }),
/***/ "./src/ui/mainSceneBtnUi.ts":
...
...
@@ -47361,16 +47452,16 @@ var MainSceneBtnUi = (function (_super) {
that.bottomBtnGroup.y = 1240;
that.bottomBtnGroup.mouseEnable = that.bottomBtnGroup.mouseChildren = true;
that.addChild(that.bottomBtnGroup);
that.strategyBtn = Ins_1.Ins.init
Sprite
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.strategyBtn = Ins_1.Ins.init
Button
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.topBtnGroup.addChild(that.strategyBtn);
that.prizeBtn = Ins_1.Ins.init
Sprite
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.prizeBtn = Ins_1.Ins.init
Button
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.topBtnGroup.addChild(that.prizeBtn);
that.energyBtn = Ins_1.Ins.init
Sprite
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.energyBtn = Ins_1.Ins.init
Button
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.bottomBtnGroup.addChild(that.energyBtn);
that.initActBtn();
that.initCatInfoGroup();
that.initFishPointGroup();
that.shapGoBtn = Ins_1.Ins.init
Sprite
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn = Ins_1.Ins.init
Button
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn.position.set((Ins_1.Ins.stageW - that.shapGoBtn.width) >> 1, 137);
that.bottomBtnGroup.addChild(that.shapGoBtn);
that.updateUserInfo();
...
...
@@ -47417,17 +47508,17 @@ var MainSceneBtnUi = (function (_super) {
};
MainSceneBtnUi.prototype.initActBtn = function () {
var that = this;
that.combingBtn = Ins_1.Ins.init
Sprite
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.combingBtn = Ins_1.Ins.init
Button
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.bottomBtnGroup.addChild(that.combingBtn);
that.catBtn = Ins_1.Ins.init
Sprite
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.catBtn = Ins_1.Ins.init
Button
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.bottomBtnGroup.addChild(that.catBtn);
that.returnBtn = Ins_1.Ins.init
Sprite
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.returnBtn = Ins_1.Ins.init
Button
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.bottomBtnGroup.addChild(that.returnBtn);
that.touchHeadBtn = Ins_1.Ins.init
Sprite
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.touchHeadBtn = Ins_1.Ins.init
Button
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.bottomBtnGroup.addChild(that.touchHeadBtn);
that.playBtn = Ins_1.Ins.init
Sprite
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.playBtn = Ins_1.Ins.init
Button
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.bottomBtnGroup.addChild(that.playBtn);
that.catRecall = Ins_1.Ins.init
Sprite
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.catRecall = Ins_1.Ins.init
Button
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.bottomBtnGroup.addChild(that.catRecall);
that.hideAllActBtn();
that.changeBtnByUiType(that.uiType);
taobao_mini/client/pages/pagecanvas/pagecanvas.js
View file @
9cabd2df
...
...
@@ -43,7 +43,7 @@ Page({
ruleModalVisible
:
false
,
levelupModalVisible
:
0
,
levelupModalData
:
null
,
selectcatModalVisible
:
tru
e
,
selectcatModalVisible
:
fals
e
,
catnameModalVisible
:
false
,
recallcatModalVisible
:
false
,
recallcatModalData
:
{},
...
...
@@ -95,7 +95,7 @@ Page({
console
.
log
(
'on ready'
)
//授权和登录先搞
await
this
.
getAuth
();
//
await this.getAuth();
// this.initCanvas();
my
.
__onMessage__
=
(
e
)
=>
{
this
.
onMessage
(
e
)
...
...
@@ -376,7 +376,7 @@ Page({
this
.
setData
({
activityBaseInfo
:
data
})
//
this.initCanvas();
this
.
initCanvas
();
}
},
/**刷新用户信息 */
...
...
taobao_mini/client/pages/pagecanvasoutput.js
View file @
9cabd2df
...
...
@@ -2140,6 +2140,7 @@ var RES_1 = __webpack_require__(/*! ../module/RES */ "./module/RES.ts");
var resCanvasList_1 = __webpack_require__(/*! ../resCanvasList */ "./resCanvasList.js");
var Main_1 = __webpack_require__(/*! ./Main */ "./src/Main.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ./TaoBaoNet */ "./src/TaoBaoNet.ts");
var button_1 = __webpack_require__(/*! ./ui/button */ "./src/ui/button.ts");
var Ins = (function () {
function Ins() {
}
...
...
@@ -2183,6 +2184,20 @@ var Ins = (function () {
btn.y = y;
return btn;
};
Ins.initButton = function (uuid, x, y) {
if (x === void 0) { x = 0; }
if (y === void 0) { y = 0; }
var btn;
if (uuid) {
btn = new button_1.Button(this.getRes(uuid));
}
else {
btn = new button_1.Button();
}
btn.x = x;
btn.y = y;
return btn;
};
Ins.initLabel = function (data) {
var label = new FYGE.TextField();
label.fillColor = data.color ? data.color : "black";
...
...
@@ -46937,6 +46952,16 @@ var MainScene = (function (_super) {
that.letter.visible = true;
}
};
MainScene.prototype.initRecallCatTimer = function () {
var that = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.recallInfo, {}, function (s, r) {
if (s) {
that.recallTimer = setTimeout(function () {
that.recallCat();
}, r.data.backTime - r.data.serverTime);
}
});
};
MainScene.prototype.initGuide = function (sence) {
var that = this;
if (!Ins_1.Ins.senceInfo.senceGuide['' + sence]) {
...
...
@@ -47305,6 +47330,72 @@ exports.setStage = function (stage) {
};
/***/ }),
/***/ "./src/ui/button.ts":
/*!**************************!*\
!*** ./src/ui/button.ts ***!
\**************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Button = void 0;
var Button = (function (_super) {
__extends(Button, _super);
function Button(texture) {
var _this = _super.call(this, texture) || this;
_this.anchorX = texture.baseTexture.width / 2;
_this.anchorY = texture.baseTexture.width / 2;
_this.initButton();
_this.addEventListener(FYGE.Event.REMOVED_FROM_STAGE, _this.removeButton, _this);
return _this;
}
Button.prototype.initButton = function () {
console.log("初始化按钮");
this.addEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_OUT, this.touchEvent, this);
this.addEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
Button.prototype.touchEvent = function (e) {
console.log("按钮事件");
var that = this;
if (!that)
return;
if (e.type == FYGE.MouseEvent.MOUSE_DOWN) {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 0.9, scaleY: 0.9 }, 50);
}
else {
FYGE.Tween.removeTweens(that);
FYGE.Tween.get(that).to({ scaleX: 1, scaleY: 1 }, 50);
}
};
Button.prototype.removeButton = function () {
this.removeEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_OVER, this.touchEvent, this);
this.removeEventListener(FYGE.MouseEvent.MOUSE_UP, this.touchEvent, this);
};
return Button;
}(FYGE.Sprite));
exports.Button = Button;
/***/ }),
/***/ "./src/ui/mainSceneBtnUi.ts":
...
...
@@ -47361,16 +47452,16 @@ var MainSceneBtnUi = (function (_super) {
that.bottomBtnGroup.y = 1240;
that.bottomBtnGroup.mouseEnable = that.bottomBtnGroup.mouseChildren = true;
that.addChild(that.bottomBtnGroup);
that.strategyBtn = Ins_1.Ins.init
Sprite
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.strategyBtn = Ins_1.Ins.init
Button
("e636bd22-361f-442a-8684-ccfe1141485a", 579, 112);
that.topBtnGroup.addChild(that.strategyBtn);
that.prizeBtn = Ins_1.Ins.init
Sprite
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.prizeBtn = Ins_1.Ins.init
Button
("e8b083c7-307a-4446-9bc9-99f75c3573e5", 579, 237);
that.topBtnGroup.addChild(that.prizeBtn);
that.energyBtn = Ins_1.Ins.init
Sprite
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.energyBtn = Ins_1.Ins.init
Button
("cdb8e186-9872-442e-b71e-bba0a9ce5846", 542, -7);
that.bottomBtnGroup.addChild(that.energyBtn);
that.initActBtn();
that.initCatInfoGroup();
that.initFishPointGroup();
that.shapGoBtn = Ins_1.Ins.init
Sprite
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn = Ins_1.Ins.init
Button
("dba58651-57a3-4b75-9447-0e4d498dd8cd");
that.shapGoBtn.position.set((Ins_1.Ins.stageW - that.shapGoBtn.width) >> 1, 137);
that.bottomBtnGroup.addChild(that.shapGoBtn);
that.updateUserInfo();
...
...
@@ -47417,17 +47508,17 @@ var MainSceneBtnUi = (function (_super) {
};
MainSceneBtnUi.prototype.initActBtn = function () {
var that = this;
that.combingBtn = Ins_1.Ins.init
Sprite
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.combingBtn = Ins_1.Ins.init
Button
("aa17cfa9-f1db-47eb-9eeb-f5947b7f47a8", 69);
that.bottomBtnGroup.addChild(that.combingBtn);
that.catBtn = Ins_1.Ins.init
Sprite
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.catBtn = Ins_1.Ins.init
Button
("0b44efa9-1e8a-4c43-a2a5-93852d88918c", 214);
that.bottomBtnGroup.addChild(that.catBtn);
that.returnBtn = Ins_1.Ins.init
Sprite
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.returnBtn = Ins_1.Ins.init
Button
("55f703cd-f0d2-4ec1-9430-6193c1cbc1cb", 69);
that.bottomBtnGroup.addChild(that.returnBtn);
that.touchHeadBtn = Ins_1.Ins.init
Sprite
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.touchHeadBtn = Ins_1.Ins.init
Button
("b7ec0f16-ea48-4e41-8def-7cc660fa93d7", 214);
that.bottomBtnGroup.addChild(that.touchHeadBtn);
that.playBtn = Ins_1.Ins.init
Sprite
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.playBtn = Ins_1.Ins.init
Button
("922deced-62d2-4995-9dd6-82bc7913f362", 214);
that.bottomBtnGroup.addChild(that.playBtn);
that.catRecall = Ins_1.Ins.init
Sprite
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.catRecall = Ins_1.Ins.init
Button
("72345190-f95b-4152-bccf-393b8a5aa8d0", 69);
that.bottomBtnGroup.addChild(that.catRecall);
that.hideAllActBtn();
that.changeBtnByUiType(that.uiType);
taobao_mini/debug.log
View file @
9cabd2df
This diff is collapsed.
Click to expand it.
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