');
        const closeBtn = document.getElementById('close-btn');

        let pageData = null;

        // 从书签树填充文件夹下拉列表
        function populateFolders(nodes, level = 0) {
            nodes.forEach(node => {
                if (node.type === 'folder') {
                    const option = document.createElement('option');
                    option.value = node.id;
                    // 添加缩进以实现视觉层次结构
                    option.textContent = '  '.repeat