Commit 797e01fe14588db7df603bc01f8f0cf01a8c6871

Authored by liushiyu
1 parent b3173611

隐藏积分支付按钮加载状态

metaCode/Classes/Main/VideoPage/Controller/CNLiveShortVideoViewController.swift
... ... @@ -389,8 +389,10 @@ extension CNLiveShortVideoViewController {
389 389 let payButton = button as! APButton
390 390 payButton.startAnimating()
391 391 CNLiveIntegralAlertTool.shared.showIntegralAlert(title: "\(viewcell.homeModel.albumMsgModel?.albumName ?? "")共\(viewcell.homeModel.albumMsgModel?.episodeNow ?? "1")集", integralCount: viewcell.homeModel.albumMsgModel?.product?.point ?? "0", productId: viewcell.homeModel.product?.productId ?? "")
  392 + DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
  393 + payButton.stopAnimating()
  394 + }
392 395 CNLiveIntegralAlertTool.shared.homePageNeedReloadActionBlock = {[weak self] in
393   -// DispatchQueue.main.asyncAfter(deadline: .now() + 1) {[weak self] in
394 396 guard let self = self else { return }
395 397 payButton.stopAnimating()
396 398 for item in self.dataArray {
... ...