|
|
@@ -66,7 +66,7 @@ class LNCreateOrderPanel: LNPopupView {
|
|
|
|
|
|
func update(_ detail: LNGameMateSkillDetailVO, count: Int, extra: String) {
|
|
|
gameNameLabel.text = detail.categoryName
|
|
|
- avatar.sd_setImage(with: URL(string: detail.avatar))
|
|
|
+ avatar.showAvatar(detail.avatar)
|
|
|
nameLabel.text = detail.nickname
|
|
|
priceLabel.text = "\(detail.price.toDisplay)/\(detail.unit)"
|
|
|
|
|
|
@@ -79,7 +79,7 @@ class LNCreateOrderPanel: LNPopupView {
|
|
|
|
|
|
func update(_ skill: LNGameMateSkillVO, user: LNUserProfileVO) {
|
|
|
gameNameLabel.text = skill.name
|
|
|
- avatar.sd_setImage(with: URL(string: user.avatar))
|
|
|
+ avatar.showAvatar(user.avatar)
|
|
|
nameLabel.text = user.nickname
|
|
|
priceLabel.text = "\(skill.price.toDisplay)/\(skill.unit)"
|
|
|
|
|
|
@@ -90,7 +90,7 @@ class LNCreateOrderPanel: LNPopupView {
|
|
|
|
|
|
func update(_ detail: LNQRCodeDetailResponse, count: Int, extra: String) {
|
|
|
gameNameLabel.text = detail.bizCategoryName
|
|
|
- avatar.sd_setImage(with: URL(string: detail.avatar))
|
|
|
+ avatar.showAvatar(detail.avatar)
|
|
|
nameLabel.text = detail.nickname
|
|
|
priceLabel.text = "\(detail.price.toDisplay)/\(detail.unit)"
|
|
|
|