Commit 07dbfbba by 高淑倩

modify: 样式

parent e5cfa02f
...@@ -60,7 +60,7 @@ function imageUtil(e) { ...@@ -60,7 +60,7 @@ function imageUtil(e) {
success: function (res) { success: function (res) {
// var windowWidth = res.windowWidth/2; // var windowWidth = res.windowWidth/2;
// var windowHeight = res.windowHeight/2; // var windowHeight = res.windowHeight/2;
var windowWidth = (res.windowWidth - 42)/2; var windowWidth = (res.windowWidth - 30)/2;
var windowHeight = res.windowHeight/2; var windowHeight = res.windowHeight/2;
var windowscale = windowHeight/windowWidth;//屏幕高宽比 var windowscale = windowHeight/windowWidth;//屏幕高宽比
if(originalScale < windowscale){//图片高宽比小于屏幕高宽比 if(originalScale < windowscale){//图片高宽比小于屏幕高宽比
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment