mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 20:06:49 +08:00
init
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user