优化
This commit is contained in:
@@ -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('; ')}`,
|
||||
|
||||
Reference in New Issue
Block a user