Commit 43f2d55c authored by wjf's avatar wjf

l

parent 4ce972ef
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title></title>
</head>
<body>
<script src="https://yun.duiba.com.cn/db_games/zepto.min.js"></script>
<script src="https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.0.0/vconsole.min.js"></script>
<script>
//重新根据链接拼
var reg = new RegExp("(^|&)" + "CUST_NBR" + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) {
window.CUST_NBR = unescape(r[2]);
}
</script>
<script>
// xin
function connectWebViewJavascriptBridge(callback) {
if (window.WebViewJavascriptBridge) {
callback(WebViewJavascriptBridge);
} else {
document.addEventListener(
"WebViewJavascriptBridgeReady",
function () {
callback(WebViewJavascriptBridge);
},
false
);
}
}
connectWebViewJavascriptBridge(function (bridge) {
var uniqueId = 1;
var attentionFlag;
bridge.init(function (message, responseCallback) {
var data = { "Javascript Responds": "Wee!" };
responseCallback(data);
});
bridge.registerHandler(
"testJavascriptHandler",
function (data, responseCallback) {
cconsole.log("gogogogo");
var responseData = { "Javascript Says": "Right back atcha!" };
responseCallback(responseData);
}
);
var u = navigator.userAgent;
var ua = u.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
// iOS 系统
iosRequest(bridge);
// console.log("ttt");
}
});
var vConsole = new VConsole();
var bindBranchId;
function request() {
alert("anz");
var str = { interface: "callback", signData: "DUIBA_TAIYUAN" };
var jsonstr = JSON.stringify(str);
window.JSInterface.getWebData(jsonstr);
console.log(123434)
}
//
function iosRequest(bridge) {
alert("ios");
bridge.callHandler(
"goToLogin",
{
"": "goToLogin",
body: { signData: "DUIBA_TAIYUAN" },
},
function (response) {
alert("response" + response);
apiR(response.data);
},
function (err) {
alert("errios" + err);
}
);
}
function callback(e) {
console.log(7677367363767);
console.log(e, 1414);
var datas = eval("(" + e + ")");
// var custNo = datas.customerId;//加密后的客户号,需要用私钥解密
//window.CUST_NBR = custNo;
console.log(1122121, datas, datas.data);
bindBranchId = datas.data;
// alert("n"+window.CUST_NBR);
alert("b" + bindBranchId);
apiR(bindBranchId);
}
function apiR(bindBranchId) {
console.log("进入api请求,查兰window.CUST_NBR", window.CUST_NBR);
$.ajax({
type: "post",
url:
"http://activity.m.duibatest.com.cn/customActivity/cebbank/login",
dataType: "json",
data: {
CUST_NBR: window.CUST_NBR,
redirect:
"https://activity.m.duiba.com.cn/aaw/openRedPacket/index?activityId=156260987374036&dbnewopen",
appid: "1",
bindBranchId: bindBranchId,
},
async: true,
success: function (result) {
//alert(result.success);
console.log("onsuccess", result);
if (result.success) {
window.location.href = result.data;
} else {
// alert("数据"+result.success);
alert("绑卡用户才能参与" + result.success);
}
},
error: function (result) {
console.log("onerror", result);
},
});
}
setTimeout(() => {
var u = navigator.userAgent;
var ua = u.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
// iOS 系统
// iosRequest();
// console.log("ttt");
} else if (/android/.test(ua)) {
// 安卓系统
request();
console.log("ttt");
}
// console.log(window.location.href, window.CUST_NBR);
});
</script>
</body>
</html>
\ No newline at end of file
{
"success": true,
"code": 404,
"message": "不存在的api, 当前请求path为 /feile.drawTopLevelPrize, 请求方法为 GET ,请确认是否定义此请求。",
"data": {
"_id": 1,
"name": "aa",
"type": 1,
"image": 1,
"drawStatus": 1,
"prizeId": "5f213ff7738989c8b3f46f4d"
}
}
\ No newline at end of file
{
"code": "000000",
"data": [
{
"switchStock": 2,
"isBackUp": false,
"openId": "AAEaCvE-ALiIWXQsJuac30pr",
"type": 3,
"properiodfrom": 1,
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"credits": "",
"deleteStatus": 1,
"rank": "",
"startTime": "",
"id": "",
"stock": "",
"image": "https://img.alicdn.com/imgextra/i4/2275046294/O1CN01avEmL01wMhS5Wxd63_!!2275046294-2-miniprogram.png",
"properiodto": 0,
"amount": "",
"level": 3,
"probability": "0",
"prizeType": 10,
"updateTime": 1596093227570,
"ename": "",
"createTime": 1596014583758,
"name": "实物11",
"useStock": 0,
"_id": "5f213ff7738989c8b3f46f4d",
"endTime": ""
},
{
"switchStock": 1,
"isBackUp": false,
"openId": "AAEaCvE-ALiIWXQsJuac30pr",
"type": 3,
"properiodfrom": 1,
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"credits": "",
"deleteStatus": 1,
"rank": "",
"startTime": "",
"id": "",
"stock": 10,
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01Zzj1FL1wMhS845iJp_!!2275046294-2-miniprogram.png",
"properiodto": 0,
"amount": "",
"level": 1,
"probability": "0",
"prizeType": 10,
"updateTime": 1596093227546,
"ename": "",
"createTime": 1596014583758,
"name": "实物1实物1实物1实",
"useStock": 1,
"_id": "5f213ff7738989c8b3f46f4b",
"endTime": ""
},
{
"switchStock": 2,
"isBackUp": false,
"openId": "AAEaCvE-ALiIWXQsJuac30pr",
"type": 1,
"properiodfrom": 1,
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"credits": "",
"deleteStatus": 1,
"rank": "",
"startTime": 1593475200000,
"id": "",
"stock": "",
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01fcO2aS1wMhS2wKUZO_!!2275046294-0-miniprogram.jpg",
"amount": "1",
"properiodto": 0,
"level": 2,
"probability": "0",
"prizeType": 10,
"updateTime": 1596093227558,
"ename": "18c738e4b1de4de3b481885b0d5e0936",
"createTime": 1596014583758,
"name": "优惠券1",
"useStock": 0,
"_id": "5f213ff7738989c8b3f46f4c",
"endTime": 1596239999000
},
{
"switchStock": 2,
"isBackUp": false,
"type": 3,
"properiodfrom": 1,
"activityId": "5f213ff79897b44ce1d2925d",
"lockStatus": 1,
"credits": "",
"deleteStatus": 1,
"rank": "",
"startTime": "",
"id": "",
"stock": "",
"image": "https://img.alicdn.com/imgextra/i3/2275046294/O1CN01KWxBt41wMhS7Oiham_!!2275046294-2-miniprogram.png",
"properiodto": 0,
"amount": "",
"level": 4,
"probability": "0",
"prizeType": 10,
"updateTime": 1596093227581,
"ename": "",
"createTime": 1596078351428,
"name": "实物测试名称过长的啦",
"useStock": 0,
"_id": "5f22390fe5c0d7361f1e6b59",
"endTime": ""
},
{
"isBackUp": true,
"properiodto": 10000,
"amount": "",
"level": 5,
"probability": "100",
"prizeType": 10,
"updateTime": 1596093227586,
"type": 5,
"properiodfrom": 1,
"activityId": "5f213ff79897b44ce1d2925d",
"ename": "",
"lockStatus": 1,
"createTime": 1596093227586,
"deleteStatus": 1,
"name": "谢谢参与",
"useStock": 0,
"startTime": "",
"_id": "5f22732b738989c8b3f6d7c2",
"endTime": ""
}
],
"success": true,
"message": "成功"
}
\ No newline at end of file
resource/lotteryScene/lotteryBtn.png

