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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # 選擇城市插件 [TOC] ## UICityList插件 > 應用**UICityList**第三方模塊 注:resource屬性的文件路徑 ~~~ UICityList = api.require('UICityList'); UICityList.open({ rect: { x: 0, y: headerH, w: api.winWidth, h: api.winHeight - headerH }, resource: 'widget://res/cityList.json', styles: { searchBar: { bgColor: '#696969', cancelColor: '#E3E3E3' }, location: { color: '#696969', size: 12 }, sectionTitle: { bgColor: '#eee', color: '#000', size: 12 }, item: { bgColor: '#fff', activeBgColor: '#696969', color: '#000', size: 14, height: 40 }, indicator: { bgColor: '#fff', color: '#696969' } }, currentCity: cName, locationWay: 'GPS', placeholder: '輸入城市名或首字母查詢' }, function(ret, err) { if (ret.eventType == 'selected') { changeCity = ret.cityInfo.city; $api.rmStorage('cityName'); //刪除原來的城市名稱 $api.setStorage('cityName',changeCity); //更新城市名稱存入緩存 api.sendEvent({ name: 'changeCity', }); api.closeWin(); } }); ~~~ ## **UIActionSelector** >UIActionSelector城市選擇模塊 注:resource屬性的文件路徑 ~~~ UIActionSelector = api.require('UIActionSelector'); function fnOpenSelect() { UIActionSelector.open({ datas : 'widget://res/city.json', layout : { row : 5, col : 3, height : 30, size : 12, sizeActive : 14, rowSpacing : 5, colSpacing : 10, maskBg : 'rgba(0,0,0,0.2)', bg : '#fff', color : '#888', colorActive : '#f00', colorSelected : '#f00' }, animation : true, cancel : { text : '取消', size : 12, w : 90, h : 35, bg : '#fff', bgActive : '#ccc', color : '#888', colorActive : '#fff' }, ok : { text : '確定', size : 12, w : 90, h : 35, bg : '#fff', bgActive : '#ccc', color : '#888', colorActive : '#fff' }, title : { text : '請選擇', size : 12, h : 44, bg : '#eee', color : '#888' }, fixedOn : api.frameName }, function(ret, err) { if (ret) { if (ret.level3 == null) { var region = ret.level1 + ret.level2; $api.val($api.byId('region'), region); }else{ var region = ret.level1 + ret.level2 + ret.level3; $api.val($api.byId('region'), region); $api.val($api.byId('region1'), region); $api.val($api.byId('region2'), region); $api.val($api.byId('region3'), region); $api.val($api.byId('region4'), region); $api.val($api.byId('region5'), region); } } else { alert(JSON.stringify(err)); } }); } ~~~
                  <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>

                              哎呀哎呀视频在线观看