本文介绍了蚂蚁动态卡片配置类的属性。
属性
templateId
/// 模版唯一 Id,必填
@property (nonatomic, strong) NSString *templateId;version
/// 模版版本号,必填
@property (nonatomic, strong) NSString *version;data
/// 卡片数据
@property (nonatomic, strong) NSDictionary *data;width
/// 卡片预设宽度
@property (nonatomic, assign) NSInteger width;height
/// 卡片预设高度
@property (nonatomic, assign) NSInteger height;extOption
/// 卡片扩展数据
@property (nonatomic, strong) NSDictionary *extOption;envData
/// 卡片环境变量
@property (nonatomic, strong) NSDictionary *envData;layoutChangeListener
/// 卡片布局大小变更监听
@property (nonatomic, weak) id<CCardLayoutChangeListener> listener;该文章对您有帮助吗?