Commit 59444c9c authored by Facius's avatar Facius

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

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