<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 場景值 > 基礎庫 1.1.0 開始支持,低版本需做[兼容處理](https://www.w3cschool.cn/weixinapp/compatibility.html?RECACHE=1)。 場景值用來描述用戶進入小程序的路徑。完整場景值的含義請查看[場景值列表](https://www.w3cschool.cn/weixinapp/weixinapp-b9dn38qi.html)。 由于Android系統限制,目前還無法獲取到按 Home 鍵退出到桌面,然后從桌面再次進小程序的場景值,對于這種情況,會保留上一次的場景值。 #### [](https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/scene.html#%E8%8E%B7%E5%8F%96%E5%9C%BA%E6%99%AF%E5%80%BC)獲取場景值 開發者可以通過下列方式獲取場景值: * 對于小程序,可以在?App?的?onLaunch?和?onShow,或wx.getLaunchOptionsSync?中獲取上述場景值。 * 對于小游戲,可以在?wx.getLaunchOptionsSync?和?wx.onShow?中獲取上述場景值 #### [](https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/scene.html#%E8%BF%94%E5%9B%9E%E6%9D%A5%E6%BA%90%E4%BF%A1%E6%81%AF%E7%9A%84%E5%9C%BA%E6%99%AF)返回來源信息的場景 部分場景值下還可以獲取來源應用、公眾號或小程序的appId。獲取方式請參考對應API的參考文檔。 | 場景值 | 場景 | appId含義 | | --- | --- | --- | | 1020 | 公眾號 profile 頁相關小程序列表 | 來源公眾號 | | 1035 | 公眾號自定義菜單 | 來源公眾號 | | 1036 | App 分享消息卡片 | 來源App | | 1037 | 小程序打開小程序 | 來源小程序 | | 1038 | 從另一個小程序返回 | 來源小程序 | | 1043 | 公眾號模板消息 | 來源公眾號 |
                  <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>

                              哎呀哎呀视频在线观看