记得上下班打卡 | git大法好,push需谨慎

Commit 5dce2506 authored by sangchunxi's avatar sangchunxi

推荐活动input调整

parent f1093bab
......@@ -385,6 +385,11 @@
createListenerSearch(i + 1)
$(`#listActiveType${i+1}`).change(function () {
$('#listRemoteSearch' + (i + 1) + ' input').attr('value', '')
})
$('#listRemoteSearch' + (i + 1) + ' input').focus(function () {
$(this).val('')
$(this).attr('data-id', '')
})
}
}, 500)
......@@ -476,6 +481,10 @@
$(`#listActiveType${count}`).change(function () {
$('#listRemoteSearch' + (count) + ' input').attr('value', '')
})
$('#listRemoteSearch' + (count) + ' input').focus(function () {
$(this).val('')
$(this).attr('data-id', '')
})
}, 800)
......@@ -649,7 +658,7 @@
return
}
let idList = listData.filter(item => item.recommendBindId == undefined)
let idList = listData.filter(item => !item.recommendBindId)
if (idList.length >= 1) {
layer.msg('推荐活动需填写完整')
......
......@@ -413,6 +413,10 @@
$(`#listActiveType${i+1}`).change(function () {
$('#listRemoteSearch' + (i + 1) + ' input').attr('value', '')
})
$('#listRemoteSearch' + (i + 1) + ' input').focus(function (e) {
$(this).val('')
$(this).attr('data-id', '')
})
}
}, 500)
......@@ -512,6 +516,10 @@
$(`#listActiveType${count}`).change(function () {
$('#listRemoteSearch' + count + ' input').attr('value', '')
})
$('#listRemoteSearch' + count + ' input').focus(function () {
$(this).val('')
$(this).attr('data-id', '')
})
}, 800)
......@@ -549,7 +557,7 @@
})
})
let idList = listData.filter(item => item.recommendBindId == undefined)
let idList = listData.filter(item => !item.recommendBindId)
if (idList.length >= 1) {
layer.msg('推荐活动需填写完整')
......
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