examineresult.vue
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<template>
<view class="content">
<view class="examineresult">考试结果</view>
<view class="examinefen">{{score}}分</view>
<view class='examinestate'>对不起您没有通过本次考试,请重新答题</view>
<view class="examinebot flexone">
<view class='examinebotleft' @click="backluntan">返回论坛</view>
<view class='examinebotright' @click="renewkaoshi">重新考试</view>
</view>
</view>
</template>
<script>
import app from "../../App.vue";
export default {
data() {
return {
score:''
}
},
onLoad(options) {
this.score=options.score
},
methods: {
backluntan(){
uni.navigateTo({
url:'/pages/luntan/luntan'
})
},
// 重新考试
renewkaoshi(){
uni.navigateTo({
url:'/pages/luntan/examine'
})
}
}
}
</script>
<style>
.examineresult{
color:#08121F;
font-size: 60rpx;
text-align: center;
margin-top:60rpx;
}
.examinefen{
color:#C29445;
font-size: 72rpx;
margin-top:32rpx;
text-align: center;
}
.examinestate{
color:#232323;
font-size: 28rpx;
margin-top:20rpx;
text-align: center;
}
.examinebot{
padding: 0 32rpx;
box-sizing: border-box;
margin-top:32rpx;
}
.examinebotleft{
width:328rpx;
height:88rpx;
border-radius:16rpx;
border:1rpx solid rgba(194,148,69,1);
color:#C29445;
font-size: 28rpx;
text-align: center;
line-height: 88rpx;
}
.examinebotright{
width:328rpx;
height:88rpx;
background:rgba(194,148,69,1);
border-radius:16rpx;
color:#fff;
font-size: 28rpx;
text-align: center;
line-height: 88rpx;
margin-left:30rpx
}
</style>