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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                加載中 ![](https://img.kancloud.cn/18/03/1803b37e53c8eb78b080795186c4a7ee_422x352.png) 完成加載 ![](https://img.kancloud.cn/19/97/19970974302f6c30fc740f175cfd2b63_436x344.png) HTML代碼 ``` <view class="cu-bar bg-white"> <view class="action"> <text class="cuIcon-title text-blue"></text>背景 </view> </view> <view class="cu-load bg-blue" :class="!isLoad?'loading':'over'"></view> <view class="cu-bar bg-white margin-top"> <view class="action"> <text class="cuIcon-title text-blue"></text>加載狀態 </view> <view class="action"> <switch @change="isLoading" :class="isLoad?'checked':''"></switch> </view> </view> <view class="cu-load bg-grey" :class="!isLoad?'loading':'over'"></view> <view class="cu-bar bg-white margin-top"> <view class="action"> <text class="cuIcon-title text-blue"></text>加載錯誤 </view> </view> <view class="cu-load bg-red erro"></view> ``` js代碼 ``` <script> export default { data() { return { isLoad:false, }; }, onLoad: function() { }, methods: { isLoading(e) { this.isLoad = e.detail.value; }, } } </script> ``` 彈框加載 ![](https://img.kancloud.cn/f1/8a/f18ae53264035f787d30132e4146b626_432x79.png) ![](https://img.kancloud.cn/27/d2/27d236750569215c282d15b965f7b49a_408x486.png) HTML代碼 ``` <view class="cu-bar bg-white margin-top"> <view class="action"> <text class="cuIcon-title text-blue"></text>彈框加載 </view> <view class="action"> <button class="cu-btn bg-green shadow" @tap="LoadModal"> 點我 </button> </view> </view> <view class="cu-load load-modal" v-if="loadModal"> <image src="/static/logo.png" mode="aspectFit"></image> <view class="gray-text">加載中...</view> </view> ``` js代碼 ``` <script> export default { data() { return { loadModal: false, }; }, onLoad: function() { }, methods: { LoadModal(e) { this.loadModal = true; setTimeout(() => { this.loadModal = false; }, 2000) }, } } </script> ``` 進度條加載 ![](https://img.kancloud.cn/d2/26/d226eefb526bdff28c4bf41257a12a73_444x118.png) ![](https://img.kancloud.cn/ec/d5/ecd59226c8adceee8060a388ee5bf412_455x24.png) HTML代碼 ``` <view class="cu-bar bg-white margin-top"> <view class="action"> <text class="cuIcon-title text-blue"></text>進度條加載 </view> <view class="action"> <button class="cu-btn bg-green shadow" @tap="LoadProgress"> 點我 </button> </view> </view> <view class="load-progress" :class="loadProgress!=0?'show':'hide'" :style="[{top:CustomBar+'px'}]"> <view class="load-progress-bar bg-green" :style="[{transform: 'translate3d(-' + (100-loadProgress) + '%, 0px, 0px)'}]"></view> <view class="load-progress-spinner text-green"></view> </view> ``` js代碼 ``` <script> export default { data() { return { loadProgress: 0 }; }, onLoad: function() { }, methods: { LoadProgress(e) { this.loadProgress = this.loadProgress + 3; if (this.loadProgress < 100) { setTimeout(() => { this.LoadProgress(); }, 100) } else { this.loadProgress = 0; } } } } </script> ```
                  <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>

                              哎呀哎呀视频在线观看