mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 19:36:48 +08:00
fix -- bug
This commit is contained in:
@@ -126,5 +126,8 @@ export const QueryEvaluationTaskStatusOne = `/evaluation/queryEvaluationTaskStat
|
|||||||
// 投票浏览和参与数目
|
// 投票浏览和参与数目
|
||||||
export const EditVoteInvolvedAndBrowse = `/vote/editVoteInvolvedAndBrowse post`
|
export const EditVoteInvolvedAndBrowse = `/vote/editVoteInvolvedAndBrowse post`
|
||||||
|
|
||||||
|
//查询路径关卡列表
|
||||||
|
export const ROUTER_DETAIL_CHAPTER_LIST = `/stu/router/chapterPcList`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
33
src/views/roadmap/PathChapterDetails.vue
Normal file
33
src/views/roadmap/PathChapterDetails.vue
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
<template>
|
||||||
|
<div class="mapdetail">
|
||||||
|
<PathDetailImage
|
||||||
|
:img="data?.picUrl"
|
||||||
|
:detail="data"
|
||||||
|
></PathDetailImage>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup>
|
||||||
|
import PathDetailImage from "@/components/PathDetailImage.vue";
|
||||||
|
import {useRequest} from "@/api/request";
|
||||||
|
import {ROUTER_DETAIL_CHAPTER_LIST} from "@/api/api";
|
||||||
|
import {useRoute} from "vue-router/dist/vue-router";
|
||||||
|
|
||||||
|
const {query:{routerId}} = useRoute()
|
||||||
|
const {data} = useRequest(ROUTER_DETAIL_CHAPTER_LIST,{routerId})
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.mapdetail {
|
||||||
|
width: calc(100% - 107px);
|
||||||
|
min-height: 577px;
|
||||||
|
background: rgba(242, 245, 247, 0.6);
|
||||||
|
margin-top: 26px;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin-left: 53px;
|
||||||
|
margin-right: 54px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user