Commit 320f492d authored by David黄金龙's avatar David黄金龙

修改 几处bug

parent 7b69128f
......@@ -104,8 +104,8 @@ extension YHEvaluationView {
}
let aa: ASAttributedString = .init("香港身份", .font(UIFont.PFSC_B(ofSize: 17)),.foreground(UIColor.mainTextColor))
let bb: ASAttributedString = .init("20", .font(UIFont.PFSC_B(ofSize: 17)),.foreground(UIColor.brandMainColor))
let cc: ASAttributedString = .init("测评", .font(UIFont.PFSC_B(ofSize: 17)),.foreground(UIColor.mainTextColor))
let bb: ASAttributedString = .init("20", .font(UIFont.PFSC_B(ofSize: 17)),.foreground(UIColor.brandMainColor))
let cc: ASAttributedString = .init("测评", .font(UIFont.PFSC_B(ofSize: 17)),.foreground(UIColor.mainTextColor))
lable1.attributed.text = aa + bb + cc
}
}
......@@ -100,7 +100,7 @@ class YHCheckEamilAlertView: UIView {
titleLabel = {
let label = UILabel()
label.textAlignment = .center
// label.textAlignment = .center
label.textColor = UIColor.mainTextColor
label.font = UIFont.PFSC_M(ofSize: 17)
label.numberOfLines = 0
......@@ -117,7 +117,7 @@ class YHCheckEamilAlertView: UIView {
messageLabel = {
let label = UILabel()
label.textAlignment = .center
// label.textAlignment = .center
label.textColor = UIColor.mainTextColor
label.font = UIFont.PFSC_R(ofSize: 16)
label.numberOfLines = 0
......
......@@ -280,6 +280,15 @@ extension YHH5WebViewVC {
// MARK: - h5实现的接口
extension YHH5WebViewVC {
func setAppNavigation(_ show : Bool) {
if show {
gk_navBarAlpha = 1.0
} else {
gk_navBarAlpha = 0.0
}
}
func saveLocalPictureSyn(_ picUrl: String) {
let imageView = UIImageView()
imageView.kf.setImage(with: URL(string: picUrl)) { result in
......
......@@ -17,18 +17,14 @@ class YHJsApi: NSObject {
}
extension YHJsApi {
//测试使用
@objc func testSyn( _ arg:String) {
printLog(arg)
}
//保存图片到本地
@objc func saveLocalPictureSyn(_ picUrl: String) {
self.delegate?.saveLocalPictureSyn(picUrl)
}
//H5中 webview的偏移量
@objc func webViewDidScrollView(_ offset: CGFloat) {
self.delegate?.webViewDidScrollView(offset)
@objc func setAppNavigation(_ show : Bool) {
self.delegate?.setAppNavigation(show)
}
}
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