Changeset 17462


Ignore:
Timestamp:
2008/07/24 21:41:16 (16 years ago)
Author:
Seasoft
Message:

「通常価格」と「販売価格」の二重価格表示を所謂「赤札」の概念にスタイル変更

Location:
branches/comu-ver2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/detail.tpl

    r17461 r17462  
    113113             
    114114            <!--★通常価格★--> 
    115             <div class="normal_price"> 
    116                 <!--{if $arrProduct.price01_max > 0}--> 
    117                 <span class="price"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->: 
    118                     <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> 
    119                         <!--{$arrProduct.price01_min|number_format}--> 
    120                     <!--{else}--> 
    121                         <!--{$arrProduct.price01_min|number_format}-->〜<!--{$arrProduct.price01_max|number_format}--> 
    122                     <!--{/if}-->円</span> 
    123                 <!--{/if}--> 
    124             </div> 
     115            <!--{if $arrProduct.price01_max > 0}--> 
     116                <div class="normal_price"> 
     117                    <!--{$smarty.const.NORMAL_PRICE_TITLE}-->: 
     118                    <span class="price"> 
     119                        <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> 
     120                            <!--{$arrProduct.price01_min|number_format}--> 
     121                        <!--{else}--> 
     122                            <!--{$arrProduct.price01_min|number_format}--><!--{$arrProduct.price01_max|number_format}--> 
     123                        <!--{/if}-->円</span> 
     124                </div> 
     125            <!--{/if}--> 
    125126 
    126127            <!--★ポイント★--> 
  • branches/comu-ver2/html/user_data/packages/default/css/main.css

    r17116 r17462  
    5151    line-height: 150%; 
    5252} 
    53 .price { color: #ff0000; font-weight: bold; } 
     53.price { 
     54} 
     55/* FIXME ポイントがクラス「price」を利用しているようだが、専用のクラスを用意すべき。 */ 
     56.sale_price { 
     57    color: #ff0000; 
     58} 
     59.sale_price .price { 
     60    font-weight: bold; 
     61} 
     62.normal_price { 
     63} 
    5464.attention { color: #ff0000; } 
    5565.mini { font-size: 90%; } 
Note: See TracChangeset for help on using the changeset viewer.