// // KXTitleAndScrollView.m // YouHuiProject // // Created by jcymac on 2018/9/6. // Copyright © 2018年 kuxuan. All rights reserved. // #import "KXTitleAndScrollView.h" @interface KXTitleAndScrollView() @end @implementation KXTitleAndScrollView -(instancetype)initWithFrame:(CGRect)frame{ if (self=[super initWithFrame:frame]) { } return self; } // //UIView *recomView = [[UIView alloc] initWithFrame:CGRectMake(Fitsize(10), 0, SCREEN_WIDTH-Fitsize(20), Fitsize(208))]; //topRecomView = recomView; //recomView.layer.cornerRadius = Fitsize(8); //recomView.backgroundColor = [UIColor whiteColor]; //UILabel *title = [[UILabel alloc] initWithFrame:CGRectMake(0, 10, Fitsize(65), Fitsize(40))]; //title.font = [UIFont systemFontOfSize:Fitsize(14)];//[UIColor homeRedColor] //title.centerX = SCREEN_WIDTH/2; //title.text = @"热门商品"; //[title sizeToFit]; //title.textColor =[UIColor gradientWidthFromColor:[UIColor YHColorWithHex:0x53F3FD] toColor:[UIColor YHColorWithHex:0x726BFF] withWidth:title.width]; //[recomView addSubview:title]; //UIImageView *icon = [[UIImageView alloc] initWithFrame:CGRectMake(title.left-20, 0, Fitsize(13), Fitsize(15))]; //icon.centerY = title.centerY; //icon.image = [UIImage imageNamed:@"hotRecom_left"]; //[recomView addSubview:icon]; //UIImageView *icon2 = [[UIImageView alloc] initWithFrame:CGRectMake(title.right+5, 0, Fitsize(13), Fitsize(15))]; //icon2.centerY = title.centerY; //icon2.image = [UIImage imageNamed:@"hotRecom_right"]; //[recomView addSubview:icon2]; // //KBTodayModelView *modelView = [[KBTodayModelView alloc] initWithFrame:CGRectMake(Fitsize(0), Fitsize(40), SCREEN_WIDTH-Fitsize(20), Fitsize(168)) titleNumOfLine:1]; //modelView.isOhterPage = YES; //modelView.name = self.model.name; //modelView.Id = self.model.Id; //self.recommonView = modelView; //[recomView addSubview:modelView]; // //self.channelHeader = [[KBChildHeaderView alloc] initWithFrame:CGRectMake(Fitsize(10), 0, SCREEN_WIDTH-Fitsize(20), 0) delegete:self]; @end