作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

1

... ... @@ -66,6 +66,7 @@
</div>
<div class="footer">确定</div>
<script type="text/javascript" src="__TMPL__/public/assets/js/jquery.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
function clacImgZoomParam(maxWidth, maxHeight, width, height) {
var param = {
... ... @@ -121,6 +122,7 @@
var rect = clacImgZoomParam(MAXWIDTH, MAXHEIGHT, img.offsetWidth, img.offsetHeight);
status = ('rect:' + rect.top + ',' + rect.left + ',' + rect.width + ',' + rect.height);
div.innerHTML = "<div id=divhead style='width:" + rect.width + "px;height:" + rect.height + "px;margin-top:" + rect.top + "px;" + sFilter + src + "\"'></div>";
alert(src);
}
}
... ...