HarmonyOS 这边当前还没有1x、2x、3x的概念,保证清晰度的话,可以将图片放在不同屏幕密度的文件里面,在resource创建资源目录,然后在density种根据需求选择屏幕密度,并将图片放入media目录中https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/resource-categories-and-access-V5
HarmonyOS 这边当前还没有1x、2x、3x的概念,保证清晰度的话,可以将图片放在不同屏幕密度的文件里面,在resource创建资源目录,然后在density种根据需求选择屏幕密度,并将图片放入media目录中
https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/resource-categories-and-access-V5