Commit 0e73034f authored by 俞嘉婷's avatar 俞嘉婷

feat: 新增4个任务提示弹窗

parent aae277a3
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"31769a99-3c46-4257-b7bc-ad5b054aa337","files":[],"subMetas":{},"userData":{"isBundle":true}}
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "e4a2e304-7048-4251-a9a2-6c625de23306",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "TaskTipsPop_jjk"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"d712407c-7bec-4ff3-b0a9-7a279ba47cb5","files":[],"subMetas":{},"userData":{}}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "66320779-9408-4e87-8e6c-ceda164c9c24",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "66320779-9408-4e87-8e6c-ceda164c9c24@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "66320779-9408-4e87-8e6c-ceda164c9c24",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "66320779-9408-4e87-8e6c-ceda164c9c24@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 662,
"height": 656,
"rawWidth": 662,
"rawHeight": 656,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-331,
-328,
0,
331,
-328,
0,
-331,
328,
0,
331,
328,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
656,
662,
656,
0,
0,
662,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-331,
-328,
0
],
"maxPos": [
331,
328,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "66320779-9408-4e87-8e6c-ceda164c9c24@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "66320779-9408-4e87-8e6c-ceda164c9c24@6c48a"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"3f5d7ff3-0719-4370-969f-b8d54114296e","files":[],"subMetas":{},"userData":{"isBundle":true}}
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "afffdb78-40e7-4389-8df4-580f06ede0a3",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "TaskTipsPop_qw"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"e1e095e0-1bbb-4f8d-a284-0aa312585107","files":[],"subMetas":{},"userData":{}}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ed696e37-f1b1-4df0-8caf-efc9d1697e77",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ed696e37-f1b1-4df0-8caf-efc9d1697e77@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ed696e37-f1b1-4df0-8caf-efc9d1697e77",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ed696e37-f1b1-4df0-8caf-efc9d1697e77@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 662,
"height": 861,
"rawWidth": 662,
"rawHeight": 861,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-331,
-430.5,
0,
331,
-430.5,
0,
-331,
430.5,
0,
331,
430.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
861,
662,
861,
0,
0,
662,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-331,
-430.5,
0
],
"maxPos": [
331,
430.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ed696e37-f1b1-4df0-8caf-efc9d1697e77@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ed696e37-f1b1-4df0-8caf-efc9d1697e77@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "6e8c0b24-00bd-4acf-81e0-8cb45cd15597",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "6e8c0b24-00bd-4acf-81e0-8cb45cd15597@6c48a",
"displayName": "qrcode",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "6e8c0b24-00bd-4acf-81e0-8cb45cd15597",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "6e8c0b24-00bd-4acf-81e0-8cb45cd15597@f9941",
"displayName": "qrcode",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 238,
"height": 238,
"rawWidth": 238,
"rawHeight": 238,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-119,
-119,
0,
119,
-119,
0,
-119,
119,
0,
119,
119,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
238,
238,
238,
0,
0,
238,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-119,
-119,
0
],
"maxPos": [
119,
119,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "6e8c0b24-00bd-4acf-81e0-8cb45cd15597@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "6e8c0b24-00bd-4acf-81e0-8cb45cd15597@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "9b682153-59fa-4832-877d-f5b5c6d1e25c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "9b682153-59fa-4832-877d-f5b5c6d1e25c@6c48a",
"displayName": "qrcode_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "9b682153-59fa-4832-877d-f5b5c6d1e25c",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "9b682153-59fa-4832-877d-f5b5c6d1e25c@f9941",
"displayName": "qrcode_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 258,
"height": 258,
"rawWidth": 258,
"rawHeight": 258,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-129,
-129,
0,
129,
-129,
0,
-129,
129,
0,
129,
129,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
258,
258,
258,
0,
0,
258,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-129,
-129,
0
],
"maxPos": [
129,
129,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "9b682153-59fa-4832-877d-f5b5c6d1e25c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "9b682153-59fa-4832-877d-f5b5c6d1e25c@6c48a"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"519e5526-7f87-4780-8af2-057f39977b8d","files":[],"subMetas":{},"userData":{"isBundle":true}}
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "c930d58b-7f2b-43aa-89ed-ab265901face",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "TaskTipsPop_wx"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"2bece5af-b020-42d5-91a9-28987b98613c","files":[],"subMetas":{},"userData":{}}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "df122f0d-b6bd-4ef0-8bd7-0aa6de25693d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "df122f0d-b6bd-4ef0-8bd7-0aa6de25693d@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "df122f0d-b6bd-4ef0-8bd7-0aa6de25693d",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "df122f0d-b6bd-4ef0-8bd7-0aa6de25693d@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 662,
"height": 656,
"rawWidth": 662,
"rawHeight": 656,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-331,
-328,
0,
331,
-328,
0,
-331,
328,
0,
331,
328,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
656,
662,
656,
0,
0,
662,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-331,
-328,
0
],
"maxPos": [
331,
328,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "df122f0d-b6bd-4ef0-8bd7-0aa6de25693d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "df122f0d-b6bd-4ef0-8bd7-0aa6de25693d@6c48a"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"f743cbbd-def0-422d-858e-4b3f62c3cdb3","files":[],"subMetas":{},"userData":{"isBundle":true}}
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "d258cafc-7ec1-4d85-b8a4-dfbe4a99444d",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "TaskTipsPop_zfb"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"85c632f1-36b3-4d04-867f-77e6b1237d1d","files":[],"subMetas":{},"userData":{}}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "68c1f96f-af1c-4687-bf8d-97d16fabea4a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "68c1f96f-af1c-4687-bf8d-97d16fabea4a@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "68c1f96f-af1c-4687-bf8d-97d16fabea4a",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "68c1f96f-af1c-4687-bf8d-97d16fabea4a@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 662,
"height": 656,
"rawWidth": 662,
"rawHeight": 656,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-331,
-328,
0,
331,
-328,
0,
-331,
328,
0,
331,
328,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
656,
662,
656,
0,
0,
662,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-331,
-328,
0
],
"maxPos": [
331,
328,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "68c1f96f-af1c-4687-bf8d-97d16fabea4a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "68c1f96f-af1c-4687-bf8d-97d16fabea4a@6c48a"
}
}
......@@ -14,6 +14,10 @@ import {
import ShareCenter from "../../ShareCenter";
import store from "../../store/store";
import NotLoginPanel from "../NotLoginPanel";
import TaskTipsPop_jjk from "../TaskTipsPop_jjk";
import TaskTipsPop_wx from "../TaskTipsPop_wx";
import TaskTipsPop_qw from "../TaskTipsPop_qw";
import TaskTipsPop_zfb from "../TaskTipsPop_zfb";
const { ccclass, property } = _decorator;
......@@ -77,6 +81,29 @@ export class TaskItem extends ScrollListItem {
return
}
const { id, code, desc } = this.data;
// 任务code
// bank_cqj_alipay_1_2025: 完成借记卡支付宝快捷支付一笔
// bank_cqj_wechatpay_1_2025: 完成借记卡微信快捷支付一笔
// bank_task_qywx_2024: 添加活动小助手企微好友
// bank_cqj_jjkin_2025: 完成借记卡账户入账一笔
if (code == "bank_cqj_alipay_1_2025") {
showPanel(TaskTipsPop_zfb)
return;
}
if (code == "bank_cqj_wechatpay_1_2025") {
showPanel(TaskTipsPop_wx)
return;
}
if (code == "bank_task_qywx_2024") {
showPanel(TaskTipsPop_qw)
return;
}
if (code == "bank_cqj_jjkin_2025") {
showPanel(TaskTipsPop_jjk)
return;
}
if (code.indexOf('bank_bind_wechat') > -1) {
showToast('请前往微信首页-我-服务-钱包中添加本行储蓄卡')
// this.goToLink(desc);
......
import Panel from "../../Module/Panel";
import { _decorator, Button, Node } from "cc";
import { observer } from "../store/decorators";
import { _asyncThrottle } from "../Utils/Utils";
const { ccclass, property } = _decorator;
@observer
@ccclass('TaskTipsPop_jjk')
export default class TaskTipsPop_jjk extends Panel {
static bundle = "TaskTipsPop_jjk";
static skin = "TaskTipsPop_jjk";
@property(Node) closeBtn: Node = null;
@property(Node) btn: Node = null;
onLoad() {
this.closeBtn.on(Button.EventType.CLICK, this.clickClose);
this.btn.on(Button.EventType.CLICK, this.clickClose);
}
async start() {
}
clickClose = () => {
this.hidePanel();
}
}
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "9c4782e2-5c38-4047-8c0b-e870b290f05a",
"files": [],
"subMetas": {},
"userData": {}
}
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