app/template/user_data/shop2.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% block stylesheet %}
  3. <link href="/html/plugin/AkracingShopMap/assets/lightbox/css/lightbox.min.css" rel="stylesheet" />
  4. {% endblock %}
  5. {% block javascript %}
  6. <script src="{{ asset('assets/js/jmap.min.js') }}"></script>
  7.     <script type = "text/javascript">
  8.         $(document).ready(function() {
  9.             $('#jmap').jmap({
  10.                 height: "450px",
  11.                 onSelect: function(e, data) {
  12.                     //console.log(e);
  13.                     //console.log(data.name);
  14.                     $(".section__inner").removeClass("active")
  15.                     if(data.name === "北海道"){
  16.                         $("#"+data.name).addClass("active");
  17.                     }else if(data.name === "東京"){
  18.                         $("#"+data.name+"都").addClass("active");
  19.                     }else if(data.name === "大阪"){
  20.                         $("#"+data.name+"府").addClass("active");
  21.                     }else if(data.name === "京都"){
  22.                         $("#"+data.name+"府").addClass("active");
  23.                     }else{
  24.                         $("#"+data.name+"県").addClass("active");
  25.                     }
  26.                     let speed = 500;
  27.                     let href= "#shop-area";
  28.                     let target = $(href == "#" || href == "" ? 'html' : href);
  29.                     let position = target.offset().top;
  30.                     $("html, body").animate({scrollTop:position}, speed, "swing");
  31.                 },
  32.             });
  33.             $(".btnlist_shop__prefecture2 a").on("click",function(){
  34.                 //console.log($(this).text());
  35.                 $(".section__inner").removeClass("active")
  36.                 let name = $(this).text();
  37.                 $("#"+ name).addClass("active");
  38.                 let speed = 500;
  39.                 let href= "#shop-area";
  40.                 let target = $(href == "#" || href == "" ? 'html' : href);
  41.                 let position = target.offset().top;
  42.                 $("html, body").animate({scrollTop:position}, speed, "swing");
  43.                 return false;
  44.             });
  45.         });
  46.     </script>
  47. {#
  48.     light box
  49.     https://it-web-life.com/jquery_lightbox/
  50.     https://it-web-life.com/jquery_lightbox/
  51. #}
  52. <script src="/html/plugin/AkracingShopMap/assets/lightbox/js/lightbox.min.js"></script>
  53. {% endblock %}
  54. {% block main %}
  55.     <div id="shop_page">
  56.         <div class="ak-header">
  57.             <div class="ak-pageHeader">
  58.                 <h1>SHOP</h1>
  59.                 <p>AKRacing 有機ELモニターの実店舗一覧です。※取扱い終了しました。</p>
  60.                 <ul class="ak-link">
  61.                     <li><a href="https://www.akracing.jp/shop">チェアの実店舗一覧に戻る</a></li>
  62.                 </ul>
  63.             </div>
  64.         </div><!-- ak-header -->
  65.         
  66. <h2><img src="{{ asset('assets/img/shop/real_shop.png') }}" alt=""><span>有機ELモニター実店舗</sapn></h2>
  67. <div id="oled_monitor">
  68.   <section class="section section-lower">
  69.     <div class="section__inner section-lower--border active">
  70.       <div class="table table_03">
  71.         <table>
  72.           <tbody>
  73.             <tr>
  74.               <th>店舗名</th>
  75.               <th>住所</th>
  76.               <th>電話</th>
  77.               <th>店舗種別</th>
  78.               <th class="circle">展示</th>
  79.               <th class="circle">販売</th>
  80.             </tr>
  81.             <tr>
  82.               <td>ヨドバシカメラ<br>
  83.               マルチメディア梅田</td>
  84.               <td class="line3"> 〒530-0011 <br>
  85.                 大阪府大阪市北区大深町1-1 </td>
  86.               <td>06-4802-1010</td>
  87.               <td>家電量販店</td>
  88.               <td class="circle circle_01"> OL2701 </td>
  89.               <td class="circle circle_02"> 〇 </td>
  90.             </tr>
  91.              <tr>
  92.               <td>ビックカメラ<br>
  93.                 有楽町店</td>
  94.               <td class="line3"> 〒100-0006 <br>
  95.                 東京都千代田区有楽町1-11-1 </td>
  96.               <td>03-5221-1111</td>
  97.               <td>家電量販店</td>
  98.               <td class="circle circle_01"> <a href="/html/user_data/shop/ol2701/bic_camera_yuurakucho_01.jpg" data-lightbox="img-101"> OL2701 </a></td>
  99.               <td class="circle circle_02"> 〇 </td>
  100.             </tr>
  101.             <tr>
  102.               <td>ビックカメラ<br>
  103.                 池袋カメラ・パソコン館</td>
  104.               <td class="line3"> 〒170-0013 <br>
  105.                 東京都豊島区東池袋1-6-7<br></td>
  106.               <td>03-5956-1111</td>
  107.               <td>家電量販店</td>
  108.               <td class="circle circle_01"> <a href="/html/user_data/shop/ol2701/bic_camera_ikebukuro_01.jpg" data-lightbox="img-101"> OL2701 </a></td>
  109.               <td class="circle circle_02"> 〇 </td>
  110.             </tr>
  111.             <tr>
  112.               <td>ビックカメラ<br>
  113.                 新宿西口店</td>
  114.               <td class="line3"><p> 〒160-0023<br>
  115.                   東京都新宿区西新宿1-5-1 新宿西口ハルク 2F~6F <br>
  116.                 </p></td>
  117.               <td>03-5326-1111</td>
  118.               <td>家電量販店</td>
  119.              <td class="circle circle_01"> <a href="/html/user_data/shop/ol2701/bic_camera_shinjuku_nisiguchi_01.jpg" data-lightbox="img-101"> OL2701 </a></td>
  120.               <td class="circle circle_02"> 〇 </td>
  121.             </tr>
  122.             <tr>
  123.               <td>パソコン工房<br>
  124.                 秋葉原 BUYMORE店</td>
  125.               <td class="line3"> 〒101-0021 <br>
  126.                 東京都千代田区外神田3-14-10 秋葉原HFビル1F<br></td>
  127.               <td>03-5209-7330</td>
  128.               <td>PCショップ</td>
  129.               <td class="circle circle_01"> <a href="/html/user_data/shop/ol2701/pc_koubou_akihabara_01.jpg" data-lightbox="img-101"> OL2701 </a></td>
  130.               <td class="circle circle_02">〇 </td>
  131.             </tr>
  132.             <tr>
  133.               <td>パソコン工房<br>
  134.                 大阪日本橋店</td>
  135.               <td class="line3"> 〒556-0005 <br>
  136.                 大阪府大阪市浪速区日本橋4-15-17</td>
  137.               <td>06-6647-8820</td>
  138.               <td>PCショップ</td>
  139.               <td class="circle circle_01"> <a href="/html/user_data/shop/ol2701/pc_koubou_oosaka_01.jpg" data-lightbox="img-101"> OL2701 </a></td>
  140.               <td class="circle circle_02">〇</td>
  141.             </tr>
  142.           </tbody>
  143.         </table>
  144.       </div>
  145.     </div>
  146.   </section>
  147. </div>
  148.         </div>
  149.     </div>
  150. {% endblock %}