Commit fb476550 authored by David黄金龙's avatar David黄金龙

处理最小高度

parent 1c45620a
......@@ -71,6 +71,8 @@ class YHHomeListModel: YHBaseModel {
imageHeight = width * imageSize.height/imageSize.width
if imageHeight > 280 {
imageHeight = 280
} else if imageHeight < 140 {
imageHeight = 140
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment