mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 06:46:43 +08:00
计算数字
This commit is contained in:
@@ -100,8 +100,7 @@
|
||||
<div class="course-author">
|
||||
<div class="course-author-left">
|
||||
{{ course.authorInfo.name }}
|
||||
<span class="study-num" v-if="course.studiesFormat == 0">{{course.studiesFormat}}人学习</span>
|
||||
<span class="study-num" v-if="course.studiesFormat != 0">{{course.studiesFormat}}+人学习</span>
|
||||
<span class="study-num" >{{formatNum(course.studys)}}人学习</span>
|
||||
</div>
|
||||
<div style="display: flex;">
|
||||
<div style="width:30px;">
|
||||
@@ -409,11 +408,12 @@
|
||||
import GuideBox from '@/components/Portal/guideBox.vue'
|
||||
import {
|
||||
toScore,
|
||||
cutFullName
|
||||
cutFullName,
|
||||
formatUserNumber
|
||||
} from '@/utils/tools.js';
|
||||
import {
|
||||
swiper,
|
||||
swiperSlide
|
||||
swiperSlide,
|
||||
} from 'vue-awesome-swiper';
|
||||
import apiPlace from "@/api/phase2/place.js"
|
||||
import authorImg from '@/components/Portal/authorImg.vue';
|
||||
@@ -447,7 +447,8 @@
|
||||
uvalue:0,
|
||||
totalStudyHour:0
|
||||
},
|
||||
userInfo: {},
|
||||
formatNum:formatUserNumber,
|
||||
//userInfo: {},
|
||||
ankingList: [],
|
||||
answersList: [],
|
||||
Popularity: [],
|
||||
@@ -506,7 +507,7 @@
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.userInfo = this.$store.getters.userInfo;
|
||||
//this.userInfo = this.$store.getters.userInfo;
|
||||
// console.log(this.this.userInfo)
|
||||
this.getCourseData(1);
|
||||
this.getCaseData();
|
||||
|
||||
Reference in New Issue
Block a user