This commit is contained in:
yuping
2022-12-15 17:07:21 +08:00
parent bddda11e37
commit f736dedf48
2 changed files with 10 additions and 13 deletions

View File

@@ -112,16 +112,15 @@
prop="state"
label="状态"
>
<img
:src="
{ 0: nostarted, 1: completed, 2: ongoing }[scope.row.status]
"
<img :src="ongoing"
style="width: 99px; height: 99px"
/>
</el-table-column>
</el-table>
</div>
</div>
<!-- :src="{ 0: nostarted, 1: completed, 2: ongoing }[scope.row.status]"-->
<!-- 路径列表-->
<!-- 路径详情图 -->
<div

View File

@@ -194,17 +194,17 @@
class="teacheritem"
:style="{ 'border-bottom': '1px solid rgba(56, 125, 247, 0.2)' }"
>
<img class="peopleimg" :src="userAvatar"/>
<img class="peopleimg" :src="data.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>
@@ -354,9 +354,7 @@ const {
} = useRoute();
const router = useRouter();
const {data} = useRequest(ROUTER_PROCESS, {routerId});
const {avatar: userAvatar} = useUserInfo(
computed(() => data.value?.userInfoBo?.userId)
);
const useInfo = computed(() => store.state.userInfo);
const activeName = ref("first");