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

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

      <small id='0Pa3S'></small><noframes id='0Pa3S'>

        <tfoot id='0Pa3S'></tfoot>
        <legend id='0Pa3S'><style id='0Pa3S'><dir id='0Pa3S'><q id='0Pa3S'></q></dir></style></legend>
        • <bdo id='0Pa3S'></bdo><ul id='0Pa3S'></ul>

        使用模態和樣式的 Ionic 2 登錄彈出窗口

        Ionic 2 login popup using Modal and styling(使用模態和樣式的 Ionic 2 登錄彈出窗口)
          <bdo id='Erl7G'></bdo><ul id='Erl7G'></ul>

                <tbody id='Erl7G'></tbody>

              1. <legend id='Erl7G'><style id='Erl7G'><dir id='Erl7G'><q id='Erl7G'></q></dir></style></legend>

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

                <tfoot id='Erl7G'></tfoot>
              2. <i id='Erl7G'><tr id='Erl7G'><dt id='Erl7G'><q id='Erl7G'><span id='Erl7G'><b id='Erl7G'><form id='Erl7G'><ins id='Erl7G'></ins><ul id='Erl7G'></ul><sub id='Erl7G'></sub></form><legend id='Erl7G'></legend><bdo id='Erl7G'><pre id='Erl7G'><center id='Erl7G'></center></pre></bdo></b><th id='Erl7G'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Erl7G'><tfoot id='Erl7G'></tfoot><dl id='Erl7G'><fieldset id='Erl7G'></fieldset></dl></div>
                • 本文介紹了使用模態和樣式的 Ionic 2 登錄彈出窗口的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我有一個項目,我想在其中使用這種類型的登錄:

                  I have a projet where i want to use this type of login :

                  我已經正確設置了一個模式,我可以毫無問題地關閉它,但我的問題是它占據了整個頁面,我只是希望它與圖片中一樣.

                  I have set up a modal correctly and i can dismiss it with no problem, but my problem is that it take the entire page, and i just want it to be as in the picture.

                  我不知道如何選擇 css 文件中的所有頁面,已嘗試使用 * 但它與 html 文件中的內容混淆了太多.

                  I don't know how to select all page in css file, already tried with * but it messing too much with what is inside the html file.

                  提前謝謝你!

                  打開模態頁面的代碼:

                    showLogin() {
                  let modal = this.modalCtrl.create(LoginPage);
                  // this.navCtrl.push(modal);
                  modal.present();
                  }
                  

                  模態代碼:HTML:

                  <ion-navbar class="modal-wrapper" *navbar>
                    <ion-title>Sample Modal</ion-title>
                  </ion-navbar>
                  <ion-content padding class="sample-modal-page">
                    <p>my sample modal page<p>
                       <ion-buttons start>
                          <button (click)="dismiss()">
                            Cancel
                          </button>
                        </ion-buttons>
                  </ion-content>
                  

                  CSS:

                  page-login {
                      .modal-wrapper {
                          padding: 30px;
                          background: rgba(0,0,0,0.5);
                      }
                  }
                  

                  TS:

                  import { Component } from '@angular/core';
                  import { NavController, NavParams, ViewController } from 'ionic-angular';
                  
                  @Component({
                    selector: 'page-login',
                    templateUrl: 'login.html'
                  })
                  export class LoginPage {
                  
                    constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl: ViewController) {}
                  
                    dismiss(data) {
                      this.viewCtrl.dismiss(data);
                    }
                  
                  }
                  

                  我的錯誤可能在html和css之間

                  My mistake is probably between html and css

                  推薦答案

                  我終于明白了,我沒有選擇正確的屬性.

                  I got it finnaly, i was not selecting the right attribute.

                  這里有什么效果:

                  page-login {
                      .sample-modal-page {
                          padding: 30px;
                          background: rgba(0,0,0,0.5);
                      }
                  }
                  

                  感謝 varun aaruru 幫助我,感謝他為出色的編輯提供的所有特點

                  Thank you to varun aaruru for helping me and all the caracteristic he gave for nice editing

                  在這里您還可以找到一篇很好的帖子,討論如何設計它:https://forum.ionicframework.com/t/custom-modal-alert-with-html-form/47980/19

                  here you can also find a nice post talking about how to nicely design it : https://forum.ionicframework.com/t/custom-modal-alert-with-html-form/47980/19

                  這篇關于使用模態和樣式的 Ionic 2 登錄彈出窗口的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  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)
                  How to reload the ion-page after pop() in ionic2(如何在 ionic2 中的 pop() 之后重新加載離子頁面)
                  How can manage multiple slider in ionic2 for web application?(如何在 ionic2 中為 Web 應用程序管理多個滑塊?)
                  Javascript Convert an URL to a BASE64 Image(Javascript 將 URL 轉換為 BASE64 圖像)
                  ionic - How to wordwrap a long string in ion-header(ionic - 如何在 ion-header 中對長字符串進行自動換行)
                  <tfoot id='U7NWl'></tfoot>

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

                        • <bdo id='U7NWl'></bdo><ul id='U7NWl'></ul>

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

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

                            主站蜘蛛池模板: 欧美性精品 | 午夜成人在线视频 | 91精品国产一区二区三区蜜臀 | 成人黄色在线观看 | 国产欧美在线视频 | 精品av| 成人影院av | 国产精品久久久久久久久图文区 | 欧美日韩在线精品 | 日本视频在线 | 国产精品视频网站 | 精品欧美一区免费观看α√ | 精品视频一区二区三区在线观看 | 久久久免费电影 | 欧美一区二区三区日韩 | 在线观看成年视频 | 欧美亚洲另类在线 | 在线观看视频你懂得 | 精品国产91| 激情视频中文字幕 | 久久免费看 | 美国黄色毛片 | 日韩精品1区2区3区 爱爱综合网 | 国产精品178页 | 亚洲天堂av网 | 拍真实国产伦偷精品 | 欧美一级免费片 | 国产免费一区二区 | 国产精品久久久久久 | 中文在线一区 | 国产精品一区一区 | 精品人伦一区二区三区蜜桃网站 | 国产美女永久免费无遮挡 | 亚洲一区二区三区四区五区中文 | 久久黄网 | 欧美一级大片免费看 | 午夜资源 | 91佛爷在线观看 | 午夜在线 | 欧美精品中文 | 亚洲中午字幕 |