<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國際加速解決方案。 廣告
                `審核人:張紅橋` `被審核代碼負責人:謝洋` `代碼地址:http://192.168.1.170/hyfe/demo-project/tree/master/demo-xieyang/scripts/technicalInvestigation/func.js` #### 1、變量命名 ``` var _this = this; ``` 解決方案:聲明變量時不建議以_開頭。 #### 2. 方法命名 ``` _event: function () { .... } ``` 解決方案:聲明方法時不建議以_開頭。 #### 3. 單雙引號混用 ``` /** * @description 類別切換事件 */ $('.category li').on("click", function () { $('.category li').removeClass("active"); $(this).addClass('active'); $('.total .t-number').text(_this.numericFormat($(this).data('case') + '')); }) ``` 解決方案:建議js中統一使用單引號 #### 4、each方法可優化 ``` $.each($('.category li'), function (i, e) { _this.categoryProgress( $(e).find('.thumb'), _this.numericFormat($(e).find('.category-number').text()), 5000 ); }); ``` 解決方案:建議將each寫在dom后面 ``` $('.category li').each(function(){ _this.categoryProgress( $(this).find('.thumb'), _this.numericFormat($(this).find('.category-number').text()), 5000 ); }) ```
                  <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>

                              哎呀哎呀视频在线观看