Showing
3 changed files
with
19 additions
and
16 deletions
No preview for this file type
| ... | @@ -98,9 +98,11 @@ import UIKit | ... | @@ -98,9 +98,11 @@ import UIKit |
| 98 | 98 | ||
| 99 | couponCodeContainerView.backgroundColor = UIColor(rgb: 0xFFFFFF) | 99 | couponCodeContainerView.backgroundColor = UIColor(rgb: 0xFFFFFF) |
| 100 | couponCodeContainerView.layer.cornerRadius = 8.0 | 100 | couponCodeContainerView.layer.cornerRadius = 8.0 |
| 101 | + couponCodeContainerView.clipsToBounds = true | ||
| 101 | 102 | ||
| 102 | couponQRContainerView.backgroundColor = UIColor(rgb: 0xFFFFFF) | 103 | couponQRContainerView.backgroundColor = UIColor(rgb: 0xFFFFFF) |
| 103 | couponQRContainerView.layer.cornerRadius = 8.0 | 104 | couponQRContainerView.layer.cornerRadius = 8.0 |
| 105 | + couponQRContainerView.clipsToBounds = true | ||
| 104 | 106 | ||
| 105 | termsButton.titleLabel?.font = UIFont(name: "PingLCG-Bold", size: 16) | 107 | termsButton.titleLabel?.font = UIFont(name: "PingLCG-Bold", size: 16) |
| 106 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 108 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
| ... | @@ -116,12 +118,13 @@ import UIKit | ... | @@ -116,12 +118,13 @@ import UIKit |
| 116 | termsLabelHeight.constant = 0 | 118 | termsLabelHeight.constant = 0 |
| 117 | 119 | ||
| 118 | mapButton.titleLabel?.font = UIFont(name: "PingLCG-Bold", size: 16) | 120 | mapButton.titleLabel?.font = UIFont(name: "PingLCG-Bold", size: 16) |
| 119 | - mapButton.setTitle("Όροι Χρήσης", for: .normal) | 121 | + mapButton.setTitle("Καταστήματα κοντά μου", for: .normal) |
| 120 | mapButton.setTitleColor(UIColor(rgb: 0xFFFFFF), for: .normal) | 122 | mapButton.setTitleColor(UIColor(rgb: 0xFFFFFF), for: .normal) |
| 121 | mapButton.layer.cornerRadius = 4.0 | 123 | mapButton.layer.cornerRadius = 4.0 |
| 124 | + websiteButton.backgroundColor = UIColor(rgb: 0x000F1E) | ||
| 122 | 125 | ||
| 123 | websiteButton.titleLabel?.font = UIFont(name: "PingLCG-Bold", size: 16) | 126 | websiteButton.titleLabel?.font = UIFont(name: "PingLCG-Bold", size: 16) |
| 124 | - websiteButton.setTitle("Όροι Χρήσης", for: .normal) | 127 | + websiteButton.setTitle("Δες το website", for: .normal) |
| 125 | websiteButton.setTitleColor(UIColor(rgb: 0x000F1E), for: .normal) | 128 | websiteButton.setTitleColor(UIColor(rgb: 0x000F1E), for: .normal) |
| 126 | websiteButton.backgroundColor = .clear | 129 | websiteButton.backgroundColor = .clear |
| 127 | websiteButton.layer.borderWidth = 1 | 130 | websiteButton.layer.borderWidth = 1 |
| ... | @@ -146,7 +149,7 @@ import UIKit | ... | @@ -146,7 +149,7 @@ import UIKit |
| 146 | subtitleLabel.textColor = UIColor(rgb: 0x020E1C) | 149 | subtitleLabel.textColor = UIColor(rgb: 0x020E1C) |
| 147 | subtitleLabel.text = coupon.description | 150 | subtitleLabel.text = coupon.description |
| 148 | 151 | ||
| 149 | - expirationLabel.font = UIFont(name: "PingLCG-Regular", size: 18) | 152 | + expirationLabel.font = UIFont(name: "PingLCG-Regular", size: 14) |
| 150 | expirationLabel.textColor = UIColor(rgb: 0x020E1C) | 153 | expirationLabel.textColor = UIColor(rgb: 0x020E1C) |
| 151 | // expirationLabel.text = ("Η προσφορά ισχύει " + coupon.expirationDate) | 154 | // expirationLabel.text = ("Η προσφορά ισχύει " + coupon.expirationDate) |
| 152 | expirationLabel.text = "Η προσφορά ισχύει έως 30-09-2025" | 155 | expirationLabel.text = "Η προσφορά ισχύει έως 30-09-2025" |
| ... | @@ -155,13 +158,13 @@ import UIKit | ... | @@ -155,13 +158,13 @@ import UIKit |
| 155 | couponCodeTitleLabel.textColor = UIColor(rgb: 0x000F1E) | 158 | couponCodeTitleLabel.textColor = UIColor(rgb: 0x000F1E) |
| 156 | couponCodeTitleLabel.text = "Κωδικός Κουπονιού" | 159 | couponCodeTitleLabel.text = "Κωδικός Κουπονιού" |
| 157 | 160 | ||
| 158 | - couponCodeTitleLabel.font = UIFont(name: "PingLCG-Bold", size: 24) | 161 | + couponCodeValueLabel.font = UIFont(name: "PingLCG-Bold", size: 24) |
| 159 | - couponCodeTitleLabel.textColor = UIColor(rgb: 0x000F1E) | 162 | + couponCodeValueLabel.textColor = UIColor(rgb: 0x000F1E) |
| 160 | - couponCodeTitleLabel.text = "coupons_ab" | 163 | + couponCodeValueLabel.text = "coupons_ab" |
| 161 | 164 | ||
| 162 | - couponCodeTitleLabel.font = UIFont(name: "PingLCG-Regular", size: 16) | 165 | + couponQRTitleLabel.font = UIFont(name: "PingLCG-Regular", size: 16) |
| 163 | - couponCodeTitleLabel.textColor = UIColor(rgb: 0x000F1E) | 166 | + couponQRTitleLabel.textColor = UIColor(rgb: 0x000F1E) |
| 164 | - couponCodeTitleLabel.text = "QR Κουπονιού" | 167 | + couponQRTitleLabel.text = "QR Κουπονιού" |
| 165 | 168 | ||
| 166 | termsLabel.font = UIFont(name: "PingLCG-Regular", size: 16) | 169 | termsLabel.font = UIFont(name: "PingLCG-Regular", size: 16) |
| 167 | termsLabel.textColor = UIColor(rgb: 0x020E1C) | 170 | termsLabel.textColor = UIColor(rgb: 0x020E1C) | ... | ... |
| ... | @@ -68,17 +68,17 @@ | ... | @@ -68,17 +68,17 @@ |
| 68 | </constraints> | 68 | </constraints> |
| 69 | </imageView> | 69 | </imageView> |
| 70 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="89U-JU-Imv" userLabel="Info View"> | 70 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="89U-JU-Imv" userLabel="Info View"> |
| 71 | - <rect key="frame" x="248" y="17" width="129" height="20.666666666666671"/> | 71 | + <rect key="frame" x="239" y="17" width="138" height="20.666666666666671"/> |
| 72 | <subviews> | 72 | <subviews> |
| 73 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="tFA-1H-T5S" userLabel="Info Image View"> | 73 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="tFA-1H-T5S" userLabel="Info Image View"> |
| 74 | - <rect key="frame" x="1" y="3.6666666666666723" width="13.666666666666666" height="13.333333333333336"/> | 74 | + <rect key="frame" x="10" y="3.6666666666666723" width="13.666666666666664" height="13.333333333333336"/> |
| 75 | <constraints> | 75 | <constraints> |
| 76 | <constraint firstAttribute="height" constant="13.5" id="uQt-vY-kbk"/> | 76 | <constraint firstAttribute="height" constant="13.5" id="uQt-vY-kbk"/> |
| 77 | <constraint firstAttribute="width" constant="13.5" id="yzR-99-6Vp"/> | 77 | <constraint firstAttribute="width" constant="13.5" id="yzR-99-6Vp"/> |
| 78 | </constraints> | 78 | </constraints> |
| 79 | </imageView> | 79 | </imageView> |
| 80 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Περισσότερα" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K34-LM-bC1" userLabel="Info Label"> | 80 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Περισσότερα" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K34-LM-bC1" userLabel="Info Label"> |
| 81 | - <rect key="frame" x="19" y="-0.3333333333333286" width="100" height="21"/> | 81 | + <rect key="frame" x="28" y="-0.3333333333333286" width="100" height="21"/> |
| 82 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 82 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
| 83 | <nil key="textColor"/> | 83 | <nil key="textColor"/> |
| 84 | <nil key="highlightedColor"/> | 84 | <nil key="highlightedColor"/> |
| ... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
| 91 | <constraint firstItem="K34-LM-bC1" firstAttribute="leading" secondItem="tFA-1H-T5S" secondAttribute="trailing" constant="4.5" id="9BF-QB-VRC"/> | 91 | <constraint firstItem="K34-LM-bC1" firstAttribute="leading" secondItem="tFA-1H-T5S" secondAttribute="trailing" constant="4.5" id="9BF-QB-VRC"/> |
| 92 | <constraint firstItem="K34-LM-bC1" firstAttribute="centerY" secondItem="89U-JU-Imv" secondAttribute="centerY" id="AJ7-80-sbu"/> | 92 | <constraint firstItem="K34-LM-bC1" firstAttribute="centerY" secondItem="89U-JU-Imv" secondAttribute="centerY" id="AJ7-80-sbu"/> |
| 93 | <constraint firstItem="tFA-1H-T5S" firstAttribute="top" secondItem="89U-JU-Imv" secondAttribute="top" constant="3.5" id="Nyk-Ax-H7g"/> | 93 | <constraint firstItem="tFA-1H-T5S" firstAttribute="top" secondItem="89U-JU-Imv" secondAttribute="top" constant="3.5" id="Nyk-Ax-H7g"/> |
| 94 | - <constraint firstItem="tFA-1H-T5S" firstAttribute="leading" secondItem="89U-JU-Imv" secondAttribute="leading" constant="1" id="xHt-ua-5rb"/> | 94 | + <constraint firstItem="tFA-1H-T5S" firstAttribute="leading" secondItem="89U-JU-Imv" secondAttribute="leading" constant="10" id="xHt-ua-5rb"/> |
| 95 | </constraints> | 95 | </constraints> |
| 96 | </view> | 96 | </view> |
| 97 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u54-xs-f5a" userLabel="Title Label"> | 97 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u54-xs-f5a" userLabel="Title Label"> |
| ... | @@ -277,7 +277,7 @@ | ... | @@ -277,7 +277,7 @@ |
| 277 | <rect key="frame" x="0.0" y="55" width="345" height="250"/> | 277 | <rect key="frame" x="0.0" y="55" width="345" height="250"/> |
| 278 | <subviews> | 278 | <subviews> |
| 279 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Z9w-Ue-Lij" userLabel="CouponQRImage"> | 279 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Z9w-Ue-Lij" userLabel="CouponQRImage"> |
| 280 | - <rect key="frame" x="72.666666666666686" y="25" width="200" height="200"/> | 280 | + <rect key="frame" x="72.666666666666686" y="20" width="200" height="200"/> |
| 281 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 281 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 282 | <constraints> | 282 | <constraints> |
| 283 | <constraint firstAttribute="width" constant="200" id="UHz-Fg-n1x"/> | 283 | <constraint firstAttribute="width" constant="200" id="UHz-Fg-n1x"/> |
| ... | @@ -288,8 +288,8 @@ | ... | @@ -288,8 +288,8 @@ |
| 288 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 288 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 289 | <constraints> | 289 | <constraints> |
| 290 | <constraint firstItem="Z9w-Ue-Lij" firstAttribute="centerX" secondItem="xqU-7k-Vxg" secondAttribute="centerX" id="3jb-mY-gez"/> | 290 | <constraint firstItem="Z9w-Ue-Lij" firstAttribute="centerX" secondItem="xqU-7k-Vxg" secondAttribute="centerX" id="3jb-mY-gez"/> |
| 291 | - <constraint firstAttribute="bottom" secondItem="Z9w-Ue-Lij" secondAttribute="bottom" constant="25" id="4Wr-Ld-HWz"/> | 291 | + <constraint firstAttribute="bottom" secondItem="Z9w-Ue-Lij" secondAttribute="bottom" constant="30" id="4Wr-Ld-HWz"/> |
| 292 | - <constraint firstItem="Z9w-Ue-Lij" firstAttribute="top" secondItem="xqU-7k-Vxg" secondAttribute="top" constant="25" id="DoG-pU-Ipv"/> | 292 | + <constraint firstItem="Z9w-Ue-Lij" firstAttribute="top" secondItem="xqU-7k-Vxg" secondAttribute="top" constant="20" id="DoG-pU-Ipv"/> |
| 293 | <constraint firstAttribute="height" constant="250" id="odW-jh-UiA"/> | 293 | <constraint firstAttribute="height" constant="250" id="odW-jh-UiA"/> |
| 294 | </constraints> | 294 | </constraints> |
| 295 | </view> | 295 | </view> | ... | ... |
-
Please register or login to post a comment