This commit is contained in:
yumoqing 2024-10-26 16:32:18 +08:00
parent 73f546c977
commit d85fb4cfc4

View File

@ -44,10 +44,15 @@ bricks.HttpText = class {
}; };
bricks.extend(this.headers, headers); bricks.extend(this.headers, headers);
var width=0, height=0; var width=0, height=0;
var is_mobile = 0
if (bricks.is_mobile()){
is_mobile = 1;
}
if (bricks.app) { if (bricks.app) {
width = bricks.app.screenWidth(); width = bricks.app.screenWidth();
height = bricks.app.screenHeight(); height = bricks.app.screenHeight();
} }
this.params = { this.params = {
"_webbricks_":1, "_webbricks_":1,
"width":width, "width":width,