|
@@ -50,11 +50,11 @@
|
|
|
|
|
|
<div class="menuListMain" v-for="(item, index) of state.chapterTree" :key="index" >
|
|
|
|
|
|
- <div :class="'menuListpParent ' + ( (index <= state.currentStep) ? 'menuListpParentYes' : '' ) "
|
|
|
+ <div :class="'menuListpParent ' + ( (index < state.currentStep) ? 'menuListpParentYes' : (index == state.currentStep) ? 'menuListpParentSelect' : '' ) "
|
|
|
@click="menuClickNew(item, index)" >
|
|
|
<div class="menuListpParentLeft">
|
|
|
- <!-- <div class="logoTime" ></div> -->
|
|
|
- <div :class="'' + ( (index <= state.currentStep) ? 'logoMenu' : 'logoNo' )" ></div>
|
|
|
+ <div v-if="index == state.currentStep" class="logoTime" ></div>
|
|
|
+ <div v-if="index != state.currentStep" :class="'' + ( (index <= state.currentStep) ? 'logoMenu' : 'logoNo' )" ></div>
|
|
|
</div>
|
|
|
<div class="menuListpParentCenter">{{ item.name }}</div>
|
|
|
<div class="menuListpParentRight" v-if="item.children != null && item.children != undefined && item.children.length > 0" >
|
|
@@ -62,13 +62,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div :class="'menuListpChildren ' + ( (index < state.currentStep || ( index == state.currentStep && index_1 < state.currentNode ) ) ? 'menuListpChildrenYes' : '' ) "
|
|
|
+ <div :class="'menuListpChildren ' + ( (index < state.currentStep || ( index == state.currentStep && index_1 + 1 < state.currentNode ) ) ? 'menuListpChildrenYes' : (index_1 + 1 == state.currentNode) ? 'menuListpChildrenSelect' : '' ) "
|
|
|
@click="menuClickNew(item_1, index, item_1.id)"
|
|
|
v-if="item.children?.length > 0" v-for="(item_1, index_1) of item.children" :key="index_1" >
|
|
|
<div class="menuListpChildrenKong" ></div>
|
|
|
<div class="menuListpChildrenLeft" >
|
|
|
- <!-- <div class="logoTime" ></div> -->
|
|
|
- <div :class="'' + ( (index < state.currentStep || ( index == state.currentStep && index_1 < state.currentNode ) ) ? 'logoMenu' : 'logoNo' )" ></div>
|
|
|
+ <div v-if="(index_1 + 1 == state.currentNode)" class="logoTime" ></div>
|
|
|
+ <div v-if="(index_1 + 1 != state.currentNode)" :class="'' + ( (index < state.currentStep || ( index == state.currentStep && index_1 < state.currentNode ) ) ? 'logoMenu' : 'logoNo' )" ></div>
|
|
|
</div>
|
|
|
<div class="menuListpChildrenRight">
|
|
|
{{ item_1.name }}
|