|
|
@@ -1,4 +1,7 @@
|
|
|
// components/service/service.ts
|
|
|
+
|
|
|
+import { ColorGradient } from "XrFrame/components/particle/gradient";
|
|
|
+
|
|
|
// 获取应用实例
|
|
|
const app = getApp<IAppOption>()
|
|
|
Component({
|
|
|
@@ -27,7 +30,7 @@ Component({
|
|
|
this.setData({
|
|
|
maxTop: barHeight + systemInfo.safeArea.top,
|
|
|
windowWidth: systemInfo.windowWidth,
|
|
|
- windowHeight: systemInfo.windowHeight,
|
|
|
+ windowHeight: systemInfo.windowHeight - (systemInfo.windowHeight - systemInfo.safeArea.bottom) - 46,
|
|
|
top: globalTop
|
|
|
});
|
|
|
}
|