mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 10:56:48 +08:00
上一页
This commit is contained in:
@@ -7,14 +7,16 @@
|
||||
<div>{{ sName }}</div>
|
||||
<div style="margin-left: 6px; margin-right: 6px">/</div>
|
||||
<div style="font-weight: 700; font-size: 16px">投票详情</div>
|
||||
<!--
|
||||
<div class="preNext">
|
||||
<button class="btn btn01"></button>
|
||||
<span class="content" style="margin-left: 6px">上一个</span>
|
||||
<span class="content" style="margin-left: 31px">下一个</span>
|
||||
<button class="btn btn02" style="margin-left: 6px"></button>
|
||||
<span @click="prevPage" v-if="hasPrev">
|
||||
<button class="btn btn01"></button>
|
||||
<span class="content" style="margin-left: 6px">上一个</span>
|
||||
</span>
|
||||
<span @click="nextPage" v-if="hasNext">
|
||||
<span class="content" style="margin-left: 31px">下一个</span>
|
||||
<button class="btn btn02" style="margin-left: 6px"></button>
|
||||
</span>
|
||||
</div>
|
||||
-->
|
||||
<div class="return">
|
||||
<div style="display: flex" @click="returnclick">
|
||||
<el-button style="color:#0073FB"> <img class="img2" style="margin-right:11px;cursor: pointer;" src="../../assets/image/return.png" />返回</el-button>
|
||||
@@ -195,6 +197,7 @@ import store from "@/store";
|
||||
import { ElMessage } from "element-plus";
|
||||
import {useRoute,useRouter} from "vue-router/dist/vue-router";
|
||||
import {computed, reactive, toRefs} from "vue";
|
||||
import {useTaskPage} from "@/api/useCommon";
|
||||
// const { data } = useRequest(TASK_VOTE_DETAIL, {});
|
||||
// console.log("datadatadata", data);
|
||||
// const state = reactive({
|
||||
@@ -204,7 +207,7 @@ import {computed, reactive, toRefs} from "vue";
|
||||
const {
|
||||
query: {courseId, pName, sName, chapterOrStageId, infoId, id, btype},
|
||||
} = useRoute();
|
||||
|
||||
const {nextPage,prevPage,hasPrev, hasNext} = useTaskPage()
|
||||
const router = useRouter();
|
||||
const returnclick = () => {
|
||||
router.back();
|
||||
|
||||
Reference in New Issue
Block a user