|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="phone-list-page">
|
|
|
<view class="icon-title-bjcolor-navBar-box">
|
|
|
- <!-- <view @click="goUpPage" class="nav-bar-icon"></view> -->
|
|
|
+ <view @click="goUpPage" class="nav-bar-icon"></view>
|
|
|
<text class="nav-bar-title">考试管理</text>
|
|
|
</view>
|
|
|
<!-- 考试列表 -->
|
|
@@ -20,7 +20,7 @@
|
|
|
</view>
|
|
|
<!-- 时间 -->
|
|
|
<view class="ks-totalTm"><icon class="phone-time-icon"/>时间:{{item.totalTm}}分钟</view>
|
|
|
- <view class="ks-totalTm"><icon class="phone-cishu-icon"/>次数:{{item.maxTimes}}次</view>
|
|
|
+ <view class="ks-totalTm"><icon class="phone-cishu-icon"/>次数:{{item.maxTimes ? item.maxTimes:'不限'}}次</view>
|
|
|
<!-- 分数 -->
|
|
|
<view class="ks-score-content">
|
|
|
<view class="ks-score"><icon class="phone-zongfen-icon"/>总分:<text>{{item.ksScore}}</text></view>
|
|
@@ -80,19 +80,9 @@
|
|
|
})
|
|
|
|
|
|
function goUpPage() {
|
|
|
- if ( data.from == 'shouye') {
|
|
|
- uni.redirectTo({
|
|
|
- url: '/pages/client/ShouYe/shouye'
|
|
|
- })
|
|
|
- } else if (data.from = 'my'){
|
|
|
- uni.redirectTo({
|
|
|
- url: '/pages/client/my/index'
|
|
|
- })
|
|
|
- } else {
|
|
|
- uni.redirectTo({
|
|
|
- url: '/pages/client/ShouYe/shouye'
|
|
|
- })
|
|
|
- }
|
|
|
+ uni.redirectTo({
|
|
|
+ url: '/pages/client/ShouYe/shouye'
|
|
|
+ })
|
|
|
}
|
|
|
// 修改身份
|
|
|
function handleChangeIdentification() {
|