app/template/smartphone/Common/SizeTable.twig line 1

Open in your IDE?
  1. <div id="item-detail">
  2.     <div id="overlay"></div>
  3.     <div id="modal-window" class="modal-window">
  4.         <div id="modal-title">カートに入れる</div>
  5.         <div class="modal-content">
  6.             <p class="modal-explain">商品をカートに追加しました。</p>
  7.             <div class="modal-btns">
  8.                 <a onclick="closeModalWindow();" href="javascript:void(0);"><div class="modal-btn-back">買い物を続ける</div></a>
  9.                 <a onclick="closeModalWindow();location.href='/sp/cart-muji'" href="javascript:void(0);"><div id="modal-btn-cart">カートを見る</div></a>
  10.             </div>
  11.         </div>
  12.     </div>
  13.     <div id="modal-window-sample" class="modal-window">
  14.         <div id="modal-title-sample">貸出サンプル申し込み</div>
  15.         <div class="modal-content">
  16.             <p class="modal-explain">サンプルをカートに追加しました。</p>
  17.             <div class="modal-btns">
  18.                 <a onclick="closeModalWindowSample();" href="javascript:void(0);"><div class="modal-btn-back">続ける</div></a>
  19.                 <a onclick="closeModalWindowSample();location.href='/sp/cart-sample'" href="javascript:void(0);"><div id="modal-btn-cart-sample" style="font-size: 13px;">カートを見る</div></a>
  20.             </div>
  21.         </div>
  22.     </div>
  23.     <div id="alert-window" class="alert-window">
  24.         <div class="alert-content">
  25.             <p class="alert-explain"></p>
  26.             <div class="alert-btns">
  27.                 <a class="alert-btn-back" onclick="closeAlertWindow();" href="javascript:void(0);">OK</a>
  28.             </div>
  29.         </div>
  30.     </div>
  31.     <div id="modal-window-tel-order" class="modal-window">
  32.         <div id="modal-title-tel-order">&nbsp;</div>
  33.         <div class="modal-content">
  34.             <div class="modal-explain">
  35.                 <p>ご不明な点を、商品を知り尽くした<br>専門オペレーターに確認しながら<br>ご注文が可能です。</p>
  36.                 <p class="tel-order-info"><span>●</span>受付時間 9:00〜18:00<span>(平日)</span></p>
  37.                 <p class="tel-order-company">運営:(株)ランドマーク</p>
  38.                 <a href="tel:0120-115-116" class="call-btn"><img src="https://img0.land-mark.biz/ut_img/public_images/image_dt/btn_tel_order_call_sp.jpg" border="0" alt="発信" /></a>
  39.             </div>
  40.             <div class="modal-btns">
  41.                 <a onclick="closeModalWindowTelOrder();" href="javascript:void(0);"><div class="tel-order-close-btn"><span>&times;</span></div></a>
  42.             </div>
  43.         </div>
  44.     </div>
  45.     <div id="overlay-scrollable">
  46.         <style type="text/css">
  47.         #overlay-scrollable {
  48.             visibility: hidden;
  49.             position: fixed;
  50.             left: 0;
  51.             top: 0;
  52.             width: 100%;
  53.             height: 100%;
  54.             z-index: 1000;
  55.             background-color: rgba(0,0,0,.7);
  56.             overflow: scroll;
  57.         }
  58.         .modal-window-scrollable {
  59.             display: none;
  60.             position: absolute;
  61.             width: 100%;
  62.             height: 100%;
  63.             overflow: scroll;
  64.             padding: 5%;
  65.         }
  66.         #size-chart-table {
  67.             width: 90%;
  68.         }
  69.         </style>
  70.     </div>
  71.     <div id="modal-window-size-chart" class="modal-window-scrollable">
  72.         <style>
  73.             #size-chart {
  74.                 color: black;
  75.                 padding-top: 20px;
  76.             }
  77.             #size-chart-table {
  78.                 width: 100%;
  79.             }
  80.             #size-chart td,
  81.             #size-chart th {
  82.                 border: 1px solid #aaa;
  83.                 padding: .4em;
  84.                 font-family: 'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',Osaka,'MS Pゴシック','MS PGothic',sans-serif;
  85.                 font-size: 3.2vw;
  86.                 font-weight: 400;
  87.             }
  88.         </style>
  89.         <div id="size-chart" class="display-3">
  90.             <table id="size-chart-table">
  91.                 <thead id="size-chart-head">
  92.                     <tr>
  93.                         <th style="background-color: #e6e6e6;"></th>
  94.                         <th style="padding: 10px; background-color: #e6e6e6;">カラー</th>
  95.                         <th style="padding: 10px; background-color: #e6e6e6;">サイズ</th>
  96.                         <th style="padding: 10px; background-color: #e6e6e6;">在庫数</th>
  97.                     </tr>
  98.                 </thead>
  99.                 <tbody id="size-chart-body">
  100.                 </tbody>
  101.             </table>
  102.         </div>
  103.     </div>
  104.     <div id="item-size-chart">
  105.         <div style="margin-top: 10px;" id="item-size-chart">
  106.             <div id="size-chart" class="display-2">
  107.                 <style>
  108.                     #item-size-chart {
  109.                         color: black;
  110.                     }
  111.                     .size-list-menu, .size-list-menu th {
  112.                         background-color: #BAD9FF;
  113.                         border: 1px solid #ccc;
  114.                         padding: 5px;
  115.                     }
  116.                     .size-list-menu td {
  117.                         padding: 5px;
  118.                     }
  119.                     .aiueo {
  120.                         background-color: #f4f9ff;
  121.                     }
  122.                     .two-step-messages {
  123.                         font-size: 14px;
  124.                         text-align: left;
  125.                         border-bottom: 1px solid #eee;
  126.                         padding-bottom: 3px;
  127.                         margin-top: 5px;
  128.                     }
  129.                     .size-name-header {
  130.                         background-color: #dddddd;
  131.                     }
  132.                     .size-header {
  133.                         background-color: rgb(226, 222, 163);
  134.                     }
  135.                     .number {
  136.                         text-align: right;
  137.                     }
  138.                     #blink {
  139.                         color: #F00;
  140.                     }
  141.                     #size-chart .size_table_comment {
  142.                         margin: 0.4em auto 0 auto;
  143.                         width: 95%;
  144.                         line-height: 1.2;
  145.                         margin-top: 0.4em;
  146.                         font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "MS Pゴシック", sans-serif !important
  147.                     }
  148.                     .iteme_page_sphone #item-detail #item-size-chart #size-chart table td {
  149.                         padding: 6px 0 3px !important;
  150.                         text-align: center !important;
  151.                     }
  152.                     #item-size-chart table tbody tr td {
  153.                         overflow-wrap: break-word;
  154.                     }
  155.                 </style>
  156.                     <p class="size_table_caption">{{ goods.goodsNewName }}のサイズ表</p>
  157.                 <table>
  158.                     <tbody>
  159.                     <tr>
  160.                         <th class="size-name-header">サイズ</th>
  161.                         {% for sizeName in SizeList.size %}
  162.                             <th class="size-name-header">{{sizeName}}</th>
  163.                         {% endfor %}
  164.                     </tr>
  165.                     {% for key, data in SizePosition %}
  166.                         <tr>
  167.                             <th class="size-header">{{data.position}}</th>
  168.                             {% for sizeVal in data.val %}
  169.                                 <td class="number" {% if data.count[loop.index0] != "" %} colspan='{{data.count[loop.index0]}}'{% endif %}>
  170.                                     {{sizeVal}}
  171.                                 </td>
  172.                             {% endfor %}
  173.                         </tr>
  174.                     {% endfor %}
  175.                     {% if SizeList.comment is defined %}
  176.                         <tr>
  177.                             <th class="size-header">備考</th>
  178.                             {% for sizeVal in SizeList.comment %}
  179.                                 <td>{{sizeVal}}<br/></td>
  180.                             {% endfor %}
  181.                         </tr>
  182.                     {% endif %}
  183.                     </tbody>
  184.                 </table>
  185.                 {% if SizeList is defined and SizeList.size and data.goods_size_guide_comment is defined %}
  186.                     <p class="size_table_comment">{{ data.goods_size_guide_comment | raw}} </p>
  187.                 {% endif %}
  188.             </div>
  189.         </div>
  190.     </div>
  191. </div>
  192. <style>
  193. #item-detail #main_banner_wrapper {
  194.     position: relative;
  195.     margin: 0 auto;
  196.     width: 498px;
  197.     overflow: hidden;
  198.     text-align: center;
  199. }
  200. #main_banner .slide-img:nth-child(n+2) {
  201.     display: none;
  202. }
  203. </style>