Commit 21ea4a44 authored by wildfirecode13's avatar wildfirecode13

1

parent 2e19bc8d
{
"success": 0,
"data": {
"channel": "aliqua sint fugiat non do",
"strategyCode": "anim",
"code": "amet",
"image": "ea nulla aute eu",
"name": "in",
"type": -27273675.128173023
},
"code": "quis nostrud fugiat pariatur",
"message":"欢乐币不足"
}
\ No newline at end of file
......@@ -11,7 +11,7 @@
"type": 4112149.6368029267,
"_id": "2",
"value": 51585947.06940037,
"status": 2
"status": 1
},
{
"hasStock": false,
......@@ -21,7 +21,7 @@
"type": 4112149.6368029267,
"_id": "2",
"value": 51585947.06940037,
"status": 2
"status": 1
},
{
"hasStock": false,
......
......@@ -1265,7 +1265,8 @@
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 26,
"color": "rgba(71, 69, 67, 1)"
"color": "rgba(71, 69, 67, 1)",
"lineHeight": "1"
},
"attrs": {
"text": "精力 1200 / 1500"
......@@ -1279,7 +1280,10 @@
"width": 214,
"height": 24
},
"componentName": "Label"
"componentName": "Label",
"variables": {
"attributes": []
}
},
{
"name": "对话框",
......@@ -1338,7 +1342,10 @@
}
]
}
]
],
"variables": {
"props": []
}
},
{
"name": "天猫校园loading页",
......@@ -1594,7 +1601,10 @@
}
]
}
]
],
"variables": {
"props": []
}
},
{
"name": "弹窗11",
......@@ -1645,7 +1655,10 @@
"componentName": "Div"
}
],
"viewType": "Scene"
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "游戏规则",
......@@ -1751,7 +1764,10 @@
"componentName": "Label"
}
],
"viewType": "Scene"
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "每日任务",
......@@ -2954,10 +2970,152 @@
]
}
],
"viewType": "Scene"
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "猫咪的留言",
"properties": {
"style": {
"width": 676,
"height": 650,
"opacity": 1,
"left": 40,
"top": 418,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {},
"className": ""
},
"uuid": "f8484006-c641-4a5d-ac3b-5a885253f7bc",
"rect": {
"x": 40,
"y": 418,
"width": 676,
"height": 650
},
"componentName": "Div",
"children": [
{
"name": "底51",
"properties": {
"style": {
"width": 676,
"height": 650,
"opacity": 1,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://ed31e83e-535d-45bf-ba5b-20827a4cd104"
},
"className": ""
},
"uuid": "b2ac5ed5-99e0-466a-b5ae-ce99223b9362",
"rect": {
"x": 0,
"y": 0,
"width": 676,
"height": 650
},
"componentName": "Image"
},
{
"name": "猫咪名字留",
"properties": {
"style": {
"width": 142,
"height": 25,
"opacity": 1,
"left": 268,
"top": 355,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 26,
"color": "rgba(104, 91, 78, 1)"
},
"attrs": {
"text": "猫咪名字 留"
},
"className": ""
},
"uuid": "7632b324-5c78-4628-83e5-7fcb11cced21",
"rect": {
"x": 268,
"y": 355,
"width": 142,
"height": 25
},
"componentName": "Label"
},
{
"name": "按钮50",
"properties": {
"style": {
"width": 352,
"height": 106,
"opacity": 1,
"left": 161,
"top": 510,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://c68019be-dab4-42bc-bacd-d56091f8d3c2"
},
"className": ""
},
"uuid": "bf12601c-9a78-46e6-a37a-5304f4f43f2d",
"rect": {
"x": 161,
"y": 510,
"width": 352,
"height": 106
},
"componentName": "Image"
},
{
"name": "Label",
"properties": {
"style": {
"width": 578,
"height": 58,
"opacity": 1,
"display": "block",
"left": 52,
"top": 148,
"position": "absolute",
"fontSize": 36,
"color": "rgba(undefined, undefined, undefined, undefined)",
"transformOrigin": "0px 0px 0px",
"textAlign": "center"
},
"attrs": {
"text": "铲屎官,俺出去逛逛,"
},
"className": ""
},
"uuid": "f4450b03-37c3-4f19-99ee-39581d477a7f",
"rect": {
"x": 0,
"y": 0,
"width": 300,
"height": 30
},
"componentName": "Label",
"viewType": "Element"
}
],
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "找回猫咪",
"name": "recallCat",
"properties": {
"style": {
"width": 721,
......@@ -2981,7 +3139,7 @@
"componentName": "Div",
"children": [
{
"name": "底49",
"name": "recallCatBg",
"properties": {
"style": {
"width": 721,
......@@ -2991,7 +3149,7 @@
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://9b4cb347-3551-4e18-a822-8ca50f7ca0c9"
"source": "asset://40cac443-7998-4c2a-8f9c-38121b2385e3"
},
"className": ""
},
......@@ -3005,18 +3163,19 @@
"componentName": "Image"
},
{
"name": "猫咪预计1小时23分后回寝",
"name": "recallCatBackLabel",
"properties": {
"style": {
"width": 309,
"width": 615,
"height": 25,
"opacity": 1,
"left": 204,
"left": 52,
"top": 335,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 26,
"color": "rgba(104, 91, 78, 1)"
"color": "rgba(104, 91, 78, 1)",
"textAlign": "center"
},
"attrs": {
"text": "猫咪预计 1 小时 23 分 后回寝"
......@@ -3033,18 +3192,19 @@
"componentName": "Label"
},
{
"name": "图层10101011",
"name": "recallCatHappyCoin",
"properties": {
"style": {
"width": 119,
"height": 29,
"opacity": 1,
"left": 265,
"top": 250,
"top": 235,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 36,
"color": "rgba(231, 72, 70, 1)"
"color": "rgba(231, 72, 70, 1)",
"textAlign": "center"
},
"attrs": {
"text": "101010"
......@@ -3061,7 +3221,7 @@
"componentName": "Label"
},
{
"name": "按钮48",
"name": "recallBtnGroup",
"properties": {
"style": {
"width": 608,
......@@ -3085,7 +3245,7 @@
"componentName": "Div",
"children": [
{
"name": "",
"name": "recallBtnCancel",
"properties": {
"style": {
"width": 281,
......@@ -3109,7 +3269,7 @@
"componentName": "Image"
},
{
"name": "",
"name": "recallBtnGo",
"properties": {
"style": {
"width": 281,
......@@ -3134,9 +3294,40 @@
"componentName": "Image"
}
]
},
{
"name": "recallBtnClose",
"properties": {
"style": {
"width": 44,
"height": 44,
"opacity": 1,
"display": "block",
"left": 624,
"top": 38,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://29e80fbb-98ed-40fb-a11b-e14b45fee158"
},
"className": ""
},
"uuid": "00f743b2-c21b-43d1-a258-0e1194a74fd3",
"rect": {
"x": 0,
"y": 0,
"width": 300,
"height": 300
},
"componentName": "Image",
"viewType": "Element"
}
],
"viewType": "Scene"
"viewType": "Panel",
"variables": {
"props": []
}
},
{
"name": "兑换成功",
......@@ -3294,10 +3485,13 @@
"componentName": "Image"
}
],
"viewType": "Scene"
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "猫咪回寝啦",
"name": "catBackBed1",
"properties": {
"style": {
"width": 750,
......@@ -3320,7 +3514,7 @@
"componentName": "Div",
"children": [
{
"name": "意外奖励",
"name": "catBackBed",
"properties": {
"style": {
"width": 750,
......@@ -3332,7 +3526,7 @@
"attrs": {},
"className": ""
},
"uuid": "9bfec391-dfe8-46da-9de5-364bea12baea",
"uuid": "7570024f-16d9-4db4-9fe2-1191da4e007c",
"rect": {
"x": 0,
"y": 0,
......@@ -3342,21 +3536,22 @@
"componentName": "Div",
"children": [
{
"name": "底43",
"name": "catBackBedBgAccident",
"properties": {
"style": {
"width": 750,
"height": 1093,
"opacity": 1,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
"transformOrigin": "0px 0px 0px",
"display": "block"
},
"attrs": {
"source": "asset://d11bbe72-196f-4c70-a8ca-92829d2e1972"
"source": "asset://98a3f684-846b-479c-91ac-75b588e2b51b"
},
"className": ""
},
"uuid": "331fd49d-e4fc-445d-9b63-b018f0f04345",
"uuid": "811de33b-525b-4855-a130-0e427749f638",
"rect": {
"x": 0,
"y": 0,
......@@ -3366,127 +3561,49 @@
"componentName": "Image"
},
{
"name": "按钮42",
"properties": {
"style": {
"width": 351,
"height": 105,
"opacity": 1,
"left": 201,
"top": 773,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://b701826c-63c5-4490-a380-52f273dad9af"
},
"className": ""
},
"uuid": "8780706e-66b1-478d-970a-2a3c1a7c4958",
"rect": {
"x": 201,
"y": 773,
"width": 351,
"height": 105
},
"componentName": "Image"
},
{
"name": "意外获得10000精力值",
"name": "catBackBedBgSurprise",
"properties": {
"style": {
"width": 340,
"height": 32,
"width": 750,
"height": 1093,
"opacity": 1,
"left": 207,
"top": 706,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 32,
"color": "rgba(104, 91, 78, 1)"
"display": "block"
},
"attrs": {
"text": "意外获得+10000精力值"
"source": "asset://98a3f684-846b-479c-91ac-75b588e2b51b"
},
"className": ""
},
"uuid": "7ce6a8f8-0164-48da-8a8d-0ad9ea6583b2",
"uuid": "7e6ff672-792a-424b-8431-42cb81837c18",
"rect": {
"x": 207,
"y": 706,
"width": 340,
"height": 32
"x": 0,
"y": 0,
"width": 750,
"height": 1093
},
"componentName": "Label"
"componentName": "Image"
},
{
"name": "文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案不要超过50字41",
"name": "catBackBedBgUnluck",
"properties": {
"style": {
"width": 447,
"height": 111,
"width": 584,
"height": 715,
"opacity": 1,
"left": 152,
"top": 563,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
"color": "rgba(104, 91, 78, 1)"
},
"attrs": {
"text": "文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案不要超过50字"
},
"className": ""
},
"uuid": "5b274408-6f93-4feb-8e25-2816cf232840",
"rect": {
"x": 152,
"y": 563,
"width": 447,
"height": 111
},
"componentName": "Label"
}
]
},
{
"name": "惊喜奖励",
"properties": {
"style": {
"width": 750,
"height": 1093,
"opacity": 1,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {},
"className": ""
},
"uuid": "7570024f-16d9-4db4-9fe2-1191da4e007c",
"rect": {
"x": 0,
"y": 0,
"width": 750,
"height": 1093
},
"componentName": "Div",
"children": [
{
"name": "底40",
"properties": {
"style": {
"width": 750,
"height": 1093,
"opacity": 1,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
"display": "block",
"top": 196,
"left": 84
},
"attrs": {
"source": "asset://8a1bb501-7e25-492d-9926-40bc55240253"
"source": "asset://3fa827d6-e333-4b56-a5d9-5f3ae2089127"
},
"className": ""
},
"uuid": "811de33b-525b-4855-a130-0e427749f638",
"uuid": "ea2360fc-637f-45d1-aed0-9d3e1b48b868",
"rect": {
"x": 0,
"y": 0,
......@@ -3496,7 +3613,7 @@
"componentName": "Image"
},
{
"name": "按钮39",
"name": "catBackBedOk",
"properties": {
"style": {
"width": 351,
......@@ -3522,7 +3639,7 @@
"componentName": "Image"
},
{
"name": "获得10000欢乐币",
"name": "catBackBedTip2",
"properties": {
"style": {
"width": 275,
......@@ -3550,7 +3667,7 @@
"componentName": "Label"
},
{
"name": "文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案不要超过50字38",
"name": "catBackBedTip",
"properties": {
"style": {
"width": 447,
......@@ -3576,143 +3693,70 @@
"height": 111
},
"componentName": "Label"
}
]
},
{
"name": "倒霉",
"properties": {
"style": {
"width": 584,
"height": 715,
"opacity": 1,
"left": 85,
"top": 200,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {},
"className": ""
},
"uuid": "06a4a3ce-39d9-4b1d-b97f-2991d51cec7b",
"rect": {
"x": 85,
"y": 200,
"width": 584,
"height": 715
},
"componentName": "Div",
"children": [
{
"name": "底37",
"name": "catBackBedClose",
"properties": {
"style": {
"width": 584,
"height": 715,
"width": 44,
"height": 44,
"opacity": 1,
"display": "block",
"left": 586,
"top": 238,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://e2684124-e9d8-4017-8c0e-ccd971b88c60"
"source": "asset://29e80fbb-98ed-40fb-a11b-e14b45fee158"
},
"className": ""
},
"uuid": "c2dcb69a-b802-461f-b477-b62e220d8355",
"uuid": "40a40eac-cf5f-47f6-9110-2d5cee327e4c",
"rect": {
"x": 0,
"y": 0,
"width": 584,
"height": 715
"width": 300,
"height": 300
},
"componentName": "Image"
"componentName": "Image",
"viewType": "Element"
},
{
"name": "按钮36",
"name": "catBackBedCatImg",
"properties": {
"style": {
"width": 351,
"height": 105,
"width": 494,
"height": 262,
"opacity": 1,
"left": 116,
"top": 573,
"display": "block",
"left": 128,
"top": 290,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://ae50eeec-b695-444b-bf61-0e4069d20d81"
"source": "asset://51c97f4c-1f39-48cf-8865-c1c2fec500d8"
},
"className": ""
},
"uuid": "cfae100f-5e4c-42bb-91a2-b56d27e0c863",
"uuid": "b2ada644-1028-473d-af1e-c8c74498fc42",
"rect": {
"x": 116,
"y": 573,
"width": 351,
"height": 105
},
"componentName": "Image"
},
{
"name": "损失10000欢乐币",
"properties": {
"style": {
"width": 278,
"height": 32,
"opacity": 1,
"left": 152,
"top": 506,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 32,
"color": "rgba(104, 91, 78, 1)"
},
"attrs": {
"text": "损失 -10000欢乐币"
},
"className": ""
},
"uuid": "48f84113-ceeb-43c3-8cd9-b453b7e9a6b1",
"rect": {
"x": 152,
"y": 506,
"width": 278,
"height": 32
},
"componentName": "Label"
},
{
"name": "文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案不要超过50字35",
"properties": {
"style": {
"width": 447,
"height": 111,
"opacity": 1,
"left": 67,
"top": 363,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
"color": "rgba(104, 91, 78, 1)"
},
"attrs": {
"text": "文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案文案不要超过50字"
},
"className": ""
},
"uuid": "77ef3b0f-0998-4b1b-a387-c59a94f09e26",
"rect": {
"x": 67,
"y": 363,
"width": 447,
"height": 111
"x": 0,
"y": 0,
"width": 300,
"height": 300
},
"componentName": "Label"
"componentName": "Image",
"viewType": "Element"
}
]
}
],
"viewType": "Scene"
"viewType": "Panel",
"variables": {
"props": []
}
},
{
"name": "猫咪升级",
......@@ -3898,10 +3942,13 @@
"componentName": "Image"
}
],
"viewType": "Scene"
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "领养成功",
"name": "getCat",
"properties": {
"style": {
"width": 465,
......@@ -3925,7 +3972,7 @@
"componentName": "Div",
"children": [
{
"name": "说话猫30",
"name": "getCatImg",
"properties": {
"style": {
"width": 421,
......@@ -3951,7 +3998,7 @@
"componentName": "Image"
},
{
"name": "对话框28",
"name": "getCatDialog",
"properties": {
"style": {
"width": 465,
......@@ -3973,7 +4020,7 @@
"componentName": "Div",
"children": [
{
"name": "底29",
"name": "getCatDialogBg",
"properties": {
"style": {
"width": 465,
......@@ -3997,7 +4044,7 @@
"componentName": "Image"
},
{
"name": "好了现在你就是猫咪名字的铲屎官了",
"name": "getCatDialogText",
"properties": {
"style": {
"width": 326,
......@@ -4027,7 +4074,7 @@
]
},
{
"name": "按钮27",
"name": "getCatGo",
"properties": {
"style": {
"width": 282,
......@@ -4053,10 +4100,13 @@
"componentName": "Image"
}
],
"viewType": "Scene"
"viewType": "Panel",
"variables": {
"props": []
}
},
{
"name": "猫咪取名",
"name": "catName",
"properties": {
"style": {
"width": 500,
......@@ -4080,7 +4130,7 @@
"componentName": "Div",
"children": [
{
"name": "说话猫26",
"name": "catNameCatImg",
"properties": {
"style": {
"width": 421,
......@@ -4106,7 +4156,7 @@
"componentName": "Image"
},
{
"name": "对话框24",
"name": "catNameDialog",
"properties": {
"style": {
"width": 466,
......@@ -4129,7 +4179,7 @@
"componentName": "Div",
"children": [
{
"name": "底25",
"name": "catNameDialogBg",
"properties": {
"style": {
"width": 466,
......@@ -4153,14 +4203,14 @@
"componentName": "Image"
},
{
"name": "铲屎官帮我取个名字吧喵",
"name": "catNameDialogLabel",
"properties": {
"style": {
"width": 359,
"height": 72,
"opacity": 1,
"left": 59,
"top": 46,
"top": 38,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
......@@ -4183,7 +4233,7 @@
]
},
{
"name": "按钮23",
"name": "catNameSure",
"properties": {
"style": {
"width": 282,
......@@ -4209,7 +4259,7 @@
"componentName": "Image"
},
{
"name": "输入名字20",
"name": "catNameInput",
"properties": {
"style": {
"width": 500,
......@@ -4232,7 +4282,7 @@
"componentName": "Div",
"children": [
{
"name": "底22",
"name": "catNameInputBg",
"properties": {
"style": {
"width": 500,
......@@ -4256,14 +4306,14 @@
"componentName": "Image"
},
{
"name": "输入名字21",
"name": "catNameInputLabel",
"properties": {
"style": {
"width": 104,
"height": 27,
"width": 436,
"height": 47,
"opacity": 1,
"left": 199,
"top": 37,
"left": 33,
"top": 25,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
......@@ -4284,13 +4334,13 @@
"componentName": "Label"
},
{
"name": "随机名字",
"name": "catNameInputRandom",
"properties": {
"style": {
"width": 91,
"width": 500,
"height": 26,
"opacity": 1,
"left": 205,
"left": 0,
"top": 121,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
......@@ -4314,10 +4364,13 @@
]
}
],
"viewType": "Scene"
"viewType": "Panel",
"variables": {
"props": []
}
},
{
"name": "选择猫咪1",
"name": "selectCat",
"properties": {
"style": {
"width": 721,
......@@ -4341,17 +4394,19 @@
"componentName": "Div",
"children": [
{
"name": "底19",
"name": "selectCatBg",
"properties": {
"style": {
"width": 721,
"height": 943,
"opacity": 1,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
"transformOrigin": "0px 0px 0px",
"left": 0,
"top": 0
},
"attrs": {
"source": "asset://84f612c0-0a38-41e0-8ecb-2ef1531c44a1"
"source": "asset://db53267d-4141-4d3e-afda-9b523c89be3e"
},
"className": ""
},
......@@ -4365,7 +4420,7 @@
"componentName": "Image"
},
{
"name": "图层415",
"name": "selectCatBlue",
"properties": {
"style": {
"width": 303,
......@@ -4389,7 +4444,7 @@
"componentName": "Div",
"children": [
{
"name": "底18",
"name": "blueBg",
"properties": {
"style": {
"width": 303,
......@@ -4413,7 +4468,7 @@
"componentName": "Image"
},
{
"name": "脸17",
"name": "blueImg",
"properties": {
"style": {
"width": 161,
......@@ -4439,18 +4494,19 @@
"componentName": "Image"
},
{
"name": "田园橘猫16",
"name": "blueName",
"properties": {
"style": {
"width": 102,
"width": 244,
"height": 26,
"opacity": 1,
"left": 102,
"top": 208,
"left": 26,
"top": 198,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
"color": "rgba(104, 91, 78, 1)"
"color": "rgba(104, 91, 78, 1)",
"textAlign": "center"
},
"attrs": {
"text": "田园橘猫"
......@@ -4465,11 +4521,37 @@
"height": 26
},
"componentName": "Label"
},
{
"name": "blueSure",
"properties": {
"style": {
"width": 68,
"height": 53,
"opacity": 1,
"left": 224,
"top": 172,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://f956cda2-5eef-4942-8737-742d171527bd"
},
"className": ""
},
"uuid": "a8051e4c-c701-4909-a404-eb475806ec1e",
"rect": {
"x": 256,
"y": 362,
"width": 68,
"height": 53
},
"componentName": "Image"
}
]
},
{
"name": "图层311",
"name": "selectCatSh",
"properties": {
"style": {
"width": 302,
......@@ -4493,7 +4575,7 @@
"componentName": "Div",
"children": [
{
"name": "底14",
"name": "shBg",
"properties": {
"style": {
"width": 302,
......@@ -4517,7 +4599,7 @@
"componentName": "Image"
},
{
"name": "脸13",
"name": "shImg",
"properties": {
"style": {
"width": 173,
......@@ -4543,18 +4625,19 @@
"componentName": "Image"
},
{
"name": "田园橘猫12",
"name": "shName",
"properties": {
"style": {
"width": 102,
"width": 244,
"height": 26,
"opacity": 1,
"left": 102,
"top": 208,
"left": 26,
"top": 198,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
"color": "rgba(104, 91, 78, 1)"
"color": "rgba(104, 91, 78, 1)",
"textAlign": "center"
},
"attrs": {
"text": "田园橘猫"
......@@ -4569,11 +4652,37 @@
"height": 26
},
"componentName": "Label"
},
{
"name": "shSure",
"properties": {
"style": {
"width": 68,
"height": 53,
"opacity": 1,
"left": 224,
"top": 172,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://f956cda2-5eef-4942-8737-742d171527bd"
},
"className": ""
},
"uuid": "ecc8f4d5-42f4-4b4c-89e5-b8d05d9c0188",
"rect": {
"x": 256,
"y": 362,
"width": 68,
"height": 53
},
"componentName": "Image"
}
]
},
{
"name": "图层27",
"name": "selectCatXl",
"properties": {
"style": {
"width": 303,
......@@ -4597,7 +4706,7 @@
"componentName": "Div",
"children": [
{
"name": "底10",
"name": "xlBg",
"properties": {
"style": {
"width": 303,
......@@ -4621,7 +4730,7 @@
"componentName": "Image"
},
{
"name": "脸9",
"name": "xlImg",
"properties": {
"style": {
"width": 157,
......@@ -4647,18 +4756,19 @@
"componentName": "Image"
},
{
"name": "田园橘猫8",
"name": "xlName",
"properties": {
"style": {
"width": 102,
"width": 244,
"height": 26,
"opacity": 1,
"left": 102,
"top": 207,
"left": 26,
"top": 198,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
"color": "rgba(104, 91, 78, 1)"
"color": "rgba(104, 91, 78, 1)",
"textAlign": "center"
},
"attrs": {
"text": "田园橘猫"
......@@ -4673,11 +4783,37 @@
"height": 26
},
"componentName": "Label"
},
{
"name": "xlSure",
"properties": {
"style": {
"width": 68,
"height": 53,
"opacity": 1,
"left": 224,
"top": 172,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://f956cda2-5eef-4942-8737-742d171527bd"
},
"className": ""
},
"uuid": "279df7af-f014-497c-94f7-e36a05ec8d43",
"rect": {
"x": 256,
"y": 362,
"width": 68,
"height": 53
},
"componentName": "Image"
}
]
},
{
"name": "图层13",
"name": "selectCatOrge",
"properties": {
"style": {
"width": 302,
......@@ -4701,7 +4837,7 @@
"componentName": "Div",
"children": [
{
"name": "底6",
"name": "orgeBg",
"properties": {
"style": {
"width": 302,
......@@ -4725,7 +4861,7 @@
"componentName": "Image"
},
{
"name": "脸5",
"name": "orgeImg",
"properties": {
"style": {
"width": 164,
......@@ -4751,14 +4887,14 @@
"componentName": "Image"
},
{
"name": "田园橘猫4",
"name": "orgeName",
"properties": {
"style": {
"width": 232,
"width": 244,
"height": 26,
"opacity": 1,
"left": 32,
"top": 207,
"left": 26,
"top": 198,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 28,
......@@ -4780,7 +4916,7 @@
"componentName": "Label"
},
{
"name": "",
"name": "orgeSure",
"properties": {
"style": {
"width": 68,
......@@ -4808,7 +4944,7 @@
]
},
{
"name": "按钮2",
"name": "selectCatTrue",
"properties": {
"style": {
"width": 352,
......@@ -4834,7 +4970,10 @@
"componentName": "Image"
}
],
"viewType": "Scene"
"viewType": "Panel",
"variables": {
"props": []
}
},
{
"name": "我的奖品",
......@@ -6434,7 +6573,10 @@
"componentName": "Image"
}
],
"viewType": "Scene"
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "物流弹窗1",
......@@ -6954,7 +7096,10 @@
]
}
],
"viewType": "Scene"
"viewType": "Scene",
"variables": {
"props": []
}
},
{
"name": "shop",
......@@ -7244,12 +7389,13 @@
"viewType": "Scene"
},
{
"name": "levelup",
"name": "exchanged",
"properties": {
"style": {
"width": 750,
"width": 1116,
"height": 1093,
"opacity": 1,
"left": -183,
"top": 221,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
......@@ -7257,85 +7403,85 @@
"attrs": {},
"className": ""
},
"uuid": "9b46b970-57b6-441b-b8e1-dd9e2a4e8bcf",
"uuid": "bffe596b-d78f-4166-b329-1acea9c2b67b",
"rect": {
"x": 0,
"x": -183,
"y": 221,
"width": 750,
"width": 1116,
"height": 1093
},
"componentName": "Div",
"children": [
{
"name": "levelup_light",
"name": "exchanged_bg",
"properties": {
"style": {
"width": 750,
"width": 1116,
"height": 1093,
"opacity": 1,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://a158cbff-9dcd-49df-bb91-16213d58036e"
"source": "asset://6768cd2f-8a8e-4a49-9f20-29a4fdefe142"
},
"className": ""
},
"uuid": "c5ff7d20-060c-4c90-87c5-730e2748b211",
"uuid": "6e8ebff4-746b-43a5-a718-90d92b2b6a28",
"rect": {
"x": 0,
"y": 0,
"width": 750,
"width": 1116,
"height": 1093
},
"componentName": "Image"
},
{
"name": "levelup_bg",
"name": "exchanged_imgbg",
"properties": {
"style": {
"width": 584,
"height": 715,
"width": 360,
"height": 299,
"opacity": 1,
"left": 85,
"top": 200,
"left": 380,
"top": 377,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://b027d194-0fad-45ea-8b1c-3502f7869d2d"
"source": "asset://5fbf3c28-003e-46c6-833d-968eaeb820cf"
},
"className": ""
},
"uuid": "ae13760c-a714-457b-b0f1-2a448638617c",
"uuid": "14b7e12b-8ac5-4b89-9224-8b2f326b9d3a",
"rect": {
"x": 85,
"y": 200,
"width": 584,
"height": 715
"x": 380,
"y": 377,
"width": 360,
"height": 299
},
"componentName": "Image"
},
{
"name": "levelup_closebtn",
"name": "exchanged_close",
"properties": {
"style": {
"width": 45,
"height": 45,
"opacity": 1,
"left": 584,
"left": 767,
"top": 236,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://d33bbf87-ed39-4959-8673-02a4c31dca77"
"source": "asset://e170173f-d814-4e58-a5b0-95c2d80b9673"
},
"className": ""
},
"uuid": "50ded180-de61-4912-b029-6fabd05351f2",
"uuid": "5f24159c-da85-4470-b77e-60cdd2202820",
"rect": {
"x": 584,
"x": 767,
"y": 236,
"width": 45,
"height": 45
......@@ -7343,131 +7489,53 @@
"componentName": "Image"
},
{
"name": "levelup_bg2",
"properties": {
"style": {
"width": 651,
"height": 784,
"opacity": 1,
"left": 52,
"top": 182,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://f88dfc75-c9f1-4e9d-8826-8a1d0e513259"
},
"className": ""
},
"uuid": "8d567f10-619a-41d2-b1df-1afc4ff9a93e",
"rect": {
"x": 52,
"y": 182,
"width": 651,
"height": 784
},
"componentName": "Image"
},
{
"name": "levelup_txt",
"properties": {
"style": {
"width": 371,
"height": 26,
"opacity": 1,
"left": 191,
"top": 711,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 26,
"color": "rgba(87, 71, 56, 1)"
},
"attrs": {
"text": "精力上限1200 → 精力上限1500"
},
"className": ""
},
"uuid": "0ae4b102-9ff5-4c42-98fc-3775bf03732a",
"rect": {
"x": 191,
"y": 711,
"width": 371,
"height": 26
},
"componentName": "Label"
},
{
"name": "levelup_title",
"name": "exchanged_title",
"properties": {
"style": {
"width": 206,
"width": 164,
"height": 35,
"opacity": 1,
"left": 274,
"top": 314,
"left": 478,
"top": 315,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
"transformOrigin": "0px 0px 0px",
"fontSize": 36,
"color": "rgba(231, 72, 70, 1)"
},
"attrs": {
"source": "asset://69bff61a-b5a6-4979-ba8d-9e008aed737a"
"text": "获得 XXXX"
},
"className": ""
},
"uuid": "27c66c73-ba8a-42de-806b-ff8e5d415013",
"uuid": "024da3cc-c513-4664-af9d-77a9eaff02f6",
"rect": {
"x": 274,
"y": 314,
"width": 206,
"x": 478,
"y": 315,
"width": 164,
"height": 35
},
"componentName": "Image"
},
{
"name": "levelup_imgbg",
"properties": {
"style": {
"width": 360,
"height": 299,
"opacity": 1,
"left": 197,
"top": 377,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://f56872e2-5e79-4906-99a2-576231f153af"
},
"className": ""
},
"uuid": "b79e3b3d-99c1-49cf-9747-ac07df066530",
"rect": {
"x": 197,
"y": 377,
"width": 360,
"height": 299
},
"componentName": "Image"
"componentName": "Label"
},
{
"name": "levelup_btn",
"name": "exchanged_btn",
"properties": {
"style": {
"width": 351,
"height": 105,
"opacity": 1,
"left": 201,
"left": 384,
"top": 773,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://95520b55-9655-4988-a833-3907978dbffb"
"source": "asset://9df943b3-e90f-4593-b144-d5d47bba5c4d"
},
"className": ""
},
"uuid": "79c597ac-119a-46d5-9504-9051a13d42c1",
"uuid": "ad5da563-76ec-465c-8245-9ed337fa19bf",
"rect": {
"x": 201,
"x": 384,
"y": 773,
"width": 351,
"height": 105
......@@ -7476,137 +7544,6 @@
}
],
"viewType": "Panel"
},
{
"name": "message",
"properties": {
"style": {
"width": 676,
"height": 650,
"opacity": 1,
"left": 40,
"top": 418,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {},
"className": ""
},
"uuid": "b1e9bdbc-d5dc-43c8-9596-5a043494d4d3",
"rect": {
"x": 40,
"y": 418,
"width": 676,
"height": 650
},
"componentName": "Div",
"children": [
{
"name": "message_bg",
"properties": {
"style": {
"width": 676,
"height": 650,
"opacity": 1,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://0c446868-16d2-47f1-a0d6-27dadff681f2"
},
"className": ""
},
"uuid": "9331e78d-7188-4f0f-b592-e304a96d45e7",
"rect": {
"x": 0,
"y": 0,
"width": 676,
"height": 650
},
"componentName": "Image"
},
{
"name": "message_txt",
"properties": {
"style": {
"width": 142,
"height": 25,
"opacity": 1,
"left": 268,
"top": 355,
"position": "absolute",
"transformOrigin": "0px 0px 0px",
"fontSize": 26,
"color": "rgba(104, 91, 78, 1)"
},
"attrs": {
"text": "猫咪名字 留"
},
"className": ""
},
"uuid": "b2180909-2ddf-456b-8c52-b3fcd10569e2",
"rect": {
"x": 268,
"y": 355,
"width": 142,
"height": 25
},
"componentName": "Label"
},
{
"name": "message_btn",
"properties": {
"style": {
"width": 45,
"height": 45,
"opacity": 1,
"left": 577,
"top": 24,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://3ad6a924-dda8-49f4-b8fc-0e796347e802"
},
"className": ""
},
"uuid": "0aa13659-012a-42f7-a5c5-26930553df98",
"rect": {
"x": 577,
"y": 24,
"width": 45,
"height": 45
},
"componentName": "Image"
},
{
"name": "message_closebtn",
"properties": {
"style": {
"width": 352,
"height": 106,
"opacity": 1,
"left": 161,
"top": 510,
"position": "absolute",
"transformOrigin": "0px 0px 0px"
},
"attrs": {
"source": "asset://5488b126-f520-496f-ace6-010a89eb108f"
},
"className": ""
},
"uuid": "f8c0269d-f6ec-4548-9c5b-b532a89d6242",
"rect": {
"x": 161,
"y": 510,
"width": 352,
"height": 106
},
"componentName": "Image"
}
],
"viewType": "Panel"
}
]
},
......@@ -7941,6 +7878,18 @@
"uuid": "c6625a32-6100-47e6-a9ed-cd146a7f4bd8",
"url": "//yun.duiba.com.cn/spark/assets/2d258d16ae2ff46e1d1b422407b853e98f086a2f.png"
},
{
"name": "底51",
"ext": ".png",
"uuid": "2ce802ba-fe74-4bb9-8733-2858e43b6bfc",
"url": "//yun.duiba.com.cn/spark/assets/add23849798cc4dc3334c64d28ce8bf7e3a596eb.png"
},
{
"name": "按钮50",
"ext": ".png",
"uuid": "c68019be-dab4-42bc-bacd-d56091f8d3c2",
"url": "//yun.duiba.com.cn/spark/assets/23ede9d65dea3267e4f46ca010c593e5a825f3e9.png"
},
{
"name": "底49",
"ext": ".png",
......@@ -7989,18 +7938,6 @@
"uuid": "8a1bb501-7e25-492d-9926-40bc55240253",
"url": "//yun.duiba.com.cn/spark/assets/3b9160b973daf567b1c58150e10d0a0491133883.png"
},
{
"name": "底37",
"ext": ".png",
"uuid": "e2684124-e9d8-4017-8c0e-ccd971b88c60",
"url": "//yun.duiba.com.cn/spark/assets/a9c1e15a621d0f2d19d33c958951b2b15b99a95f.png"
},
{
"name": "按钮36",
"ext": ".png",
"uuid": "ae50eeec-b695-444b-bf61-0e4069d20d81",
"url": "//yun.duiba.com.cn/spark/assets/897956a00052b7e98185a22214e1134379137824.png"
},
{
"name": "底34",
"ext": ".png",
......@@ -8320,64 +8257,166 @@
"uuid": "69009eb9-4593-4a43-a9d7-a6356ebd6d04"
},
{
"name": "levelup_light",
"name": "召回猫咪icon",
"ext": ".png",
"uuid": "a158cbff-9dcd-49df-bb91-16213d58036e",
"url": "//yun.duiba.com.cn/spark/assets/87bdbe797ad68e59540e0f5ab3984b6b7e79894d.png"
"url": "//yun.duiba.com.cn/spark/assets/召回猫咪icon.41d0b6bb23a7eccf0facb8918cfb679239b7f82f.png",
"uuid": "72345190-f95b-4152-bccf-393b8a5aa8d0"
},
{
"name": "levelup_bg",
"name": "LetterTexture",
"ext": ".png",
"uuid": "b027d194-0fad-45ea-8b1c-3502f7869d2d",
"url": "//yun.duiba.com.cn/spark/assets/2b70fadb540ea098ab1305551d4fdc4d96b050ed.png"
"url": "//yun.duiba.com.cn/spark/assets/LetterTexture.78192e79fa3b21a85b245038f23561eeb5141d4d.png",
"uuid": "3b12798d-d932-4f5b-a442-6e4877ba5c16"
},
{
"name": "levelup_closebtn",
"name": "catTalkDialog",
"ext": ".png",
"uuid": "d33bbf87-ed39-4959-8673-02a4c31dca77",
"url": "//yun.duiba.com.cn/spark/assets/2b22fec0227db9f7df6ee42e5161939aa4f9a06f.png"
"url": "//yun.duiba.com.cn/spark/assets/catTalkDialog.6fa85b0929d7d8e0d42d0d30587cdbdc33059a8f.png",
"uuid": "624e8c63-963f-4b20-9802-b0fb006fbf93"
},
{
"name": "levelup_bg2",
"name": "bluCat",
"ext": ".png",
"uuid": "f88dfc75-c9f1-4e9d-8826-8a1d0e513259",
"url": "//yun.duiba.com.cn/spark/assets/3626273026f000df09d73b2b37a92aca68ed7feb.png"
"url": "//yun.duiba.com.cn/spark/assets/bluCat.57cf00351ffde1985720a877d2e1384390970cd6.png",
"uuid": "90b114e6-83cb-46f1-b607-f88c50077b05"
},
{
"name": "levelup_title",
"name": "orengeCat",
"ext": ".png",
"uuid": "69bff61a-b5a6-4979-ba8d-9e008aed737a",
"url": "//yun.duiba.com.cn/spark/assets/f88ebf9dad3fb309575d72f91ab0a8704291574f.png"
"url": "//yun.duiba.com.cn/spark/assets/orengeCat.c664a89d9d7f63895c5460144098a5bac5fc31f5.png",
"uuid": "4e471df6-01ab-421d-ba0b-084b2110dc6d"
},
{
"name": "levelup_imgbg",
"name": "sanhuaCat",
"ext": ".png",
"uuid": "f56872e2-5e79-4906-99a2-576231f153af",
"url": "//yun.duiba.com.cn/spark/assets/adbbe665822e7e67c405ee5a62b56859521ab715.png"
"url": "//yun.duiba.com.cn/spark/assets/sanhuaCat.b58ed1a3960ecd123ff0b0ff38b9cb8ad44c1b4d.png",
"uuid": "003e9904-aee4-4b8d-8d5d-fb4b1188bec1"
},
{
"name": "levelup_btn",
"name": "xianluoCat",
"ext": ".png",
"uuid": "95520b55-9655-4988-a833-3907978dbffb",
"url": "//yun.duiba.com.cn/spark/assets/5193855f40ff72dea9f48022083a6a35240b6dc6.png"
"url": "//yun.duiba.com.cn/spark/assets/xianluoCat.c28961a75753d2d6ffe788a3ae38e7f3c3937344.png",
"uuid": "90283bd3-4b18-4535-97a8-90318f068781"
},
{
"name": "message_bg",
"name": "catMessageBg",
"ext": ".png",
"uuid": "0c446868-16d2-47f1-a0d6-27dadff681f2",
"url": "//yun.duiba.com.cn/spark/assets/3b954e2265924a7fd5250a5b2b48627360a0b905.png"
"url": "//yun.duiba.com.cn/spark/assets/catMessageBg.da96302fead094c1d868dc0edc62f9c3e4085472.png",
"uuid": "ed31e83e-535d-45bf-ba5b-20827a4cd104"
},
{
"name": "message_btn",
"name": "recallCatBg",
"ext": ".png",
"uuid": "3ad6a924-dda8-49f4-b8fc-0e796347e802",
"url": "//yun.duiba.com.cn/spark/assets/recallCatBg.adb5325fab0c5387d334fe66dc24c98b5cfb39ca.png",
"uuid": "40cac443-7998-4c2a-8f9c-38121b2385e3"
},
{
"name": "luckyrewardBg",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/luckyrewardBg.4c0bc5edd46b364eb6b645dde728d1db9be504e2.png",
"uuid": "98a3f684-846b-479c-91ac-75b588e2b51b"
},
{
"name": "unluckBg",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/unluckBg.c4adcfdcf29f5f1d3994869aebbac5850cd29616.png",
"uuid": "3fa827d6-e333-4b56-a5d9-5f3ae2089127"
},
{
"name": "bcEnergy",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/bcEnergy.8a91691d9195705595e42fa80b7f1eb9143e27f2.png",
"uuid": "51c97f4c-1f39-48cf-8865-c1c2fec500d8"
},
{
"name": "bcHappyCoin",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/bcHappyCoin.1a4685f550e88c0b34322d4d975522eafdda5555.png",
"uuid": "36279db8-3376-4710-bb1f-89e69130e6dd"
},
{
"name": "bcSleep",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/bcSleep.b432b66593b18881cc6b19e59f30e67d2c053102.png",
"uuid": "e143c361-01b3-488f-b213-7a97040e245b"
},
{
"name": "ocEnergy",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/ocEnergy.4c6a2f512b9220dfbcc39ee1fd16316ec0a49a68.png",
"uuid": "0a80398a-972a-4ea2-a9d1-604fe54a9d62"
},
{
"name": "ocHappyCoin",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/ocHappyCoin.dea37104ac8403660bdd947f4906e6f9b23d085f.png",
"uuid": "6dc7422e-d6bf-4b03-9fd3-637b71e5e88e"
},
{
"name": "ocSleep",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/ocSleep.042656a3bd29c0f2c82f2667300288f0a3a0ba62.png",
"uuid": "a1a5d4a5-8039-4a6f-a620-8fb465eec68f"
},
{
"name": "shEnergy",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/shEnergy.81d4b12fc07fb9733f8f358afe5587f78a4a2e25.png",
"uuid": "32f6f1ff-1ad7-4296-a922-d9073b31a921"
},
{
"name": "shHappyCoin",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/shHappyCoin.1e228aeb955c78cfe8cf8513313314728a88c99c.png",
"uuid": "5c01ebd0-dac7-4ff9-89a5-054ea7214f62"
},
{
"name": "shSleep",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/shSleep.fcd3b6c29c68df42570492a69d07f1aaed25910a.png",
"uuid": "61869bae-f55f-46e3-be58-23ed6485b18e"
},
{
"name": "xlEnergy",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/xlEnergy.04bb169743fd6a2a195427778b447daeb59c3c2c.png",
"uuid": "377e50f3-cbec-45a5-9bcd-d4923b9873a6"
},
{
"name": "xlHappyCoin",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/xlHappyCoin.f9405671034006f5175fbab34ed5086a3bdc801e.png",
"uuid": "e7156f22-22f6-45f5-8002-898c142ba6ae"
},
{
"name": "xlSleep",
"ext": ".png",
"url": "//yun.duiba.com.cn/spark/assets/xlSleep.85ef68b7d875a9cb70d30cfe809abbbc8c6ca8ad.png",
"uuid": "cfc54c6d-4233-478a-ae00-ef42d58718c1"
},
{
"name": "exchanged_bg",
"ext": ".png",
"uuid": "6768cd2f-8a8e-4a49-9f20-29a4fdefe142",
"url": "//yun.duiba.com.cn/spark/assets/3e668721c6b9582be3b62f7e1e1a7b20cdb597ce.png"
},
{
"name": "exchanged_imgbg",
"ext": ".png",
"uuid": "5fbf3c28-003e-46c6-833d-968eaeb820cf",
"url": "//yun.duiba.com.cn/spark/assets/adbbe665822e7e67c405ee5a62b56859521ab715.png"
},
{
"name": "exchanged_close",
"ext": ".png",
"uuid": "e170173f-d814-4e58-a5b0-95c2d80b9673",
"url": "//yun.duiba.com.cn/spark/assets/2b22fec0227db9f7df6ee42e5161939aa4f9a06f.png"
},
{
"name": "message_closebtn",
"name": "exchanged_btn",
"ext": ".png",
"uuid": "5488b126-f520-496f-ace6-010a89eb108f",
"url": "//yun.duiba.com.cn/spark/assets/23ede9d65dea3267e4f46ca010c593e5a825f3e9.png"
"uuid": "9df943b3-e90f-4593-b144-d5d47bba5c4d",
"url": "//yun.duiba.com.cn/spark/assets/5193855f40ff72dea9f48022083a6a35240b6dc6.png"
}
],
"dependencies": {
......
......@@ -5,6 +5,10 @@ const EXCHANGE_STATUS = {
};
import resList from '../../resconfig/resList'; //import API from '../../api';
import API from '../../api';
const app = getApp();
const { tbcc } = app;
const { commonToast } = tbcc.tb;
let flag = 0;
Page({
data: {
......@@ -17,43 +21,47 @@ Page({
resList: resList
});
this.updateData();
this.getExchangeGoodList();
},
async handleClick(e) {
if (flag) return;
flag = 1;
const { item:{_id} } = e.target.dataset;
const { item: { _id } } = e.target.dataset;
const { success, data, message } = await API.exchangeGood({ _id }).catch(res => {
commonToast(res && res.message);
flag = 0;
}) || {};
if (success && data) {
commonToast('兑换成功')
}
await this.getExchangeGoodList();
flag = 0;
},
async onItemExchange(_id) {
const { success, data, message } = await API.exchangeGood({ _id }).catch(res => {
commonToast(res && res.message)
}) || {};
// async onItemExchange(_id) {
// const { success, data, message } = await API.exchangeGood({ _id }).catch(res => {
// commonToast(res && res.message)
// }) || {};
// API.exchangeGood({ _id })
// .then(() => {
// _list.forEach(item => {
// if (item._id == _id) {
// item.exchanged = true;
// }
// })
// console.log('_list', _list)
// this.setData({ list: [] });
// // this.updateData();
// })
// .catch(res => {
// });
},
// // API.exchangeGood({ _id })
// // .then(() => {
// // _list.forEach(item => {
// // if (item._id == _id) {
// // item.exchanged = true;
// // }
// // })
// // console.log('_list', _list)
// // this.setData({ list: [] });
// // // this.updateData();
// // })
// // .catch(res => {
// // });
// },
async updateData() {
async getExchangeGoodList() {
const { data: { list, happyCoin } } = await API.exchangeGoodList();
list.forEach(item => {
item.exchanged = item.status == EXCHANGE_STATUS.DONE;
......
const resList = {
'6768cd2f-8a8e-4a49-9f20-29a4fdefe142': {
name: 'exchanged_bg',
ext: '.png',
uuid: '6768cd2f-8a8e-4a49-9f20-29a4fdefe142',
url: '//yun.duiba.com.cn/spark/assets/3e668721c6b9582be3b62f7e1e1a7b20cdb597ce.png'
},
'5fbf3c28-003e-46c6-833d-968eaeb820cf': {
name: 'exchanged_imgbg',
ext: '.png',
uuid: '5fbf3c28-003e-46c6-833d-968eaeb820cf',
url: '//yun.duiba.com.cn/spark/assets/adbbe665822e7e67c405ee5a62b56859521ab715.png'
},
'e170173f-d814-4e58-a5b0-95c2d80b9673': {
name: 'exchanged_close',
ext: '.png',
uuid: 'e170173f-d814-4e58-a5b0-95c2d80b9673',
url: '//yun.duiba.com.cn/spark/assets/2b22fec0227db9f7df6ee42e5161939aa4f9a06f.png'
},
'9df943b3-e90f-4593-b144-d5d47bba5c4d': {
name: 'exchanged_btn',
ext: '.png',
uuid: '9df943b3-e90f-4593-b144-d5d47bba5c4d',
url: '//yun.duiba.com.cn/spark/assets/5193855f40ff72dea9f48022083a6a35240b6dc6.png'
},
'0c446868-16d2-47f1-a0d6-27dadff681f2': {
......
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