123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <template>
- <div class="page-exam-item-detial-box">
- <van-nav-bar title="答题闯关" />
- <div>
- <div>{{ throughRule.name }}</div>
- <div>{{ throughRule.content }}</div>
- <div>
- <van-button type="primary" color="#0088e9" @click="back"
- >返回</van-button
- >
- <van-button type="primary" color="#0088e9" @click="startThrough"
- >开始闯关</van-button
- >
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- name: "through-question-start",
- components: {},
- data() {
- return {
- throughRule: {
- name: "闯关规则",
- content: "每关10道题,一共5关,答对继续,答错出局"
- }
- };
- },
- created() {},
- computed: {},
- methods: {
- back() {
- this.$router.back();
- },
- startThrough() {
- this.$store.commit("updateAnswerItemStore", {
- field: "answerRecruitId",
- value: "daily-questions" // item.id
- });
- this.$router.push({ name: "answerRecruit" });
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- @import "~@/styles/mixin";
- .through-question-start-box {
- width: 100%;
- height: 100%;
- overflow-y: auto;
- overflow-x: hidden;
- font-size: 0.6rem;
- }
- </style>
|