Commit acfe4382 authored by Facius's avatar Facius

考试首页

parent 5d47a90d
......@@ -217,6 +217,16 @@
"path": "pages/settle/base", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},
{
"name": "在线考试", //模式名称
"path": "pages/learn/exam", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},
{
"name": "在线考试-old", //模式名称
"path": "pages/exam/start", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
},
{
"name": "入驻提示", //模式名称
"path": "pages/settle/prompt", //启动页面,必选
......
<template>
<view class="backView">
<process :process="2" :type="0" title="业务流程"></process>
<template v-if="isStart==false">
<view class="noticeView">
<text class="noticeText">规则:系统随机出现20道考试题目,每道题5分,每题答题时间100秒,在规定时间内答对题目的记分。
......@@ -151,7 +150,7 @@
}
if (res.data.code == 401 || res.data.code == 403) {
uni.navigateTo({
url: '/pages/login/index'
url: '/pages/login/wxlogin'
})
return
}
......@@ -220,7 +219,7 @@
if (res.statusCode == 401) {
uni.navigateTo({
url: '/pages/login/index'
url: '/pages/login/wxlogin'
})
return
}
......@@ -289,7 +288,7 @@
uni.hideLoading()
if (res.statusCode == 401) {
uni.navigateTo({
url: '/pages/login/index'
url: '/pages/login/wxlogin'
})
return
}
......@@ -452,7 +451,7 @@
if (res.statusCode == 401) {
uni.navigateTo({
url: '/pages/login/index'
url: '/pages/login/wxlogin'
})
return
}
......
......@@ -65,7 +65,6 @@ export default {
let that = this
if(that.courseId) {
that.$u.api.saveCourseRate({courseId: that.courseId}).then(res => {
debugger
if(res.code == 200) {
// uni.navigateBack({delta: 1})
uni.navigateTo({
......
This diff is collapsed.
......@@ -103,7 +103,6 @@ export default {
signupLogin(e) {
var that = this
debugger
console.log(e.detail.errMsg)
console.log(e.detail.iv)
console.log(e.detail.encryptedData)
......
......@@ -17,7 +17,7 @@
<u-icon name="arrow-right" color="#2272FF" size="28"></u-icon>
</view>
<view class="tips">可以服务的城市,可选多个</view>
<view v-if="">
<view v-if="cityText">
<view class="line-view-d"></view>
<view class="city-text">{{cityText}}</view>
</view>
......
......@@ -584,7 +584,7 @@
background: #2272FF;
font-size: 32rpx;
color: #fff;
&[disabled] {
background-color: #D1D4D4;
color: #FFFFFF;
......
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