26.8 KB | W: | H:

resource/lotteryScene/lotteryBtn.png

72.7 KB | W: | H:

resource/lotteryScene/lotteryBtn.png
resource/lotteryScene/lotteryBtn.png
resource/lotteryScene/lotteryBtn.png
resource/lotteryScene/lotteryBtn.png
  • 2-up
  • Swipe
  • Onion skin
{ {
"groups": [ "groups": [
{
"keys": "failedBtn.png,failedTxt.png",
"name": "FailedPanel"
},
{
"keys": "freePowerBg.png,freePowerBtn.png",
"name": "FreePowerPanel"
},
{
"keys": "体力不足.png,体力不足按钮.png",
"name": "NoEnergyPanel"
},
{
"keys": "noPrizeBg.png,知道了.png",
"name": "NoPrizePanel"
},
{
"keys": "noStepCancel.png,noStepOk.png",
"name": "NoStepPanel"
},
{
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel"
},
{
"keys": "ruleBtn.png,活动规则背景.png",
"name": "RulePanel"
},
{
"keys": "startBg.png,startBtn.png,startNum1.png,startNum2.png,startNum3.png,startNum4.png,startNum5.png,startNum6.png,startNum7.png,startNum8.png,startNum9.png,startNum关.png,startNum第.png",
"name": "StartPanel"
},
{
"keys": "star_en.png,sucAgain.png,sucContinueL.png,sucContinueS.png,sucContinueSR.png,sucGet.png,sucGoPrize.png,sucPrizeTip.png,sucPropTip.png,successBgL.png,successBgS.png",
"name": "SuccessPanel"
},
{
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel"
},
{
"keys": "useStepCancel.png,useStepOk.png",
"name": "UseStep"
},
{ {
"keys": "0d5e3eff-7726-4e3a-a2d4-409a9e68c2ec.png,16eb7a4a-34a0-45f3-8c02-154b638b1049.png,2c17dca6-ec35-4184-ae72-25813cf8f5dc.png,79040d0c-04ba-4c98-a512-5707d7ed37f5.png,93bcd69f-9897-4b12-8bf0-c0659817ccd2.png,e8c749fe-2a3b-4941-8527-37ba70a66e34.png,fdcf57c3-b91e-44d2-a011-7a0bbf4e5bb4.png", "keys": "0d5e3eff-7726-4e3a-a2d4-409a9e68c2ec.png,16eb7a4a-34a0-45f3-8c02-154b638b1049.png,2c17dca6-ec35-4184-ae72-25813cf8f5dc.png,79040d0c-04ba-4c98-a512-5707d7ed37f5.png,93bcd69f-9897-4b12-8bf0-c0659817ccd2.png,e8c749fe-2a3b-4941-8527-37ba70a66e34.png,fdcf57c3-b91e-44d2-a011-7a0bbf4e5bb4.png",
"name": "bonus_lottie" "name": "bonus_lottie"
}, },
{ {
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,e305be55-fdfd-453b-9e6d-41edfe68c0f1.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,panelBgS.png,powerIcon.png,powerImg.png,stepBtn.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,target0.png,target1.png,target2.png,target3.png,target4.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,确定.png,继续闯关大.png,继续闯关小.png", "keys": "boomBtn.png,comCloseBtn.png,comm_light.png,e305be55-fdfd-453b-9e6d-41edfe68c0f1.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,panelBgS.png,powerIcon.png,powerImg.png,stepBtn.png,target0.png,target1.png,target2.png,target3.png,target4.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common" "name": "common"
}, },
{
"keys": "failedBtn.png,failedTxt.png",
"name": "FailedPanel"
},
{ {
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png", "keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival" "name": "festival"
...@@ -60,12 +20,16 @@ ...@@ -60,12 +20,16 @@
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_5.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png", "keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_5.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png",
"name": "fiveVerHorDis" "name": "fiveVerHorDis"
}, },
{
"keys": "freePowerBg.png,freePowerBtn.png",
"name": "FreePowerPanel"
},
{ {
"keys": "loadingBg.jpg,loadingPro.png", "keys": "loadingBg.jpg,loadingPro.png",
"name": "loadingScene" "name": "loadingScene"
}, },
{ {
"keys": "lotteryBtn.png,lotteryItemBg.png,lotteryMachineBg.jpg,lotteryReturnBtn.png,prizeItemBg.png,shadowMask.png", "keys": "lotteryBtn.png,lotteryItemBg.png,lotteryMachineBg.png,lotteryReturnBtn.png,prizeItemBg.png,老虎机好的.png,老虎机领取奖励.png",
"name": "lotteryScene" "name": "lotteryScene"
}, },
{ {
...@@ -76,6 +40,18 @@ ...@@ -76,6 +40,18 @@
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png", "keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect" "name": "mapCheckPrizeEffect"
}, },
{
"keys": "体力不足.png,体力不足按钮.png",
"name": "NoEnergyPanel"
},
{
"keys": "noPrizeBg.png,知道了.png",
"name": "NoPrizePanel"
},
{
"keys": "noStepCancel.png,noStepOk.png",
"name": "NoStepPanel"
},
{ {
"keys": "amazing.png,blueDoorBg.png,brownBallFace.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele0Hor.png,ele1Exp.png,ele1Hor.png,ele2Exp.png,ele2Hor.png,ele3Exp.png,ele3Hor.png,ele4Exp.png,ele4Hor.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,good.png,great.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,perfect.png,playBg.jpg,propCancel.png,propNumBg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum当.png,starProgress.png,stepAni11.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png", "keys": "amazing.png,blueDoorBg.png,brownBallFace.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele0Hor.png,ele1Exp.png,ele1Hor.png,ele2Exp.png,ele2Hor.png,ele3Exp.png,ele3Hor.png,ele4Exp.png,ele4Hor.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,good.png,great.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,perfect.png,playBg.jpg,propCancel.png,propNumBg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum当.png,starProgress.png,stepAni11.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene" "name": "playScene"
...@@ -91,6 +67,30 @@ ...@@ -91,6 +67,30 @@
{ {
"keys": "chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png", "keys": "chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png",
"name": "playSceneNum" "name": "playSceneNum"
},
{
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel"
},
{
"keys": "ruleBtn.png,活动规则背景.png",
"name": "RulePanel"
},
{
"keys": "startBg.png,startBtn.png,startNum1.png,startNum2.png,startNum3.png,startNum4.png,startNum5.png,startNum6.png,startNum7.png,startNum8.png,startNum9.png,startNum关.png,startNum第.png",
"name": "StartPanel"
},
{
"keys": "star_en.png,sucAgain.png,successBgL.png,successBgS.png,sucContinueL.png,sucContinueS.png,sucContinueSR.png,sucGet.png,sucgoPrize.png,sucPrizeTip.png,sucPropTip.png",
"name": "SuccessPanel"
},
{
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel"
},
{
"keys": "useStepCancel.png,useStepOk.png",
"name": "UseStep"
} }
], ],
"path": "./resource/" "path": "./resource/"
......
This diff is collapsed.
...@@ -43,7 +43,15 @@ export enum TbNetName { ...@@ -43,7 +43,15 @@ export enum TbNetName {
* activityId level score stars isVisitSuccess(是否通关) * activityId level score stars isVisitSuccess(是否通关)
*/ */
gameOver = "feile.gameOver", gameOver = "feile.gameOver",
/**
* 通关奖品列表
*/
getTopLevelPrizes = "feile.getTopLevelPrizes",
/**
* 通关抽奖
* activityId
*/
drawTopLevelPrize = "feile.drawTopLevelPrize",
/** /**
......
This diff is collapsed.
...@@ -9,6 +9,7 @@ import { showPanel } from "../../../module/ctrls"; ...@@ -9,6 +9,7 @@ import { showPanel } from "../../../module/ctrls";
import { RulePanel } from "../../panels/RulePanel"; import { RulePanel } from "../../panels/RulePanel";
import { sendTbNet, TbNetName } from "../../TaoBaoNet"; import { sendTbNet, TbNetName } from "../../TaoBaoNet";
import { layers } from "../../../module/views/layers"; import { layers } from "../../../module/views/layers";
import { LotteryPanel } from "../../panels/LotteryPanel";
export default class MapUI extends Container { export default class MapUI extends Container {
public energyBox: EnergyBox = null; public energyBox: EnergyBox = null;
...@@ -61,7 +62,8 @@ export default class MapUI extends Container { ...@@ -61,7 +62,8 @@ export default class MapUI extends Container {
case this.clearanceBtn: case this.clearanceBtn:
/// TODO 打开通关抽奖 /// TODO 打开通关抽奖
console.error("TODO 打开通关抽奖"); // console.error("TODO 打开通关抽奖");
showPanel(LotteryPanel)
break; break;
} }
} }
......
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