商店包版本修改 此commit置顶 1.0.3
This commit is contained in:
@@ -12,7 +12,7 @@ class YinCustomAttachmentCoding: NSObject,NIMCustomAttachmentCoding {
|
|||||||
func decodeAttachment(_ content: String?) -> NIMCustomAttachment? {
|
func decodeAttachment(_ content: String?) -> NIMCustomAttachment? {
|
||||||
|
|
||||||
if let text = content as? NSString{
|
if let text = content as? NSString{
|
||||||
if var data = text.mj_JSONObject() as? [String : Any],let first = data["first"] as? Int,let second = data["second"] as? Int,let dic = data["data"]{
|
if let data = text.mj_JSONObject() as? [String : Any],let first = data["first"] as? Int,let second = data["second"] as? Int,let dic = data["data"]{
|
||||||
|
|
||||||
if let _dic = dic as? [String : Any]{
|
if let _dic = dic as? [String : Any]{
|
||||||
let model = ChatCustomMsgModel()
|
let model = ChatCustomMsgModel()
|
||||||
|
@@ -10,6 +10,7 @@ import RxSwift
|
|||||||
import RxCocoa
|
import RxCocoa
|
||||||
import NIMSDK
|
import NIMSDK
|
||||||
import MBProgressHUD
|
import MBProgressHUD
|
||||||
|
|
||||||
class RoomVCViewModel: NSObject {
|
class RoomVCViewModel: NSObject {
|
||||||
static let roomVM = RoomVCViewModel.init()
|
static let roomVM = RoomVCViewModel.init()
|
||||||
var isMute = true
|
var isMute = true
|
||||||
|
@@ -85,7 +85,7 @@ class SendGiftUserView: UIView {
|
|||||||
lazy var allUserBtn:UIButton = {
|
lazy var allUserBtn:UIButton = {
|
||||||
let normalImage = UIImage.image(color: ThemeColor(hexStr: "#878B9C"))
|
let normalImage = UIImage.image(color: ThemeColor(hexStr: "#878B9C"))
|
||||||
let selectedImage = UIImage.image(color: ThemeColor(hexStr: "#FFE710"))
|
let selectedImage = UIImage.image(color: ThemeColor(hexStr: "#FFE710"))
|
||||||
let _allUserBtn = UIButton.getCustomBtn(text: "全选",font: UIFont.getScaleFont(ofSize: 13, weight: .medium),color: .white,selectedColor: ThemeColor(hexStr: "#28282"),bgImage: normalImage,selectedBgImage: selectedImage)
|
let _allUserBtn = UIButton.getCustomBtn(text: "全选",font: UIFont.getScaleFont(ofSize: 13, weight: .medium),color: .white,selectedColor: ThemeColor(hexStr: "#282828"),bgImage: normalImage,selectedBgImage: selectedImage)
|
||||||
_allUserBtn.layer.cornerRadius = UIDevice.scaleWidth(width: 18)/2
|
_allUserBtn.layer.cornerRadius = UIDevice.scaleWidth(width: 18)/2
|
||||||
_allUserBtn.layer.masksToBounds = true
|
_allUserBtn.layer.masksToBounds = true
|
||||||
_allUserBtn.addTarget(self, action: #selector(clickAllChooseAction), for: .touchUpInside)
|
_allUserBtn.addTarget(self, action: #selector(clickAllChooseAction), for: .touchUpInside)
|
||||||
|
Reference in New Issue
Block a user