久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<tfoot id='z2raj'></tfoot>
    <bdo id='z2raj'></bdo><ul id='z2raj'></ul>
    <legend id='z2raj'><style id='z2raj'><dir id='z2raj'><q id='z2raj'></q></dir></style></legend>
  1. <i id='z2raj'><tr id='z2raj'><dt id='z2raj'><q id='z2raj'><span id='z2raj'><b id='z2raj'><form id='z2raj'><ins id='z2raj'></ins><ul id='z2raj'></ul><sub id='z2raj'></sub></form><legend id='z2raj'></legend><bdo id='z2raj'><pre id='z2raj'><center id='z2raj'></center></pre></bdo></b><th id='z2raj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='z2raj'><tfoot id='z2raj'></tfoot><dl id='z2raj'><fieldset id='z2raj'></fieldset></dl></div>

      <small id='z2raj'></small><noframes id='z2raj'>

    1. 與另一個離子卡重疊的虛擬滾動 ion-img 標簽

      Virtual scroll ion-img tag overlapping to another ion card(與另一個離子卡重疊的虛擬滾動 ion-img 標簽)
        1. <i id='farKc'><tr id='farKc'><dt id='farKc'><q id='farKc'><span id='farKc'><b id='farKc'><form id='farKc'><ins id='farKc'></ins><ul id='farKc'></ul><sub id='farKc'></sub></form><legend id='farKc'></legend><bdo id='farKc'><pre id='farKc'><center id='farKc'></center></pre></bdo></b><th id='farKc'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='farKc'><tfoot id='farKc'></tfoot><dl id='farKc'><fieldset id='farKc'></fieldset></dl></div>

          <legend id='farKc'><style id='farKc'><dir id='farKc'><q id='farKc'></q></dir></style></legend>

              <tbody id='farKc'></tbody>
            • <bdo id='farKc'></bdo><ul id='farKc'></ul>
              • <small id='farKc'></small><noframes id='farKc'>

                <tfoot id='farKc'></tfoot>

                本文介紹了與另一個離子卡重疊的虛擬滾動 ion-img 標簽的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我在虛擬滾動中使用 ion-img 時遇到問題,當我不打算設置 ion-img 標簽的寬度和高度時,它會顯示一個小圖像.但是當我在上面設置一些寬度和高度時,它會重疊到另一張不正確的卡片上

                下面是我正在使用的代碼

                <塊引用>

                我忘了提到這是一個錯誤,仍在解決過程中,但我要求另一種解決方法來解決這個問題,我不擅長做 css

                解決方案

                你必須通過卡片頁腳來降低圖像的高度.比如:

                img.height -= card.footerHeight

                I have a problem using ion-img in virtual scroll, when im not going to set the width and height of the ion-img tag it shows a tiny image. But when I set some width and height on it it overlaps to another card which is not right

                below is the code that i am using

                <ion-list [virtualScroll]="posts" [approxItemHeight]="'150px'">
                    <div *virtualItem="let post" style="width: 100%">
                      <ion-card class="adv-map">
                        <ion-item>
                          <ion-avatar item-start>
                            <img src="img/marty-avatar.png">
                          </ion-avatar>
                          </button> -->
                          <h2>{{ post.name }} </h2>
                          <p>{{ post.date_posted }}</p>
                        </ion-item>
                
                          <ion-img [width]="imgWidth" [height]="imgHeight" [src]="post.imagepost_url"></ion-img>
                          <ion-fab right top class="fab-map">
                            <button (click)="showLocation(post.lattitude,post.longitude,post.title)" ion-fab>
                              <ion-icon name="pin"></ion-icon>
                            </button>
                          </ion-fab>
                
                        <ion-card-content>
                          <ion-card-title>
                            {{post.title}}
                          </ion-card-title>
                          <p>
                            {{post.content}}
                          </p>
                        </ion-card-content>
                      </ion-card>
                          <div style="height:100px"></div>
                    </div>
                  </ion-list>
                

                EDIT: I forgot to mention that this was bug and still on the process in solving but im asking another work around to fix this problem im not good at doing css

                解決方案

                You have to reduce the height of the image by the card footer. Something like:

                img.height -= card.footerHeight
                

                這篇關于與另一個離子卡重疊的虛擬滾動 ion-img 標簽的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Use IScroll in Angular 2 / Typescript(在 Angular 2/Typescript 中使用 IScroll)
                anime.js not working in Ionic 3 project(Anime.js 在 Ionic 3 項目中不起作用)
                Ionic 3 - Update Observable with Asynchronous Data(Ionic 3 - 使用異步數據更新 Observable)
                Angular 2: file not found on local .json file(Angular 2:在本地 .json 文件中找不到文件)
                In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創建使用 Ionic 組件的自定義指令?)
                Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動態元素 - Angular 2 amp;離子2)
                • <bdo id='GV0Z7'></bdo><ul id='GV0Z7'></ul>
                    <tbody id='GV0Z7'></tbody>

                  1. <small id='GV0Z7'></small><noframes id='GV0Z7'>

                      <legend id='GV0Z7'><style id='GV0Z7'><dir id='GV0Z7'><q id='GV0Z7'></q></dir></style></legend>
                    • <tfoot id='GV0Z7'></tfoot>
                    • <i id='GV0Z7'><tr id='GV0Z7'><dt id='GV0Z7'><q id='GV0Z7'><span id='GV0Z7'><b id='GV0Z7'><form id='GV0Z7'><ins id='GV0Z7'></ins><ul id='GV0Z7'></ul><sub id='GV0Z7'></sub></form><legend id='GV0Z7'></legend><bdo id='GV0Z7'><pre id='GV0Z7'><center id='GV0Z7'></center></pre></bdo></b><th id='GV0Z7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GV0Z7'><tfoot id='GV0Z7'></tfoot><dl id='GV0Z7'><fieldset id='GV0Z7'></fieldset></dl></div>
                          主站蜘蛛池模板: 日韩在线免费观看视频 | 日韩视频免费在线观看 | 久草这里只有精品 | 日韩少妇视频 | 亚洲一区二区三区在线视频 | 亚洲高清毛片一区二区 | 日本一级大毛片a一 | 欧美男人天堂 | 久久av一区二区三区亚洲 | 亚洲天天操 | 久艹视频在线观看 | 97视频在线播放 | 成人免费激情视频 | 亚洲综合三区 | 免费午夜视频 | 亚洲69 | 中文字幕系列 | 久久精品欧美一区二区 | 一区二区三区久久久 | 成人毛片在线播放 | 久久免费精品视频 | 一色桃子av | 中文字幕免费观看视频 | 国产视频导航 | 狠狠干影院 | 久久成人一区 | 国产毛片一级 | 黄色片在线观看视频 | 黄免费视频| 精品一区二区三区四区五区 | 久久久国产精品人人片 | 国产成人午夜精品 | 午夜影院在线 | 老司机精品福利视频 | 伊人91| 亚洲激情五月 | 性生活毛片 | 91黄色大片 | 中国免费毛片 | 伊人久久综合 | 国产福利一区二区三区 |