正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -66,6 +66,7 @@ | @@ -66,6 +66,7 @@ | ||
66 | </div> | 66 | </div> |
67 | <div class="footer">确定</div> | 67 | <div class="footer">确定</div> |
68 | <script type="text/javascript" src="__TMPL__/public/assets/js/jquery.min.js"></script> | 68 | <script type="text/javascript" src="__TMPL__/public/assets/js/jquery.min.js"></script> |
69 | + <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> | ||
69 | <script> | 70 | <script> |
70 | function clacImgZoomParam(maxWidth, maxHeight, width, height) { | 71 | function clacImgZoomParam(maxWidth, maxHeight, width, height) { |
71 | var param = { | 72 | var param = { |
@@ -121,6 +122,7 @@ | @@ -121,6 +122,7 @@ | ||
121 | var rect = clacImgZoomParam(MAXWIDTH, MAXHEIGHT, img.offsetWidth, img.offsetHeight); | 122 | var rect = clacImgZoomParam(MAXWIDTH, MAXHEIGHT, img.offsetWidth, img.offsetHeight); |
122 | status = ('rect:' + rect.top + ',' + rect.left + ',' + rect.width + ',' + rect.height); | 123 | status = ('rect:' + rect.top + ',' + rect.left + ',' + rect.width + ',' + rect.height); |
123 | div.innerHTML = "<div id=divhead style='width:" + rect.width + "px;height:" + rect.height + "px;margin-top:" + rect.top + "px;" + sFilter + src + "\"'></div>"; | 124 | div.innerHTML = "<div id=divhead style='width:" + rect.width + "px;height:" + rect.height + "px;margin-top:" + rect.top + "px;" + sFilter + src + "\"'></div>"; |
125 | + alert(src); | ||
124 | } | 126 | } |
125 | 127 | ||
126 | } | 128 | } |
-
请 注册 或 登录 后发表评论