admin
2021-08-27 8fee151ffae0c3818694b7318583814bf92663e2
src/main/webapp/admin/new/fenqu.html
@@ -124,8 +124,10 @@
            </div>
            <select name="select" class="form-control search select-detailsystem">
            <select name="select" class="form-control search select-fromtype">
                <option value="0">自有库</option>
                <option value="1">全网搜</option>
                <option value="2">短视频</option>
            </select>
            <select name="select" class="form-control search contenttype">
                <option value="1">正片</option>
@@ -257,7 +259,8 @@
                        <td width="12%">
                            <div style="position: relative">
                                <img v-bind:src="item.hpicture" class="cover-h">
                                <img v-if="item.freeType>0" src="image/icon_vip.png" style="position: absolute;right: 0;bottom: 0;height: 20px;">
                                <img v-if="item.freeType>0" src="image/icon_vip.png"
                                     style="position: absolute;right: 0;bottom: 0;height: 20px;">
                            </div>
                        </td>
                        <td width="8%">
@@ -606,28 +609,6 @@
            }
        }, 'json');
        //获取系统列表
        $.post('api/common/detailsystemlist', {}, function (data) {
            if (data.code == 0) {
                $(".select-detailsystem").empty();
                $(".select-detailsystem").append("<option value='0'>全部</option>");
                $(".detailsystem").empty();
                data.data.forEach(function (detailsystem) {
                    var html = "";
                    html += "<option value=" + detailsystem.id + ">";
                    html += detailsystem.name;
                    html += "</option>";
                    $(".select-detailsystem").append(html);
                    html = "<li><input type='checkbox' value=" + detailsystem.id + ">";
                    html += "<span>" + detailsystem.name;
                    html += "</span> </li>";
                    $(".detailsystem").append(html);
                });
            }
        }, 'json');
    });
</script>
@@ -638,8 +619,9 @@
        function getCheckedItems() {
            var ids = "";
            for (var i = 0; i < $(".check-item").length; i++) {
                if ($(".check-item").eq(i).is(':checked')) {
                    ids += $(".check-item").eq(i).attr("key") + ",";
                    ids += app.videos[i].id + ",";
                }
            }
            if (ids.length > 0)
@@ -658,6 +640,11 @@
                    //直接添加到推荐
                    var key = video.id;
                    $("#hometype .videoids").val(key);
                    //清空显示
                    // $("#hometype").find("input[type=checkbox]").each(function () {
                    //     this.checked = false;
                    // });
                    $("#hometype").modal("show");
                    // var index = layer.open({
@@ -721,7 +708,7 @@
                    $.post('api/video/videolist', {
                        "page": page,
                        "videotype": $(".search-div .videotypes select:last").val(),
                        "detailsystem": $(".search-div .select-detailsystem").val(),
                        "fromtype": $(".search-div .select-fromtype").val(),
                        "type": $(".search-div .type").val(),
                        "contenttype": $(".contenttype").val(),
                        "freeType": $(".freeType").val(),