mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改粉丝标签控制
This commit is contained in:
parent
22734ac477
commit
71b9a9fa61
@ -41,6 +41,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
// 添加标签
|
// 添加标签
|
||||||
|
require(['bootstrap'], function () {
|
||||||
$('body').find('[data-add-tag]').map(function () {
|
$('body').find('[data-add-tag]').map(function () {
|
||||||
var self = this;
|
var self = this;
|
||||||
var fans_id = this.getAttribute('data-add-tag');
|
var fans_id = this.getAttribute('data-add-tag');
|
||||||
@ -66,7 +67,6 @@
|
|||||||
$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 () {
|
$(this).data('content', $content).on('shown.bs.popover', function () {
|
||||||
$('[data-add-tag]').not(this).popover('hide');
|
$('[data-add-tag]').not(this).popover('hide');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user