From 0fb7413df54760ac6bd15b90b738e0706de1629e Mon Sep 17 00:00:00 2001
From: 杨锴 <841720330@qq.com>
Date: 星期二, 05 十一月 2024 19:03:09 +0800
Subject: [PATCH] fix bug

---
 XQMuse/Root/TreeGroup/View/TreeTeskFirstRuleView.swift |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/XQMuse/Root/TreeGroup/View/TreeTeskFirstRuleView.swift b/XQMuse/Root/TreeGroup/View/TreeTeskFirstRuleView.swift
index 21675ad..eef83a2 100644
--- a/XQMuse/Root/TreeGroup/View/TreeTeskFirstRuleView.swift
+++ b/XQMuse/Root/TreeGroup/View/TreeTeskFirstRuleView.swift
@@ -34,7 +34,7 @@
 								ruleView.label_title.text = title
 								ruleView.label_content.attributedText = AttributedStringbuilder.build().add(string:content, withFont: .systemFont(ofSize: 14), withColor: .black.withAlphaComponent(0.59), lineSpace: 7).mutableAttributedString
 								ruleView.label_content.textAlignment = textAlignment
-								ruleView.cons_hei.constant = height
+//								ruleView.cons_hei.constant = height
 								ruleView.cons_textTop.constant = textTopOffset
 
 								sceneDelegate?.window?.addSubview(ruleView)
@@ -58,6 +58,6 @@
 				
 				override func layoutSubviews() {
 								super.layoutSubviews()
-								btn_complete.localGradientColor(cornerRadius: 20)
+        btn_complete.localGradientColor(cornerRadius: 20,bounds: btn_complete.frame)
 				}
 }

--
Gitblit v1.7.1