冒泡排序做排行榜

cc.Class({
extends: cc.Component,

properties: {nameArray: {default: [],type: cc.Label},scoreArray: {default: [],type: cc.Label},scoreArrayNum: {default: [],type: cc.Integer},
},// LIFE-CYCLE CALLBACKS:// onLoad () {},start() {for (let i = 0; i < 6; i++) {this.scoreArrayNum[i] = i * 3;}//  let arr = this.bubbleSort(this.scoreArrayNum, this.nameArray);for (let i = 0; i < 6; i++) {this.nameArray[i].string =""+ GlobalDate.date.rankingName[i];this.scoreArray[i].string = ""+ GlobalDate.date.rankingScoreNum[i];//  this.scoreArray[i].string = arr[i];}//   this.scoreArray[i].string = arr[i] = ""+ GlobalDate.date.rankingScoreNum[i];
},// update (dt) {},//冒泡排序
bubbleSort(arr, arrName) {let len = arr.length;for (let i = 0; i < len - 1; i++) {for (let j = 0; j < len - 1 - i; j++) {if (arr[j] < arr[j + 1]) {        //相邻元素两两对比let temp = arr[j + 1];        //元素交换arr[j + 1] = arr[j];arr[j] = temp;let _name = arrName[j + 1];arrName[j + 1] = arrName[j];arrName[j] = _name;}}}return arr;
},btnCallBack(){this.node.active = false;
},

});

动态获取提示(Load实例化预制体)

showToast(text){
console.log("[sdk]showToast", text)
if(this.v_vivo != this.NONE){
window[“qg”] && qg.showToast({ message: text })
}
else{
cc.loader.loadRes(“prefab/toast”, (err, prefab) => {
if (!err) {
let node = cc.instantiate(prefab);
node.getComponent(cc.Component).setMessage(text);
cc.director.getScene().children[0].addChild(node);
}
});
}
},
this.showToast(“暂无视频!!!”);
showToast(text){
cc.loader.loadRes(“prefabs/toast”, (err, prefab) => {
if (!err) {
let node = cc.instantiate(prefab);
node.getComponent(“setMessage”).setMessage(text);
cc.director.getScene().children[0].parent.addChild(node);
// console.log(“父物体”,cc.director.getScene().children[0].parent.name);
// console.log(“子物体”,cc.director.getScene().children[0].name);

            }});
}

在预制体脚本里面写上
TextLabel: {
default: null,
type: cc.Label,
},
setMessage(text){
this.TextLabel.string = text;
console.log("挑战 this.TextLabel.string = ",this.TextLabel.string);
this.scheduleOnce(()=>{
this.node.removeFromParent();
this.node.destroy();
},1);

}

.json可以理解为cc.Enum枚举类型的对象升级模式

// ******** 动态加载并使用 .json文件中的对象 **********************//

游戏 《口袋之旅程》

cc.loader.loadRes(‘mapNpc’, function (err, object) {
if (err) {
console.log(“mapNpc…err:”, err);
return;
}
else {
let fruit = object.json.npc1;
global.jesonNpc = fruit;
}
});
cc.loader.loadRes(‘mapLevel’, function (err, object) {
if (err) {
console.log(“mapLevel…err”, err);
return;
}
else {
let fruit = object.json.npc1;
global.jesonLevel = fruit;

        }});

if (this.mapState == 0)
npcJeson = global.jesonNpc;
else
npcJeson = global.jesonNpc_2;

    for (let i = 0; i < npcJeson.length; i++)//生成NPC{let type = npcJeson[i].type;let x = npcJeson[i].x;let y = npcJeson[i].y;let scale = npcJeson[i].scale;let moveLength = npcJeson[i].moveLength;let v = npcJeson[i].v;// if (y > createTimes && y < createTimes + 20)if (this.repeatTimes > 0) {if (y + this.repeatTimes * 2000 == createTimes)this.createNpc(type, x, y + this.repeatTimes * 2000, scale, moveLength, v);}else {if (y == createTimes)this.createNpc(type, x, y + this.repeatTimes * 2000, scale, moveLength, v);}}

//*************************** TypeScript枚举 ********************************//

export enum LayerOrder {
Normal = 1,
Model = 2,
Tip = 4,
Guide = 8,
Debug = 16,
System = 32,
Scene = 64,
};
// Tip设置为1是与编辑器中的group 1对应的。
export enum LayerGroupType {
Default = 0,
Scene = 0,
Normal = 0,
Model = 0,
Tip = 1,
Guide = 0,
Debug = 0,
System = 0,
}
export enum ScrollViewEvent {
DEFAULT = 0,
TO_TOP_LEFT,
TO_BOTTOM_RIGHT,
SCROLLING,
SCROLL_START,
SCROLL_END,
BOUNCE_TOP_LEFT,
BOUNCE_BOTTOM_RIGHT,
}

//*************************** 模块化javaScript枚举 ********************************//

module.exports = {

TouchType : cc.Enum({DEFAULT: 0,FOLLOW: 1,
}),DirectionType : cc.Enum({FOUR: 4,EIGHT: 8,ALL: 0,
}),

};

//**********************制作签到 **********************************//

在另一个 cocosCreator的常用API与方法 文章中

二维动画
DragonBones 简称DB 优化好,效率高 DragonBones 龙形骨骼

Spine要好, 功能也跟强大一些 Spine Skeleton 脊椎骨骼
getAttachment (获取依赖项 )通过 (slot插槽位置 )和 (attachment附件依赖项) 的名称获取 attachment

// ********************* cc.sys.localStorage **********************//

取值的时候 加入 if(userdate != “” &&userdate != null && userdate != undefined)的判断很重要

jiazaiDate() {if (cc.sys.localStorage.getItem("havedate") == null) {cc.sys.localStorage.setItem('havedate', 1);var _date = JSON.stringify(cc.GlobalDate.date);cc.sys.localStorage.setItem('date', _date)console.log("userdate第一次",_date);} else {~~var userdate = cc.sys.localStorage.getItem('date');~~ console.log("userdate第n次"+userdate);    ~~if(userdate  != "" &&userdate != null && userdate != undefined){~~ cc.GlobalDate.date = JSON.parse(userdate);}        }cc.director.loadScene("FirstScene");
},

//取出的时候用JSON.parse转换后再使用

var _date = JSON.stringify(cc.GlobalDate.date);
cc.sys.localStorage.setItem(“date”, _date)
//存储的时候用JSON.stringify转换后再存储

一般先游戏中 可以用 if (cc.sys.localStorage.getItem(“havedate”) == null) {
cc.sys.localStorage.setItem(‘havedate’, 1);判断是不是第一次使用

白子昌指点

if(userdate != “” &&userdate != null && userdate != undefined){ cc.GlobalDate.date = JSON.parse(userdate); }

//***************** 数据 获取数组春存储的对象 *********//

// 在脚本里面 当做一个数据脚本处理

const QuestionsData = require(‘QuestionsData’).questions
var _phase = 0;
var _level = level;
for (let i = 0; i < QuestionsData.length; i++) {
this.log(‘setInfo =’+i+’ ’ +_level+’ '+QuestionsData[i].data.length);
if(_level > QuestionsData[i].data.length){
_phase = i + 1;
_level = _level - QuestionsData[i].data.length;
}
else{
break;
}
}
if (_phase >= QuestionsData.length) {
_phase = 0;
_level = 1;
}
var _info = QuestionsData[_phase];

init (info) {
this.v_info = info
this.log(’[init]info.text=’+info.text+" "+info.type);

    this.spaceItems = new Array();for(var i = 0; i < this.items.length; i++){this.items[i].stopAllActions();this.items[i].rotation = 0;this.items[i].active = false;this.items[i].getComponent('QuestionItem').label.node.color = new cc.Color(21, 2, 245);}this.answerArray = new Array();for (let i = 0; i < info.answer.length; i++) {this.answerArray.push(info.answer[i]);}var textArray = info.text.split('|');var _colCnt = 4;if(info.type == 2){var start = 0;if(textArray.length == 2){start = 1;}this.log('[init]start='+start+" "+textArray.length);for (let i = 0; i < textArray.length; i++) {var _text = textArray[i];this.log('[init]\t'+_text.length);for (let j = 0; j < _text.length; j++) {var _index = (i+start) * _colCnt + j;var _item = _text.charAt(j);this.log('[init]\t\t'+_index+" "+_item);this.items[_index].active = true;if (info.answer.indexOf(_item) >= 0 ) {this.items[_index].getComponent('QuestionItem').label.string = '';this.spaceItems.push(this.items[_index])}else{this.items[_index].getComponent('QuestionItem').label.string = _item;}}                }}else{// 计算行for (let i = 0; i < info.rowCnt; i++) {if (info.answer.indexOf(textArray[1].charAt(i)) >= 0) {this.row = i;break;}}// 计算列for (let i = 0; i < _colCnt; i++) {if (info.answer.indexOf(textArray[0].charAt(i)) >= 0 ) {this.col = i;break;}}// 设置行内容for (let i = 0; i < _colCnt; i++) {var _index = this.row * _colCnt + i;var _text = textArray[0].charAt(i);this.items[_index].active = true;if (info.answer.indexOf(_text) >= 0 ) {this.items[_index].getComponent('QuestionItem').label.string = '';this.spaceItems.push(this.items[_index])}else{this.items[_index].getComponent('QuestionItem').label.string = _text;}}//设置列内容for (let i = 0; i < info.rowCnt; i++) {var _index = this.col + i * _colCnt;var _text = textArray[1].charAt(i);this.items[_index].active = true;if (info.answer.indexOf(_text) >= 0 ) {this.items[_index].getComponent('QuestionItem').label.string = '';if(i != this.row){this.spaceItems.push(this.items[_index])}}else{this.items[_index].getComponent('QuestionItem').label.string = _text;}}}var _anim = this.getComponent(cc.Animation);_anim.on('finished',  this.reset,    this);_anim.play('question');
},

//实例项目 3_2.1.2_疯狂填坑
const questions = [
{
name: ‘幼儿园’,
data: [
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春风送暖|雪中送炭’, answer: ‘送’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘显而易见|学而不厌’, answer: ‘而’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘独树一帜|枯树开花’, answer: ‘树’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心花怒放|怒不可遏’, answer: ‘怒’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘贪生怕死|拈轻怕重’, answer: ‘怕’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心旷神怡|怡然自得’, answer: ‘怡’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心急如焚|水流湍急’, answer: ‘急’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘鹅,鹅,|鹅|曲项向天|歌’, answer: ‘歌’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘好学不倦|孜孜不倦’, answer: ‘倦’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘奇形怪状|大惊小怪’, answer: ‘怪’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘面红耳赤|洗耳恭听’, answer: ‘耳’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘不耻下问|恬不知耻’, answer: ‘耻’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘血雨腥风|血流成河’, answer: ‘血’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘虚情假意|狐假虎威’, answer: ‘假’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘遍地开花|漫山遍野’, answer: ‘遍’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘白毛浮绿|水|红掌拨清|波’, answer: ‘拨’ },
],
},
{
name: ‘小学’,
data: [
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘志同道合|微不足道’, answer: ‘道’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘取长补短|亡羊补牢’, answer: ‘补’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘一表人才|表里如一’, answer: ‘表’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘耳聪目明|冰雪聪明’, answer: ‘聪’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘火烧眉毛|刀山火海’, answer: ‘火’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘精卫填海|悲愤填膺’, answer: ‘填’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘自强不息|川流不息’, answer: ‘息’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘老鼠过街|人人喊打’, answer: ‘喊’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘灯红酒绿|张灯结彩’, answer: ‘灯’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘灰心丧气|心灰意冷’, answer: ‘灰’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘风调雨顺|百依百顺’, answer: ‘顺’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘奋不顾身|无所顾忌’, answer: ‘顾’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心惊肉跳|弱肉强食’, answer: ‘肉’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘炎黄子孙|炎阳似火’, answer: ‘炎’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘喜笑颜开|厚颜无耻’, answer: ‘颜’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘床前明月|光|疑是地上|霜’, answer: ‘疑’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘挑肥拣瘦|绿肥红瘦’, answer: ‘肥’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘口若悬河|悬崖峭壁’, answer: ‘悬’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘居功自傲|恃才傲物’, answer: ‘傲’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘乐极生悲|悲愤填膺’, answer: ‘悲’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘虚情假意|情同手足’, answer: ‘情’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘赤胆忠心|肝胆相照’, answer: ‘胆’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘兴高采烈|烈日当空’, answer: ‘烈’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘三天打鱼|两天晒网’, answer: ‘晒’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘惊慌失措|大惊失色’, answer: ‘惊’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘虎背熊腰|汗流浃背’, answer: ‘背’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春风送暖|春风化雨’, answer: ‘风’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘风雨飘摇|万里雪飘’, answer: ‘飘’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘美不胜收|举不胜举’, answer: ‘胜’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘笨鸟先飞|眉飞色舞’, answer: ‘飞’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘废寝忘食|弱肉强食’, answer: ‘食’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘举头望明|月|低头思故|乡’, answer: ‘思’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘过眼烟云|烟消云散’, answer: ‘烟’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘火烧眉毛|怒火中烧’, answer: ‘烧’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘热火朝天|水深火热’, answer: ‘热’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘豪言壮语|壮志凌云’, answer: ‘壮’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘绘声绘色|人声鼎沸’, answer: ‘声’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘愁眉苦脸|愁眉不展’, answer: ‘愁’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘万物复苏|草木复苏’, answer: ‘复’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘不怕一万|就怕万一’, answer: ‘就’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心猿意马|心慌意乱’, answer: ‘意’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘夏山如碧|夏树苍翠’, answer: ‘夏’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘精神焕发|容光焕发’, answer: ‘焕’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘九霄云外|古今中外’, answer: ‘外’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘积少成多|卓约多姿’, answer: ‘多’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘大智若愚|愚公移山’, answer: ‘愚’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘感激涕零|感恩戴德’, answer: ‘感’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘离离原上|草|一岁一枯|荣’, answer: ‘枯’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘落落大方|大惊失色’, answer: ‘大’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘欢天喜地|顶天立地’, answer: ‘天’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘惊慌失措|大惊失色’, answer: ‘失’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘垂头丧气|蓬头垢面’, answer: ‘头’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘悠然自得|春意盎然’, answer: ‘然’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘愁眉苦脸|嬉皮笑脸’, answer: ‘脸’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘争分夺秒|光彩夺目’, answer: ‘夺’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘饭来张口|衣来伸手’, answer: ‘伸’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘奇花异草|无奇不有’, answer: ‘奇’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘先入为主|笨鸟先飞’, answer: ‘先’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘光明磊落|容光焕发’, answer: ‘光’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘腊尽春回|寒冬腊月’, answer: ‘腊’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘奋不顾身|发奋图强’, answer: ‘奋’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘惊慌失措|心慌意乱’, answer: ‘慌’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘灯红酒绿|花天酒地’, answer: ‘酒’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘野火烧不|尽|春风吹又|生’, answer: ‘吹’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘精神焕发|龙马精神’, answer: ‘神’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘先入为主|引人入胜’, answer: ‘入’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘如饥似渴|画饼充饥’, answer: ‘饥’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘全力以赴|全神贯注’, answer: ‘全’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘五花八门|七上八下’, answer: ‘八’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘克己奉公|叶公好龙’, answer: ‘公’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘五颜六色|三头六臂’, answer: ‘六’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘一日不见|如隔三秋’, answer: ‘隔’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘荣辱与共|同甘共苦’, answer: ‘共’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘兴高采烈|兴致勃勃’, answer: ‘兴’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘坐享其成|夸夸其谈’, answer: ‘其’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘口蜜腹剑|推心置腹’, answer: ‘腹’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘游手好闲|好学不倦’, answer: ‘好’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘弱不禁风|情不自禁’, answer: ‘禁’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘如坐针毡|心急如焚’, answer: ‘如’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘远芳侵古|道|晴翠接荒|城’, answer: ‘荒’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘万物苏醒|大地苏醒’, answer: ‘醒’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘国色天香|鸟语花香’, answer: ‘香’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘灵丹妙药|妙笔生花’, answer: ‘妙’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘冬去春来|秋收冬藏’, answer: ‘冬’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘冰清玉洁|滴水成冰’, answer: ‘冰’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心灰意冷|冷暖自知’, answer: ‘冷’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘天寒地冻|冰冻三尺’, answer: ‘冻’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘君子一言|驷马难追’, answer: ‘驷’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘禾苗干枯|禾苗枯槁’, answer: ‘禾’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘眉清目秀|山明水秀’, answer: ‘秀’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘显而易见|见利忘义’, answer: ‘见’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘洋洋大观|坐井观天’, answer: ‘观’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘兴高采烈|没精打采’, answer: ‘采’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春花秋月|秋高气爽’, answer: ‘秋’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘表里如一|一泻千里’, answer: ‘里’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘又送王孙|去|萋萋满别|情’, answer: ‘满’ },
],
},
{
name: ‘初中’,
data: [
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘拈轻怕重|语重心长’, answer: ‘重’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘孤云野鹤|漫山遍野’, answer: ‘野’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘勾心斗角|拐弯抹角’, answer: ‘角’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春燕回巢|燕语莺啼’, answer: ‘燕’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘凛若秋霜|朔风凛冽’, answer: ‘凛’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘寥寥无几|窗明几净’, answer: ‘几’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘不求甚解|一知半解’, answer: ‘解’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘有福同享|有难同当’, answer: ‘福难’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘不由自主|悠然自得’, answer: ‘自’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘日积月累|积少成多’, answer: ‘积’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘如获至宝|纷至沓来’, answer: ‘至’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘出水芙蓉|层出不穷’, answer: ‘出’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘愚公移山|移花接木’, answer: ‘移’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心如刀割|拔刀相助’, answer: ‘刀’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘豪言壮语|花言巧语’, answer: ‘言’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘煮豆燃豆|萁|豆在釜中|泣’, answer: ‘燃釜’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘威武不屈|威风凛凛’, answer: ‘威’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘争分夺秒|四分五裂’, answer: ‘分’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘目空一切|切肤之痛’, answer: ‘切’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘舍己为人|舍生忘死’, answer: ‘舍’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘坐享其成|积少成多’, answer: ‘成’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘唯我独尊|自我陶醉’, answer: ‘我’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘闻鸡起舞|眉飞色舞’, answer: ‘舞’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘不入虎穴|焉得虎子’, answer: ‘入焉’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘风雨同舟|刻舟求剑’, answer: ‘舟’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘见利忘义|利析秋毫’, answer: ‘利’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘张牙舞爪|一鳞半爪’, answer: ‘爪’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘别有天地|别有洞天’, answer: ‘别’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘马到成功|先来后到’, answer: ‘到’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘感恩戴德|披红戴花’, answer: ‘戴’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘答非所问|忘乎所以’, answer: ‘所’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘本是同根|生|相煎何太|急’, answer: ‘相煎’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘游手好闲|手舞足蹈’, answer: ‘手’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘一表人才|真才实学’, answer: ‘才’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘空前绝后|前所未闻’, answer: ‘前’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘口蜜腹剑|刻舟求剑’, answer: ‘剑’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘九牛一毛|多如牛毛’, answer: ‘牛’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘亡羊补牢|画地为牢’, answer: ‘牢’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘恃才傲物|万物复苏’, answer: ‘物’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘机不可失|时不再来’, answer: ‘机时’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘龙马精神|心猿意马’, answer: ‘马’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘大惊失色|眉飞色舞’, answer: ‘色’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘穷凶极恶|山穷水尽’, answer: ‘穷’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘目空一切|空前绝后’, answer: ‘空’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春寒时节|四时八节’, answer: ‘节’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘不骄不躁|戒骄戒躁’, answer: ‘骄’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘誓死不二|海誓山盟’, answer: ‘誓’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘好雨知时|节|当春乃发|生’, answer: ‘知乃’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘有气无力|全力以赴’, answer: ‘力’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘居功自傲|马到成功’, answer: ‘功’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘风雨交加|风雪交加’, answer: ‘加’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘瘦骨嶙峋|哀毁骨立’, answer: ‘骨’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘娓娓动听|地动山摇’, answer: ‘动’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘拔刀相助|拔苗助长’, answer: ‘助’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春暖花开|五花八门’, answer: ‘花’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘江山易改|本性难移’, answer: ‘易难’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘狂风暴雨|欣喜若狂’, answer: ‘狂’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘顶天立地|三足鼎立’, answer: ‘立’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘万物复苏|万物苏醒’, answer: ‘苏’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘拔刀相助|拔苗助长’, answer: ‘拔’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘拔苗助长|禾苗干枯’, answer: ‘苗’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘兴高采烈|自高自大’, answer: ‘高’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘勤学苦练|勤学好问’, answer: ‘勤’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘随风潜入|夜|润物细无|声’, answer: ‘潜细’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘呆若木鸡|大智若愚’, answer: ‘若’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘勤学苦练|愁眉苦脸’, answer: ‘苦’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘唯我独尊|独具匠心’, answer: ‘独’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘持之以恒|坚持不懈’, answer: ‘持’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘包罗万象|无所不包’, answer: ‘包’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘十指连心|屈指可数’, answer: ‘指’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘喜笑颜开|嬉皮笑脸’, answer: ‘笑’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘人非圣贤|孰能无过’, answer: ‘贤孰’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘挑肥拣瘦|百里挑一’, answer: ‘挑’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春风化雨|千变万化’, answer: ‘化’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘南来北往|大雁北归’, answer: ‘北’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘不屈不挠|百折不挠’, answer: ‘挠’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘欢天喜地|人欢马叫’, answer: ‘欢’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘欢欣鼓舞|欣喜若狂’, answer: ‘欣’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘挥汗如雨|挥汗成雨’, answer: ‘挥’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘野径云俱|黑|江船火独|明’, answer: ‘独明’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘翠色欲流|震耳欲聋’, answer: ‘欲’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘十指连心|五光十色’, answer: ‘十’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘黯然销魂|神魂颠倒’, answer: ‘魂’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘千军万马|万紫千红’, answer: ‘千’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘奇花异草|草长莺飞’, answer: ‘草’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘一知半解|一鳞半爪’, answer: ‘半’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘四面楚歌|莺歌燕舞’, answer: ‘歌’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘滴水之恩|涌泉相报’, answer: ‘恩涌’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘雍容华贵|华屋秋墟’, answer: ‘华’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘炎黄子孙|花花公子’, answer: ‘子’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘答非所问|对答如流’, answer: ‘答’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘卖国求荣|荣辱与共’, answer: ‘荣’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘孤芳自赏|孤云野鹤’, answer: ‘孤’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘勤学苦练|学无止境’, answer: ‘学’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘誓死不二|舍生忘死’, answer: ‘死’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘晓看红湿|处|花重锦官|城’, answer: ‘湿锦’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘局促不安|忐忑不安’, answer: ‘安’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘冰清玉洁|美如冠玉’, answer: ‘玉’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘风卷残云|残冬腊月’, answer: ‘残’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘一言为定|心神不定’, answer: ‘定’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘真才实学|春花秋实’, answer: ‘实’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘斤斤计较|不计其数’, answer: ‘计’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘接踵而至|目不暇接’, answer: ‘接’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘聪明一世|糊涂一时’, answer: ‘糊涂’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘推心置腹|推陈出新’, answer: ‘推’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘雍容华贵|容光焕发’, answer: ‘容’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘草长莺飞|莺舞蝶飞’, answer: ‘莺’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘冬去春来|春去秋来’, answer: ‘去’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘亲密无间|彤云密布’, answer: ‘密’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘丰富多彩|富于春秋’, answer: ‘富’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘精神焕发|发奋图强’, answer: ‘发’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘千里莺啼|绿映红|水村山郭|酒旗风 |’, answer: ‘莺映’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘春寒料峭|寒流满面’, answer: ‘寒’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘风云变幻|千变万化’, answer: ‘变’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘火烧眉毛|凤毛麟角’, answer: ‘毛’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘二话不说|实话实说’, answer: ‘话’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘洞察秋毫|明察秋毫’, answer: ‘察’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘口蜜腹剑|口若悬河’, answer: ‘口’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘千古绝唱|古今中外’, answer: ‘古’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘好借好还|再借不难’, answer: ‘不难’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘一丝一毫|洞察秋毫’, answer: ‘毫’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘豪言壮语|花言巧语’, answer: ‘语’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘乐不可支|和蔼可亲’, answer: ‘可’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘自圆其说|二话不说’, answer: ‘说’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘叶公好龙|枝叶纷飞’, answer: ‘叶’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘得寸进尺|方寸大乱’, answer: ‘寸’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘对答如流|对牛弹琴’, answer: ‘对’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘南朝四百|八十寺|多少楼台|烟雨中’, answer: ‘楼烟’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘千里冰封|冰封雪盖’, answer: ‘封’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘油腔滑调|风调雨顺’, answer: ‘调’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘伤天害理|慢条斯理’, answer: ‘理’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘谈笑风生|高谈阔论’, answer: ‘谈’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘妄自尊大|唯我独尊’, answer: ‘尊’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘情同手足|志同道合’, answer: ‘同’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘百草萌动|万物萌生’, answer: ‘萌’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘大路朝天|各走半边’, answer: ‘走半’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘空前绝后|先人后己’, answer: ‘后’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘气宇轩昂|垂头丧气’, answer: ‘气’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘洗耳恭听|娓娓动听’, answer: ‘听’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘出水芙蓉|行云流水’, answer: ‘水’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘得寸进尺|尺有所短’, answer: ‘尺’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘光明磊落|沉鱼落雁’, answer: ‘落’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘山穷水尽|无穷无尽’, answer: ‘尽’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘清明时节|雨纷纷|路上行人|欲断魂’, answer: ‘雨魂’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘卖国求荣|不求甚解’, answer: ‘求’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘居功自傲|安居乐业’, answer: ‘居’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘风雨飘摇|地动山摇’, answer: ‘摇’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘坚强不屈|不屈不挠’, answer: ‘屈’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘花枝招展|愁眉不展’, answer: ‘展’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘汗流浃背|汗如雨下’, answer: ‘汗’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘包罗万象|万象更新’, answer: ‘象’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘王婆卖瓜|自卖自夸’, answer: ‘婆夸’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘海誓山盟|崇山峻岭’, answer: ‘山’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘自命不凡|安身立命’, answer: ‘命’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘百岁千秋|岁暮天寒’, answer: ‘岁’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘沉鱼落雁|浮瓜沉李’, answer: ‘沉’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘和蔼可亲|和风细雨’, answer: ‘和’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘其貌不扬|花容月貌’, answer: ‘貌’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘没精打采|没齿难忘’, answer: ‘没’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘借问酒家|何处有|牧童遥指|杏花村’, answer: ‘杏花’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘口若悬河|还我河山’, answer: ‘河’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘暑气熏蒸|暑气蒸人’, answer: ‘蒸’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘精神焕发|龙马精神’, answer: ‘精’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘瓜田李下|浮瓜沉李’, answer: ‘瓜’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘波澜壮阔|波涛汹涌’, answer: ‘波’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘全神贯注|汗流如注’, answer: ‘注’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘蓬头垢面|万物蓬发’, answer: ‘蓬’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘放虎归山|必有后患’, answer: ‘虎患’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘悬崖峭壁|春寒料峭’, answer: ‘峭’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘不甘示弱|同甘共苦’, answer: ‘甘’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘别有洞天|洞察秋毫’, answer: ‘洞’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘生龙活虎|舍生忘死’, answer: ‘生’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘锦上添花|花团锦簇’, answer: ‘锦’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘万紫千红|姹紫嫣红’, answer: ‘紫’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘日积月累|长年累月’, answer: ‘累’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘远上寒山|石径斜|白云深处|有人家’, answer: ‘寒斜’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘不由自主|自由自在’, answer: ‘由’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘雍容华贵|洛阳纸贵’, answer: ‘贵’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘美不胜收|秋收冬藏’, answer: ‘收’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘江山如画|画蛇添足’, answer: ‘画’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心花怒放|百花齐放’, answer: ‘放’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘对答如流|行云流水’, answer: ‘流’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘故弄玄虚|非亲非故’, answer: ‘故’ },
{ type: 2, rowCnt: 2, wordRow: 4, wordCol: 2, text: ‘大难不死|必有后福’, answer: ‘难福’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘面红耳赤|赤胆忠心’, answer: ‘赤’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘浮云蔽日|浮瓜沉李’, answer: ‘浮’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘屈指可数|不计其数’, answer: ‘数’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘闻鸡起舞|风起云涌’, answer: ‘起’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘情深似海|海誓山盟’, answer: ‘海’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘取长补短|草长莺飞’, answer: ‘长’ },
{ type: 1, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘心慈面善|多多益善’, answer: ‘善’ },
{ type: 2, rowCnt: 4, wordRow: 4, wordCol: 2, text: ‘停车坐爱|枫林晚|霜叶红于|二月花’, answer: ‘坐霜’ },
],
},
];
module.exports = {
questions: questions
};

Creator动态获取,数据文,JSON并使用,枚举Enum,cc.sys.localStorage获取音效的判断 ,冒泡排序做排行榜 ,动态获取提示(cc.loader.loadRes),制作签到相关推荐

  1. JMeter从HTTP接口返回的参数中获取数据 - 使用Json提取器

    Http接口返回的数据,一般都是json格式的,如果需要提取出其中的某个数据,作为后续其他接口的入参,那么可以使用json提取器. 一.从接口中提取一个数据 以登录接口为例,当登录成功后接口会返回一个 ...

  2. JSON||获取数据||json数据语法

    1. 概念: JavaScript Object Notation        JavaScript对象表示法 Person p = new Person();     p.setName(&quo ...

  3. ajax前台获取json,ajax与json 获取数据并在前台使用简单实例

    ajax与json 获取数据并在前台使用简单实例 发布于 2017-05-18 14:05:38 | 63 次阅读 | 评论: 0 | 来源: 网友投递 AjaxAJAX即"Asynchro ...

  4. Hadoop生态圈 大数据文档

    文档基于介绍基于Hadoop的大数据生态圈.介绍下图每一个组件的使用场景及使用方法,同时还对每一个组件有更深入的介绍. 1.Hadoop 1.1 Hadoop简介 2005年,Doug Cutting ...

  5. python flask restful api_python之restful api(flask)获取数据

    需要用到谷歌浏览器的扩展程序 Advanced Rest Client进行模拟请求 1.直接上代码 from flask import Flask from flask import request ...

  6. 在React中获取数据

    React初学者经常从不需要获取数据的应用开始.他们经常面临一个计数器,任务列表获取井字棋游戏应用.这是很好的,因为在开始学习React的时候,数据获取在你的应用中添加了另一层复杂度. 然而,有些时候 ...

  7. 请求头没有origin参数_在尝试从REST API获取数据时,请求的资源上没有“Access-Control-Allow-Origin”标头...

    在尝试从REST API获取数据时,请求的资源上没有"Access-Control-Allow-Origin"标头 我试图从HP Alm的REST API中获取一些数据. 它用一个 ...

  8. vue09动态树+数据表格+分页模糊查

    14天阅读挑战赛 努力是为了不平庸~ 目录 1. 准备工作 2. 动态树 2.1 在配置请求路径 2.2 使用动态数据构建导航菜单 2.2.1 通过接口获取数据 2.2.3 通过后台获取的数据构建菜单 ...

  9. usestate中的回调函数_React 中获取数据的 3 种方法:哪种最好?

    译文 | https://cloud.tencent.com/developer/article/1535913 原文 | https://dmitripavlutin.com/ 在执行 I/O 操作 ...

  10. mysql注入 xfkxfk_WSS最新版多处SQL注入直接获取数据三(官方demo演示及快速定位漏洞技巧)...

    ### 简要描述: WSS最新版多处SQL注入直接获取数据三,官方demo演示,这里存在多处,对同一问题进行总结 ### 详细说明: WSS最新版1.3.2,这里存在多处,并对此同一问题进行总结,以及 ...

最新文章

  1. 如何允许计算机远程桌面连接,远程桌面 - 允许访问你的电脑
  2. 进程内COM与进程外COM
  3. SQL语言之数据定义语言(Oracle)
  4. Word2013中怎样设置同一文档内粘贴选项
  5. 起点linux和深度linux哪个好,我想深入学习linux计算机,但不知道选择哪个版本好?...
  6. php定位和天气,基于thinkphp实现依据用户ip判断地理位置并提供对应天气信息的应用...
  7. .NET的轻量级IOC框架芮双随笔
  8. 一款不错的开源 Laravel 后台面板/CMS系统 —— LaraAdmin
  9. 浙江大学PTA 数据结构 习题2.2 数组循环左移 (20 分)
  10. MyEclipse IDE中的代码追踪功能
  11. 机器视觉光源亮度应如何选择
  12. 在线编程网站收集-备用
  13. Elasticsearch5.x 升级
  14. srs推flv流_SRS流媒体服务器之HLS源码分析(3)
  15. Linux:20个linux常用命令
  16. 文华财经彩波均线主图指标公式(指标公式源码)破解加密
  17. curl 断点下载 wget下载
  18. 教务系统漏洞再生南工大FaceMash
  19. THUSC2018滚粗记
  20. 区块链是什么通俗解释_区块链是什么?如何用一句话通俗解释区块链

热门文章

  1. Linux增加一块scsi硬盘,Linux下添加第二块scsi硬盘
  2. SCSI硬盘数据如何用EasyRecovery恢复
  3. 如何消除Permission is only granted to system apps报错
  4. 自然语言处理系列五》新词发现与短语提取》短语提取
  5. Riverbed’s Modeler Academic
  6. C语言中的文件操作(二)
  7. prisma使用mongodb副本集群报错引发的一些列问题
  8. 显示隐藏文件夹,Mac显示.m2文件夹
  9. 编译WRF及第一次运行记录
  10. @Value 注解用法