Commit 2acf69cc authored by yqz's avatar yqz

ui 调整

parent 0a099741
...@@ -102,7 +102,7 @@ extension HomeCollectionViewHeader{ ...@@ -102,7 +102,7 @@ extension HomeCollectionViewHeader{
// 设置整体文本样式 // 设置整体文本样式
let fullTextAttributes: [NSAttributedString.Key: Any] = [ let fullTextAttributes: [NSAttributedString.Key: Any] = [
.font: UIFont.systemFont(ofSize: 12, weight: .regular), .font: UIFont.systemFont(ofSize: 14, weight: .regular),
.foregroundColor: UIColor(red: 0.4, green: 0.4, blue: 0.4,alpha:1) .foregroundColor: UIColor(red: 0.4, green: 0.4, blue: 0.4,alpha:1)
] ]
attributedText.addAttributes(fullTextAttributes, range: NSRange(location: 0, length: text.count)) attributedText.addAttributes(fullTextAttributes, range: NSRange(location: 0, length: text.count))
...@@ -112,7 +112,7 @@ extension HomeCollectionViewHeader{ ...@@ -112,7 +112,7 @@ extension HomeCollectionViewHeader{
let nsRange1 = NSRange(range1, in: text) let nsRange1 = NSRange(range1, in: text)
attributedText.addAttributes([ attributedText.addAttributes([
.foregroundColor: UIColor.colorWithHex(hexStr: mColor), .foregroundColor: UIColor.colorWithHex(hexStr: mColor),
.font:UIFont.systemFont(ofSize: 12, weight: .semibold) .font:UIFont.systemFont(ofSize: 14, weight: .semibold)
], range: nsRange1) ], range: nsRange1)
} }
...@@ -120,7 +120,7 @@ extension HomeCollectionViewHeader{ ...@@ -120,7 +120,7 @@ extension HomeCollectionViewHeader{
if let range2 = text.range(of: fileSizeString) { if let range2 = text.range(of: fileSizeString) {
let nsRange2 = NSRange(range2, in: text) let nsRange2 = NSRange(range2, in: text)
attributedText.addAttributes([ attributedText.addAttributes([
.font:UIFont.systemFont(ofSize: 12, weight: .semibold), .font:UIFont.systemFont(ofSize: 14, weight: .semibold),
.foregroundColor: UIColor.colorWithHex(hexStr: mColor) .foregroundColor: UIColor.colorWithHex(hexStr: mColor)
], range: nsRange2) ], range: nsRange2)
} }
......
...@@ -452,7 +452,7 @@ extension HomeView{ ...@@ -452,7 +452,7 @@ extension HomeView{
let nsRange1 = NSRange(range1, in: text) let nsRange1 = NSRange(range1, in: text)
attributedText.addAttributes([ attributedText.addAttributes([
.foregroundColor: UIColor.colorWithHex(hexStr: mColor), .foregroundColor: UIColor.colorWithHex(hexStr: mColor),
.font:UIFont.systemFont(ofSize: 12, weight: .regular) .font:UIFont.systemFont(ofSize: 14, weight: .regular)
], range: nsRange1) ], range: nsRange1)
} }
......
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