Commit b11d2500 authored by wildfirecode13's avatar wildfirecode13

1

parent 5de3c0f5
......@@ -4,7 +4,7 @@
"needPop":0,
"activityOver": false,
"surplusCount": 1,
"credits": 111110,
"credits": 0,
"needCredits": 1,
"type": 1,
"options": [{
......
......@@ -14,6 +14,7 @@ import { SkinJson } from "./SkinJson";
import { destroyWebNetData, sendWebNet } from "./WebNet";
import { WebNetName } from "./WebNetName";
import {SharePanel} from "./panels/share"
import { notEnoughMoneySharePanel } from "./panels/notEnoughMoneyShare";
/**
* 全局事件,为了和小程序交互
......@@ -93,7 +94,7 @@ export class Main {
sendWebNet(WebNetName.getInviteCode, {}, null, true);
sendWebNet(WebNetName.doAssist, { inviteCode: getQueryParams().inviteCode }, null, true);
// setTimeout(() => {
// showPanel(SharePanel);
showPanel(notEnoughMoneySharePanel);
// }, 4000);
}
......
This diff is collapsed.
......@@ -447,7 +447,7 @@ export const SkinJson = {
"y": 258,
"type": "text",
"props": {
"text": "分享好友/群即可获得",
"text": "分享好友/群",
"size": 32,
"fillColor": "#000000",
"bold": "true",
......@@ -460,7 +460,7 @@ export const SkinJson = {
"y": 303,
"type": "text",
"props": {
"text": "次免费拆盲盒机会",
"text": "好友访问活动首页\n即可增加1次免费拆盲盒机会",
"size": 28,
"fillColor": "#000000",
"textAlpha": 1
......@@ -519,7 +519,7 @@ export const SkinJson = {
"y": 258,
"type": "text",
"props": {
"text": "分享好友/群即可获得",
"text": "分享好友/群",
"size": 32,
"fillColor": "#000000",
"bold": "true",
......@@ -532,7 +532,7 @@ export const SkinJson = {
"y": 303,
"type": "text",
"props": {
"text": "次免费拆盲盒机会",
"text": "好友访问活动首页\n即可增加1次免费拆盲盒机会",
"size": 28,
"fillColor": "#000000",
"textAlpha": 1
......@@ -885,11 +885,11 @@ export const SkinJson = {
{
"name": "prize_tips",
"x": 251,
"y": 565,
"y": 571,
"type": "text",
"props": {
"text": "请在中奖后24小时内领取并填写地址提交~",
"size": 22,
"size": 20,
"fillColor": "#000000",
"textAlpha": 1
}
......
......@@ -48,6 +48,7 @@ export class notEnoughMoneySharePanel extends Panel {
var skin = RES.getSkinDataByName(this.skinName);
this.position.set(skin.x, skin.y);
centerTextField(getObject(this, 'notEnoughMoneyShare_tips'), 496);
centerTextField(getObject(this, 'notEnoughMoneyShareFriend_tips'), 496);
}
initEvents() {
......
......@@ -48,6 +48,9 @@ export class notEnoughMoneyShareHasTimesPanel extends Panel {
var skin = RES.getSkinDataByName(this.skinName);
this.position.set(skin.x, skin.y);
centerTextField(getObject(this, 'notEnoughMoneyShareHasTimes_tips'), 496);
centerTextField(getObject(this,'notEnoughMoneyShareHasTimesFriend_tips'),496);
}
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