mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-14 21:36:45 +08:00
隐藏
This commit is contained in:
@@ -16,10 +16,10 @@
|
|||||||
<image class="img" src="../../static/images/learnpath/otherpath.png" mode=""></image>
|
<image class="img" src="../../static/images/learnpath/otherpath.png" mode=""></image>
|
||||||
<text class="text">其他路径</text>
|
<text class="text">其他路径</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<!-- <view class="item">
|
||||||
<image class="img" src="../../static/images/learnpath/notpath.png" mode=""></image>
|
<image class="img" src="../../static/images/learnpath/notpath.png" mode=""></image>
|
||||||
<text class="text">其他路径(无权限)</text>
|
<text class="text">其他路径(无权限)</text>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="table">
|
<view class="table">
|
||||||
<view class="table-container">
|
<view class="table-container">
|
||||||
@@ -45,11 +45,11 @@
|
|||||||
src="@/static/images/learnpath/otherpath.png"
|
src="@/static/images/learnpath/otherpath.png"
|
||||||
mode="aspectFit"
|
mode="aspectFit"
|
||||||
/>
|
/>
|
||||||
<image
|
<!-- <image
|
||||||
v-else-if="!(t && t.permission)"
|
v-else-if="!(t && t.permission)"
|
||||||
src="@/static/images/learnpath/notpath.png"
|
src="@/static/images/learnpath/notpath.png"
|
||||||
mode="aspectFit"
|
mode="aspectFit"
|
||||||
/>
|
/> -->
|
||||||
<text v-else></text>
|
<text v-else></text>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -131,6 +131,7 @@
|
|||||||
} else {
|
} else {
|
||||||
this.indexs.push(index);
|
this.indexs.push(index);
|
||||||
}
|
}
|
||||||
|
console.log(this.indexs,'this.indexs')
|
||||||
this.posiData = this.indexs.map(index => this.startList[index]);
|
this.posiData = this.indexs.map(index => this.startList[index]);
|
||||||
},
|
},
|
||||||
downList(){
|
downList(){
|
||||||
@@ -143,6 +144,10 @@
|
|||||||
} else {
|
} else {
|
||||||
this.bandIndexs.push(index);
|
this.bandIndexs.push(index);
|
||||||
}
|
}
|
||||||
|
if(this.bandIndexs.length == 0){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
console.log(this.bandIndexs,'this.bandIndexs')
|
||||||
this.bandItem = this.bandIndexs.map(index => this.bandLists[index])
|
this.bandItem = this.bandIndexs.map(index => this.bandLists[index])
|
||||||
this.bandItem = this.bandItem.sort((a, b) => parseInt(a.bandId, 10) - parseInt(b.bandId, 10));
|
this.bandItem = this.bandItem.sort((a, b) => parseInt(a.bandId, 10) - parseInt(b.bandId, 10));
|
||||||
this.bandFirst = this.bandItem[0].bandCode
|
this.bandFirst = this.bandItem[0].bandCode
|
||||||
|
|||||||
Reference in New Issue
Block a user