Showing
2 changed files
with
2 additions
and
3 deletions
@@ -129,10 +129,9 @@ define('mobile', function(require, exports) { | @@ -129,10 +129,9 @@ define('mobile', function(require, exports) { | ||
129 | }; | 129 | }; |
130 | 130 | ||
131 | exports.show = function() { | 131 | exports.show = function() { |
132 | - $(".layout-item").bind("click", function() { | 132 | + $(".layout-item").bind("tap", function() { |
133 | var imageWidth = 320, | 133 | var imageWidth = 320, |
134 | imageHeight = 320; | 134 | imageHeight = 320; |
135 | - console.log("test"); | ||
136 | $(this).find(".image-box .pic-tip").each(function() { | 135 | $(this).find(".image-box .pic-tip").each(function() { |
137 | var style_top = parseInt($(this).attr("x")) / 10000 * imageHeight; | 136 | var style_top = parseInt($(this).attr("x")) / 10000 * imageHeight; |
138 | var style_left = parseInt($(this).attr("y")) / 10000 * imageWidth; | 137 | var style_left = parseInt($(this).attr("y")) / 10000 * imageWidth; |
1 | <?php $this->_extends('layout/default_layout_mobile');?> | 1 | <?php $this->_extends('layout/default_layout_mobile');?> |
2 | <?php $this->_block('main');?> | 2 | <?php $this->_block('main');?> |
3 | <div class="detail-title brand-title"> | 3 | <div class="detail-title brand-title"> |
4 | - <h2 class="title">About <?php echo $this->view->info['name'];?>/h2> | 4 | + <h2 class="title">About <?php echo $this->view->info['name'];?></h2> |
5 | </div> | 5 | </div> |
6 | <div class="detail-article"> | 6 | <div class="detail-article"> |
7 | <img src="<?php echo Lib_Images::getImageUrl($this->view->info['logo'], '0147x0097','fragmentimg');?>" alt=""> | 7 | <img src="<?php echo Lib_Images::getImageUrl($this->view->info['logo'], '0147x0097','fragmentimg');?>" alt=""> |
-
Please register or login to post a comment