mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
课程笔记
This commit is contained in:
@@ -110,14 +110,15 @@
|
||||
<div @click="coutab" :class="courestab == true? 'coureactive' : ''">课程评论<span class=""></span> </div>
|
||||
<div @click="coutab" :class="courestab == false? 'coureactive' : ''">课程笔记<span class=""></span> </div>
|
||||
</div>
|
||||
<div v-if="courestab" class="coures-comments" style="margin-left:17px">
|
||||
<div v-show="courestab" class="coures-comments" style="margin-left:17px">
|
||||
<comments v-if="courseInfo.id && courseInfo.id != ''" :obj-type="1" :obj-id="courseInfo.id" :toUsers="toUsers"></comments>
|
||||
</div>
|
||||
<div v-else class="coures-note">
|
||||
<div class="note-tole">33条笔记</div>
|
||||
<div v-show="!courestab" class="coures-note">
|
||||
<note-comments v-if="courseInfo.id && courseInfo.id != ''" :obj-type="1" :obj-id="courseInfo.id"></note-comments>
|
||||
<!-- <div class="note-tole">33条笔记</div>
|
||||
<div class="note-info">
|
||||
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -190,6 +191,7 @@
|
||||
import { mapGetters } from 'vuex';
|
||||
import portalHeader from "@/components/PortalHeader.vue";
|
||||
import comments from "@/components/Portal/comments.vue";
|
||||
import noteComments from "@/components/Portal/noteComment.vue";
|
||||
import interactBar from "@/components/Portal/interactBar.vue";
|
||||
import audioPlayer from '@/components/AudioPlayer/index.vue';
|
||||
import videoPlayer from '@/components/VideoPlayer/index.vue';
|
||||
@@ -214,7 +216,7 @@ import assess from '@/components/Course/assess';
|
||||
import myNote from '../../components/Course/myNote.vue';
|
||||
export default {
|
||||
name: "atticle",
|
||||
components: {courseImage, portalHeader, hyperLink, comments, homework, exam, interactBar, assess, pdfPreview, audioPlayer, videoPlayer,myNote },
|
||||
components: {courseImage, portalHeader, hyperLink, comments, homework, exam, interactBar, assess, pdfPreview, audioPlayer, videoPlayer,myNote,noteComments },
|
||||
data(){
|
||||
return{
|
||||
notePlay:null,
|
||||
@@ -1068,8 +1070,8 @@ export default {
|
||||
}
|
||||
.coures-note{
|
||||
min-height: 500px;
|
||||
padding-left: 50px;
|
||||
padding-top: 25px;
|
||||
padding-left: 17px;
|
||||
padding-top: 10px;
|
||||
.note-tole{
|
||||
color: #333333;
|
||||
font-size: 18px;
|
||||
@@ -1090,11 +1092,12 @@ export default {
|
||||
margin-left: 47px;
|
||||
div{
|
||||
flex: 1;
|
||||
color: #666666;
|
||||
color: #333333;
|
||||
font-size: 18px;
|
||||
}
|
||||
.coureactive{
|
||||
color: #333333;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
span{
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user