mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改粉丝标签控制
This commit is contained in:
parent
4ec997ad2f
commit
22734ac477
@ -66,15 +66,17 @@
|
|||||||
$content.on('click', 'input', function () {
|
$content.on('click', 'input', function () {
|
||||||
($content.find('input:checked').size() > 3) && (this.checked = false);
|
($content.find('input:checked').size() > 3) && (this.checked = false);
|
||||||
});
|
});
|
||||||
// 标签选择面板
|
require(['bootstrap'], function () {
|
||||||
$(this).data('content', $content).on('shown.bs.popover', function () {
|
// 标签选择面板
|
||||||
$('[data-add-tag]').not(this).popover('hide');
|
$(this).data('content', $content).on('shown.bs.popover', function () {
|
||||||
}).popover({
|
$('[data-add-tag]').not(this).popover('hide');
|
||||||
html: true,
|
}).popover({
|
||||||
trigger: 'click',
|
html: true,
|
||||||
content: $content,
|
trigger: 'click',
|
||||||
title: '标签编辑(最多选择三个标签)',
|
content: $content,
|
||||||
template: '<div class="popover" style="max-width:500px" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content" style="width:500px"></div></div>'
|
title: '标签编辑(最多选择三个标签)',
|
||||||
});
|
template: '<div class="popover" style="max-width:500px" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content" style="width:500px"></div></div>'
|
||||||
|
});
|
||||||
|
})
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
Loading…
x
Reference in New Issue
Block a user