今天突然发现线上正在运行的小程序,android客户端图片的文字展示全部出现了问题,文字颜色全部展示为黑色:
图片<image>标签里的src为base64格式,图片本身为svg图片,服务端转为base64之后前端展示的。
之前正常运行半年多,突发的状况,目前已经测试过的小米和华为手机全部出现此类问题,iphone目前没问题。
base64文件如下:
data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzUwIiBoZWlnaHQ9IjQ1MCIgdmVyc2lvbj0iMS4xIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJyZ2JhKDAsMCwwLDApIiBzdHJva2Utd2lkdGg9IjBweCIvPjxyZWN0IHdpZHRoPSI0MCIgeD0iNTkuMTY3IiB5PSIxOTcuOTkiIGhlaWdodD0iMjA3LjAxIiBpZD0iZXUiIHN0eWxlPSJmaWxsOiNhOGRjNDc7c3Ryb2tlOnJnYmEoMCwwLDAsMCk7c3Ryb2tlLXdpZHRoOjFweDsiLz48cmVjdCB3aWR0aD0iNDAiIHg9IjE3Ny41IiB5PSIzMzEuOTQiIGhlaWdodD0iNzMuMDYyIiBpZD0iZXciIHN0eWxlPSJmaWxsOiNhOGRjNDc7c3Ryb2tlOnJnYmEoMCwwLDAsMCk7c3Ryb2tlLXdpZHRoOjFweDsiLz48cmVjdCB3aWR0aD0iNDAiIHg9IjI5NS44MyIgeT0iODAiIGhlaWdodD0iMzI1IiBpZD0iZXkiIHN0eWxlPSJmaWxsOiNhOGRjNDc7c3Ryb2tlOnJnYmEoMCwwLDAsMCk7c3Ryb2tlLXdpZHRoOjFweDsiLz48cmVjdCB3aWR0aD0iNDAiIHg9IjQxNC4xNyIgeT0iMzU4LjY3IiBoZWlnaHQ9IjQ2LjMyOSIgaWQ9ImUxMCIgc3R5bGU9ImZpbGw6I2E4ZGM0NztzdHJva2U6cmdi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