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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ### tabBar 如果小程序是一個多 tab 應用(客戶端窗口的底部或頂部有 tab 欄可以切換頁面),可以通過 tabBar 配置項指定 tab 欄的表現,以及 tab 切換時顯示的對應頁面。 **Tip:** 1. 當設置 position 為 top 時,將不會顯示 icon 2. tabBar 中的 list 是一個數組,**只能配置最少2個、最多5個 tab**,tab 按數組的順序排序。 **屬性說明:** | 屬性 | 類型 | 必填 | 默認值 | 描述 | | --------------- | -------- | ---- | ------ | ---------------------------------- | | color | HexColor | 是 | | tab 上的文字默認顏色 | | selectedColor | HexColor | 是 | | tab 上的文字選中時的顏色 | | backgroundColor | HexColor | 是 | | tab 的背景色 | | borderStyle | String | 否 | black | tabbar上邊框的顏色, 僅支持 black/white | | list | Array | 是 | | tab 的列表,詳見 list 屬性說明,最少2個、最多5個 tab | | position | String | 否 | bottom | 可選值 bottom、top | 其中 list 接受一個數組,數組中的每個項都是一個對象,其屬性值如下: | 屬性 | 類型 | 必填 | 說明 | | ---------------- | ------ | ---- | ---------------------------------------- | | pagePath | String | 是 | 頁面路徑,必須在 pages 中先定義 | | text | String | 是 | tab 上按鈕文字 | | iconPath | String | 否 | 圖片路徑,icon 大小限制為40kb,建議尺寸為 81px * 81px,當 postion 為 top 時,此參數無效,不支持網絡圖片 | | selectedIconPath | String | 否 | 選中時的圖片路徑,icon 大小限制為40kb,建議尺寸為 81px * 81px ,當 postion 為 top 時,此參數無效 | 如: ```json { "tabBar": { "list": [ { "pagePath": "pages/index/index", "text": "首頁", "iconPath": "res/img/home.png", "selectedIconPath": "res/img/hover.jpg" }, { "pagePath": "pages/test/index", "text": "測試", "iconPath": "res/img/test.png", "selectedIconPath": "res/img/hover.jpg" } ], "color": "#666666", "selectedColor": "#0ffff0", "backgroundColor": "#ffffff", "borderStyle": "black", "position": "bottom" } } ``` :-: ![](http://xiaoyulive.oss-cn-beijing.aliyuncs.com/imgs/wechat/003.png) position: top 的情況,不能自定義圖標 : :-: ![](http://xiaoyulive.oss-cn-beijing.aliyuncs.com/imgs/wechat/004.png)
                  <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>

                              哎呀哎呀视频在线观看