Authored by whb

修改h5

... ... @@ -198,7 +198,7 @@ define('mobile', function(require, exports) {
};
exports.show = function() {
$(".layout-item").bind("tap", function(event) {
$(".layout-item").bind("click", function(event) {
if ($(this).attr("isopen") == 1) {
$(this).find(".image-box .pic-tip").each(function() {
$(this).css({
... ... @@ -210,8 +210,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,
... ... @@ -233,4 +233,4 @@ define('mobile', function(require, exports) {
window.location.href = $(this).val();
})
};
});
\ No newline at end of file
});
... ...