增加文章、商品列表修改排序功能

This commit is contained in:
2021-01-11 00:21:24 +08:00
parent ce7b525f1a
commit 269fd4a6fe
8 changed files with 183 additions and 26 deletions
@@ -98,11 +98,13 @@
if ($(this).attr("placeholder") && $(this).attr("placeholder") != "") {
var tipstr = $(this).attr("placeholder");
var id = $(this).attr("id");
$(this).on("focusin", function () {
layer.tips(tipstr, '#' + id, {
tips: [1, '#3595CC'] //还可配置颜色
if (id) {
$(this).on("focusin", function () {
layer.tips(tipstr, '#' + id, {
tips: [1, '#3595CC'] //还可配置颜色
});
});
});
}
}
})
</script>