...
|
...
|
@@ -70,12 +70,12 @@ define('mobile', function(require, exports) { |
|
|
exports.show = function(){
|
|
|
$(".layout-item").bind("tap",function(event)
|
|
|
{
|
|
|
var imageWidth = 320, imageHeight = 320;
|
|
|
var imageWidth = 360, imageHeight = 360;
|
|
|
$(this).find(".image-box .pic-tip").each(function() {
|
|
|
var style_top = parseInt($(this).attr("x")) / 10000 * imageHeight;
|
|
|
var style_left = parseInt($(this).attr("y")) / 10000 * imageWidth;
|
|
|
$(this).css({top:style_top, left:style_left});
|
|
|
$(this).css({top:style_top, left:style_left, display:"block"});
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
}); |
...
|
...
|
|