无故事王国
2023-10-10 a1ac0f1634ff0bd8f04259fc4cf7ebabd8c8c82d
WanPai/Root/Welfare/VC/WelfareWeeklyDetailVC.swift
@@ -80,13 +80,23 @@
                weakSelf.label_coin.attributedText = AttributedStringbuilder.build().add(string: "玩湃币:", withFont: UIFont.systemFont(ofSize: 14, weight: .semibold), withColor: UIColor(hexStr: "#3F3F3F")).add(string: "\(model.wanpaiGold)币", withFont: UIFont.systemFont(ofSize: 14, weight: .semibold), withColor: UIColor(hexStr: "#F21313")).mutableAttributedString
            weakSelf.img_intro.sd_setImage(with: URL(string: model.introduceDrawing)) {[weak self] image, error, type, url in
            weakSelf.img_intro.sd_setImage(with: URL(string: model.detailDrawing)) {[weak self] image, error, type, url in
               if let img = image{
                  self?.img_intro.image = img
                  let radio = img.size.width / img.size.height
                  self?.cons_imgIntroHei.constant = JQ_ScreenW / radio
               }
            }
            weakSelf.img_intro2.sd_setImage(with: URL(string: model.introduceDrawing)) {[weak self] image, error, type, url in
               if let img = image{
                  self?.img_intro2.image = img
                  let radio = img.size.width / img.size.height
                  self?.cons_imgIntro2Hei.constant = JQ_ScreenW / radio
               }
            }
            }
        }).disposed(by: disposeBag)