This commit is contained in:
yuping
2022-12-15 18:02:02 +08:00
parent a39fa683f5
commit 0b1299640a
2 changed files with 14 additions and 10 deletions

View File

@@ -177,17 +177,17 @@
class="teacheritem"
:style="{ 'border-bottom': '1px solid rgba(56, 125, 247, 0.2)' }"
>
<img class="peopleimg" :src="data.userInfoBo?.peopleimg"/>
<img class="peopleimg" :src="`/upload${userInfo.avatar}`"/>
<div style="margin-left: 17px">
<div class="teacherName">
<div style="margin-right: 5px">
{{ data.userInfoBo?.userName }}
</div>
<div v-for="(item, key) in data.userInfoBo?.medal" :key="key">
<img class="teacherMedal" :src="item"/>
{{ useInfo?.realName }}
</div>
<!-- <div v-for="(item, key) in data.userInfoBo?.medal" :key="key">-->
<!-- <img class="teacherMedal" :src="item"/>-->
<!-- </div>-->
</div>
<div class="introduce">{{ data.userInfoBo?.introduce }}</div>
<div class="introduce">{{ useInfo?.bandDesc }}</div>
</div>
</div>
</div>

View File

@@ -194,7 +194,7 @@
class="teacheritem"
:style="{ 'border-bottom': '1px solid rgba(56, 125, 247, 0.2)' }"
>
<img class="peopleimg" :src="data.avatar"/>
<img class="peopleimg" :src="`/upload${userInfo.avatar}`"/>
<div style="margin-left: 17px">
<div class="teacherName">
<div style="margin-right: 5px">
@@ -405,7 +405,10 @@ const types = ref({
7: ({courseId}) => request(LINK_DETAILS(courseId), {}).then(({data: {linkAddress}}) => window.open(linkAddress)),//外联
8: "/discusspage",
9: "/moreactive",
10: ({evaTyp, targetId}) => window.open((evaTyp === 1 ? import.meta.env.VITE_BOE_TEST_DETAIL_URL : import.meta.env.VITE_BOE_TEST_OUT_DETAIL_URL) + targetId), //测评
10: ({
evaTyp,
targetId
}) => window.open((evaTyp === 1 ? import.meta.env.VITE_BOE_TEST_DETAIL_URL : import.meta.env.VITE_BOE_TEST_OUT_DETAIL_URL) + targetId), //测评
11: "/surveydetail",
12: "/ballotpage",
13: "/projectdetails",
@@ -428,8 +431,9 @@ function toFinish(d, sName) {
types.value.path[d.type](d)
}
}
function whiteTypes(type){
return import.meta.env.VITE_TASK_WHITE_TYPE.includes(type+'')
function whiteTypes(type) {
return import.meta.env.VITE_TASK_WHITE_TYPE.includes(type + '')
}
</script>