mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
提交
This commit is contained in:
@@ -189,15 +189,18 @@
|
||||
url: '/pages/study/studydetail?id='+citem.id+'&type='+citem.type
|
||||
});
|
||||
} else {
|
||||
if (citem.type == 10) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/resource/microDetail?id=' + citem.id
|
||||
});
|
||||
} else if (citem.type == 20) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/resource/courseDetail?id=' +citem.id
|
||||
});
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: '/pages/study/courseStudy?id=' + citem.id
|
||||
});
|
||||
// if (citem.type == 10) {
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/resource/microDetail?id=' + citem.id
|
||||
// });
|
||||
// } else if (citem.type == 20) {
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/resource/courseDetail?id=' +citem.id
|
||||
// });
|
||||
// }
|
||||
}
|
||||
},
|
||||
...mapActions({
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<view class="news-page-list">
|
||||
<view class="list-index" v-for="item in items" :key="item.id" @click="returnRouter(item)">
|
||||
<view style="margin-top: 16upx;margin-right: 20upx;">
|
||||
<radio v-show="flag" @click="changeChecked(item)" :checked="item.checked"/>
|
||||
<radio v-show="flag" @click.stop="changeChecked(item)" :checked="item.checked"/>
|
||||
</view>
|
||||
<view class="list-index-img">
|
||||
<u-badge :isDot="!item.isRead" type="error" :absolute="true" :offset="[0,-2]"></u-badge>
|
||||
|
||||
Reference in New Issue
Block a user