adminpass / aliyundrive-subscribe

阿里云盘订阅
Apache License 2.0
953 stars 110 forks source link

界面出现乱码 #236

Closed sephiroth233 closed 10 months ago

sephiroth233 commented 10 months ago

docker最新镜像,运行后界面出现很多乱码

微信截图_20231215161450 微信截图_20231215161549

微信截图_20231215161801

x1ao4 commented 10 months ago

Mac 版本也有。 WX20231216-210455@2x

gavinliuisme commented 10 months ago

我这也是这样 Failed to decode downloaded font: https://cdn.bootcdn.net/ajax/libs/layui/2.8.12/font/iconfont.woff2?v=282 F12看到是提示这个警告,字体文件无法解析

wangrui1573 commented 10 months ago

我也有这个问题

muyi0114 commented 10 months ago

同样问题

gldl137 commented 10 months ago

大家都解决没

sjtuross commented 10 months ago

@adminpass 能看一下吗?

gavinliuisme commented 10 months ago
// ==UserScript==
// @name         替换样式链接
// @namespace    your-namespace
// @version      1.0
// @description  替换网页中的样式链接
// @match        https://example.com(修改为你网址地址)/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var oldHref = 'https://cdn.bootcdn.net/ajax/libs/layui/2.8.12/css/layui.css';
    var newHref = 'https://lib.baomitu.com/layui/2.8.12/css/layui.css';

    var links = document.getElementsByTagName('link');
    for (var i = 0; i < links.length; i++) {
        var link = links[i];
        if (link.rel === 'stylesheet' && link.href === oldHref) {
            link.href = newHref;
            break;
        }
    }
})();

油猴脚本,可以解决,只是登录页面还是先显示无图标再刷新

打开引用layui网址 https://www.bootcdn.cn/layui/

结果是 bootcdn的缘故,它自身的图标都显示不了

wangrui1573 commented 10 months ago
// ==UserScript==
// @name         替换样式链接
// @namespace    your-namespace
// @version      1.0
// @description  替换网页中的样式链接
// @match        https://example.com(修改为你网址地址)/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var oldHref = 'https://cdn.bootcdn.net/ajax/libs/layui/2.8.12/css/layui.css';
    var newHref = 'https://lib.baomitu.com/layui/2.8.12/css/layui.css';

    var links = document.getElementsByTagName('link');
    for (var i = 0; i < links.length; i++) {
        var link = links[i];
        if (link.rel === 'stylesheet' && link.href === oldHref) {
            link.href = newHref;
            break;
        }
    }
})();

油猴脚本,可以解决,只是登录页面还是先显示无图标再刷新

打开引用layui网址 https://www.bootcdn.cn/layui/

结果是 bootcdn的缘故,它自身的图标都显示不了

实测可行,已解决

image

sjtuross commented 10 months ago

今天docker版更新了,问题解决了,感谢作者