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);
var width=0, height=0;
var is_mobile = 0
if (bricks.is_mobile()){
is_mobile = 1;
}
if (bricks.app) {
width = bricks.app.screenWidth();
height = bricks.app.screenHeight();
}
this.params = {
"_webbricks_":1,
"width":width,