在 fineuploader 中将 <ul><li> 更改为 <div>

Changing <ul><li> to <div> in fineuploader

我正在使用 http://fineuploader.com/ 和 Twitter bootstrap

上传文件的 html 代码如下所示

    <ul class="qq-upload-list-selector">
     <li class="col-lg-3 col-md-4 col-xs-6 thumb">
            <div class="qq-progress-bar-container-selector">
                <div class="qq-progress-bar-selector qq-progress-bar"></div>
            </div>
            <span class="qq-upload-spinner-selector qq-upload-spinner"></span>
            <img class="qq-thumbnail-selector" qq-max-size="100" qq-server-scale>
            <span class="qq-edit-filename-icon-selector qq-edit-filename-icon"></span>
            <span class="qq-upload-file-selector qq-upload-file"></span>
            <input class="qq-edit-filename-selector qq-edit-filename" tabindex="0" type="text">
            <span class="qq-upload-size-selector qq-upload-size"></span>
            <a class="qq-upload-cancel-selector btn-small btn-warning" href="#">Cancel</a>
            <a class="qq-upload-retry-selector btn-small btn-info" href="#">Retry</a>
            <a class="qq-upload-delete-selector btn-small btn-warning" href="#">Delete</a>
            <a class="qq-upload-pause-selector btn-small btn-info" href="#">Pause</a>
            <a class="qq-upload-continue-selector btn-small btn-info" href="#">Continue</a>
            <span class="qq-upload-status-text-selector qq-upload-status-text"></span>
            <a class="view-btn btn-small btn-info hide" target="_blank">View</a>
</li>
    </ul>

我想将 <ul></ul><li></li> 标签更改为 <div>,因为我希望结果显示在 bootstrap 网格中。当我更改代码时,我无法获得上传文件的任何上传结果。看起来像 fineuploader javascript.

生成的新 li-tags

如何改用 div 以便我可以在 bootstrap 网格中显示结果?

测试了这个

<div class="qq-upload-list-selector col-lg-3 col-md-4 col-xs-6">
     <div class="qq-progress-bar-container-selector">
                    <div class="qq-progress-bar-selector qq-progress-bar"></div>
                </div>
Rest of the code ....
</div>

Fine Uploader 需要 qq-upload-list-selector 内的容器来保存文件项。考虑添加另一个 <div> 作为 qq-upload-list-selector 中唯一的 child。

所以...

<div class="qq-upload-list-selector col-lg-3 col-md-4 col-xs-6">
    <div>
        <div class="qq-progress-bar-container-selector">
            <div class="qq-progress-bar-selector qq-progress-bar"></div>
        </div>
Rest of the code ....
    </div>
</div>

为什么需要 <div><div> 没有什么特别之处。适当修改列表item/list的样式即可。如果 <li> 标签不在您的模板中,Fine Uploader 不会插入它们。