Commit ea2ef2e8 authored by Steven杜宇's avatar Steven杜宇

// 最近浏览数

parent 90e2798c
...@@ -190,7 +190,7 @@ class YHUserInfoHeaderView: UIView { ...@@ -190,7 +190,7 @@ class YHUserInfoHeaderView: UIView {
} }
func showCount(_ count: Int)-> String { func showCount(_ count: Int)-> String {
return count < 10000 ? String(count) : String(format: "%.1fw", Double(count/10000)) return count < 10000 ? String(count) : String(format: "%.1fw", Double(count)/Double(10000))
} }
private func createUI() { private func createUI() {
......
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