mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改
This commit is contained in:
@@ -92,8 +92,8 @@
|
||||
</div>
|
||||
<div class="teachphoto" style="height:70px">
|
||||
<h6>擅长课程</h6>
|
||||
<div v-for="(item,idx) in teachtext.courses" :key="idx" class="teachexcel">
|
||||
{{ item }}
|
||||
<div>
|
||||
{{ teachtext.courses }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -186,7 +186,7 @@
|
||||
Teacherinfo(){
|
||||
apiTeach.detailTeacher(this.userInfo.aid).then(res =>{
|
||||
this.teachtext.workExperience = res.result.workExperience;
|
||||
this.teachtext.courses = res.result.courses.split( ',' );
|
||||
this.teachtext.courses = res.result.courses;
|
||||
this.tearchUrl = this.fileBaseUrl + res.result.photo;
|
||||
this.teachtext.expertise = res.result.expertise.split( ',' );
|
||||
console.log(this.teachtext);
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<el-tooltip effect="light" content="评分" placement="top" :visible-arrow="false" popper-class="text-tooltip">
|
||||
<svg-icon style="margin-right: 0px;font-size: 18px;" icon-class="pingfen"></svg-icon>
|
||||
</el-tooltip>
|
||||
<span class="interact-bar-value"> {{ data.score }} </span>
|
||||
<span class="interact-bar-value"> {{ toScore(data.score) }}分 </span>
|
||||
</div>
|
||||
<div>
|
||||
<el-tooltip effect="light" content="学习人数" placement="top" :visible-arrow="false" popper-class="text-tooltip">
|
||||
@@ -33,6 +33,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import toScore from '@/utils/tools.js';
|
||||
import apiPraises from '@/api/modules/praises.js'
|
||||
import apiShares from '@/api/modules/shares.js'
|
||||
import apiFavorites from '@/api/modules/favorites.js'
|
||||
@@ -131,6 +132,7 @@ export default {
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
toScore,
|
||||
formatNum:formatUserNumber,
|
||||
msgPageType:0,
|
||||
loading:false,
|
||||
|
||||
Reference in New Issue
Block a user