Ionic App Lab预览

时间:2016-02-07 01:16:31

标签: html ionic-framework

当我使用ionic serve --lab预览this app时,图片在主页和菜单上显示正常,但不会显示在"关于我们"页面由于某种原因。显示每个"领导者的图像"在"关于我们"页面是完全相同的图像(" Alberto.png")正确显示在home.html底部附近

<ion-view view-title="About Us">
  <ion-content>
      <div class="card">
  <div class="item item-divider">
    Our History
  </div>
    <div><p>Started in 2010, Ristorante con Fusion quickly established itself as a culinary icon par excellence in Hong Kong. With its unique brand of world fusion cuisine that can be found nowhere else, it enjoys patronage from the A-list clientele in Hong Kong.  Featuring four of the best three-star Michelin chefs in the world, you never know what will arrive on your plate the next time you visit us.

    The restaurant traces its humble beginnings to The Frying Pan, a successful chain started by our CEO, Mr. Peter Pan, that featured for the first time the world's best cuisines in a pan.
    </p></div>      
      </div>
      <div class="card">
          <div class="item item-divider">
          <b>Corporate Leadership</b>    
          </div>
          <ion-item ng-repeat="leader in leaders" class="list-inset">
          <div class="item item-thumbnail-left item-text-wrap">
               <img ng-src="{{baseURL+leader.image}}" alt="">
                <br><b>{{leader.name}}</b>
                <br><b>{{leader.designation}}</b>
                <p>{{leader.description}}</p>
            </ion-item>  
          </div>
      </div>            
      <!-- below is a deprecated alternate attempt>
         <ion-list type="list-inset"> 
          <ion-item ng-repeat="leader in leaders" class="list-inset">
                        <div class="item item-body item-text-wrap">
              <img ng-src="{{baseURL+leader.image}}" alt="">      
              <br> {{leader.name}} 
              <br> {{leader.abbr}} 
              <br> {{leader.designation}} 
              <br> {{leader.description}}
              </div>
          </ion-item>      
      </ion-list>
     <-->
  </ion-content>

</ion-view>

应该是这样的: Goal

0 个答案:

没有答案
相关问题