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

View File

@@ -194,17 +194,17 @@
class="teacheritem" class="teacheritem"
:style="{ 'border-bottom': '1px solid rgba(56, 125, 247, 0.2)' }" :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 style="margin-left: 17px">
<div class="teacherName"> <div class="teacherName">
<div style="margin-right: 5px"> <div style="margin-right: 5px">
{{ data.userInfoBo?.userName }} {{ useInfo?.realName }}
</div>
<div v-for="(item, key) in data.userInfoBo?.medal" :key="key">
<img class="teacherMedal" :src="item"/>
</div> </div>
<!-- <div v-for="(item, key) in data.userInfoBo?.medal" :key="key">-->
<!-- <img class="teacherMedal" :src="item"/>-->
<!-- </div>-->
</div> </div>
<div class="introduce">{{ data.userInfoBo?.introduce }}</div> <div class="introduce">{{ useInfo?.bandDesc }}</div>
</div> </div>
</div> </div>
</div> </div>
@@ -354,9 +354,7 @@ const {
} = useRoute(); } = useRoute();
const router = useRouter(); const router = useRouter();
const {data} = useRequest(ROUTER_PROCESS, {routerId}); const {data} = useRequest(ROUTER_PROCESS, {routerId});
const {avatar: userAvatar} = useUserInfo(
computed(() => data.value?.userInfoBo?.userId)
);
const useInfo = computed(() => store.state.userInfo); const useInfo = computed(() => store.state.userInfo);
const activeName = ref("first"); const activeName = ref("first");