关于博客园美化
  • 板块灌水区
  • 楼主Allen_yang
  • 当前回复0
  • 已保存回复0
  • 发布时间2024/10/12 19:46
  • 上次更新2024/10/12 21:35:44
查看原帖
关于博客园美化
683768
Allen_yang楼主2024/10/12 19:46

再次求助,为什么所有设置都是按自己的喜好改的,最后呈现却是别人的背景和头像?

附:配置参考的 this one

侧边栏公告代码:

<script type="text/javascript">
    window.cnblogsConfig = {
      info: {
        name: 'Allen_yang2010', // 用户名
        startDate: '2024-10-09', // 入园时间,年-月-日。入园时间查看方法:鼠标停留园龄时间上,会显示入园时间
        avatar: 'https://cdn.luogu.com.cn/upload/image_hosting/3zp2w0cg.png', // 用户头像
      },
      banner: {
        home: {
            title: [
                '长夜将至,我从今开始守望,至死方休',
                '将尽忠职守,生死于斯',
                '我是黑暗中的利剑,长城上的守卫,抵御寒冷的烈焰,破晓时分的光线,唤醒眠者的号角,守护王国的坚盾',
                '将生命与荣耀献给守夜人,今夜如此,夜夜皆然',
                '人在恐惧时还能勇敢吗',
                '人唯有恐惧时方能勇敢',
            ],
            background: [
                "https://cdn.luogu.com.cn/upload/image_hosting/vgrmjojh.png",
                "https://cdn.luogu.com.cn/upload/image_hosting/qn9571vl.png",
                "https://cdn.luogu.com.cn/upload/image_hosting/qtdokqv5.png",
                "https://cdn.luogu.com.cn/upload/image_hosting/zj4v5iey.png",
            ],
        },
        article: {
            background: [
                "https://cdn.luogu.com.cn/upload/image_hosting/vgrmjojh.png",
                "https://cdn.luogu.com.cn/upload/image_hosting/qn9571vl.png",
                "https://cdn.luogu.com.cn/upload/image_hosting/qtdokqv5.png",
                "https://cdn.luogu.com.cn/upload/image_hosting/zj4v5iey.png",
            ],
        },
    },
    loading: {
         rebound: {
             tension: 16,
         },
         spinner: {
             id: 'spinner',
             radius: 90,
         }
    },
    progressBar: {
         color   : '#F08080',
    },
    rtMenu: {
        downScrollDom: '#blog_post_info_block',
    },
    animate: {
        homeBanner: {
            enable: true,
            options: {
                radius: 15,
                density: 0.2,
                color: 'rgba(255,255,255, .2)', // 颜色设置,“random” 为随机颜色
                clearOffset: 0.3
            }
        },
        background: {
            enable: true,
            options: {
                colorSaturation: "60%",
                colorBrightness: "50%",
                colorAlpha: 0.5,
                colorCycleSpeed: 5,
                verticalPosition: "random",
                horizontalSpeed: 200,
                ribbonCount: 3,
                strokeSize: 0,
                parallaxAmount: -0.2,
                animateSections: true
            }
        },
    },
    animate: {
        articleBanner: {
            enable: true,
        },
    }
    animate: {
        backgroundMouse: {
            enable: true,
        },
        mouse: {
            enable: true,
        },
    }
    animate: {
        avatar: {
            enable: true,
        },
    },
    animate: {
        bannerImages: {
            enable: true,
            options: {
                itemNum: 5, // 图片拆分成几列
                current: 0, // 初始图片的下标,如果为负数则为随机
                sort: 1, // 1 代表每次向下加载一个图片,-1 代表每次向上加载一个图片
                time: 60000, // 每次切换间隔时间,单位:毫秒
            },
        },
    }
    code: {
        options: {
        macStyle: true,
        line: true,
        },
    },
    title: {
        onblur: '凡人终有一死',
        onblurTime: 500,
        focus: '凡人皆需侍奉',
        focusTime: 500,
    },
    links: {
        page: [
            {
                name: 'MithrilSwordXIV', // 昵称
                introduction: 'OI大佬', // 简介
                url: 'https://www.cnblogs.com/MithrilSwordXIV' // 友链地址
            },
        ],
    },
    sidebar: { // 列表数据 ['导航名称', '链接', 'icon']
        navList: [
            ['博客园', 'https://www.cnblogs.com/', 'icon-cnblogs'],
        ],
        titleMsg: 'Welcome to Allen yang-Notebook~',
        infoBackground: 'https://cdn.luogu.com.cn/upload/image_hosting/vgrmjojh.png',
        customList: {
            "我的": { // 标题
                "data": [ // 列表数据 ['列表', '链接']
                    ['暂无', 'https://www.luogu.com.cn'],
                ],
                "icon": "icon-shoucang" // 配置图标,参考文档:定制化/字体图标库
                },
            },
        },

    footer: {
        text: {
            left: 'Winter',
            right: 'Is Coming',
            },
        },
    switchDayNight: {
        enable: true,
        auto: {
            enable: true
        }
    },
    }
</script>
<script src="https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@v2.1.0/dist/simpleMemory.js" defer></script>
2024/10/12 19:46
加载中...