Commit dbb5c94e authored by wildfirecode13's avatar wildfirecode13

1

parent 3b3d176a
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
</canvas> </canvas>
</view> </view>
<end-modal a:if="{{endModalVisible}}" ></end-modal>
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal> <rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal>
<levelup-modal a:if="{{levelupModalVisible}}" mydata="{{levelupModalData}}" onModalClose="closeLevelupModal"></levelup-modal> <levelup-modal a:if="{{levelupModalVisible}}" mydata="{{levelupModalData}}" onModalClose="closeLevelupModal"></levelup-modal>
<message-modal a:if="{{messageModalVisible}}" mydata="{{messageModalData}}" onModalClose="closeMessageModal"></message-modal> <message-modal a:if="{{messageModalVisible}}" mydata="{{messageModalData}}" onModalClose="closeMessageModal"></message-modal>
......
...@@ -39,6 +39,7 @@ Page({ ...@@ -39,6 +39,7 @@ Page({
recallCatInfo: {}, recallCatInfo: {},
taskModalVisible: 0, taskModalVisible: 0,
messageModalVisible: false, messageModalVisible: false,
endModalVisible: true,
messageModalData: {}, messageModalData: {},
ruleModalVisible: false, ruleModalVisible: false,
levelupModalVisible: 0, levelupModalVisible: 0,
......
{ {
"usingComponents": { "usingComponents": {
"end-modal": "/components/endModal/endModal",
"task-modal": "/components/comtask/comtask", "task-modal": "/components/comtask/comtask",
"rule-modal": "/components/ruleModal/ruleModal", "rule-modal": "/components/ruleModal/ruleModal",
"levelup-modal": "/components/comlevelup/comlevelup", "levelup-modal": "/components/comlevelup/comlevelup",
......
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