0218 图片的添加
//银行卡支付
UIView *line123=[[UIView alloc]initWithFrame:CGRectMake(0, 79, SCREEN_WIDTH, 2)];
line123.backgroundColor=RGB(208, 209, 208);
[zhifuPatternView addSubview:line123];
// UIImageView *yinlian=[[UIImageView alloc]initWithFrame:CGRectMake(15, CGRectGetMaxY(line123.frame)+10, 26, 16)];
// yinlian.image=[UIImage imageNamed:@"yinlian"];//gzz0202
UIImageView *yinlian=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"yinlian"]];
yinlian.x=8;
yinlian.y=CGRectGetMaxY(line123.frame)+10;
[zhifuPatternView addSubview:yinlian];
CGFloat LX32=CGRectGetMaxX(zhifubao.frame)+10;
CGFloat LY32=74;
CGFloat LW32=150;
CGFloat LH32=15;
UILabel *yinlianLabel = [[UILabel alloc] initWithFrame:CGRectMake(LX32, LY32,LW32, LH32)];
yinlianLabel.centerY=yinlian.centerY;
[zhifuPatternView addSubview:yinlianLabel];
yinlianLabel.text =@"银行卡支付";
yinlianLabel.font=[UIFont systemFontOfSize:16];
CGFloat yinhangkaX=SCREENW-15-30;
YinlianPayimage = [[UIImageView alloc]initWithFrame:CGRectMake(yinhangkaX, 11, 20, 20)];
YinlianPayimage.centerY=yinlianLabel.centerY;
YinlianPayimage.image =[UIImage imageNamed:@"completezhifu"];
[zhifuPatternView addSubview:YinlianPayimage];
//银行卡按钮
yinhagkaButton =[UIButton buttonWithType:UIButtonTypeCustom];
yinhagkaButton.frame = CGRectMake(yinhangkaX-10, 1, 40, 40);
yinhagkaButton.centerY=yinlianLabel.centerY;
// [yinhagkaButton setBackgroundImage:[UIImage imageNamed:@"completezhifu"] forState:0];
[yinhagkaButton addTarget:self action:@selector(yinhangkaBtnClick) forControlEvents:UIControlEventTouchUpInside];
[zhifuPatternView addSubview:yinhagkaButton];
zhifuPatternView.frame=CGRectMake(zhifuPatternView.x, zhifuPatternView.y, zhifuPatternView.width, CGRectGetMaxY(yinhagkaButton.frame));