| | |
| | | }
|
| | |
|
| | | var index = config.TypeId;
|
| | | if (config.ChooseItem1 != null && config.ChooseItem1.Length > 0)
|
| | | if (config.ChooseItem1 != null && childClassifyIndex.x < config.ChooseItem1.Length)
|
| | | {
|
| | | index += childClassifyIndex.x;
|
| | | index += config.ChooseItem1[childClassifyIndex.x];
|
| | | }
|
| | | if (config.ChooseItem2 != null && config.ChooseItem2.Length > 0)
|
| | | if (config.ChooseItem2 != null && childClassifyIndex.y < config.ChooseItem2.Length)
|
| | | {
|
| | | index += childClassifyIndex.y;
|
| | | index += config.ChooseItem2[childClassifyIndex.y];
|
| | | }
|
| | | return index;
|
| | | }
|