12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- //
- // PeriodVC.m
- // JSJPCoach
- //
- // Created by apple on 2017/3/20.
- // Copyright © 2017年 Danson. All rights reserved.
- //
- #import "PeriodVC.h"
- @interface PeriodVC ()
- {
- UILabel *todayLabel, *allLabel, *noticeLabel;
-
- }
- @end
- @implementation PeriodVC
- - (void)viewDidLoad {
- [super viewDidLoad];
- // todayLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 30, kSize.width - 40, 30)];
- // [todayLabel setText:@"您今日已带教0名学员" Font:Font18 TextColor:[UIColor whiteColor]];
- // [self.view addSubview:todayLabel];
- //
- // allLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 60, kSize.width - 40, 30)];
- // [allLabel setText:@"您一共带教0名学员" Font:Font17 TextColor:backGroundColor];
- // [self.view addSubview:allLabel];
- //
- //
- // UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(kSize.width - 20 - 32, (60 - 32)/2.0 + 30, 32, 32)];
- // [button setImage:[UIImage imageNamed:@"passEye"] forState:UIControlStateNormal];
- // [button target:self];
- // [self.view addSubview:button];
- //
- //
- // NSString *string = @"教练您好:\n 本系统采用分钟学时的方法计算学时,所以请您在带教的过程中注意以下几点: \n\n1、确保您的手机能正常联网,3G以上网络能给您带来更好的效果 \n\n2、带教过程中,规定不允许离开训练场和打电话,系统会实时采集您的位置,用于学员分钟学时有效性判断,请确保网络正常连接,系统允许临时接电话,默认15分钟内,具体按管理部门规定,如果超过规定时间,学员的分钟学时全部无效 \n\n3、如果您选择计时收费,请确认您已经选择好了培训科目和培训价格,否则系统无法进行计费训练 \n\n4、培训结束后,学员可以对您的带教进行评价或投诉,一旦发生投诉,系统将会上传至省监管平台,将会影响您的信誉 \n\n5、为确保学员分钟学时有效,请确保您跟学员的位置在规定范围内,否则学员分钟学时无效 \n\n6、如果是收费训练,在训练结束后,可以在我的订单中选择收款,生成二维码,学员扫码支付成功后,学员学时有效,请提醒您的学员及时支付,否则,学时将不会计入有效学时";
- //
- // CGFloat noticeH = [string heightForWid:kSize.width - 40 Font:Font17] + 10;
- //
- // noticeLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 100, kSize.width - 40, noticeH)];
- // [noticeLabel setText:string Font:Font17 TextColor:backGroundColor];
- // noticeLabel.numberOfLines = 0;
- // [self.view addSubview:noticeLabel];
- }
- - (void)btnClick:(UIButton *)sender
- {
- sender.selected = !sender.selected;
- noticeLabel.hidden = sender.selected;
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- }
- @end
|