|
@@ -18,7 +18,12 @@
|
|
<button
|
|
<button
|
|
@click="
|
|
@click="
|
|
() => {
|
|
() => {
|
|
- backView();
|
|
|
|
|
|
+ router.push({
|
|
|
|
+ name: 'examBegin',
|
|
|
|
+ query: {
|
|
|
|
+ ...router.currentRoute.value.query,
|
|
|
|
+ },
|
|
|
|
+ });
|
|
}
|
|
}
|
|
"
|
|
"
|
|
>
|
|
>
|
|
@@ -35,7 +40,7 @@
|
|
import { defineProps, reactive, toRefs, ref } from 'vue';
|
|
import { defineProps, reactive, toRefs, ref } from 'vue';
|
|
import router from '@/router/';
|
|
import router from '@/router/';
|
|
import Phone from '@/utils/phone';
|
|
import Phone from '@/utils/phone';
|
|
-export default {
|
|
|
|
|
|
+export default {
|
|
setup(props, { emit }) {
|
|
setup(props, { emit }) {
|
|
const state = reactive({
|
|
const state = reactive({
|
|
count: 0,
|
|
count: 0,
|
|
@@ -47,13 +52,13 @@ export default {
|
|
time.value = time.value - 1;
|
|
time.value = time.value - 1;
|
|
if (time.value === 0) {
|
|
if (time.value === 0) {
|
|
window.clearInterval(timer);
|
|
window.clearInterval(timer);
|
|
- backView()
|
|
|
|
- // router.push({
|
|
|
|
- // name: 'examBegin',
|
|
|
|
- // query: {
|
|
|
|
- // ...router.currentRoute.value.query,
|
|
|
|
- // },
|
|
|
|
- // });
|
|
|
|
|
|
+ // backView()
|
|
|
|
+ router.push({
|
|
|
|
+ name: 'examBegin',
|
|
|
|
+ query: {
|
|
|
|
+ ...router.currentRoute.value.query,
|
|
|
|
+ },
|
|
|
|
+ });
|
|
}
|
|
}
|
|
}, 1000);
|
|
}, 1000);
|
|
const sendPaper = () => {
|
|
const sendPaper = () => {
|
|
@@ -89,7 +94,7 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
button {
|
|
button {
|
|
- border-radius: 0;
|
|
|
|
|
|
+ border-radius: 0;
|
|
border: none;
|
|
border: none;
|
|
}
|
|
}
|
|
.mask {
|
|
.mask {
|
|
@@ -111,7 +116,7 @@ button {
|
|
width: 100%;
|
|
width: 100%;
|
|
line-height: 40px;
|
|
line-height: 40px;
|
|
height: 40px;
|
|
height: 40px;
|
|
- background: #498ef5;
|
|
|
|
|
|
+ background: #306ace;
|
|
color: #fff;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
@@ -141,7 +146,7 @@ button {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.bottom {
|
|
.bottom {
|
|
- background: #498ef5;
|
|
|
|
|
|
+ background: #306ace;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 70px;
|
|
height: 70px;
|
|
display: flex;
|
|
display: flex;
|