问题描述
这是 gif 图像:
解决方法
最好的方法是在对话框中显示 gif。你可以这样做:
[
{
"AllowedHeaders": [
"Authorization"
],"AllowedMethods": [
"GET"
],"AllowedOrigins": [
"<url of first bucket with http://...without slash at the end>"
],"ExposeHeaders": [],"MaxAgeSeconds": 3000
}
]
请注意,您选择的 GIF 具有纯色背景。如果您只想显示进度指示器,您有 3 个选项:
- 从 gif 中删除背景
- 选择具有透明背景的 gif
- 将 _backgroundColor 设置为与 gif 中的背景颜色相同
P/s:另一种选择是使用 Flare/Rive 自己设计动画,但这有点超前。你可以read more here