You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
811 B

//
// CQCollectionViewCell.m
// tongxin
//
// Created by WeiChaoZheng on 2018/10/15.
// Copyright © 2018xTT. All rights reserved.
//
#import "CQCollectionViewCell.h"
#import "AllQViewController.h"
@implementation CQCollectionViewCell
- (void)awakeFromNib {
[super awakeFromNib];
self.layer.cornerRadius = 3;
self.layer.masksToBounds = YES;
self.backgroundColor = [UIColor whiteColor];
}
- (IBAction)clickBtnAction:(UIButton *)sender {
AllQViewController *vc = [[UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]] instantiateViewControllerWithIdentifier:@"AllQViewController"];
vc.categoryTitle = sender.titleLabel.text;
vc.categoryid = self.categoryid;
[self.getViewController.navigationController pushViewController:vc animated:YES];
}
@end