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>
|
||||||
<div class="teachphoto" style="height:70px">
|
<div class="teachphoto" style="height:70px">
|
||||||
<h6>擅长课程</h6>
|
<h6>擅长课程</h6>
|
||||||
<div v-for="(item,idx) in teachtext.courses" :key="idx" class="teachexcel">
|
<div>
|
||||||
{{ item }}
|
{{ teachtext.courses }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
Teacherinfo(){
|
Teacherinfo(){
|
||||||
apiTeach.detailTeacher(this.userInfo.aid).then(res =>{
|
apiTeach.detailTeacher(this.userInfo.aid).then(res =>{
|
||||||
this.teachtext.workExperience = res.result.workExperience;
|
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.tearchUrl = this.fileBaseUrl + res.result.photo;
|
||||||
this.teachtext.expertise = res.result.expertise.split( ',' );
|
this.teachtext.expertise = res.result.expertise.split( ',' );
|
||||||
console.log(this.teachtext);
|
console.log(this.teachtext);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<el-tooltip effect="light" content="评分" placement="top" :visible-arrow="false" popper-class="text-tooltip">
|
<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>
|
<svg-icon style="margin-right: 0px;font-size: 18px;" icon-class="pingfen"></svg-icon>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<span class="interact-bar-value"> {{ data.score }} </span>
|
<span class="interact-bar-value"> {{ toScore(data.score) }}分 </span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-tooltip effect="light" content="学习人数" placement="top" :visible-arrow="false" popper-class="text-tooltip">
|
<el-tooltip effect="light" content="学习人数" placement="top" :visible-arrow="false" popper-class="text-tooltip">
|
||||||
@@ -33,6 +33,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import toScore from '@/utils/tools.js';
|
||||||
import apiPraises from '@/api/modules/praises.js'
|
import apiPraises from '@/api/modules/praises.js'
|
||||||
import apiShares from '@/api/modules/shares.js'
|
import apiShares from '@/api/modules/shares.js'
|
||||||
import apiFavorites from '@/api/modules/favorites.js'
|
import apiFavorites from '@/api/modules/favorites.js'
|
||||||
@@ -131,6 +132,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
toScore,
|
||||||
formatNum:formatUserNumber,
|
formatNum:formatUserNumber,
|
||||||
msgPageType:0,
|
msgPageType:0,
|
||||||
loading:false,
|
loading:false,
|
||||||
|
|||||||
Reference in New Issue
Block a user