Commit 2b1692e2 authored by 邱旭's avatar 邱旭

Rule

parent cfaf01cd
...@@ -2,19 +2,14 @@ ...@@ -2,19 +2,14 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="0d3cb18d-e144-41a0-bc8b-4877c2e1fef1" name="默认的" comment=""> <list default="true" id="0d3cb18d-e144-41a0-bc8b-4877c2e1fef1" name="默认的" comment="">
<change afterPath="$PROJECT_DIR$/resource/RulePanel/ruleBtn.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/RulePanel/活动规则背景.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/RulePanel/活动规则背景.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/guide_fox.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/guide_fox.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/common/关闭按钮.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/common/关闭按钮.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/guide_hand.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/guide_hand.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/guide_light.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/guide_light.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/guide_tip.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/guide_tip.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/remindIcon.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/res.json" beforeDir="false" afterPath="$PROJECT_DIR$/resource/res.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/res.json" beforeDir="false" afterPath="$PROJECT_DIR$/resource/res.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/panels/StartPanel.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/panels/StartPanel.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/SkinJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/SkinJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/LoadingScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/LoadingScene.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/panels/RulePanel.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/panels/RulePanel.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapScene.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/something/uis/PropGuide.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/something/uis/PropGuide.ts" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -117,7 +112,7 @@ ...@@ -117,7 +112,7 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1612576978320</updated> <updated>1612576978320</updated>
<workItem from="1612576979459" duration="13000" /> <workItem from="1612576979459" duration="13000" />
<workItem from="1612577003915" duration="13978000" /> <workItem from="1612577003915" duration="14842000" />
</task> </task>
<task id="LOCAL-00001" summary="斐乐消消乐"> <task id="LOCAL-00001" summary="斐乐消消乐">
<created>1612581213298</created> <created>1612581213298</created>
...@@ -133,7 +128,14 @@ ...@@ -133,7 +128,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1612593007212</updated> <updated>1612593007212</updated>
</task> </task>
<option name="localTasksCounter" value="3" /> <task id="LOCAL-00003" summary="首页引导">
<created>1612597435229</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1612597435229</updated>
</task>
<option name="localTasksCounter" value="4" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -145,6 +147,7 @@ ...@@ -145,6 +147,7 @@
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" /> <option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
<MESSAGE value="斐乐消消乐" /> <MESSAGE value="斐乐消消乐" />
<MESSAGE value="gameGuide" /> <MESSAGE value="gameGuide" />
<option name="LAST_COMMIT_MESSAGE" value="gameGuide" /> <MESSAGE value="首页引导" />
<option name="LAST_COMMIT_MESSAGE" value="首页引导" />
</component> </component>
</project> </project>
\ No newline at end of file
resource/common/关闭按钮.png

10.2 KB | W: | H:

resource/common/关闭按钮.png

8.45 KB | W: | H:

