Commit 5fe667b9 authored by limingzhe's avatar limingzhe

fix: debug

parent 2c3975a6
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html // - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
// import { getSprNode } from "./util"; // import { getSprNode } from "./util";
import { getSprNode, playAudioByUrl, showBtnAnima, localPosTolocalPos, randomSortByArr, loadDragonBones, playAudio, showTrebleFirework, getSprNodeByUrl, setSprNodeMaxLen, delayCall, asyncDelay, RandomInt, exchangeNodePos, onHomeworkFinish, roundNum, getAngleByPos, setMaxScale, getColorByText, callNetworkApi} from "../script/dg_dictation_menu_util"; import { getSprNode, playAudioByUrl, showBtnAnima, localPosTolocalPos, randomSortByArr, loadDragonBones, playAudio, showTrebleFirework, getSprNodeByUrl, setSprNodeMaxLen, delayCall, asyncDelay, RandomInt, exchangeNodePos, onHomeworkFinish, roundNum, getAngleByPos, setMaxScale, getColorByText, callNetworkApi, appearAnim, disappearAnim} from "../script/dg_dictation_menu_util";
cc.Class({ cc.Class({
extends: cc.Component, extends: cc.Component,
...@@ -610,6 +610,156 @@ cc.Class({ ...@@ -610,6 +610,156 @@ cc.Class({
this.showHomeView(); this.showHomeView();
}, },
getSelectWordItemArr(dataArr, bgWidth) {
const itemArr = [];
for (let i=0; i<dataArr.length; i++) {
const data = dataArr[i];
const itemNode = new cc.Node();
itemNode.data = data
let fontColor = "#ac2430";
console.log('~data: ', data);
const rtNode = this.getRichText(data.text_en, 80, fontColor, fontColor, 0);
// const rtNode = this.getRichText('appleaaaaaaaaaaaaaaaaaaaa', 80, fontColor, fontColor, 3);
// const rtNode = this.getRichText('appleaaaaaaaaaaaaaaaaaaaa', 80, fontColor, lineColor, 3);
rtNode.opacity = 0;
rtNode.parent = this.canvas;
const selectRect = getSprNode("word/selectWord/icon_bg");
itemNode.addChild(selectRect);
const iconRight = getSprNode("word/selectWord/icon_right");
selectRect.addChild(iconRight);
iconRight.x = 12;
iconRight.y = 5;
selectRect.iconRight = iconRight;
const iconW = 30;
selectRect.x = -bgWidth * 0.9 / 2 + iconW / 2;
selectRect.on("touchstart", () => {
if (iconRight.active) {
iconRight.active = false;
} else {
iconRight.active = true;
}
this.saveSelectWordData();
})
const itemLine = getSprNode("word/selectWord/line");
// itemLine.scale = 0.22;
itemNode.addChild(itemLine);
itemLine.anchorY = 1;
itemNode.height = rtNode.height;
// this.this.delayCall(0.1, () => {
itemLine.y = -rtNode.height / 2 - 25;
// itemLine.opacity = 70;
// console.log(" rtNode.height : ", rtNode);
// })
itemNode.iconRect = selectRect;
rtNode.x += iconW / 1.5 + bgWidth*0.05;
const maxW = bgWidth*0.8 - iconW;
console.log('bgWidth: ', bgWidth);
this.delayCall(0.01, () => {
console.log('rtNode.width: ', rtNode.width);
if (rtNode.width > maxW ) {
rtNode.scale = maxW / rtNode.width;
}
rtNode.parent = itemNode;
rtNode.opacity = 255;
})
const rt = rtNode.getComponent(cc.RichText);
rt.font = cc.find('Canvas/res/font/MMTB').getComponent(cc.Label).font;
rtNode.addComponent(cc.Button);
rtNode.on('click', () => {
// this.showWordInfoView(data.wid);
})
itemArr.push(itemNode);
}
this.selectWordItemArr = itemArr;
return itemArr;
},
allSelectBtnClick() {
let activeValue = true;
const isAllSelectEnd = this.checkIsAllSelectEnd()
if (isAllSelectEnd) {
activeValue = false;
}
const arr = this.selectWordItemArr;
arr.forEach(it => {
it.iconRect.iconRight.active = activeValue;
})
this.saveSelectWordData();
},
saveSelectWordData() {
const saveArr = [];
this.selectWordItemArr.forEach(it => {
if (it.iconRect.iconRight.active) {
saveArr.push(it.data);
}
})
const saveData = {rows: saveArr};
this.setSelectWordData(saveData);
},
setSelectWordData(saveData) {
console.log(' in setSelectWordData: ', saveData)
const id = this.curResDataId;
const dataKey = 'select_words_' + id;
cc.sys.localStorage.setItem(dataKey, JSON.stringify(saveData))
},
checkIsAllSelectEnd() {
const arr = this.selectWordItemArr;
const unSelected = arr.find(it => {
return !it.iconRect.iconRight.active
})
return !unSelected
},
initWordView() { initWordView() {
this.wordView = cc.find("Canvas/wordView"); this.wordView = cc.find("Canvas/wordView");
this.viewArr.push(this.wordView); this.viewArr.push(this.wordView);
...@@ -621,7 +771,7 @@ cc.Class({ ...@@ -621,7 +771,7 @@ cc.Class({
this.initWordBg(); this.initWordBg();
// this.initWordSV(); // this.initWordSV();
delayCall(0.01, ()=>{ this.delayCall(0.01, ()=>{
// this.wordView.active = false; // this.wordView.active = false;
// this.wordView.opacity = 255; // this.wordView.opacity = 255;
}) })
...@@ -679,7 +829,7 @@ cc.Class({ ...@@ -679,7 +829,7 @@ cc.Class({
bg2.scale = scaleX; bg2.scale = scaleX;
const bg2Sprite = bg2.getComponent(cc.Sprite); const bg2Sprite = bg2.getComponent(cc.Sprite);
bg2Sprite.type = cc.Sprite.Type.SLICED; bg2Sprite.type = cc.Sprite.Type.SLICED;
delayCall(0.01, () => { this.delayCall(0.01, () => {
const totalH = topH + bg2.height * bg2.scale; const totalH = topH + bg2.height * bg2.scale;
if (totalH < this.canvas.height) { if (totalH < this.canvas.height) {
bg2.height = (this.canvas.height - topH) / bg2.scale; bg2.height = (this.canvas.height - topH) / bg2.scale;
...@@ -738,7 +888,16 @@ cc.Class({ ...@@ -738,7 +888,16 @@ cc.Class({
const middleLayer = cc.find('middleLayer'); const middleLayer = cc.find('middleLayer');
if (middleLayer) { if (middleLayer) {
const rankingType = this.getCurRankingType(); const rankingType = this.getCurRankingType();
const selectedData = this.checkIsSelectWord()
if (selectedData && selectedData.length > 0) {
middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: selectedData, rankingType});
} else {
middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType}); middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
}
// middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
middleLayer.getComponent('middleLayer').showDictationTemplate(); middleLayer.getComponent('middleLayer').showDictationTemplate();
} }
}) })
...@@ -750,66 +909,139 @@ cc.Class({ ...@@ -750,66 +909,139 @@ cc.Class({
}) })
return;
// let wordBg; const selectBtn = getSprNode("word/selectWord/select_btn");
// if (this.isVertical) { selectBtn.parent = title.parent;
// this.setViewBg(this.wordView, 'word_bg'); selectBtn.x = title.x - 545;
// wordBg = getSprNode("word_page"); selectBtn.y = title.y - 222 ;
// } else { selectBtn.scale = 1 / selectBtn.parent.scale;
// this.setViewBg(this.wordView, 'h_word_bg');
// wordBg = getSprNode("h_word_page");
// }
// const offRate = 0.039;
// const maxH = this.canvas.height - this.titleH;
// const maxW = this.canvas.width * (1-offRate);
// setMaxScale(wordBg, maxW, maxH);
// wordBg.anchorY = 1;
// wordBg.anchorX = 0
// wordBg.y = this.canvas.height / 2 - this.titleH;
// wordBg.x = -this.canvas.width / 2 + this.canvas.width * offRate;
// this.wordView.addChild(wordBg);
// const dictationBtn = getSprNode("btn_dictation");
// dictationBtn.scale = this._mapScaleMin;
// dictationBtn.x = -this.canvas.width / 2 + dictationBtn.width / 2 * dictationBtn.scaleX + 10 * this._mapScaleMin;
// dictationBtn.y = -this.canvas.height / 2 / 3 * 2;
// this.wordView.addChild(dictationBtn, 2);
// dictationBtn.addComponent(cc.Button);
// dictationBtn.on("click", () => {
// const middleLayer = cc.find('middleLayer');
// if (middleLayer) {
// const rankingType = this.getCurRankingType();
// middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
// middleLayer.getComponent('middleLayer').showDictationTemplate();
// }
// })
selectBtn.on("touchstart", () => {
console.log(" in selectBtn 111")
showBtnAnima(selectBtn);
// const practiseBtn = getSprNode("btn_practise"); console.log(" in selectBtn 222")
// practiseBtn.scale = this._mapScaleMin;
// practiseBtn.x = -this.canvas.width / 2 + practiseBtn.width / 2 * practiseBtn.scaleX + 10 * this._mapScaleMin; this.showWordSelectView();
// practiseBtn.y = -this.canvas.height / 2 / 3 * 1.5; })
// this.wordView.addChild(practiseBtn, 2);
},
showWordSelectView() {
console.log(" in showWordSelectView 111")
console.log("wordSelectView: " + this.selectWordView);
appearAnim(this.selectWordView, 0.3);
console.log(" in showWordSelectView 222")
},
initSelectWordView(id) {
if (!this.selectWordView) {
this.selectWordView = cc.find("Canvas/wordView/selectWordView");
this.selectWordView.zIndex = 5;
const selectAllBtn = cc.find("panel_top/all_select", this.selectWordView);
selectAllBtn.on("touchstart", () => {
showBtnAnima(selectAllBtn);
this.allSelectBtnClick();
})
const bg = cc.find("bg", this.selectWordView);
bg.on("touchstart", () => {
// this.hideSelectWordView();
console.log('touch start bg')
this.selectWordView.active = false;
})
}
this.initSelectWordSv(id)
},
initSelectWordSv(id) {
console.log(' in initSelectWordSv: ' + id);
this.curResDataId = id;
let resData = this.curResData;
const dataArr = resData.rows;
const svNode = cc.find("word_bg/scrollView", this.selectWordView);
const view = cc.find("view", svNode);
view.width = svNode.width;
view.height = svNode.height;
console.log('in dataArr :', dataArr);
const itemArr = this.getSelectWordItemArr(dataArr, view.width);
console.log('svNode: ', svNode);
console.log('itemArr: ', itemArr);
const sv = svNode.getComponent(cc.ScrollView);
this.initScrollViewItem(sv, itemArr, 1);
// practiseBtn.addComponent(cc.Button);
// practiseBtn.on("click", () => {
// const middleLayer = cc.find('middleLayer');
// if (middleLayer) { let res = this.getSelectWordData(id);
// const rankingType = this.getCurRankingType(); if (res) {
// middleLayer.getComponent('middleLayer').saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType}); this.refreshSelectWord(res);
// middleLayer.getComponent('middleLayer').showPractiseTemplate(); }
// } },
// })
refreshSelectWord(res) {
const resData = JSON.parse(res);
const selectRows = resData.rows;
const arr = this.selectWordItemArr;
for (let i=0; i<arr.length; i++) {
const data = arr[i].data;
const isFind = selectRows.find(it => {
return it.id == data.id;
})
arr[i].iconRect.iconRight.active = isFind;
}
}, },
getSelectWordData(id) {
console.log('in getSelectWordData ' + id);
const dataKey = 'select_words_' + id;
const dataStr = cc.sys.localStorage.getItem(dataKey);
if (dataStr) {
console.log("dataStr: " + dataStr);
return dataStr
}
},
hideSelectWordView() {
disappearAnim(this.selectWordView, 0.2, () => {
this.selectWordView.active = false;
});
},
...@@ -890,7 +1122,13 @@ cc.Class({ ...@@ -890,7 +1122,13 @@ cc.Class({
const script = middleLayer?.getComponent('middleLayer'); const script = middleLayer?.getComponent('middleLayer');
const rankingType = this.getCurRankingType(); const rankingType = this.getCurRankingType();
const selectedData = this.checkIsSelectWord()
if (selectedData && selectedData.length > 0) {
script.saveTempData('hw_dictation_data', {rows: selectedData, rankingType});
} else {
script.saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType}); script.saveTempData('hw_dictation_data', {rows: this.wordDataArr, rankingType});
}
script.showPractiseTemplate(data.name); script.showPractiseTemplate(data.name);
} }
...@@ -903,6 +1141,26 @@ cc.Class({ ...@@ -903,6 +1141,26 @@ cc.Class({
return itemArr; return itemArr;
}, },
checkIsSelectWord() {
const arr = this.selectWordItemArr;
const unselectItem = arr.find(it => {
return !it.iconRect.iconRight.active
})
if (!unselectItem) {
return null;
}
const newRows = [];
arr.forEach(it => {
if (it.iconRect.iconRight.active) {
newRows.push(it.data)
}
})
return newRows;
},
...@@ -930,7 +1188,8 @@ cc.Class({ ...@@ -930,7 +1188,8 @@ cc.Class({
const disH = 200; const disH = 200;
const topH = 46 + disH; const btnH = 30;
const topH = 46 + disH + btnH;
svNode.width = (baseW - leftPart) //* this.menuBg.scale; svNode.width = (baseW - leftPart) //* this.menuBg.scale;
svNode.height = (this.canvas.height - topH * this.menuBg.scale) / this.menuBg.scale; svNode.height = (this.canvas.height - topH * this.menuBg.scale) / this.menuBg.scale;
...@@ -1044,7 +1303,7 @@ cc.Class({ ...@@ -1044,7 +1303,7 @@ cc.Class({
itemNode.anim = anim; itemNode.anim = anim;
delayCall(0.01, () => { this.delayCall(0.01, () => {
const maxW = itemLine.width * 0.8; const maxW = itemLine.width * 0.8;
if (labelNode.width > maxW) { if (labelNode.width > maxW) {
labelNode.scale = maxW / labelNode.width; labelNode.scale = maxW / labelNode.width;
...@@ -1146,7 +1405,7 @@ cc.Class({ ...@@ -1146,7 +1405,7 @@ cc.Class({
this.initMenuBg(); this.initMenuBg();
// this.initMenuSV(); // this.initMenuSV();
delayCall(0.01, () => { this.delayCall(0.01, () => {
// this.menuView.active = false; // this.menuView.active = false;
// this.menuView.opacity = 255; // this.menuView.opacity = 255;
}) })
...@@ -1214,7 +1473,7 @@ cc.Class({ ...@@ -1214,7 +1473,7 @@ cc.Class({
bg2.scale = scaleX; bg2.scale = scaleX;
const bg2Sprite = bg2.getComponent(cc.Sprite); const bg2Sprite = bg2.getComponent(cc.Sprite);
bg2Sprite.type = cc.Sprite.Type.SLICED; bg2Sprite.type = cc.Sprite.Type.SLICED;
delayCall(0.01, () => { this.delayCall(0.01, () => {
const totalH = topH + bg2.height * bg2.scale; const totalH = topH + bg2.height * bg2.scale;
if (totalH < this.canvas.height) { if (totalH < this.canvas.height) {
bg2.height = (this.canvas.height - topH) / bg2.scale; bg2.height = (this.canvas.height - topH) / bg2.scale;
...@@ -1410,7 +1669,7 @@ cc.Class({ ...@@ -1410,7 +1669,7 @@ cc.Class({
if (labelNode.maxW) { if (labelNode.maxW) {
labelNode.opacity = 0; labelNode.opacity = 0;
delayCall(0.01, () => { this.delayCall(0.01, () => {
if (labelNode.width > labelNode.maxW) { if (labelNode.width > labelNode.maxW) {
labelNode.scale = labelNode.maxW / labelNode.width; labelNode.scale = labelNode.maxW / labelNode.width;
} else { } else {
...@@ -1712,7 +1971,7 @@ cc.Class({ ...@@ -1712,7 +1971,7 @@ cc.Class({
// labelBg.scaleX = tempW / labelBg.width; // labelBg.scaleX = tempW / labelBg.width;
// labelBg.scaleY = tempH / labelBg.height; // labelBg.scaleY = tempH / labelBg.height;
delayCall(0.01, () => { this.delayCall(0.01, () => {
// labelBg.scaleX = (labelNode.width + 20) / labelBg.width; // labelBg.scaleX = (labelNode.width + 20) / labelBg.width;
// labelBg.scaleY = (labelNode.height + 20) / labelBg.height; // labelBg.scaleY = (labelNode.height + 20) / labelBg.height;
...@@ -1961,12 +2220,13 @@ cc.Class({ ...@@ -1961,12 +2220,13 @@ cc.Class({
// 找到需要显示页面信息 // 找到需要显示页面信息
const resData = await this.getDataByPid(id) const resData = await this.getDataByPid(id)
this.curResData = resData;
this.hideAllView(); this.hideAllView();
const isWordView = this.checkIsWordView(resData.rows); const isWordView = this.checkIsWordView(resData.rows);
if (isWordView) { if (isWordView) {
// 单词加载单词页面 // 单词加载单词页面
this.showWordView(resData.rows, pName); this.showWordView(resData.rows, pName, id);
} else { } else {
// 菜单加载菜单页面 // 菜单加载菜单页面
this.showMenuView(resData.rows, pName); this.showMenuView(resData.rows, pName);
...@@ -1991,6 +2251,7 @@ cc.Class({ ...@@ -1991,6 +2251,7 @@ cc.Class({
} }
console.log('resData: ', resData); console.log('resData: ', resData);
this.curResData = resData;
// 隐藏所有页面 // 隐藏所有页面
this.hideAllView(); this.hideAllView();
...@@ -2002,7 +2263,7 @@ cc.Class({ ...@@ -2002,7 +2263,7 @@ cc.Class({
// 判断是否是单词菜单 // 判断是否是单词菜单
const isWordView = this.checkIsWordView(resData.rows); const isWordView = this.checkIsWordView(resData.rows);
if (isWordView) { if (isWordView) {
this.showWordView(resData.rows, data.text_en); this.showWordView(resData.rows, data.text_en, data.id);
} else { } else {
this.showMenuView(resData.rows, data.text_en); this.showMenuView(resData.rows, data.text_en);
} }
...@@ -2052,9 +2313,10 @@ cc.Class({ ...@@ -2052,9 +2313,10 @@ cc.Class({
}, },
// 显示单词视图 // 显示单词视图
showWordView(rows, titleName=null) { showWordView(rows, titleName=null, id=null) {
this.initWordSV(rows); this.initWordSV(rows);
this.initSelectWordView(id);
if (titleName) { if (titleName) {
this.wordTitle.str = titleName; this.wordTitle.str = titleName;
...@@ -2550,12 +2812,12 @@ cc.Class({ ...@@ -2550,12 +2812,12 @@ cc.Class({
} }
// else { // else {
// delayCall(0.1, () => { // this.delayCall(0.1, () => {
// checkTime(); // checkTime();
// }) // })
// } // }
delayCall(0.05, () => { this.delayCall(0.05, () => {
checkTime(); checkTime();
}) })
} }
...@@ -3543,7 +3805,7 @@ cc.Class({ ...@@ -3543,7 +3805,7 @@ cc.Class({
delayCall(0.01, () => { this.delayCall(0.01, () => {
const animationNames = animaNodeBase.animationNames; const animationNames = animaNodeBase.animationNames;
dragonDisplay.playAnimation(animationNames[0], 0); dragonDisplay.playAnimation(animationNames[0], 0);
}) })
...@@ -4010,7 +4272,7 @@ cc.Class({ ...@@ -4010,7 +4272,7 @@ cc.Class({
this.isCanDraw = true; this.isCanDraw = true;
delayCall(0.01, () => { this.delayCall(0.01, () => {
this.isCanDraw = false; this.isCanDraw = false;
}) })
...@@ -7693,7 +7955,7 @@ cc.Class({ ...@@ -7693,7 +7955,7 @@ cc.Class({
const arr = this.curOptionArr; const arr = this.curOptionArr;
if (!arr[index]) { if (!arr[index]) {
// delayCall(0.5, () => { // this.delayCall(0.5, () => {
this.changeNextQuestion(); this.changeNextQuestion();
// }) // })
...@@ -7856,7 +8118,7 @@ cc.Class({ ...@@ -7856,7 +8118,7 @@ cc.Class({
}) })
.start(); .start();
} }
delayCall(time, () => { this.delayCall(time, () => {
cb(); cb();
}) })
}, },
...@@ -7872,7 +8134,7 @@ cc.Class({ ...@@ -7872,7 +8134,7 @@ cc.Class({
} }
if (cb) { if (cb) {
delayCall(time, () => { this.delayCall(time, () => {
cb(); cb();
}) })
} }
...@@ -8865,7 +9127,7 @@ cc.Class({ ...@@ -8865,7 +9127,7 @@ cc.Class({
ctxCircle.stroke(); ctxCircle.stroke();
if (a < 255 && !this.isDestroy) { if (a < 255 && !this.isDestroy) {
delayCall(0.02, () => { this.delayCall(0.02, () => {
showColorAnim(); showColorAnim();
}) })
} }
...@@ -9546,6 +9808,16 @@ cc.Class({ ...@@ -9546,6 +9808,16 @@ cc.Class({
} }
}, },
delayCall(time, callback) {
delayCall(time, () => {
if (this.isDestroy) {
return;
}
callback && callback();
})
},
onDestroy() { onDestroy() {
this.isDestroy = true; this.isDestroy = true;
......
...@@ -413,3 +413,27 @@ export function callNetworkApi(uri, data, callBack) { ...@@ -413,3 +413,27 @@ export function callNetworkApi(uri, data, callBack) {
console.log(' url is: ', url); console.log(' url is: ', url);
} }
export function appearAnim(node, time=1, callback=null) {
node.active = true;
node.opacity = 0
cc.tween(node)
.to(time, {opacity: 255}, {easing: "cubicIn"})
.call(() => {
callback && callback();
})
.start();
}
export function disappearAnim(node, time=1, callback=null) {
node.active = true;
node.opacity = 255
cc.tween(node)
.to(time, {opacity: 0}, {easing: "cubicOut"})
.call(() => {
callback && callback();
})
.start();
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d9e5993a-df99-4a38-8cae-cbcfb7605cce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a0fbc5d5-fb53-475a-b0e8-cb6ac8cc7ac7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 139,
"height": 54,
"platformSettings": {},
"subMetas": {
"all_select": {
"ver": "1.0.4",
"uuid": "109428da-e154-4d52-a9d3-a84e6343bb93",
"rawTextureUuid": "a0fbc5d5-fb53-475a-b0e8-cb6ac8cc7ac7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 139,
"height": 54,
"rawWidth": 139,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d6ea1c51-4488-43fb-914f-2c7a70a179d5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 122,
"height": 122,
"platformSettings": {},
"subMetas": {
"close_btn": {
"ver": "1.0.4",
"uuid": "cb1219fe-ab6a-42b2-a74f-28686c0c07bb",
"rawTextureUuid": "d6ea1c51-4488-43fb-914f-2c7a70a179d5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0.5,
"trimX": 9,
"trimY": 8,
"width": 105,
"height": 105,
"rawWidth": 122,
"rawHeight": 122,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d3f2c51a-ad0e-4ed6-ab33-13000fe10872",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 46,
"platformSettings": {},
"subMetas": {
"icon_bg": {
"ver": "1.0.4",
"uuid": "05d3b231-e796-48c3-84e5-7e9abf128f52",
"rawTextureUuid": "d3f2c51a-ad0e-4ed6-ab33-13000fe10872",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 46,
"rawWidth": 50,
"rawHeight": 46,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "977e906d-094a-4f68-b9d9-d654045bdfcf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 70,
"height": 54,
"platformSettings": {},
"subMetas": {
"icon_right": {
"ver": "1.0.4",
"uuid": "df065388-d60a-42ca-a97d-ad2386b259ae",
"rawTextureUuid": "977e906d-094a-4f68-b9d9-d654045bdfcf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 70,
"height": 54,
"rawWidth": 70,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cc871b98-ceaa-4261-a043-9143336c4f2b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 634,
"height": 1,
"platformSettings": {},
"subMetas": {
"line": {
"ver": "1.0.4",
"uuid": "35efa6bf-c71a-434b-9373-3f0b6b1fb073",
"rawTextureUuid": "cc871b98-ceaa-4261-a043-9143336c4f2b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 634,
"height": 1,
"rawWidth": 634,
"rawHeight": 1,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "07d749c3-45ad-49c3-8483-6b9ce8b94993",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 842,
"height": 1022,
"platformSettings": {},
"subMetas": {
"panel_bg": {
"ver": "1.0.4",
"uuid": "090d4a6c-6648-449f-9201-f46eb2d04290",
"rawTextureUuid": "07d749c3-45ad-49c3-8483-6b9ce8b94993",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -3.5,
"trimX": 8,
"trimY": 7,
"width": 826,
"height": 1015,
"rawWidth": 842,
"rawHeight": 1022,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d56af5fe-a6f0-45eb-a3ba-171212a5e195",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 634,
"height": 3,
"platformSettings": {},
"subMetas": {
"panel_line": {
"ver": "1.0.4",
"uuid": "4a23b79e-94f1-4684-9590-30cb1d271816",
"rawTextureUuid": "d56af5fe-a6f0-45eb-a3ba-171212a5e195",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 634,
"height": 3,
"rawWidth": 634,
"rawHeight": 3,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "fc951ac8-c76e-4f4e-9127-b1cb1da4bd38",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 220,
"height": 83,
"platformSettings": {},
"subMetas": {
"select_btn": {
"ver": "1.0.4",
"uuid": "8d6cd049-5e08-463b-8f9f-aa11fb071e45",
"rawTextureUuid": "fc951ac8-c76e-4f4e-9127-b1cb1da4bd38",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 220,
"height": 83,
"rawWidth": 220,
"rawHeight": 83,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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