2016-11-09 4 views
1

JSON COR 파일의 콧수염을 사용하여 이미지를 amp-carousel로 보내려고합니다. 이것은 충분히 쉽게 작동해야하지만 몇 가지 문제가 있다고 생각했습니다.Amp- 콧수염 템플릿이있는 Amp 회전 목마 사용

<amp-list width=auto 
      height=auto 
      layout=fixed-height 
      src="carousel.json"> 



       <template type="amp-mustache" id="amp-template-id"> 

        <li> 

         <amp-carousel width="400" 
          height="244" 
          layout="fixed" 
          type="slides" 
          autoplay 
          delay="4000"> 

        <amp-img width="400" 
          height="244" 
          layout="fixed" 
          src="{{src}}"></amp-img>      


         </amp-carousel> 
       </li> 

       </template> 


       <div overflow 
        role=button 
        aria-label="Show more" 
        class="list-overflow"> 
        Show more 
       </div> 
      </amp-list> 
+0

어떤 문제가? 예상대로 작동하지 않는 것을 설명하십시오. –

답변