resource/common/关闭按钮.png
resource/common/关闭按钮.png
resource/common/关闭按钮.png
resource/common/关闭按钮.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
"name": "PrizePanel" "name": "PrizePanel"
}, },
{ {
"keys": "活动规则背景.png", "keys": "ruleBtn.png,活动规则背景.png",
"name": "RulePanel" "name": "RulePanel"
}, },
{ {
......
...@@ -41,7 +41,7 @@ export const ResJson = { ...@@ -41,7 +41,7 @@ export const ResJson = {
"name": "PrizePanel" "name": "PrizePanel"
}, },
{ {
"keys": "活动规则背景.png", "keys": "ruleBtn.png,活动规则背景.png",
"name": "RulePanel" "name": "RulePanel"
}, },
{ {
......
...@@ -35,7 +35,6 @@ export const SkinJson = { ...@@ -35,7 +35,6 @@ export const SkinJson = {
"name": "闯关成功Bg", "name": "闯关成功Bg",
"x": 55, "x": 55,
"y": 266, "y": 266,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "闯关成功Bg.png" "source": "闯关成功Bg.png"
...@@ -45,7 +44,6 @@ export const SkinJson = { ...@@ -45,7 +44,6 @@ export const SkinJson = {
"name": "继续闯关大", "name": "继续闯关大",
"x": 163, "x": 163,
"y": 935, "y": 935,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关大.png" "tUp": "继续闯关大.png"
...@@ -56,7 +54,6 @@ export const SkinJson = { ...@@ -56,7 +54,6 @@ export const SkinJson = {
"name": "继续闯关小", "name": "继续闯关小",
"x": 381, "x": 381,
"y": 935, "y": 935,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关小.png" "tUp": "继续闯关小.png"
...@@ -67,7 +64,6 @@ export const SkinJson = { ...@@ -67,7 +64,6 @@ export const SkinJson = {
"name": "闯关成功不满星按钮", "name": "闯关成功不满星按钮",
"x": 91, "x": 91,
"y": 935, "y": 935,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "闯关成功不满星按钮.png" "tUp": "闯关成功不满星按钮.png"
...@@ -78,7 +74,6 @@ export const SkinJson = { ...@@ -78,7 +74,6 @@ export const SkinJson = {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 501, "y": 501,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
...@@ -93,7 +88,6 @@ export const SkinJson = { ...@@ -93,7 +88,6 @@ export const SkinJson = {
"name": "提示文案", "name": "提示文案",
"x": 210, "x": 210,
"y": 815, "y": 815,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "太厉害了!\n再闯6关就即可抽奖!", "text": "太厉害了!\n再闯6关就即可抽奖!",
...@@ -107,7 +101,6 @@ export const SkinJson = { ...@@ -107,7 +101,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -148,7 +141,6 @@ export const SkinJson = { ...@@ -148,7 +141,6 @@ export const SkinJson = {
"name": "闯关成功", "name": "闯关成功",
"x": 55, "x": 55,
"y": 266, "y": 266,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "闯关成功.png" "source": "闯关成功.png"
...@@ -158,7 +150,6 @@ export const SkinJson = { ...@@ -158,7 +150,6 @@ export const SkinJson = {
"name": "继续闯关大", "name": "继续闯关大",
"x": 163, "x": 163,
"y": 1086, "y": 1086,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关大.png" "tUp": "继续闯关大.png"
...@@ -169,7 +160,6 @@ export const SkinJson = { ...@@ -169,7 +160,6 @@ export const SkinJson = {
"name": "继续闯关小", "name": "继续闯关小",
"x": 93, "x": 93,
"y": 1086, "y": 1086,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关小.png" "tUp": "继续闯关小.png"
...@@ -180,7 +170,6 @@ export const SkinJson = { ...@@ -180,7 +170,6 @@ export const SkinJson = {
"name": "去抽奖", "name": "去抽奖",
"x": 383, "x": 383,
"y": 1086, "y": 1086,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "去抽奖.png" "tUp": "去抽奖.png"
...@@ -191,7 +180,6 @@ export const SkinJson = { ...@@ -191,7 +180,6 @@ export const SkinJson = {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 501, "y": 501,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
...@@ -206,7 +194,6 @@ export const SkinJson = { ...@@ -206,7 +194,6 @@ export const SkinJson = {
"name": "提示文案", "name": "提示文案",
"x": 182, "x": 182,
"y": 810, "y": 810,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "太厉害了!获得抽奖资格!", "text": "太厉害了!获得抽奖资格!",
...@@ -220,7 +207,6 @@ export const SkinJson = { ...@@ -220,7 +207,6 @@ export const SkinJson = {
"name": "红包奖励", "name": "红包奖励",
"x": 130, "x": 130,
"y": 870, "y": 870,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "" "source": ""
...@@ -283,7 +269,6 @@ export const SkinJson = { ...@@ -283,7 +269,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -302,7 +287,6 @@ export const SkinJson = { ...@@ -302,7 +287,6 @@ export const SkinJson = {
"name": "步数耗尽Bg", "name": "步数耗尽Bg",
"x": 55, "x": 55,
"y": 498, "y": 498,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "步数耗尽Bg.png" "source": "步数耗尽Bg.png"
...@@ -312,7 +296,6 @@ export const SkinJson = { ...@@ -312,7 +296,6 @@ export const SkinJson = {
"name": "提示文案", "name": "提示文案",
"x": 163, "x": 163,
"y": 661, "y": 661,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "消耗20积分可复活 ,步数+5\n确认复活吗?", "text": "消耗20积分可复活 ,步数+5\n确认复活吗?",
...@@ -326,7 +309,6 @@ export const SkinJson = { ...@@ -326,7 +309,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -337,7 +319,6 @@ export const SkinJson = { ...@@ -337,7 +319,6 @@ export const SkinJson = {
"name": "步数耗尽复活", "name": "步数耗尽复活",
"x": 383, "x": 383,
"y": 845, "y": 845,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "步数耗尽复活.png" "tUp": "步数耗尽复活.png"
...@@ -348,7 +329,6 @@ export const SkinJson = { ...@@ -348,7 +329,6 @@ export const SkinJson = {
"name": "步数耗尽结束按钮", "name": "步数耗尽结束按钮",
"x": 93, "x": 93,
"y": 845, "y": 845,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "步数耗尽结束按钮.png" "tUp": "步数耗尽结束按钮.png"
...@@ -367,7 +347,6 @@ export const SkinJson = { ...@@ -367,7 +347,6 @@ export const SkinJson = {
"name": "失败Bg", "name": "失败Bg",
"x": 55, "x": 55,
"y": 276, "y": 276,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "失败Bg.png" "source": "失败Bg.png"
...@@ -377,7 +356,6 @@ export const SkinJson = { ...@@ -377,7 +356,6 @@ export const SkinJson = {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 521, "y": 521,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
...@@ -392,7 +370,6 @@ export const SkinJson = { ...@@ -392,7 +370,6 @@ export const SkinJson = {
"name": "提示文案", "name": "提示文案",
"x": 224, "x": 224,
"y": 611, "y": 611,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "再接再厉!\n再闯3关可参与抽奖!", "text": "再接再厉!\n再闯3关可参与抽奖!",
...@@ -406,7 +383,6 @@ export const SkinJson = { ...@@ -406,7 +383,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -417,7 +393,6 @@ export const SkinJson = { ...@@ -417,7 +393,6 @@ export const SkinJson = {
"name": "失败重新闯关", "name": "失败重新闯关",
"x": 163, "x": 163,
"y": 957, "y": 957,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "失败重新闯关.png" "tUp": "失败重新闯关.png"
...@@ -436,7 +411,6 @@ export const SkinJson = { ...@@ -436,7 +411,6 @@ export const SkinJson = {
"name": "开始闯关Bg", "name": "开始闯关Bg",
"x": 55, "x": 55,
"y": 266, "y": 266,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "开始闯关Bg.png" "source": "开始闯关Bg.png"
...@@ -446,7 +420,6 @@ export const SkinJson = { ...@@ -446,7 +420,6 @@ export const SkinJson = {
"name": "开始闯关要能量", "name": "开始闯关要能量",
"x": 163, "x": 163,
"y": 899, "y": 899,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开始闯关要能量.png" "tUp": "开始闯关要能量.png"
...@@ -457,7 +430,6 @@ export const SkinJson = { ...@@ -457,7 +430,6 @@ export const SkinJson = {
"name": "开始闯关不要能量", "name": "开始闯关不要能量",
"x": 163, "x": 163,
"y": 899, "y": 899,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开始闯关不要能量.png" "tUp": "开始闯关不要能量.png"
...@@ -468,7 +440,6 @@ export const SkinJson = { ...@@ -468,7 +440,6 @@ export const SkinJson = {
"name": "提示文案", "name": "提示文案",
"x": 221, "x": 221,
"y": 847, "y": 847,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "本关满星可获得随机道具", "text": "本关满星可获得随机道具",
...@@ -482,7 +453,6 @@ export const SkinJson = { ...@@ -482,7 +453,6 @@ export const SkinJson = {
"name": "关卡文字", "name": "关卡文字",
"x": 317, "x": 317,
"y": 521, "y": 521,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 6 关", "text": "第 6 关",
...@@ -497,7 +467,6 @@ export const SkinJson = { ...@@ -497,7 +467,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -516,7 +485,6 @@ export const SkinJson = { ...@@ -516,7 +485,6 @@ export const SkinJson = {
"name": "关卡弹窗Bg", "name": "关卡弹窗Bg",
"x": 55, "x": 55,
"y": 266, "y": 266,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "关卡弹窗Bg.png" "source": "关卡弹窗Bg.png"
...@@ -526,7 +494,6 @@ export const SkinJson = { ...@@ -526,7 +494,6 @@ export const SkinJson = {
"name": "关卡数", "name": "关卡数",
"x": 312, "x": 312,
"y": 521, "y": 521,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 6 关", "text": "第 6 关",
...@@ -541,7 +508,6 @@ export const SkinJson = { ...@@ -541,7 +508,6 @@ export const SkinJson = {
"name": "提示文案", "name": "提示文案",
"x": 206, "x": 206,
"y": 849, "y": 849,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "通关参与抽奖,最高可赢得", "text": "通关参与抽奖,最高可赢得",
...@@ -555,7 +521,6 @@ export const SkinJson = { ...@@ -555,7 +521,6 @@ export const SkinJson = {
"name": "开始闯关要能量", "name": "开始闯关要能量",
"x": 163, "x": 163,
"y": 1120, "y": 1120,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开始闯关要能量.png" "tUp": "开始闯关要能量.png"
...@@ -566,7 +531,6 @@ export const SkinJson = { ...@@ -566,7 +531,6 @@ export const SkinJson = {
"name": "开始闯关不要能量", "name": "开始闯关不要能量",
"x": 163, "x": 163,
"y": 1120, "y": 1120,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开始闯关不要能量.png" "tUp": "开始闯关不要能量.png"
...@@ -577,7 +541,6 @@ export const SkinJson = { ...@@ -577,7 +541,6 @@ export const SkinJson = {
"name": "prize", "name": "prize",
"x": 130, "x": 130,
"y": 903, "y": 903,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "prize.png" "source": "prize.png"
...@@ -588,7 +551,6 @@ export const SkinJson = { ...@@ -588,7 +551,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -607,7 +569,6 @@ export const SkinJson = { ...@@ -607,7 +569,6 @@ export const SkinJson = {
"name": "体力不足Bg", "name": "体力不足Bg",
"x": 55, "x": 55,
"y": 497, "y": 497,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "体力不足Bg.png" "source": "体力不足Bg.png"
...@@ -617,7 +578,6 @@ export const SkinJson = { ...@@ -617,7 +578,6 @@ export const SkinJson = {
"name": "体力不足按钮", "name": "体力不足按钮",
"x": 163, "x": 163,
"y": 880, "y": 880,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "体力不足按钮.png" "tUp": "体力不足按钮.png"
...@@ -628,7 +588,6 @@ export const SkinJson = { ...@@ -628,7 +588,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -647,7 +606,6 @@ export const SkinJson = { ...@@ -647,7 +606,6 @@ export const SkinJson = {
"name": "增加体力背景", "name": "增加体力背景",
"x": 55, "x": 55,
"y": 498, "y": 498,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "增加体力背景.png" "source": "增加体力背景.png"
...@@ -657,7 +615,6 @@ export const SkinJson = { ...@@ -657,7 +615,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -668,7 +625,6 @@ export const SkinJson = { ...@@ -668,7 +625,6 @@ export const SkinJson = {
"name": "无字按钮底", "name": "无字按钮底",
"x": 163, "x": 163,
"y": 805, "y": 805,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "无字按钮底.png" "tUp": "无字按钮底.png"
...@@ -679,13 +635,11 @@ export const SkinJson = { ...@@ -679,13 +635,11 @@ export const SkinJson = {
"name": "文案", "name": "文案",
"x": 426, "x": 426,
"y": 682, "y": 682,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "+\t1", "text": "+\t1",
"size": 36, "size": 36,
"fillColor": "#ffffff", "fillColor": "#ffffff",
"textAlpha": 1
}, },
"id": "msgTxt" "id": "msgTxt"
} }
...@@ -701,7 +655,6 @@ export const SkinJson = { ...@@ -701,7 +655,6 @@ export const SkinJson = {
"name": "活动规则背景", "name": "活动规则背景",
"x": 55, "x": 55,
"y": 438, "y": 438,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "活动规则背景.png" "source": "活动规则背景.png"
...@@ -709,9 +662,8 @@ export const SkinJson = { ...@@ -709,9 +662,8 @@ export const SkinJson = {
}, },
{ {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 651,
"y": 410, "y": 415,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -730,7 +682,6 @@ export const SkinJson = { ...@@ -730,7 +682,6 @@ export const SkinJson = {
"name": "背景", "name": "背景",
"x": 55, "x": 55,
"y": 376, "y": 376,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "prizePanel.png" "source": "prizePanel.png"
...@@ -740,7 +691,6 @@ export const SkinJson = { ...@@ -740,7 +691,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 500, "y": 500,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -751,7 +701,6 @@ export const SkinJson = { ...@@ -751,7 +701,6 @@ export const SkinJson = {
"name": "文案", "name": "文案",
"x": 203, "x": 203,
"y": 650, "y": 650,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "恭喜获得XX奖品", "text": "恭喜获得XX奖品",
...@@ -765,7 +714,6 @@ export const SkinJson = { ...@@ -765,7 +714,6 @@ export const SkinJson = {
"name": "prizeImg", "name": "prizeImg",
"x": 250, "x": 250,
"y": 732, "y": 732,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "" "source": ""
...@@ -776,7 +724,6 @@ export const SkinJson = { ...@@ -776,7 +724,6 @@ export const SkinJson = {
"name": "立即领取", "name": "立即领取",
"x": 163, "x": 163,
"y": 1002, "y": 1002,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "prizePanelBtn.png" "tUp": "prizePanelBtn.png"
...@@ -795,7 +742,6 @@ export const SkinJson = { ...@@ -795,7 +742,6 @@ export const SkinJson = {
"name": "任务背景", "name": "任务背景",
"x": 0, "x": 0,
"y": 579, "y": 579,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "任务背景.png" "source": "任务背景.png"
...@@ -849,7 +795,6 @@ export const SkinJson = { ...@@ -849,7 +795,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 671, "x": 671,
"y": 708, "y": 708,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -868,7 +813,6 @@ export const SkinJson = { ...@@ -868,7 +813,6 @@ export const SkinJson = {
"name": "道具不足背景", "name": "道具不足背景",
"x": 55, "x": 55,
"y": 498, "y": 498,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "道具不足背景.png" "source": "道具不足背景.png"
...@@ -878,7 +822,6 @@ export const SkinJson = { ...@@ -878,7 +822,6 @@ export const SkinJson = {
"name": "文案", "name": "文案",
"x": 203, "x": 203,
"y": 650, "y": 650,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "要消耗200积分兑换码?", "text": "要消耗200积分兑换码?",
...@@ -892,7 +835,6 @@ export const SkinJson = { ...@@ -892,7 +835,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -903,7 +845,6 @@ export const SkinJson = { ...@@ -903,7 +845,6 @@ export const SkinJson = {
"name": "确定", "name": "确定",
"x": 383, "x": 383,
"y": 745, "y": 745,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "确定.png" "tUp": "确定.png"
...@@ -914,7 +855,6 @@ export const SkinJson = { ...@@ -914,7 +855,6 @@ export const SkinJson = {
"name": "再想想", "name": "再想想",
"x": 93, "x": 93,
"y": 745, "y": 745,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "再想想.png" "tUp": "再想想.png"
...@@ -933,7 +873,6 @@ export const SkinJson = { ...@@ -933,7 +873,6 @@ export const SkinJson = {
"name": "兑换成功背景", "name": "兑换成功背景",
"x": 55, "x": 55,
"y": 337, "y": 337,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "兑换成功背景.png" "source": "兑换成功背景.png"
...@@ -943,7 +882,6 @@ export const SkinJson = { ...@@ -943,7 +882,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -954,7 +892,6 @@ export const SkinJson = { ...@@ -954,7 +892,6 @@ export const SkinJson = {
"name": "知道啦", "name": "知道啦",
"x": 163, "x": 163,
"y": 745, "y": 745,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "知道啦.png" "tUp": "知道啦.png"
...@@ -973,7 +910,6 @@ export const SkinJson = { ...@@ -973,7 +910,6 @@ export const SkinJson = {
"name": "积分不足背景", "name": "积分不足背景",
"x": 55, "x": 55,
"y": 498, "y": 498,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "积分不足背景.png" "source": "积分不足背景.png"
...@@ -983,7 +919,6 @@ export const SkinJson = { ...@@ -983,7 +919,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -994,7 +929,6 @@ export const SkinJson = { ...@@ -994,7 +929,6 @@ export const SkinJson = {
"name": "赚取积分", "name": "赚取积分",
"x": 163, "x": 163,
"y": 745, "y": 745,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "赚取积分.png" "tUp": "赚取积分.png"
...@@ -1013,7 +947,6 @@ export const SkinJson = { ...@@ -1013,7 +947,6 @@ export const SkinJson = {
"name": "圆圈", "name": "圆圈",
"x": 55, "x": 55,
"y": 267, "y": 267,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "圆圈.png" "source": "圆圈.png"
...@@ -1023,7 +956,6 @@ export const SkinJson = { ...@@ -1023,7 +956,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -1034,7 +966,6 @@ export const SkinJson = { ...@@ -1034,7 +966,6 @@ export const SkinJson = {
"name": "开心收下", "name": "开心收下",
"x": 163, "x": 163,
"y": 900, "y": 900,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开心收下.png" "tUp": "开心收下.png"
...@@ -1053,7 +984,6 @@ export const SkinJson = { ...@@ -1053,7 +984,6 @@ export const SkinJson = {
"name": "使用道具背景", "name": "使用道具背景",
"x": 55, "x": 55,
"y": 498, "y": 498,
"alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "使用道具背景.png" "source": "使用道具背景.png"
...@@ -1063,7 +993,6 @@ export const SkinJson = { ...@@ -1063,7 +993,6 @@ export const SkinJson = {
"name": "文案", "name": "文案",
"x": 168, "x": 168,
"y": 619, "y": 619,
"alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "确认使用步数道具+10步吗?", "text": "确认使用步数道具+10步吗?",
...@@ -1077,7 +1006,6 @@ export const SkinJson = { ...@@ -1077,7 +1006,6 @@ export const SkinJson = {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
...@@ -1088,7 +1016,6 @@ export const SkinJson = { ...@@ -1088,7 +1016,6 @@ export const SkinJson = {
"name": "确定", "name": "确定",
"x": 383, "x": 383,
"y": 745, "y": 745,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "确定.png" "tUp": "确定.png"
...@@ -1099,7 +1026,6 @@ export const SkinJson = { ...@@ -1099,7 +1026,6 @@ export const SkinJson = {
"name": "再想想", "name": "再想想",
"x": 93, "x": 93,
"y": 745, "y": 745,
"alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "再想想.png" "tUp": "再想想.png"
......
import { Panel } from "../../module/views/Panel"; import { Panel } from "../../module/views/Panel";
import { Tools } from "../Tools";
import { RES } from "../../module/RES";
import TextField = FYGE.TextField; import TextField = FYGE.TextField;
import TEXT_lINETYPE = FYGE.TEXT_lINETYPE; import TEXT_lINETYPE = FYGE.TEXT_lINETYPE;
import ScrollPage = FYGE.ScrollPage; import ScrollPage = FYGE.ScrollPage;
import { Tools } from "../Tools"; import Button = FYGE.Button;
import MouseEvent = FYGE.MouseEvent;
export class RulePanel extends Panel { export class RulePanel extends Panel {
get groupNames() { get groupNames() {
...@@ -37,6 +40,10 @@ export class RulePanel extends Panel { ...@@ -37,6 +40,10 @@ export class RulePanel extends Panel {
this.scroll.position.set(96, 549); this.scroll.position.set(96, 549);
this.scroll.view.addChild(this.ruleTex); this.scroll.view.addChild(this.ruleTex);
this.addChild(new Button(RES.getRes('ruleBtn.png')))
.addEventListener(MouseEvent.CLICK, () => this.hidePanel())
.position.set(192, 1095);
} }
initEvents() { initEvents() {
......
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