<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國際加速解決方案。 廣告
                # 加載時初始化 ~~~ var para = []; para.push({'id':'box','down_back':'down','up_back':'up','down_auto':1}); ref(para); ~~~ # 單個列表內容函數 ~~~ function list_template(o){ var html = []; var list = o.list; for(var i in list){ for(var j in list[i]){ eval(j + ' = list[i].' + j + ';'); } html.push(''); } return html.join(''); } ~~~ # 非刷新加載數據,如點擊載入數據則無需ref_down_end復位操作 ~~~ $('#click').on('click',function(){ var Ucache = decode_Uinfo(); var para = {}; para.url = 'url'; para.data = {'sbh_type':'down_click','uuid':uuid,'u_id':Ucache.u_id,'PIN':1}; para.pass = ['uuid','u_id']; net(para); }); //1.浮框顯示回調信息 function exec_down_click(o){ $('#PIN').val(o.next); var list = $('#list'); switch(o.succeed){ case 2: list.html(''); sbh_note(o.msg); break; default: list.html(list_template(o)); break; } } //2.載入無數據文字 function exec_down_click(o){ $('#PIN').val(o.next); var list = $('#list'); switch(o.succeed){ case 2: list.html('<div style="text-align: center; color: #CCCCCC;">' + o.msg + '</div>'); break; default: list.html(list_template(o)); break; } } ~~~ # 刷新處理 ~~~ function down(){ var Ucache = decode_Uinfo(); var para = {}; para.url = 'url'; para.data = {'sbh_type':'down','uuid':uuid,'u_id':Ucache.u_id,'PIN':1}; para.pass = ['uuid','u_id']; net(para); } function exec_down(o){ $('#PIN').val(o.next); var list = $('#list'); switch(o.succeed){ case 2: list.html('<div style="text-align: center; color: #FFFFFF;">' + o.msg + '</div>'); break; default: list.html(list_template(o)); break; } ref_down_end('box'); } ~~~ # 加載 ~~~ function up(){ var Ucache = decode_Uinfo(); var PIN = $('#PIN').val(); var para = {}; para.url = 'url'; para.data = {'sbh_type':'up','uuid':uuid,'u_id':Ucache.u_id,'PIN':PIN}; para.pass = ['uuid','u_id']; net(para); ref_up_end(this); } function exec_up(o){ $('#PIN').val(o.next); switch(o.succeed){ case 2: sbh_note(o.msg); break; default: $('#list').append(list_template(o)); break; } } ~~~ # 列表按鈕點擊,彈出選擇框 ~~~ mui("#box").on('tap', '.option', function (event) { this.click(); event.stopPropagation(); var id = this.id; var enable = $(this).attr('enable'); option(id,enable); }); function option(id){ var buttons = []; buttons.push({title:'操作一','option':'opt_1'}); buttons.push({title:'操作二','option':'opt_2'}); var a = plus.nativeUI.actionSheet({title:'請選擇以下操作', cancel:'取消', buttons:buttons }, function(e){ if(e.index != 0){ var option = buttons[Number(e.index)-1].option; switch(option){ case 'opt_1': break; case 'opt_2': break; default: break; } } a=null; } // 10秒沒操作則自動關閉 setTimeout(function(){ a&&a.close(); }, 10000); } ~~~
                  <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>

                              哎呀哎呀视频在线观看