Commit 59444c9c authored by Facius's avatar Facius

fix: 【ID1001318】 【小程序-首页-绑卡方式】:平台输入A机构未绑卡的学习卡(通用卡、定制卡),正确的账号和正确的密码,提示文案需要修改。

parent c0cf5930
......@@ -218,7 +218,7 @@ export default {
// if (this.buttonDisabled) return
if (this.range.length <= 0 || this.range.length == null) {
this.$refs.uToast.show({
title: '该类型和区域没有题库',
title: '该类型和区域没有该题库',
type: 'warning',
duration: 1500,
callback: () => {
......@@ -273,7 +273,7 @@ export default {
})
} else {
this.$refs.uToast.show({
title: '该类型和区域没有题库',
title: '该类型和区域没有该题库',
type: 'warning',
duration: 1500,
callback: () => {
......
......@@ -111,6 +111,25 @@ export default {
},
methods: {
handleClick() {
var warningStr = ''
if (!this.code) {
warningStr = '请填写卡号'
}
if (!this.password) {
warningStr = warningStr ? '请填写卡号和密码' : '请填写密码'
}
if (warningStr) {
this.$refs.uToast.show({
title: warningStr,
type: 'warning',
duration: 1500,
callback: () => {
this.showPop = false
},
})
return
}
this.loading = true
this.$u.api
.bindCard({
......
......@@ -169,9 +169,9 @@ export default {
onLoad(e) {
if (e && e.key) {
this.$nextTick(() => {
setTimeout(() => {
this.scrollId = 'part-' + e.key
}, 500)
// setTimeout(() => {
this.scrollId = 'part-' + e.key
// }, 500)
})
}
this.queryExamRecord()
......@@ -406,6 +406,7 @@ export default {
.charts-content {
width: 100%;
height: 570rpx;
padding: 0 24rpx 10rpx 0rpx;
.charts-box {
width: 100%;
height: 570rpx;
......@@ -413,10 +414,10 @@ export default {
}
}
.list-view {
padding-bottom: 20rpx;
padding-bottom: 44rpx;
.list-content {
padding: 0 30rpx 20rpx 30rpx;
min-height: 44rpx;
.show-more {
display: flex;
justify-content: center;
......
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