张赛

Results 2 issues of 张赛

我使用的是富文本给Label 负值 。先赋值 后布局 _currentPriceLab.sd_layout .topSpaceToView(_twoNumView, 7 * heightRatio1280) .heightIs(23 * heightRatio1280) .widthIs(105 * widthRatio720) .centerXEqualToView(_twoNumView); _currentPriceLab.backgroundColor = [UIColor blueColor]; 宽度直接写的话是没有问题的 //[_currentPriceLab setSingleLineAutoResizeWithMaxWidth:115 * widthRatio720]; 如果这样写就会显示不完 出现省略号 label 明显变短

你有 考虑点击加减按钮的时候 请求服务器还是 某个时间上传 购物车数据