Commit afb7a491 authored by 李俊赕's avatar 李俊赕

Merge branch 'dev-photo-tools' of...

Merge branch 'dev-photo-tools' of https://git.banshouhui.com/heyinchen/take_order into dev-photo-tools
parents 51535ebb b77109b2
...@@ -8,6 +8,22 @@ ...@@ -8,6 +8,22 @@
{ {
"path": "pages/exam/start",
"style": {
"navigationBarTitleText": "考试"
}
},
{
"path": "pages/exam/index",
"style": {
"navigationBarTitleText": "入驻考试"
}
},
{
"path": "pages/settle/file", "path": "pages/settle/file",
"style": { "style": {
"navigationBarTitleText": "入驻资料" "navigationBarTitleText": "入驻资料"
...@@ -101,13 +117,7 @@ ...@@ -101,13 +117,7 @@
{
"path": "pages/exam/index",
"style": {
"navigationBarTitleText": "入驻考试"
}
},
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
examId:2, examId:2,
userExamId:0, userExamId:0,
userAnswerIds:'', userAnswerIds:'',
isStart:false, isStart:true,
currentNumber:1, currentNumber:1,
currentItem:null, currentItem:null,
isSelect:false, isSelect:false,
......
<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) {
},
methods: {
//开始考试 点击
startClick: function () {
uni.navigateTo({
url: '/pages/exam/index'
})
},
}
}
</script>
<style>
.backView{
background-color: #FFFFFF;
position: absolute;
top: 0;
left: 0;
width: 100%;
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;
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{
padding-left: 44rpx;
margin-right: 0;
height: 766rpx;
}
.bottomView{
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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment