Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
王剑峰
babycare_xiaoxiao
Commits
dd212356
Commit
dd212356
authored
Oct 14, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下单任务修改跳到店铺首页
parent
b80e54c7
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
46 deletions
+42
-46
workspace.xml
.idea/workspace.xml
+26
-29
output.js
output.js
+5
-7
output.js.map
output.js.map
+1
-1
TaskPanel.ts
src/panels/TaskPanel.ts
+10
-9
No files found.
.idea/workspace.xml
View file @
dd212356
This diff is collapsed.
Click to expand it.
output.js
View file @
dd212356
...
...
@@ -21132,17 +21132,17 @@ var _a;
var Panel_1 = __webpack_require__(/*! ../../module/views/Panel */ "./module/views/Panel.ts");
var layers_1 = __webpack_require__(/*! ../../module/views/layers */ "./module/views/layers.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ../TaoBaoNet */ "./src/TaoBaoNet.ts");
var Tween = FYGE.Tween;
var Ease = FYGE.Ease;
var Button = FYGE.Button;
var Main_1 = __webpack_require__(/*! ../Main */ "./src/Main.ts");
var G_EVENT_1 = __webpack_require__(/*! ../common/G_EVENT */ "./src/common/G_EVENT.ts");
var ctrls_1 = __webpack_require__(/*! ../../module/ctrls */ "./module/ctrls/index.ts");
var Item_1 = __webpack_require__(/*! ../../module/views/Item */ "./module/views/Item.ts");
var Tools_1 = __webpack_require__(/*! ../Tools */ "./src/Tools.ts");
var RES_1 = __webpack_require__(/*! ../../module/RES */ "./module/RES.ts");
var Tween = FYGE.Tween;
var Ease = FYGE.Ease;
var Button = FYGE.Button;
var ScrollList = FYGE.ScrollList;
var Sprite = FYGE.Sprite;
var RES_1 = __webpack_require__(/*! ../../module/RES */ "./module/RES.ts");
var MouseEvent = FYGE.MouseEvent;
var TaskType;
(function (TaskType) {
...
...
@@ -21338,9 +21338,7 @@ var TaskItem = (function (_super) {
}, true);
break;
case TaskType.orderGoods:
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, {
url: '/pages/goodsPage/goodsPage?taskType=orderGoods&itemIds=' + this.data.itemIds
});
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateToOutside, { url: 'https://popmart.m.tmall.com' });
break;
}
};
output.js.map
View file @
dd212356
This diff is collapsed.
Click to expand it.
src/panels/TaskPanel.ts
View file @
dd212356
import
{
Panel
}
from
"../../module/views/Panel"
;
import
{
layers
}
from
"../../module/views/layers"
;
import
{
sendTbNet
,
TbNetName
}
from
"../TaoBaoNet"
;
import
Tween
=
FYGE
.
Tween
;
import
Ease
=
FYGE
.
Ease
;
import
Button
=
FYGE
.
Button
;
import
{
GDispatcher
}
from
"../Main"
;
import
{
G_EVENT
}
from
"../common/G_EVENT"
;
import
{
showWaiting
,
hideWaiting
,
showToast
,
getCurrentScene
}
from
"../../module/ctrls"
;
import
Container
=
FYGE
.
Container
;
import
{
getCurrentScene
,
hideWaiting
,
showToast
,
showWaiting
}
from
"../../module/ctrls"
;
import
{
Item
}
from
"../../module/views/Item"
;
import
{
Tools
}
from
"../Tools"
;
import
{
RES
}
from
"../../module/RES"
;
import
Tween
=
FYGE
.
Tween
;
import
Ease
=
FYGE
.
Ease
;
import
Button
=
FYGE
.
Button
;
import
ScrollList
=
FYGE
.
ScrollList
;
import
Sprite
=
FYGE
.
Sprite
;
import
TextField
=
FYGE
.
TextField
;
import
{
RES
}
from
"../../module/RES"
;
import
MouseEvent
=
FYGE
.
MouseEvent
;
// 任务类型(invites 、member、follow、browseGoods、orderGoods)
...
...
@@ -287,9 +286,11 @@ class TaskItem extends Item {
},
true
);
break
;
case
TaskType
.
orderGoods
:
sendTbNet
(
TbNetName
.
navigateTo
,
{
url
:
'/pages/goodsPage/goodsPage?taskType=orderGoods&itemIds='
+
this
.
data
.
itemIds
});
/// TODO 修改跳到店铺首页 2020.10.14
// sendTbNet(TbNetName.navigateTo, {
// url: '/pages/goodsPage/goodsPage?taskType=orderGoods&itemIds=' + this.data.itemIds
// });
sendTbNet
(
TbNetName
.
navigateToOutside
,
{
url
:
'https://popmart.m.tmall.com'
});
break
;
}
}
...
...
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