Skip to content

Commit 3e0e157

Browse files
committed
样式影响应式
1 parent 27624b4 commit 3e0e157

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

SoEasyPlatform/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class Startup
2424
/// <summary>
2525
/// 版本号
2626
/// </summary>
27-
public static string Version = "1.2611";
27+
public static string Version = "1.27";
2828
/// <summary>
2929
/// 接口域名目录
3030
/// </summary>

SoEasyPlatform/wwwroot/views/shared/overwritesugar.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,16 @@ var SugarContext = {
365365
// ...
366366
});
367367
})
368+
},
369+
Onresize: function () {
370+
window.onresize = function ()
371+
{
372+
373+
$(".x_panel").css({ height: $(window).height() - 45 });
374+
}
368375
}
369376
};
370377
$sugar.init(SugarContext);
371378
SugarContext.AjaxAopLoadingInit();
379+
SugarContext.Onresize();
372380

0 commit comments

Comments
 (0)