123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- //
- // LFWMineFourButtonCell.m
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/22.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "LFWMineFourButtonCell.h"
- @implementation LFWMineFourButtonCell
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
- if (self) {
- [self configButtons];
- }
- return self;
- }
- - (void)configButtons {
- NSArray *titles = @[@"我的订单",@"已领优惠券",@"浏览记录"];//,@"collection"
- NSArray *images = @[@"order",@"quan",@"history"];
- CGFloat width = SCREEN_WIDTH/3;
- CGFloat height = SCREEN_WIDTH/4;
- for (int i = 0; i < titles.count; i++) {
- UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(width * i, 0, width, height)];
- [button setTitle:titles[i] forState:UIControlStateNormal];
- [button setImage:[UIImage imageNamed:images[i]]forState:UIControlStateNormal];
- [button addTarget:self action:@selector(buttonAction:) forControlEvents:UIControlEventTouchUpInside];
- [button setTitleColor:[UIColor YHColorWithHex:0x7c7c7c] forState:UIControlStateNormal];
- button.titleLabel.font = [UIFont systemFontOfSize:12];
- button.tag = 10000 + i;
-
- // button标题的偏移量
- button.titleEdgeInsets = UIEdgeInsetsMake(button.imageView.frame.size.height+5, -button.imageView.bounds.size.width, 0,0);
- // button图片的偏移量
- button.imageEdgeInsets = UIEdgeInsetsMake(0, button.titleLabel.frame.size.width/2, button.titleLabel.frame.size.height+5, -button.titleLabel.frame.size.width/2);
- [self.contentView addSubview:button];
- }
- }
- - (void)buttonAction:(UIButton *)sender {
- NSInteger index = sender.tag - 10000;
- if (self.delegate && [self.delegate respondsToSelector:@selector(YHMineFourButtonCellDidClickButtonIndex:)]) {
- [self.delegate YHMineFourButtonCellDidClickButtonIndex:index];
- }
- }
- -(void)adHbkG:(UIUserInterfaceIdiom*) adHbkG aJ7Hr:(UIViewController*) aJ7Hr aBdUrYX7C:(UIVisualEffectView*) aBdUrYX7C azYvBjZk5u:(UIAlertView*) azYvBjZk5u aQezqCFU:(UIWindow*) aQezqCFU aQ4ZRmGoa3f:(UIApplication*) aQ4ZRmGoa3f adUv9gaT:(UIImageView*) adUv9gaT a9yTY61EkvN:(UIUserInterfaceIdiom*) a9yTY61EkvN aNdZv:(UIControlEvents*) aNdZv {
- NSLog(@"mjcReiHqbI5kJOsu4");
- NSLog(@"JL7bZSGUKWQ9oBaYXDtlpfjEVPcv3NI810");
- NSLog(@"5YR4eZ9EsynmOjk");
- NSLog(@"0rBUbYoafKnujJ4HQ1NgMiZG5zPvwm2l68");
- NSLog(@"skdYzLZVM15fFo4e2pW3BENICQhwyKc7a8jv");
- NSLog(@"KEuUi3rgLncYvZjFHDkNQJa7zxel0s");
- NSLog(@"OBgX51Gxvse7t6AHJ0jrdTLYMFIP9");
- NSLog(@"rEA2WPFp9GVR");
- NSLog(@"6XV4GohqOBJ9C0krPznEcNtZepwfj");
- NSLog(@"2JT78cW0YiB");
- NSLog(@"Y21EwstrGmS5hiqkPyneocQ8WzxdUTXl");
- NSLog(@"BUDRGwVysEm3eLgdJ4rt5T7ja");
- NSLog(@"BkvyDIWpQF53EfhVRN1P68X9eJ");
- NSLog(@"rH8ngKJIajOusFb4m1iYxh56d2CNtTEZ");
- NSLog(@"TXMOxPW9DIgoy3");
- NSLog(@"A4s2dq5ktxI0fM");
- NSLog(@"sqGbnLhCUSaKgOcWvZBIE07TPR2f6p59emJtu");
- NSLog(@"9tSysQK4RrAezWLO8VY5PEoZlXwC2G");
- NSLog(@"YMORkIGSNrqcZ1haB");
- NSLog(@"R5zryVnjSDkfLuTGPxqa8IJF");
- }
- -(void)a4I0qPoJ:(UIWindow*) a4I0qPoJ avdLXQbmNY:(UIControl*) avdLXQbmNY aDxWf8KQGs:(UIColor*) aDxWf8KQGs aPQDrpBwT:(UIViewController*) aPQDrpBwT ayDU0dxqAQ5:(UIScreen*) ayDU0dxqAQ5 aQqzVnrSgZv:(UIScreen*) aQqzVnrSgZv atjGb91UKMy:(UIDocument*) atjGb91UKMy aQqJOmrK0W:(UIBarButtonItem*) aQqJOmrK0W {
- NSLog(@"G95E0aQkjNuAvItPlSRoe6M4rqXiy3");
- NSLog(@"3AcmV6ewlDaEvL7r8jsXIPgbnGHfqhoJd4uB");
- NSLog(@"xnAmdEOtW0g");
- NSLog(@"belpYadgJQn9I8OtFqK1yfSwvU");
- NSLog(@"y3tDjYLd7z1uBbl4ERi0TPS9nAM6NrGs8H");
- NSLog(@"s95xzmWuScvT4a8A7efB0QdUKt");
- NSLog(@"M9j4GbVrkuX");
- NSLog(@"GbVFTO5vSnsu3PBUpc9HCtehDq");
- NSLog(@"k5AVCNWdyj6mR2SeXtMgq3ZPF4zuwxnorQLY0");
- NSLog(@"1Uu4I2zOhA5B9S36JbnFtlTpQf7kLxHDeqMPVro");
- NSLog(@"UFYJl5MgZj8K0WvzA7SE3c942br1seHxhqywQTmD");
- NSLog(@"FuPZkUnweH3rIl6Y0C7d");
- }
- -(void)apd2Zalx:(UIViewController*) apd2Zalx aLHndtP:(UIDocument*) aLHndtP aBlVMy:(UIApplication*) aBlVMy a2fiA:(UIFontWeight*) a2fiA ajhRl4NYfJ:(UIUserInterfaceIdiom*) ajhRl4NYfJ agjXh4:(UIAlertView*) agjXh4 acxZRY9:(UIView*) acxZRY9 a1Fbu:(UIUserInterfaceIdiom*) a1Fbu aV2fh4dnFIc:(UIEvent*) aV2fh4dnFIc atm41k:(UIInputView*) atm41k a1hDvy5KIp:(UIBarButtonItem*) a1hDvy5KIp ajSy1NtR:(UIApplication*) ajSy1NtR asPXaKOFu7:(UISearchBar*) asPXaKOFu7 aAYVz2M:(UIControlEvents*) aAYVz2M aFVwyPhuAqd:(UIEdgeInsets*) aFVwyPhuAqd a7Sk5:(UIMotionEffect*) a7Sk5 aHwCL0AFSY:(UISwitch*) aHwCL0AFSY a4zQMeufIZ:(UIBezierPath*) a4zQMeufIZ adEn1Jjz4:(UIBarButtonItem*) adEn1Jjz4 {
- NSLog(@"S4yJdkDbToZErH1mseOj9");
- NSLog(@"0GBtiDCwoE5OR");
- NSLog(@"C8ezvu49Df");
- NSLog(@"Xv4ceCm7L6zNySiWOIGfsZaqpjM8F3Y");
- NSLog(@"btdghJ5oG7U");
- NSLog(@"UZYHEkuMJW6");
- NSLog(@"5NlaMmjKGTF6BUqfy4ZewSIb");
- NSLog(@"upROgrfW0jVb52ZyDId9Bh3Kt1qa8ExF");
- NSLog(@"lZJ36kPw04hj18WeQIdcHyM");
- NSLog(@"45DbqKdzBEw9ytOhLZrFY1MGval");
- NSLog(@"w4W1RP6YapizGH");
- NSLog(@"x6sbZ4nVHRruQFial2TpSm0gNUyC");
- NSLog(@"2bhiHsagoWLSImeuXOTQpFvy");
- }
- -(void)aqBhuv1y7:(UIDocument*) aqBhuv1y7 aaAgFnU:(UIFont*) aaAgFnU akFbD5:(UIWindow*) akFbD5 auIYHwP3gD:(UIScreen*) auIYHwP3gD awdlTepV4E:(UIFont*) awdlTepV4E aa2U6dA:(UIKeyCommand*) aa2U6dA {
- NSLog(@"Wt9NYxTUlGO8HID4Md");
- NSLog(@"jOIqeJzRG4ksFApfMSBr8W7N");
- NSLog(@"0DingfrStM51Pq");
- NSLog(@"HMdXbjil4IVfL");
- NSLog(@"uPcZLSWz6ijBCX");
- NSLog(@"moMS5UpYjcb6aID9");
- NSLog(@"vem8paEd2FsC0ZlX4wGKj");
- NSLog(@"XW47RhKoY3pOCNbTUMzerQyuVGDsqa2FIwm0H");
- NSLog(@"UL5bkEf6Mdh8lSR2");
- NSLog(@"Yq0zxtCcvuTFRGBhpW1LEfrSbIkX8");
- NSLog(@"eHQr92q5FUEIJvgbmAdK36C0foSOlkcauTt");
- }
- -(void)agaed9IW0cu:(UIKeyCommand*) agaed9IW0cu a7iRp9AX054:(UIEvent*) a7iRp9AX054 aTjWl26hN:(UIDocument*) aTjWl26hN ayrFjqX:(UIApplication*) ayrFjqX aodUV75:(UIApplication*) aodUV75 a6tDq:(UIColor*) a6tDq a8PhRrF:(UISwitch*) a8PhRrF aGd6Y:(UIEvent*) aGd6Y aEe3LbT62x1:(UIMenuItem*) aEe3LbT62x1 aEbTlrmF5tU:(UIImage*) aEbTlrmF5tU aK4wxm:(UIVisualEffectView*) aK4wxm aLu9Qs1GlYJ:(UIAlertView*) aLu9Qs1GlYJ afzbkG:(UICollectionView*) afzbkG a54CBzqZbhX:(UIInputView*) a54CBzqZbhX aBwZSncqQ2:(UIDocument*) aBwZSncqQ2 {
- NSLog(@"1Us7qaid8w06yTBkJFM");
- NSLog(@"j4LozMxgPZ");
- NSLog(@"LcyAWh6dmSOPrHoEFqb8kuDUex");
- NSLog(@"2f6EHjlp74qM5LcYkwtsrmx");
- NSLog(@"bF2ACzeLm9QDZRiU");
- NSLog(@"LPWrTUwikSuscHJgAdaXKeB1Y6nDhCqf320");
- NSLog(@"xgEJRbTjKMoqFuVlYIyOH259e70n1wdvP6NhU");
- NSLog(@"DWt0FQMUOw8zicyRL");
- NSLog(@"ZtnA7yvSgIuR8Eza4C0h");
- NSLog(@"MThzjxNuSy2ZXQgHCY30Asmdq7RiWtnp48");
- NSLog(@"MSijA7vKy9PfkrgaZ");
- }
- -(void)aZHwfyg:(UISwitch*) aZHwfyg arNAmV:(UIMenuItem*) arNAmV aSsUZw2:(UISwitch*) aSsUZw2 aioIyjkPS8B:(UIKeyCommand*) aioIyjkPS8B akwUapm:(UIDevice*) akwUapm aLHTuZ:(UIInputView*) aLHTuZ aL5aMdxGhn:(UIFontWeight*) aL5aMdxGhn abowke:(UICollectionView*) abowke a4VyT:(UITableView*) a4VyT aGCazpOP:(UIDevice*) aGCazpOP aGg3Y472:(UIKeyCommand*) aGg3Y472 aGSeJ:(UIControl*) aGSeJ aipsnKtdI6X:(UIRegion*) aipsnKtdI6X aSEW1t:(UITableView*) aSEW1t amIFLV:(UIMotionEffect*) amIFLV ac0sZ:(UIViewController*) ac0sZ aPIHa:(UIAlertView*) aPIHa a8ihCcvAN:(UIFont*) a8ihCcvAN aHXFcI0jE6M:(UIMenuItem*) aHXFcI0jE6M {
- NSLog(@"vx37Vs4nGB29lWXHPoCD5");
- NSLog(@"UZ8u4PJxTE7eMrntGbsDzFNhmij5ywBpXaLQ");
- NSLog(@"M41xYFWu6EwitcU");
- NSLog(@"rgXICLY23nFQHEiDRTkWjPcafMdZob");
- NSLog(@"airGk3AgTYwsvjS2Rum5fp9d6hWL0F");
- NSLog(@"FBcnd2eR48QWP3aigzkO0rpTl");
- NSLog(@"yDvA0JbiMYwUtWrp4GHIB26mTZlx1QoEnOq");
- NSLog(@"HV8X2lzapRWfje3Nk6ruCJ");
- NSLog(@"De1IVEUYOz9rM8CXFy4stpmiB5AxJKo");
- NSLog(@"tBrPFpjwJW8xcu1i");
- NSLog(@"MEwLjrJzhdZoQBPW74f85kItuUlcRTK31gHYbNav");
- NSLog(@"x9Hw52kUgSbitEelrN1LoO0uRfm7YQyTGJ");
- NSLog(@"CGw1LFIQbmB2vJXctONiRzpnTr");
- NSLog(@"gl30vDEpeTqC1UhzmNrO4MLX5foxyc9Q6i8");
- NSLog(@"cBrdipEJnK23zQ6D7FtOvNC45SPTMxImywhk");
- NSLog(@"QhUFmJWCYTnEyG");
- NSLog(@"7Ao0sC3Lzivp8QVrq2unYThtWfSa94mGJ");
- NSLog(@"NVtE1saRlBziZL");
- }
- -(void)aPcJU2GA9MS:(UICollectionView*) aPcJU2GA9MS ac2uej:(UIControlEvents*) ac2uej auTdFb:(UIImage*) auTdFb afmzvhPDV:(UIMotionEffect*) afmzvhPDV aSukY:(UIScreen*) aSukY avMUIKzlP:(UIColor*) avMUIKzlP aR4gv6:(UISearchBar*) aR4gv6 akIdoT:(UILabel*) akIdoT aHhY2:(UIMenuItem*) aHhY2 asiLpQ:(UIControl*) asiLpQ apDTl:(UIActivity*) apDTl abq6RD4Nn5:(UISearchBar*) abq6RD4Nn5 aIsEp4zYh:(UIView*) aIsEp4zYh aiH0wub1y:(UIMotionEffect*) aiH0wub1y {
- NSLog(@"Fn31pdO7QTZfaXticP8lwhAxb");
- NSLog(@"wAtgXeU2CbfE5cmFVn4aJ");
- NSLog(@"sikzVfq4E3wb1rdKnSQM9uDLjext");
- NSLog(@"xRVHFKbGDykwi9Ee0fdUcnJ4q");
- NSLog(@"YCbf4qPNJai78ISGK1uEUW2cFOh");
- NSLog(@"9bP2Z5gTsnvjwUGt40yWRrxBmeYAq6hQVIS");
- NSLog(@"p9muJxrKvDcOf");
- NSLog(@"szhFKMOrDqBvXWoTkyQ");
- NSLog(@"SnPN7ymxWlc9KkwOjYoH1L6DVf53tzR");
- NSLog(@"uLq7FY09AomSTndRCl1I4MZ5XkiDbBh");
- NSLog(@"uOoLUBPvbMKJFmyXlzx3Ygr4HN6Q");
- NSLog(@"C59wSAEoa0mFejqzKpXRcygJD2OdVNZ7Pt68x3GQ");
- NSLog(@"ktO378KFqXeQJ16nsP2DmpilVB9MvUHr5ENxdSZw");
- NSLog(@"ebfL5Dk321nX");
- NSLog(@"sMAtZOrcuS3Ry4kEwIX6G2lHJDjWgaKq1fdC");
- NSLog(@"fNQvzFMuPwYkAOg5hGt0RWxZ7UyD6");
- NSLog(@"3YrlLCsMhU7AQ4e1i2DfnBS0tumG");
- }
- -(void)azyhuA23Id:(UIColor*) azyhuA23Id a6QrMuTKndF:(UISearchBar*) a6QrMuTKndF auAxMC:(UIAlertView*) auAxMC airqa5W:(UIControlEvents*) airqa5W aO4C0k:(UIVisualEffectView*) aO4C0k aOapWS8:(UILabel*) aOapWS8 aJFqIskPuy2:(UIView*) aJFqIskPuy2 alsRcTu:(UIViewController*) alsRcTu auFpnvNj:(UIMotionEffect*) auFpnvNj aEcIVRHDuz3:(UICollectionView*) aEcIVRHDuz3 aIxey1:(UIUserInterfaceIdiom*) aIxey1 aNYH58Ep:(UIEdgeInsets*) aNYH58Ep a2GXymTWD:(UIEdgeInsets*) a2GXymTWD aqukd7n0I:(UIFontWeight*) aqukd7n0I apFnmzS:(UIBarButtonItem*) apFnmzS azyQPgk:(UISearchBar*) azyQPgk ag7LE3xBhew:(UIDocument*) ag7LE3xBhew a1Q8weRKb:(UIDocument*) a1Q8weRKb aDtid7F4QX:(UIScreen*) aDtid7F4QX {
- NSLog(@"uFVg329LkvmARNQ1GxTPWbO6a5hJ7yH0l");
- NSLog(@"L8AyN6aXViIOCh5nFm70gP3Gsb");
- NSLog(@"8fBqFxMRsA3");
- NSLog(@"vSM0kLJArnmos8eUEuRf64pHXgy5D");
- NSLog(@"G2xqn1dKOek9f3wsQzpCDb0Ni8MH");
- NSLog(@"WkENPYRuAG7pMvwiXKQ3bjt4gfBIhD");
- NSLog(@"GNAY1pqZyKI3it");
- NSLog(@"DE0w8orQeiYOfUMAHckKV");
- NSLog(@"4WXOzciypQbgKMHo7sfGmu9LA");
- NSLog(@"pErwNqhJZFgWCQ8GfIyk7lcMuY2ojs6UeviT0tab");
- NSLog(@"OADhJrdfSQI4vR17MYm");
- NSLog(@"RfatkghHuFPvemV0A4E");
- NSLog(@"fxCMnWwkXdKSmNZcUO6yuQAt9VivFog04TsLpIlz");
- NSLog(@"LHqtsbklhFGWMcenjgapEJ3uVxR71Y");
- }
- @end
|