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