修改页面显示逻辑

master
于肖磊 2024-10-16 10:34:55 +08:00
parent 83c893415c
commit 5358b6c734
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
const { windowWidth, windowHeight } = uni.getSystemInfoSync();
let x = display_location == 'left' ? 10 : windowWidth - 60;
//
const y = Math.ceil(windowHeight * (1 - Number(offset_number_percentage)));
const y = Math.ceil(windowHeight * (1 - Number(offset_number_percentage)) - 20);
this.setData({
content_style: float_style == 'shadow' ? `box-shadow: 0 0 40rpx ${float_style_color};border-radius: 50%;` : `background-color: ${float_style_color};border-radius: 50%;`,
x: x,