...
|
...
|
@@ -215,8 +215,8 @@ define('mobile', function(require, exports) { |
|
|
var imageWidth = $(window).width(),
|
|
|
imageHeight = 320;
|
|
|
$(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;
|
|
|
var style_left = parseInt($(this).attr("x")) / 10000 * imageHeight;
|
|
|
var style_top = parseInt($(this).attr("y")) / 10000 * imageWidth;
|
|
|
$(this).css({
|
|
|
top: style_top,
|
|
|
left: style_left,
|
...
|
...
|
|