Commit 41dedb44e3f8a188cdd6def9732b999ca0e47433

Authored by “zhangxu@cnlive.com”
1 parent bc1b562e

电商不显示 上滑gif 下滑gif

metaCode/Classes/Main/HomePage/View/VerticalViews/MainView/CNMainView.swift
... ... @@ -224,6 +224,15 @@ class CNFrontMainView : UIView{
224 224 //上滑 下滑引导gif
225 225 upMoreGIF.kf.setImage(with: URL(string: newValue!.upGuideImg))
226 226 downMoreGIF.kf.setImage(with: URL(string: newValue!.downGuideImg))
  227 + if idModel?.id == 9{
  228 + //电商 ,隐藏上滑下滑gif
  229 + upMoreGIF.isHidden = true
  230 + downMoreGIF.isHidden = true
  231 + }else{
  232 + //非电商 ,显示上滑下滑gif
  233 + upMoreGIF.isHidden = false
  234 + downMoreGIF.isHidden = false
  235 + }
227 236  
228 237 //个人认证,企业认证
229 238 personalStandBtn.backgroundColor = HexColor(newValue!.atPersonageColour)
... ...
metaCode/Classes/Main/MinePage/ViewModel/CNLiveMineBaseModel.swift
... ... @@ -135,7 +135,7 @@ class StandListBaseModel: BaseModel {
135 135  
136 136 final class StandListModel: BaseModel {//, TableCodable {
137 137  
138   - var id: Int = 0//ID号-
  138 + var id: Int = 0//ID号- 9:电商,其他非电商
139 139 var name: String?//名称-
140 140 var icon: String?//小圆图标-
141 141 var createTime: Int = 0//注册时间-
... ...