Commit dd212356 authored by haiyoucuv's avatar haiyoucuv

下单任务修改跳到店铺首页

parent b80e54c7
This diff is collapsed.
...@@ -21132,17 +21132,17 @@ var _a; ...@@ -21132,17 +21132,17 @@ var _a;
var Panel_1 = __webpack_require__(/*! ../../module/views/Panel */ "./module/views/Panel.ts"); 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 layers_1 = __webpack_require__(/*! ../../module/views/layers */ "./module/views/layers.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ../TaoBaoNet */ "./src/TaoBaoNet.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 Main_1 = __webpack_require__(/*! ../Main */ "./src/Main.ts");
var G_EVENT_1 = __webpack_require__(/*! ../common/G_EVENT */ "./src/common/G_EVENT.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 ctrls_1 = __webpack_require__(/*! ../../module/ctrls */ "./module/ctrls/index.ts");
var Item_1 = __webpack_require__(/*! ../../module/views/Item */ "./module/views/Item.ts"); var Item_1 = __webpack_require__(/*! ../../module/views/Item */ "./module/views/Item.ts");
var Tools_1 = __webpack_require__(/*! ../Tools */ "./src/Tools.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 ScrollList = FYGE.ScrollList;
var Sprite = FYGE.Sprite; var Sprite = FYGE.Sprite;
var RES_1 = __webpack_require__(/*! ../../module/RES */ "./module/RES.ts");
var MouseEvent = FYGE.MouseEvent; var MouseEvent = FYGE.MouseEvent;
var TaskType; var TaskType;
(function (TaskType) { (function (TaskType) {
...@@ -21338,9 +21338,7 @@ var TaskItem = (function (_super) { ...@@ -21338,9 +21338,7 @@ var TaskItem = (function (_super) {
}, true); }, true);
break; break;
case TaskType.orderGoods: case TaskType.orderGoods:
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, { TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateToOutside, { url: 'https://popmart.m.tmall.com' });
url: '/pages/goodsPage/goodsPage?taskType=orderGoods&itemIds=' + this.data.itemIds
});
break; break;
} }
}; };
This diff is collapsed.
import { Panel } from "../../module/views/Panel"; import { Panel } from "../../module/views/Panel";
import { layers } from "../../module/views/layers"; import { layers } from "../../module/views/layers";
import { sendTbNet, TbNetName } from "../TaoBaoNet"; import { sendTbNet, TbNetName } from "../TaoBaoNet";
import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
import Button = FYGE.Button;
import { GDispatcher } from "../Main"; import { GDispatcher } from "../Main";
import { G_EVENT } from "../common/G_EVENT"; import { G_EVENT } from "../common/G_EVENT";
import { showWaiting, hideWaiting, showToast, getCurrentScene } from "../../module/ctrls"; import { getCurrentScene, hideWaiting, showToast, showWaiting } from "../../module/ctrls";
import Container = FYGE.Container;
import { Item } from "../../module/views/Item"; import { Item } from "../../module/views/Item";
import { Tools } from "../Tools"; 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 ScrollList = FYGE.ScrollList;
import Sprite = FYGE.Sprite; import Sprite = FYGE.Sprite;
import TextField = FYGE.TextField; import TextField = FYGE.TextField;
import { RES } from "../../module/RES";
import MouseEvent = FYGE.MouseEvent; import MouseEvent = FYGE.MouseEvent;
// 任务类型(invites 、member、follow、browseGoods、orderGoods) // 任务类型(invites 、member、follow、browseGoods、orderGoods)
...@@ -287,9 +286,11 @@ class TaskItem extends Item { ...@@ -287,9 +286,11 @@ class TaskItem extends Item {
}, true); }, true);
break; break;
case TaskType.orderGoods: case TaskType.orderGoods:
sendTbNet(TbNetName.navigateTo, { /// TODO 修改跳到店铺首页 2020.10.14
url: '/pages/goodsPage/goodsPage?taskType=orderGoods&itemIds=' + this.data.itemIds // sendTbNet(TbNetName.navigateTo, {
}); // url: '/pages/goodsPage/goodsPage?taskType=orderGoods&itemIds=' + this.data.itemIds
// });
sendTbNet(TbNetName.navigateToOutside, {url: 'https://popmart.m.tmall.com'});
break; break;
} }
} }
......
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