html array.html

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html array.html相关的知识,希望对你有一定的参考价值。

<!--primer documento we overview
-->
{{= it.include("common/entity-hotel-amenities.html",
   {
      amenities : 
      [
      {
         title : "Airport Shuttle Price 100€",
         text : "Airport Shuttle"
      },
      {
         title : "Enjoy breakfast at our hotel.Price",
         text : "Breakfast"
      },
      {
         title : "Multilingual staff",
         text : "Multilingual international staff"
      },
      {
         title : "Laundry service",
         text : "Laundry service"
      },
      {
         title : "Free Wi-Fi",
         text : "Free Wi-Fi"
      ],
      "discover" : "DISCOVER MORE SERVICES",
   }
   ) }}

<!--primer documento entity-hotel-amenities
-->

section class="entity-hotel-amenities mt-50">
   <div class="container">
      <div class="row">
         {{~it.amenities :value:index}}
         <div class="col-sm-12 amenity-list-icon amenity-list-icon--hotel">
            <ul class="list--inline__icons mb-15 overflow-text" id="list-icon">
               <li
                  class="bold-on-hover"
                  data-html="true"
                  data-toggle="tooltip"
                  title="{{= it.amenities[index].title}}"
               >
                  <i class="icon-transfer md mb-3"></i>
                  <p class="text-12">{{= it.amenities[index].text}}</p>
               </li>
            </ul>

            <button
               class="btn btn-link more-services"
               data-show-more="#list-icon"
               data-original-text="DISCOVER MORE SERVICES"
               data-toggle-text="DISCOVER MORE SERVICES"
            >
               {{~}}
               <span class="text text-caps">{{= it.discover}} </span>
               <i class="icon-arrow-down xxs"></i>
            </button>
         </div>
      </div>
   </div>
</section>

以上是关于html array.html的主要内容,如果未能解决你的问题,请参考以下文章

html miva_array_search.html

html miva_array_search.html

html miva_array_search.html

3. 数组和列表

ThinkPHP - URL生成(U函数)

js数组中indexOf/filter/forEach/map/reduce详解