Commit 65d7c78f authored by lujunye's avatar lujunye

优化地址选择

parent 9a5ac1b4
...@@ -20,7 +20,7 @@ class GLMessageAlertView: UIView { ...@@ -20,7 +20,7 @@ class GLMessageAlertView: UIView {
@IBAction func submitAction(_ sender: Any) { @IBAction func submitAction(_ sender: Any) {
delegate?.GLMessageAlertViewCloseAction() delegate?.GLMessageAlertViewCloseAction()
} }
var datasArr:Array<Any> = [] var datasArr:Array<NSString> = ["单位地址,广东省广州市荔湾区环市西路37号富力国际鞋业贸易中心2105","纳税人识别号,HF5241515215142115122125","类型,普通发票"]
@IBOutlet weak var btnLbl: UILabel! @IBOutlet weak var btnLbl: UILabel!
@IBAction func closeAction(_ sender: UIButton) { @IBAction func closeAction(_ sender: UIButton) {
...@@ -31,6 +31,8 @@ class GLMessageAlertView: UIView { ...@@ -31,6 +31,8 @@ class GLMessageAlertView: UIView {
func setUI(){ func setUI(){
topLbl?.layer.cornerRadius = 5 topLbl?.layer.cornerRadius = 5
topLbl?.layer.maskedCorners = [CACornerMask.layerMinXMinYCorner,CACornerMask.layerMaxXMinYCorner] topLbl?.layer.maskedCorners = [CACornerMask.layerMinXMinYCorner,CACornerMask.layerMaxXMinYCorner]
} }
......
...@@ -55,13 +55,17 @@ ...@@ -55,13 +55,17 @@
<color key="textColor" name="白色背景色"/> <color key="textColor" name="白色背景色"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="wCN-zG-K2b"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="wCN-zG-K2b">
<rect key="frame" x="0.0" y="663" width="414" height="150"/> <rect key="frame" x="0.0" y="663" width="414" height="150"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="150" id="U4Q-y5-xZl"/> <constraint firstAttribute="height" constant="150" id="U4Q-y5-xZl"/>
</constraints> </constraints>
<color key="sectionIndexBackgroundColor" name="白色背景色"/> <color key="sectionIndexBackgroundColor" name="白色背景色"/>
<connections>
<outlet property="dataSource" destination="-1" id="nK9-CX-nSv"/>
<outlet property="delegate" destination="-1" id="tKd-Ns-Vb4"/>
</connections>
</tableView> </tableView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YlV-1D-5EA"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YlV-1D-5EA">
<rect key="frame" x="0.0" y="612" width="414" height="50"/> <rect key="frame" x="0.0" y="612" width="414" height="50"/>
......
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