This commit is contained in:
haomingming
2023-03-28 20:52:22 +08:00
parent 69df3bf6b3
commit 5ba50e4e61
58 changed files with 1122 additions and 347 deletions
@@ -103,6 +103,10 @@ let Navbar = class Navbar extends SuperComponent {
boxStyleList.push(`--td-navbar-right:${res.windowWidth - rect.left}px`);
}
boxStyleList.push(`--td-navbar-capsule-height: ${rect.height}px`);
console.log("statusBarHeight: ", statusBarHeight);
console.log("${rect.height}: ", `${rect.height}`);
boxStyleList.push(`--td-navbar-capsule-width:${rect.width}px`);
this.setData({
boxStyle: `${boxStyleList.join('; ')}`,