Ticket #1455 (closed バグ指摘: 修正済)
スマートフォン> 商品一覧の「もっと見る」ボタンで、追加表示された商品一覧の画像サイズが大きくなってしまう
| Reported by: | shutta | Owned by: | shutta |
|---|---|---|---|
| Priority: | 低 | Milestone: | EC-CUBE2.11.3 |
| Component: | フロント | Version: | 2.11.2 |
| Keywords: | Cc: | ||
| 修正済み: | yes |
Description
コミュニティから転載
【EC-CUBE2.11.2】スマートフォン商品一覧ページの「もっと見る」ボタンの動作につきまして
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=8714&forum=8
稼働環境
[EC-CUBE] 2.11.2
[レンタルサーバ] WADAX
[OS] Red Hat Linux
[PHP] PHP 5.1.6
[データベース] MySQL 5.0.77
[WEBサーバ] apache
[ブラウザ] Firefox 6.0 Google Chrome IE9
お世話になります。
以下のような事象がありました。
商品一覧ページで「もっと見る」ボタンを押すと、
追加された一覧の画像サイズが大きくなってしまいます。
確認いたしましたところ、以下のように設定すれば同サイズで
表示されているようです。
data/Smarty/templates/sphone/products/list.tpl
178~182行目
<修正前>
//商品写真をセット
$($(".list_area .listphoto img").get(maxCnt)).attr({
src: imagePath + product.main_list_image,
alt: product.name
});
<修正後>
//商品写真をセット
$($(".list_area .listphoto img").get(maxCnt)).attr({
src: imagePath + product.main_list_image,
alt: product.name,
width: 80,
height: 80
});
ご確認をお願いいたします。<(_ _)>
Change History
comment:1 Changed 15 years ago by shutta
- Owner changed from somebody to shutta
- Status changed from new to assigned
comment:5 Changed 14 years ago by shutta
- Status changed from assigned to closed
- Resolution set to 修正済
Note: See
TracTickets for help on using
tickets.
