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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<template>
<view class="backView">
<view class="topView">
<view class="icon">
<text class="iconText">规则</text>
</view>
</view>
<view class="topView">
<text class="contentText">{{content}}</text>
</view>
<text class="noticeText">{{notice}}</text>
<view class="imageView">
<image class="image" :src="image_url" mode=""></image>
</view>
<view class="bottomView">
<view class="bottomBtn" @click="startClick()">
<text class="bottomText">开始考试答题</text>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
content:'系统随机给出20道考试题目,每道题5分,每题答题时间100秒,在规定时间内答对题目的记分。',
notice:'这是一场严肃的考试希望您认真对待,预祝您能够顺利通过考试!',
image_url:'https://qn-static.banshouhui.com/exam_start.png',
}
},
onLoad(e) {
getApp().trackPage('入驻开始考试页')
},
methods: {
//开始考试 点击
startClick: function () {
uni.navigateTo({
url: '/pages/exam/index'
})
},
}
}
</script>
<style>
.backView{
overflow: hidden;
background-color: #FFFFFF;
width: 100%;
height:100vh;
display: flex;
flex-direction: column;
}
.topView{
width: 100%;
display: flex;
}
.icon{
background-color: #2272FF;
width: 120rpx;
height: 64rpx;
border-radius: 8rpx;
margin-top: 60rpx;
margin-left: 30rpx;
display: flex;
align-items: center;
justify-content: center;
}
.iconText{
color: #FFFFFF;
font-size: 30rpx;
}
.contentText{
padding-top: 44rpx;
padding-left: 30rpx;
padding-right: 40rpx;
font-size: 36rpx;
font-weight: bold;
line-height: 48rpx;
color: #333333;
}
.noticeText{
color: #666666;
font-size: 28rpx;
padding-top: 34rpx;
padding-left: 30rpx;
padding-right: 46rpx;
}
.imageView{
padding-top: 48rpx;
width: 100%;
display: flex;
flex-direction: row-reverse;
}
.image{
width: 706rpx;
margin-left: 44rpx;
margin-right: 0;
height: 766rpx;
}
.bottomView{
position: fixed;
bottom:0;
left:0;
padding-top: 64rpx;
padding-bottom: 68rpx;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.bottomBtn{
background-color: #2272FF;
width: 600rpx;
height: 104rpx;
border-radius: 52rpx;
display: flex;
align-items: center;
justify-content: center;
}
.bottomText{
color: #FFFFFF;
font-size: 32rpx;
}
</style>