1. <span id="z4nqb"></span>
      ????????? appframework打開外部頁面鏈接方法 ?????????

      appframework

      一、新建一個(gè)空白的iframe的view——exteLink001View(備注:新建的view的ID中必須包括數(shù)字),通過JS自定義函數(shù)動(dòng)態(tài)修改iframe的src實(shí)現(xiàn)。

      <!-- exteLink001View Top-->
          <div class="view" id="exteLink001View" style="position:fixed;overflow:hidden;z-index:190;height:100vh;background:rgba(255,255,255,1);">
            <div class="clearfix" style="width:100%; height:50px;padding:10px;">
              <span style="display:inline-block;width:100px;float:left;font-size:18px;line-height:30px;">
                <i class="fa fa-file-text"></i>&#8194;<span style="font-size:14px;">外部頁面</span>
              </span>
              <a href="#main" data-transition='up-reveal:dismiss' style="display: inline-block; float: right; width: 30px;
              height:30px; box-shadow: 0 0 3px #ccc; text-align: center; line-height:33px; border-radius: 100%; font-weight: bold;">╳</a>
            </div>
            <iframe id='exteLink' align='center' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' src='' allowtransparency="false" style="width:100%;height:100%"></iframe>
          </div>
          
          <script>
            function iframeSrc(exteLinkUrl)
            {
              document.getElementById("exteLink").src=exteLinkUrl;
            }
          </script>
      <!-- exteLink001View End-->
          
      <a href="#exteLink001View" data-transition="up-reveal" onclick="iframeSrc('http://www.yazine.com')">XXX</a>


      二、appframework原生外部跳轉(zhuǎn)鏈接

      <a href="http://www.yazine.com" data-ignore="ture">XXX</a>


      這里建議使用第一種,由于微信或其它網(wǎng)站禁止文章被iframe嵌套,所以這時(shí)候只能用第二種方法。

      1. <span id="z4nqb"></span>
        欧美综合在线视频 | 日本嗯黄色网址 | 国产自偷自拍 | 日日操视频 | 欧美亚洲日韩手机在线 | 操逼的操逼的操逼的操逼的 | 中文在线a天堂 | 一个人看的区二区不卡视频 | 天天摸天天操天天干 | 麻豆成人传媒网,一区二区三区四区 |