久久久久久久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>
                          主站蜘蛛池模板: 成人免费观看视频 | 国产在线二区 | 久久久久亚洲精品 | 羞羞色视频 | 91 视频网站| 99精品国产一区二区三区 | 久久精品久久久久久 | 国产一区视频在线 | 日韩av.com | www.婷婷| 亚洲精品一 | 国产精品久久久久久久久久久久午夜片 | 精品国产乱码 | 欧美日本一区二区 | 黄网站免费在线观看 | 97caoporn国产免费人人 | 国产精品区二区三区日本 | 欧美色欧美亚洲另类七区 | 欧美a在线 | 视频在线一区二区 | 综合色久 | 成人精品一区亚洲午夜久久久 | 极品一区| 毛片一级网站 | 免费久久久久久 | 成人av在线大片 | 四虎首页| 超碰av在线 | 精品久久一区 | 色综合久久伊人 | 天天人人精品 | 亚洲精品在线免费看 | 亚洲精品一区二区三区在线 | 久久久久国产一区二区三区 | 日韩精品无码一区二区三区 | 欧美日韩美女 | 日韩欧美亚洲一区 | 久久久高清 | 欧美在线一区二区三区 | 国产一级片免费看 | 99伊人 |