美术更新

- detail页面修改
- ui布局修改
This commit is contained in:
2025-08-25 20:15:42 +08:00
parent 2ae00f5c23
commit d6c3c775b5
183 changed files with 22192 additions and 12914 deletions
+7
View File
@@ -178,6 +178,13 @@ export default class Utils {
//let windowSize = view.getVisibleSize();
let bgTf = node.getComponent(UITransform);
if (bgTf) {
if (mod == 3) {
if (bgTf.height < bgTf.width) {
mod = 1;
} else {
mod = 2;
}
}
if (mod == 1) {
let scale = windowSize.height / bgTf.height;
bgTf.height = bgTf.height * scale;