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,6 +224,15 @@ class CNFrontMainView : UIView{
224 //上滑 下滑引导gif 224 //上滑 下滑引导gif
225 upMoreGIF.kf.setImage(with: URL(string: newValue!.upGuideImg)) 225 upMoreGIF.kf.setImage(with: URL(string: newValue!.upGuideImg))
226 downMoreGIF.kf.setImage(with: URL(string: newValue!.downGuideImg)) 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 personalStandBtn.backgroundColor = HexColor(newValue!.atPersonageColour) 238 personalStandBtn.backgroundColor = HexColor(newValue!.atPersonageColour)
metaCode/Classes/Main/MinePage/ViewModel/CNLiveMineBaseModel.swift
@@ -135,7 +135,7 @@ class StandListBaseModel: BaseModel { @@ -135,7 +135,7 @@ class StandListBaseModel: BaseModel {
135 135
136 final class StandListModel: BaseModel {//, TableCodable { 136 final class StandListModel: BaseModel {//, TableCodable {
137 137
138 - var id: Int = 0//ID号- 138 + var id: Int = 0//ID号- 9:电商,其他非电商
139 var name: String?//名称- 139 var name: String?//名称-
140 var icon: String?//小圆图标- 140 var icon: String?//小圆图标-
141 var createTime: Int = 0//注册时间- 141 var createTime: Int = 0//注册时间-