<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                #### navigator 頁面鏈接。 | 屬性名 | 類型 | 默認值 | 說明 | 最低版本 | | ---------------------- | ------- | --------------- | ---------------------------------------- | ---------------------------------------- | | url | String | | 應用內的跳轉鏈接 | | | open-type | String | navigate | 跳轉方式 | | | delta | Number | | 當 open-type 為 'navigateBack' 時有效,表示回退的層數 | | | hover-class | String | navigator-hover | 指定點擊時的樣式類,當`hover-class="none"`時,沒有點擊態效果 | | | hover-stop-propagation | Boolean | false | 指定是否阻止本節點的祖先節點出現點擊態 | [1.5.0](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/compatibility.html) | | hover-start-time | Number | 50 | 按住后多久出現點擊態,單位毫秒 | | | hover-stay-time | Number | 600 | 手指松開后點擊態保留時間,單位毫秒 | | **open-type 有效值:** | 值 | 說明 | 最低版本 | | ------------ | ------------------------ | ---------------------------------------- | | navigate | 對應 `wx.navigateTo` 的功能 | | | redirect | 對應 `wx.redirectTo` 的功能 | | | switchTab | 對應 `wx.switchTab` 的功能 | | | reLaunch | 對應 `wx.reLaunch` 的功能 | [1.1.0](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/compatibility.html) | | navigateBack | 對應 `wx.navigateBack` 的功能 | [1.1.0](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/compatibility.html) | **注:navigator-hover 默認為 {background-color: rgba(0, 0, 0, 0.1); opacity: 0.7;}, <navigator/> 的子節點背景色應為透明色** **示例代碼:** ``` /** wxss **/ /** 修改默認的navigator點擊態 **/ .navigator-hover { color:blue; } /** 自定義其他點擊態樣式類 **/ .other-navigator-hover { color:red; } ``` ``` <!-- sample.wxml --> <view class="btn-area"> <navigator url="/page/navigate/navigate?title=navigate" hover-class="navigator-hover">跳轉到新頁面</navigator> <navigator url="../../redirect/redirect/redirect?title=redirect" open-type="redirect" hover-class="other-navigator-hover">在當前頁打開</navigator> <navigator url="/page/index/index" open-type="switchTab" hover-class="other-navigator-hover">切換 Tab</navigator> </view> ``` ``` <!-- navigator.wxml --> <view style="text-align:center"> {{title}} </view> <view> 點擊左上角返回回到之前頁面 </view> <!-- redirect.wxml --> <view style="text-align:center"> {{title}} </view> <view> 點擊左上角返回回到上級頁面 </view> // redirect.js navigator.js Page({ onLoad: function(options) { this.setData({ title: options.title }) } }) ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看