Compare commits

..

No commits in common. '459baca3f83dc5035b48c7faad2a9843d4ec9d29' and '38cc93cba49db0779e50d56bbe16543f97259439' have entirely different histories.

  1. 6
      src/pages/login/login.vue
  2. 2
      src/pages/me/myGift.vue
  3. 19
      src/pages/questionBank/examResult.vue
  4. BIN
      src/static/image/mine/outtime.png

@ -10,13 +10,13 @@
<u-input class="sl-input" border="none" v-model="loginForm.phone" type="number" maxlength="11" <u-input class="sl-input" border="none" v-model="loginForm.phone" type="number" maxlength="11"
placeholder="输入手机号" /> placeholder="输入手机号" />
</view> </view>
<!-- <view class="list-call"> <view class="list-call">
<u-input class="sl-input" v-model="loginForm.code" type="text" maxlength="6" border="none" placeholder="输入验证码"> <u-input class="sl-input" v-model="loginForm.code" type="text" maxlength="6" border="none" placeholder="输入验证码">
<template #suffix> <template #suffix>
<text class="fs14 mr10" style="color: #05C341;" @tap="getCode">{{ countDown == 0 ? '获取验证码' : countDown }}</text> <text class="fs14 mr10" style="color: #05C341;" @tap="getCode">{{ countDown == 0 ? '获取验证码' : countDown }}</text>
</template> </template>
</u-input> </u-input>
</view> --> </view>
</view> </view>
<view class="button-login" @tap="bindLogin()"> <view class="button-login" @tap="bindLogin()">
@ -41,7 +41,7 @@ export default {
return { return {
loginForm: { loginForm: {
phone: '', phone: '',
code: '000000' code: ''
}, },
countDown: 0, countDown: 0,
js: undefined js: undefined

@ -16,7 +16,7 @@
<view v-if="item.status == 0" class="btn" @tap="handleHelp(item)">助力</view> <view v-if="item.status == 0" class="btn" @tap="handleHelp(item)">助力</view>
<view v-else-if="item.status == 1" class="btn" @tap="handleWriteoff(item)">核销</view> <view v-else-if="item.status == 1" class="btn" @tap="handleWriteoff(item)">核销</view>
<img v-else-if="item.status == 2" src="/static/image/mine/writeoff.png" style="width: 120rpx;height: 120rpx;" /> <img v-else-if="item.status == 2" src="/static/image/mine/writeoff.png" style="width: 120rpx;height: 120rpx;" />
<img v-else src="/static/image/mine/outtime.png" style="width: 120rpx;height: 120rpx;" /> <view v-else class="btn" @tap="handleWriteoff(item)">核销</view>
</view> </view>
</view> </view>
</u-list-item> </u-list-item>

@ -56,7 +56,7 @@
import GradesChart from "./components/GradesChart.vue" import GradesChart from "./components/GradesChart.vue"
import storage from '@/jtools/storage'; import storage from '@/jtools/storage';
import { import {
testTotal,getTestQuestionId testTotal
} from '@/jtools/api/question'; } from '@/jtools/api/question';
export default { export default {
components: { components: {
@ -182,28 +182,15 @@
}else{ }else{
const list =JSON.stringify(this.wrongList) const list =JSON.stringify(this.wrongList)
uni.navigateTo({ uni.navigateTo({
url:"/pages/questionBank/questionBank?navTitle=错题&subject="+this.subject+"&questionIdList="+list url:"/pages/questionBank/questionBank?navTitle=错题&subject="+this.subject+"&questionList="+list
}) })
} }
}, },
// //
toExams(){ toExams(){
getTestQuestionId({
versionId: this.version,
carTypeId: storage.get('carType') || '1001',
subject: this.subject,
}).then(async (resp) => {
if (resp.code === '0000') {
const arr = resp.data
const listJson = JSON.stringify(arr)
uni.navigateTo({ uni.navigateTo({
url: "/pages/questionBank/practiceExams?title=模拟考试&subject=" + this.subject + "&questionIdList=" + listJson url:"/pages/questionBank/practiceExams?subject="+this.subject
}) })
}
})
// uni.navigateTo({
// url:"/pages/questionBank/practiceExams?subject="+this.subject
// })
}, },
}, },
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Loading…
Cancel
Save