add
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// GIGaMaskShareViewController.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "GiGaBaseViewController.h"
|
||||
|
||||
@interface GIGaMaskShareViewController : GiGaBaseViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,113 @@
|
||||
//
|
||||
// GIGaMaskShareViewController.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "GIGaMaskShareViewController.h"
|
||||
#import "MaskTimeEndViewImgaeCell.h"
|
||||
#import "MaskTimeTimeViewCell.h"
|
||||
#import "MaskTimeEndActionViewCell.h"
|
||||
#import "ShareViewController.h"
|
||||
|
||||
@interface GIGaMaskShareViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation GIGaMaskShareViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
[self addNavTitile:@"面膜时间"];
|
||||
[self.view addSubview:self.tableView];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.backgroundColor = [UIColor whiteColor];
|
||||
self.tableView.separatorStyle = UITableViewCellSelectionStyleNone;
|
||||
self.tableView.sectionFooterHeight = 0;
|
||||
self.tableView.estimatedSectionFooterHeight= 0;
|
||||
self.tableView.estimatedSectionHeaderHeight = 0;
|
||||
//self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectMake(0, 0,self.view.frame.size.width, 30)];
|
||||
self.tableView.frame = CGRectMake(0,0,KMainW, self.view.frame.size.height);
|
||||
// Do any additional setup after loading the view.
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
|
||||
return 3;
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
|
||||
return 1;
|
||||
}
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
if (indexPath.section == 0) {
|
||||
MaskTimeEndViewImgaeCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MaskTimeEndViewImgaeCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle] loadNibNamed:@"MaskTimeEndViewImgaeCell" owner:self options:nil] lastObject];
|
||||
|
||||
}
|
||||
return cell;
|
||||
}else if (indexPath.section == 1){
|
||||
MaskTimeTimeViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MaskTimeTimeViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle] loadNibNamed:@"MaskTimeTimeViewCell" owner:self options:nil] lastObject];
|
||||
|
||||
}
|
||||
return cell;
|
||||
|
||||
}else if (indexPath.section == 2){
|
||||
MaskTimeEndActionViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MaskTimeEndActionViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle] loadNibNamed:@"MaskTimeEndActionViewCell" owner:self options:nil] lastObject];
|
||||
|
||||
}
|
||||
[cell.changeBackBtn addTarget:self action:@selector(changeBackBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[cell.shareBtn addTarget:self action:@selector(shareBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
return cell;
|
||||
}
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
if (indexPath.section == 0) {
|
||||
return 285;
|
||||
}else if (indexPath.section == 1){
|
||||
return 205;
|
||||
}
|
||||
|
||||
return 90;
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
return 0.1;
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
|
||||
|
||||
{ return 0.1;
|
||||
|
||||
}
|
||||
|
||||
#pragma mark changeBackBtnAction
|
||||
-(void)changeBackBtnAction{
|
||||
|
||||
}
|
||||
|
||||
#pragma mark share
|
||||
-(void)shareBtnAction{
|
||||
|
||||
ShareViewController *share = [[ShareViewController alloc] init];
|
||||
[self presentViewController:share animated:NO completion:nil];
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -32,6 +32,7 @@
|
||||
#import "GiGaUserManager.h"
|
||||
#import "GiGaBaseAPiRequest.h"
|
||||
#import "MaskTestResultVC.h"
|
||||
#import "GIGaMaskShareViewController.h"
|
||||
|
||||
|
||||
@interface GiGaMaskTaskViewController ()<MaskCirCularProGressViewDelegate>
|
||||
@@ -488,18 +489,20 @@
|
||||
|
||||
#pragma mark 开始测试
|
||||
-(void)testBtnAcion:(UIButton *)btn{
|
||||
NSDictionary *dic = @{
|
||||
@"dryness":@"0.41",
|
||||
@"drynessPercent":@"41%",
|
||||
@"mask":@"",
|
||||
@"minute":@"19",
|
||||
@"oiliness":@"0.59",
|
||||
@"oilinessPercent":@"59%"
|
||||
};
|
||||
MaskTestResult *model =[[MaskTestResult alloc] initWithDictionary:dic error:nil];
|
||||
MaskTestResultVC *resultVC = [[MaskTestResultVC alloc] init];
|
||||
resultVC.model = model;
|
||||
[self.navigationController pushViewController:resultVC animated:YES];
|
||||
// NSDictionary *dic = @{
|
||||
// @"dryness":@"0.41",
|
||||
// @"drynessPercent":@"41%",
|
||||
// @"mask":@"",
|
||||
// @"minute":@"19",
|
||||
// @"oiliness":@"0.59",
|
||||
// @"oilinessPercent":@"59%"
|
||||
// };
|
||||
// MaskTestResult *model =[[MaskTestResult alloc] initWithDictionary:dic error:nil];
|
||||
// MaskTestResultVC *resultVC = [[MaskTestResultVC alloc] init];
|
||||
// resultVC.model = model;
|
||||
// [self.navigationController pushViewController:resultVC animated:YES];
|
||||
|
||||
[self showAlertGoShareMaskTime];
|
||||
|
||||
return;
|
||||
GiGaQuestionVC *questionVC = [[GiGaQuestionVC alloc] init];
|
||||
@@ -696,4 +699,23 @@
|
||||
|
||||
}
|
||||
|
||||
#pragma mark 去分享
|
||||
|
||||
-(void)showAlertGoShareMaskTime{
|
||||
|
||||
[self jxt_showAlertWithTitle:@"面膜时间" message:@"去分享我的面膜时间" appearanceProcess:^(JXTAlertController * _Nonnull alertMaker) {
|
||||
alertMaker.addActionCancelTitle(@"下次");
|
||||
alertMaker.addActionDefaultTitle(@"去分享");
|
||||
} actionsBlock:^(NSInteger buttonIndex, UIAlertAction * _Nonnull action, JXTAlertController * _Nonnull alertSelf) {
|
||||
|
||||
if (buttonIndex == 1) {
|
||||
|
||||
GIGaMaskShareViewController *shareVC = [[GIGaMaskShareViewController alloc] init];
|
||||
[self.navigationController pushViewController:shareVC animated:YES];;
|
||||
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ShareViewController.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "GiGaBaseViewController.h"
|
||||
|
||||
@interface ShareViewController : GiGaBaseViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,163 @@
|
||||
//
|
||||
// ShareViewController.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShareViewController.h"
|
||||
#import "MaskTimeShareViewCell.h"
|
||||
#import "MaskShareTimeMidViewCell.h"
|
||||
#import "MaskShareBoootomViewCell.h"
|
||||
|
||||
|
||||
@interface ShareViewController ()<UITableViewDelegate,UITableViewDataSource>
|
||||
@property(nonatomic,strong) UITableView *tab;
|
||||
@property(nonatomic,strong) UIImageView *backimageview ;
|
||||
@property(nonatomic) int curentImageIndex ;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@implementation ShareViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
_curentImageIndex = 0;
|
||||
UIImageView *backimageview = [[UIImageView alloc] init];
|
||||
backimageview.frame = CGRectMake(0, 0,self.view.frame.size.width, self.view.frame.size.height);
|
||||
backimageview.userInteractionEnabled = YES;
|
||||
backimageview.image = [UIImage imageNamed:@"sharebg_1"];
|
||||
// self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"sharebg_1"]];
|
||||
self.backimageview = backimageview;
|
||||
[self.view addSubview:backimageview];
|
||||
[self creatTabUI];
|
||||
UIButton *backBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
backBtn.frame = CGRectMake(20,44, 40, 40);
|
||||
[backBtn setImage:[UIImage imageNamed:@"btn_moment_back"] forState:UIControlStateNormal];
|
||||
backBtn.backgroundColor = [UIColor redColor];
|
||||
[backBtn addTarget:self action:@selector(backBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[self.view addSubview:backBtn];
|
||||
[self.view insertSubview:backimageview atIndex:0];
|
||||
|
||||
[self creatBtns];
|
||||
|
||||
}
|
||||
|
||||
-(void)creatTabUI{
|
||||
self.tab = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
|
||||
self.tab.separatorStyle = UITableViewCellSelectionStyleNone;
|
||||
self.tab.delegate = self;
|
||||
self.tab.dataSource = self;
|
||||
self.tab.backgroundColor = [UIColor clearColor];
|
||||
[self.view addSubview:self.tab];
|
||||
}
|
||||
|
||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
|
||||
return 1;
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
|
||||
return 3;
|
||||
}
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
if (indexPath.row == 0) {
|
||||
MaskTimeShareViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MaskTimeShareViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle] loadNibNamed:@"MaskTimeShareViewCell" owner:self options:nil] lastObject];
|
||||
|
||||
}
|
||||
return cell;
|
||||
}else if (indexPath.row == 1){
|
||||
MaskShareTimeMidViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MaskShareTimeMidViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle] loadNibNamed:@"MaskShareTimeMidViewCell" owner:self options:nil] lastObject];
|
||||
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
else if (indexPath.row == 2){
|
||||
MaskShareBoootomViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MaskShareBoootomViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle] loadNibNamed:@"MaskShareBoootomViewCell" owner:self options:nil] lastObject];
|
||||
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
if (indexPath.row == 0) {
|
||||
return 295;
|
||||
}else if (indexPath.row ==1){
|
||||
return 205;
|
||||
}
|
||||
return 158;
|
||||
}
|
||||
|
||||
-(void)backBtnAction{
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
-(void)creatBtns{
|
||||
|
||||
UIButton *changeBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
changeBtn.backgroundColor = GIGARGB(181, 14, 14, 0.6);
|
||||
NSAttributedString *titl = [GiGaHelper stringWithText:@"更换背景" textColor:[UIColor whiteColor] textFont:GIGA_TEXTFONTBOLD(18) leterSpace:0];
|
||||
[changeBtn setAttributedTitle:titl forState:UIControlStateNormal];
|
||||
[changeBtn addTarget:self action:@selector(changeAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
changeBtn.layer.masksToBounds = YES;
|
||||
changeBtn.layer.cornerRadius = 4;
|
||||
[self.view addSubview:changeBtn];
|
||||
[changeBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.mas_equalTo(CGSizeMake(120, 40));
|
||||
make.bottom.mas_equalTo(self.view.mas_bottom).mas_offset(-45);
|
||||
make.centerX.mas_equalTo(self.view.mas_centerX).offset(-72);
|
||||
|
||||
}];
|
||||
|
||||
UIButton *shareBtn = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
shareBtn.backgroundColor = GIGARGB(181, 14, 14, 0.6);
|
||||
NSAttributedString *titl2 = [GiGaHelper stringWithText:@"分享" textColor:[UIColor whiteColor] textFont:GIGA_TEXTFONTBOLD(18) leterSpace:0];
|
||||
[shareBtn setAttributedTitle:titl2 forState:UIControlStateNormal];
|
||||
[shareBtn addTarget:self action:@selector(shareBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
shareBtn.layer.masksToBounds = YES;
|
||||
shareBtn.layer.cornerRadius = 4;
|
||||
|
||||
[self.view addSubview:shareBtn];
|
||||
[shareBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.mas_equalTo(CGSizeMake(120, 40));
|
||||
make.bottom.mas_equalTo(self.view.mas_bottom).mas_offset(-45);
|
||||
make.centerX.mas_equalTo(self.view.mas_centerX).offset(72);
|
||||
|
||||
}];
|
||||
|
||||
}
|
||||
|
||||
-(void)changeAction{
|
||||
|
||||
_curentImageIndex ++;
|
||||
if (_curentImageIndex == 4) {
|
||||
_curentImageIndex = 0;
|
||||
}
|
||||
NSArray *images = @[@"sharebg_2",@"sharebg_3",@"sharebg_4",@"sharebg_5",@"sharebg_1"];
|
||||
|
||||
[self.backimageview setImage:[UIImage imageNamed: images[_curentImageIndex]]];
|
||||
|
||||
}
|
||||
|
||||
-(void)shareBtnAction{
|
||||
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -10,6 +10,9 @@
|
||||
#import "MaskResultMinViewCell.h"
|
||||
#import "MaskResultPercentCell.h"
|
||||
#import "MaskResultShareViewCell.h"
|
||||
#import "SHareTestImageVC.h"
|
||||
#import "GiGaFileNanager.h"
|
||||
|
||||
|
||||
@interface MaskTestResultVC ()
|
||||
|
||||
@@ -30,7 +33,8 @@
|
||||
self.tableView.sectionFooterHeight = 0;
|
||||
self.tableView.estimatedSectionFooterHeight= 0;
|
||||
self.tableView.estimatedSectionHeaderHeight = 0;
|
||||
self.tableView.frame = CGRectMake(0,0, KMainW, self.view.bounds.size.height - SAFE_NAV_HEIGHT);
|
||||
//self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectMake(0, 0,self.view.frame.size.width, 30)];
|
||||
self.tableView.frame = CGRectMake(0,0,KMainW, self.view.frame.size.height);
|
||||
[self.tableView registerClass:[MaskResultPercentCell class] forCellReuseIdentifier:@"MaskResultPercentCell"];
|
||||
[self.tableView registerClass:[MaskResultMinViewCell class] forCellReuseIdentifier:@"MaskResultMinViewCell"];
|
||||
[self.tableView registerClass:[MaskResultShareViewCell class] forCellReuseIdentifier:@"MaskResultShareViewCell"];
|
||||
@@ -71,7 +75,7 @@
|
||||
if (!cell) {
|
||||
cell = [[MaskResultShareViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:cellID];;
|
||||
}
|
||||
|
||||
[cell.shareBtn addTarget:self action:@selector(shareBtnAciton) forControlEvents:UIControlEventTouchUpInside];
|
||||
[cell kidTitle:self.model.mask];
|
||||
|
||||
return cell;
|
||||
@@ -96,6 +100,42 @@
|
||||
|
||||
}
|
||||
|
||||
-(void)shareBtnAciton{
|
||||
|
||||
UIImage *image = [self saveLongImage:self.tableView];
|
||||
// SHareTestImageVC *imagevc = [[SHareTestImageVC alloc] init];
|
||||
// imagevc.image = image;
|
||||
//[self.navigationController pushViewController:imagevc animated:YES];
|
||||
|
||||
}
|
||||
|
||||
- (UIImage *)saveLongImage:(UITableView *)table {
|
||||
|
||||
UIImage* image = nil;
|
||||
// 下面方法,第一个参数表示区域大小。第二个参数表示是否是非透明的。如果需要显示半透明效果,需要传NO,否则传YES。第三个参数就是屏幕密度了,调整清晰度。
|
||||
|
||||
UIGraphicsBeginImageContextWithOptions(table.contentSize, YES, [UIScreen mainScreen].scale);
|
||||
|
||||
CGPoint savedContentOffset = table.contentOffset;
|
||||
CGRect savedFrame = table.frame;
|
||||
table.contentOffset = CGPointZero;
|
||||
table.frame = CGRectMake(0, 0, table.contentSize.width, table.contentSize.height);
|
||||
|
||||
[table.layer renderInContext: UIGraphicsGetCurrentContext()];
|
||||
|
||||
image = UIGraphicsGetImageFromCurrentImageContext();
|
||||
|
||||
table.contentOffset = savedContentOffset;
|
||||
|
||||
table.frame = savedFrame;
|
||||
|
||||
UIGraphicsEndImageContext();
|
||||
[[GiGaFileNanager shareInstance] saveImaeToAlBum:image];
|
||||
|
||||
return image;
|
||||
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// SHareTestImageVC.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "GiGaBaseViewController.h"
|
||||
|
||||
@interface SHareTestImageVC : GiGaBaseViewController
|
||||
@property (nonatomic,strong) UIImage *image ;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,43 @@
|
||||
//
|
||||
// SHareTestImageVC.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "SHareTestImageVC.h"
|
||||
|
||||
@interface SHareTestImageVC ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation SHareTestImageVC
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view from its nib.
|
||||
UIImageView *ima = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width,self.view.frame.size.height)];
|
||||
ima.contentMode = UIViewContentModeScaleAspectFit;
|
||||
|
||||
ima.image = self.image;
|
||||
[self.view addSubview:ima];
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
/*
|
||||
#pragma mark - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
// Pass the selected object to the new view controller.
|
||||
}
|
||||
*/
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13142" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12042"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SHareTestImageVC">
|
||||
<connections>
|
||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -201,7 +201,6 @@
|
||||
self.displayLink = nil;
|
||||
self.oilLabe.text = model.oilinessPercent;
|
||||
self.waterlabe.text = model.drynessPercent;
|
||||
|
||||
|
||||
}];
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// MaskShareBoootomViewCell.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MaskShareBoootomViewCell : UITableViewCell
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *codeImageVIew;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// MaskShareBoootomViewCell.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MaskShareBoootomViewCell.h"
|
||||
#import "ZXingWrapper.h"
|
||||
|
||||
|
||||
@implementation MaskShareBoootomViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
UIImage *imag = [ZXingWrapper createCodeWithString:@"app_logo" size:CGSizeMake(85, 85) CodeFomart:kBarcodeFormatQRCode];
|
||||
self.codeImageVIew.image = imag;
|
||||
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MaskShareBoootomViewCell" id="KGk-i7-Jjw" customClass="MaskShareBoootomViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="158"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="157.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="做精致女人" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LJO-K7-zpZ">
|
||||
<rect key="frame" x="33" y="32" width="85" height="24"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="17"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="从现在开始给皮肤最好的呵护" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6i0-MD-I2r">
|
||||
<rect key="frame" x="33" y="58" width="221" height="24"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="17"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GOk-wH-zsa">
|
||||
<rect key="frame" x="33" y="103" width="100" height="4"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="100" id="HgT-jl-BEp"/>
|
||||
<constraint firstAttribute="height" constant="4" id="U5M-5L-n2g"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="长按识别二维码一起加入面膜时间吧" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ema-eN-n8K">
|
||||
<rect key="frame" x="33" y="86" width="160" height="14"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="10"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="面膜时间出品" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HDM-xq-aq0">
|
||||
<rect key="frame" x="232" y="130" width="72" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="tq8-in-Amj">
|
||||
<rect key="frame" x="226" y="15" width="85" height="85"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="85" id="dP3-Bc-Lp3"/>
|
||||
<constraint firstAttribute="height" constant="85" id="mmA-lF-tro"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="LJO-K7-zpZ" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="32" id="13v-0a-2uH"/>
|
||||
<constraint firstAttribute="bottom" secondItem="HDM-xq-aq0" secondAttribute="bottom" constant="10.5" id="5iM-f0-E04"/>
|
||||
<constraint firstItem="Ema-eN-n8K" firstAttribute="top" secondItem="6i0-MD-I2r" secondAttribute="bottom" constant="4" id="8KL-j5-2Mj"/>
|
||||
<constraint firstItem="tq8-in-Amj" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="B22-JQ-XO1"/>
|
||||
<constraint firstAttribute="trailing" secondItem="HDM-xq-aq0" secondAttribute="trailing" constant="16" id="KE6-Br-RHG"/>
|
||||
<constraint firstItem="GOk-wH-zsa" firstAttribute="top" secondItem="Ema-eN-n8K" secondAttribute="bottom" constant="3" id="KJy-tX-KpT"/>
|
||||
<constraint firstItem="LJO-K7-zpZ" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="33" id="TNa-XG-s3h"/>
|
||||
<constraint firstItem="6i0-MD-I2r" firstAttribute="top" secondItem="LJO-K7-zpZ" secondAttribute="bottom" constant="2" id="der-vS-LaE"/>
|
||||
<constraint firstItem="GOk-wH-zsa" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="17" id="feu-CD-ceE"/>
|
||||
<constraint firstItem="6i0-MD-I2r" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="33" id="fsa-Yg-uQP"/>
|
||||
<constraint firstItem="Ema-eN-n8K" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="33" id="im1-OZ-dbX"/>
|
||||
<constraint firstAttribute="trailing" secondItem="tq8-in-Amj" secondAttribute="trailing" constant="9" id="yPL-AS-Ahb"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<connections>
|
||||
<outlet property="codeImageVIew" destination="tq8-in-Amj" id="Axa-dF-svf"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// MaskShareTimeMidViewCell.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MaskShareTimeMidViewCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIView *timeBackVIew;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *userIcon;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *timeLabe;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *percetLabe;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *totalLabe;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// MaskShareTimeMidViewCell.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MaskShareTimeMidViewCell.h"
|
||||
|
||||
@implementation MaskShareTimeMidViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
|
||||
self.timeBackVIew.layer.masksToBounds= NO;
|
||||
self.timeBackVIew.layer.cornerRadius =10;
|
||||
self.timeBackVIew.layer.shadowOffset = CGSizeMake(2,1);
|
||||
self.timeBackVIew.layer.shadowColor = GIGARGB(91, 91, 91, 0.6).CGColor;
|
||||
self.timeBackVIew.layer.shadowOpacity = 0.8;
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MaskShareTimeMidViewCell" id="KGk-i7-Jjw" customClass="MaskShareTimeMidViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="205"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="204.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="H7C-wU-YeM">
|
||||
<rect key="frame" x="18" y="11" width="286" height="183"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="nav_circle_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="ocM-SZ-rcr">
|
||||
<rect key="frame" x="19" y="18" width="40" height="40"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="40" id="69R-Hf-2u9"/>
|
||||
<constraint firstAttribute="height" constant="40" id="n90-K1-gcI"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="面膜时间 MaskTime" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FpQ-uV-izv">
|
||||
<rect key="frame" x="75" y="20" width="130" height="20"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="result_logo" translatesAutoresizingMaskIntoConstraints="NO" id="Pgj-et-Ccy">
|
||||
<rect key="frame" x="245" y="20" width="20" height="20"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="20" id="J7J-3M-XKc"/>
|
||||
<constraint firstAttribute="height" constant="20" id="WPH-Ru-RVU"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="刚刚在「面膜时间」完成了今日皮肤护理" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lc8-n5-fHG">
|
||||
<rect key="frame" x="75" y="40" width="170" height="37"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="37" id="0dF-BN-lB7"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2bX-rt-CcO">
|
||||
<rect key="frame" x="19" y="81" width="246" height="2"/>
|
||||
<color key="backgroundColor" red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="2" id="D0z-X0-1Sv"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今日用时" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="q9g-6l-HI7">
|
||||
<rect key="frame" x="15" y="107" width="48" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.21568627450980393" green="0.21568627450980393" blue="0.21568627450980393" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="皮肤保养度超过" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QzN-Xb-uz3">
|
||||
<rect key="frame" x="101" y="107" width="84" height="17"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="84" id="KCi-Px-w1F"/>
|
||||
<constraint firstAttribute="height" constant="17" id="eZf-hS-jWs"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="%的用户" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7R8-c2-d50">
|
||||
<rect key="frame" x="136" y="158" width="48" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="总计用时" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pKf-Uc-fSs">
|
||||
<rect key="frame" x="218" y="107" width="48" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="min" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="raB-J7-45m">
|
||||
<rect key="frame" x="245" y="158" width="21" height="17"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="17" id="MEd-UN-o3r"/>
|
||||
<constraint firstAttribute="width" constant="21" id="cM5-fO-tiO"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="17" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4Um-yz-bX8">
|
||||
<rect key="frame" x="101" y="124" width="35" height="51"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="51" id="lAz-MR-QTD"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="36"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="17" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZJ1-li-JLb">
|
||||
<rect key="frame" x="210" y="124" width="35" height="51"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="51" id="FVT-7U-mMd"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="36"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="17" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="znk-jF-QRT">
|
||||
<rect key="frame" x="15" y="123" width="35" height="51"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="51" id="TM5-Ec-HZV"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="36"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="min" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cGc-tf-vDR">
|
||||
<rect key="frame" x="42" y="158" width="21" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="7R8-c2-d50" firstAttribute="top" secondItem="QzN-Xb-uz3" secondAttribute="bottom" constant="34" id="0lQ-We-nTj"/>
|
||||
<constraint firstAttribute="trailing" secondItem="2bX-rt-CcO" secondAttribute="trailing" constant="21" id="1ac-pu-JSd"/>
|
||||
<constraint firstItem="FpQ-uV-izv" firstAttribute="leading" secondItem="ocM-SZ-rcr" secondAttribute="trailing" constant="16" id="9Pm-KS-USL"/>
|
||||
<constraint firstItem="raB-J7-45m" firstAttribute="top" secondItem="pKf-Uc-fSs" secondAttribute="bottom" constant="34" id="A2R-aP-ZgP"/>
|
||||
<constraint firstItem="cGc-tf-vDR" firstAttribute="leading" secondItem="znk-jF-QRT" secondAttribute="trailing" constant="-8" id="AhZ-Zg-9Fy"/>
|
||||
<constraint firstItem="q9g-6l-HI7" firstAttribute="leading" secondItem="H7C-wU-YeM" secondAttribute="leading" constant="15" id="C0U-Tr-eSb"/>
|
||||
<constraint firstItem="ocM-SZ-rcr" firstAttribute="leading" secondItem="H7C-wU-YeM" secondAttribute="leading" constant="19" id="C2s-Kb-4P5"/>
|
||||
<constraint firstItem="Lc8-n5-fHG" firstAttribute="top" secondItem="FpQ-uV-izv" secondAttribute="bottom" id="Esp-hD-aoV"/>
|
||||
<constraint firstItem="pKf-Uc-fSs" firstAttribute="top" secondItem="2bX-rt-CcO" secondAttribute="bottom" constant="24" id="Fym-mE-e2D"/>
|
||||
<constraint firstItem="7R8-c2-d50" firstAttribute="leading" secondItem="4Um-yz-bX8" secondAttribute="trailing" id="Gay-Lb-dlR"/>
|
||||
<constraint firstItem="raB-J7-45m" firstAttribute="leading" secondItem="ZJ1-li-JLb" secondAttribute="trailing" id="Kih-L8-D3k"/>
|
||||
<constraint firstItem="znk-jF-QRT" firstAttribute="leading" secondItem="H7C-wU-YeM" secondAttribute="leading" constant="15" id="Krh-6u-OYy"/>
|
||||
<constraint firstItem="Lc8-n5-fHG" firstAttribute="leading" secondItem="ocM-SZ-rcr" secondAttribute="trailing" constant="16" id="L9A-kw-JHx"/>
|
||||
<constraint firstItem="ocM-SZ-rcr" firstAttribute="top" secondItem="H7C-wU-YeM" secondAttribute="top" constant="18" id="MPP-Aw-eB9"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Pgj-et-Ccy" secondAttribute="trailing" constant="21" id="NMY-O3-SEV"/>
|
||||
<constraint firstItem="4Um-yz-bX8" firstAttribute="leading" secondItem="QzN-Xb-uz3" secondAttribute="leading" id="SZX-Ld-70P"/>
|
||||
<constraint firstItem="QzN-Xb-uz3" firstAttribute="centerX" secondItem="H7C-wU-YeM" secondAttribute="centerX" id="TXp-M6-XaJ"/>
|
||||
<constraint firstItem="q9g-6l-HI7" firstAttribute="top" secondItem="2bX-rt-CcO" secondAttribute="bottom" constant="24" id="Vfu-m2-O5v"/>
|
||||
<constraint firstItem="znk-jF-QRT" firstAttribute="top" secondItem="q9g-6l-HI7" secondAttribute="bottom" constant="-1" id="ZKs-zG-MlA"/>
|
||||
<constraint firstItem="ZJ1-li-JLb" firstAttribute="top" secondItem="pKf-Uc-fSs" secondAttribute="bottom" id="avQ-5O-0L4"/>
|
||||
<constraint firstAttribute="trailing" secondItem="pKf-Uc-fSs" secondAttribute="trailing" constant="20" id="d6a-S4-SfO"/>
|
||||
<constraint firstItem="Pgj-et-Ccy" firstAttribute="leading" secondItem="Lc8-n5-fHG" secondAttribute="trailing" id="ew7-LM-G47"/>
|
||||
<constraint firstItem="2bX-rt-CcO" firstAttribute="leading" secondItem="H7C-wU-YeM" secondAttribute="leading" constant="19" id="ghD-RN-ryu"/>
|
||||
<constraint firstItem="FpQ-uV-izv" firstAttribute="top" secondItem="H7C-wU-YeM" secondAttribute="top" constant="20" id="jAg-or-f1G"/>
|
||||
<constraint firstAttribute="trailing" secondItem="raB-J7-45m" secondAttribute="trailing" constant="20" id="jag-Xo-89A"/>
|
||||
<constraint firstItem="4Um-yz-bX8" firstAttribute="top" secondItem="QzN-Xb-uz3" secondAttribute="bottom" id="jpK-hB-nVh"/>
|
||||
<constraint firstItem="2bX-rt-CcO" firstAttribute="top" secondItem="Lc8-n5-fHG" secondAttribute="bottom" constant="4" id="pIR-1U-ELN"/>
|
||||
<constraint firstItem="Pgj-et-Ccy" firstAttribute="top" secondItem="H7C-wU-YeM" secondAttribute="top" constant="20" id="q21-af-X0B"/>
|
||||
<constraint firstItem="QzN-Xb-uz3" firstAttribute="top" secondItem="2bX-rt-CcO" secondAttribute="bottom" constant="24" id="sJR-WQ-HDQ"/>
|
||||
<constraint firstItem="cGc-tf-vDR" firstAttribute="top" secondItem="q9g-6l-HI7" secondAttribute="bottom" constant="34" id="wZZ-p7-gzx"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="H7C-wU-YeM" secondAttribute="bottom" constant="10.5" id="207-vp-hob"/>
|
||||
<constraint firstAttribute="trailing" secondItem="H7C-wU-YeM" secondAttribute="trailing" constant="16" id="PcA-b9-a1T"/>
|
||||
<constraint firstItem="H7C-wU-YeM" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="11" id="uaC-Jo-bEB"/>
|
||||
<constraint firstItem="H7C-wU-YeM" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="18" id="yP6-rB-mKy"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<connections>
|
||||
<outlet property="percetLabe" destination="4Um-yz-bX8" id="ZPZ-Pl-yXo"/>
|
||||
<outlet property="timeBackVIew" destination="H7C-wU-YeM" id="q2o-NG-UKS"/>
|
||||
<outlet property="timeLabe" destination="znk-jF-QRT" id="pii-LG-rfu"/>
|
||||
<outlet property="totalLabe" destination="ZJ1-li-JLb" id="MeX-lM-Wfv"/>
|
||||
<outlet property="userIcon" destination="ocM-SZ-rcr" id="VxR-wi-5fs"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="34" y="53.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="nav_circle_avatar" width="33" height="33"/>
|
||||
<image name="result_logo" width="36" height="36"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// MaskTimeShareViewCell.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MaskTimeShareViewCell : UITableViewCell
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// MaskTimeShareViewCell.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MaskTimeShareViewCell.h"
|
||||
|
||||
@implementation MaskTimeShareViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.backgroundColor = [UIColor clearColor];
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell alpha="0.0" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MaskTimeShareViewCell" id="KGk-i7-Jjw" customClass="MaskTimeShareViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="295"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="294.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="share_logo" translatesAutoresizingMaskIntoConstraints="NO" id="hpg-24-InK">
|
||||
<rect key="frame" x="112" y="25" width="185" height="85"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="现在做些什么呢?" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rO9-ia-OyA">
|
||||
<rect key="frame" x="31" y="168" width="112" height="20"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="14"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="What are we doing now?" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ajv-9T-Bcf">
|
||||
<rect key="frame" x="31" y="195" width="142" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="share_two" translatesAutoresizingMaskIntoConstraints="NO" id="27f-OZ-xO3">
|
||||
<rect key="frame" x="33" y="224" width="198" height="35"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="198" id="kws-RO-ZT9"/>
|
||||
<constraint firstAttribute="height" constant="35" id="zzS-Dk-zsi"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="share_one" translatesAutoresizingMaskIntoConstraints="NO" id="dlk-Er-Voj">
|
||||
<rect key="frame" x="42" y="229" width="162" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="19" id="JLN-Jh-Gue"/>
|
||||
<constraint firstAttribute="width" constant="162" id="L4g-bl-Q8T"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="ajv-9T-Bcf" firstAttribute="top" secondItem="rO9-ia-OyA" secondAttribute="bottom" constant="7" id="DCd-OD-w3Y"/>
|
||||
<constraint firstItem="27f-OZ-xO3" firstAttribute="top" secondItem="ajv-9T-Bcf" secondAttribute="bottom" constant="12" id="GCK-Hn-01X"/>
|
||||
<constraint firstItem="hpg-24-InK" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="25" id="Hvq-lc-NRh"/>
|
||||
<constraint firstItem="27f-OZ-xO3" firstAttribute="leading" secondItem="dlk-Er-Voj" secondAttribute="trailing" constant="-171" id="MCZ-EA-KDw"/>
|
||||
<constraint firstItem="ajv-9T-Bcf" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="31" id="RwQ-US-zcb"/>
|
||||
<constraint firstItem="rO9-ia-OyA" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="31" id="ewW-Hj-R0x"/>
|
||||
<constraint firstAttribute="trailing" secondItem="hpg-24-InK" secondAttribute="trailing" constant="23" id="hOO-Na-GHH"/>
|
||||
<constraint firstItem="rO9-ia-OyA" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="168" id="tLv-Zy-Ptv"/>
|
||||
<constraint firstItem="27f-OZ-xO3" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="33" id="yX2-dI-Z6b"/>
|
||||
<constraint firstItem="27f-OZ-xO3" firstAttribute="top" secondItem="dlk-Er-Voj" secondAttribute="bottom" constant="-24" id="zP3-QW-JTK"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<point key="canvasLocation" x="34" y="53.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="share_logo" width="185" height="85"/>
|
||||
<image name="share_one" width="133" height="17"/>
|
||||
<image name="share_two" width="155" height="35"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// MaskTimeEndViewImgaeCell.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MaskTimeEndViewImgaeCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIView *holdbackView;
|
||||
@property (weak, nonatomic) IBOutlet UIView *whiteBackView;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *holdImagView;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *minuteLab;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *timeLable;
|
||||
@property (weak, nonatomic) IBOutlet UIView *barholdView;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,43 @@
|
||||
//
|
||||
// MaskTimeEndViewImgaeCell.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MaskTimeEndViewImgaeCell.h"
|
||||
|
||||
@implementation MaskTimeEndViewImgaeCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.holdbackView.layer.masksToBounds = NO;
|
||||
self.holdbackView.layer.cornerRadius = 10;
|
||||
self.holdbackView.layer.shadowOffset = CGSizeMake(0, 0);
|
||||
self.holdbackView.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||
self.holdbackView.layer.shadowOpacity = 0.6;
|
||||
|
||||
self.whiteBackView.layer.masksToBounds= NO;
|
||||
self.whiteBackView.layer.cornerRadius = 8;
|
||||
self.whiteBackView.layer.shadowOffset = CGSizeMake(0, 0);
|
||||
self.whiteBackView.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||
self.whiteBackView.layer.shadowOpacity = 0.6;
|
||||
|
||||
self.barholdView.layer.masksToBounds= NO;
|
||||
self.barholdView.layer.cornerRadius =4;
|
||||
self.barholdView.layer.shadowOffset = CGSizeMake(0, 0);
|
||||
self.barholdView.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||
self.barholdView.layer.shadowOpacity = 0.6;
|
||||
|
||||
[self bringSubviewToFront:self.barholdView];
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,113 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MaskTimeEndViewImgaeCell" id="KGk-i7-Jjw" customClass="MaskTimeEndViewImgaeCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="285"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="284.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5MU-uW-fZ2">
|
||||
<rect key="frame" x="18" y="10" width="341" height="264"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="OSF-Gb-h1M">
|
||||
<rect key="frame" x="6" y="12" width="329" height="217"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bg_logo" translatesAutoresizingMaskIntoConstraints="NO" id="iJy-9p-48y">
|
||||
<rect key="frame" x="8" y="8" width="313" height="175"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="175" id="0Jj-uy-CDT"/>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="175" id="eW4-fY-wR5"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="iJy-9p-48y" firstAttribute="top" secondItem="OSF-Gb-h1M" secondAttribute="top" constant="8" id="LRT-Cc-miz"/>
|
||||
<constraint firstAttribute="trailing" secondItem="iJy-9p-48y" secondAttribute="trailing" constant="8" id="N0I-N3-hqs"/>
|
||||
<constraint firstAttribute="height" constant="217" id="P0C-Za-wai"/>
|
||||
<constraint firstItem="iJy-9p-48y" firstAttribute="leading" secondItem="OSF-Gb-h1M" secondAttribute="leading" constant="8" id="bl5-pV-Rq1"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zb6-lc-TeY">
|
||||
<rect key="frame" x="4" y="211" width="333" height="49"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="masktie_clock" translatesAutoresizingMaskIntoConstraints="NO" id="XnI-Fw-hHd">
|
||||
<rect key="frame" x="8" y="15" width="19" height="19"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="19" id="Hyq-pO-uTi"/>
|
||||
<constraint firstAttribute="height" constant="19" id="zbg-8l-aJI"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="17min" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="H5z-ZV-VGm">
|
||||
<rect key="frame" x="35" y="17" width="28" height="14"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="10"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="这是您敷面膜的第:10次" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o4N-kZ-Uph">
|
||||
<rect key="frame" x="193" y="17" width="111" height="14"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="10"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="0.62352941176470589" green="0.023529411764705882" blue="0.023529411764705882" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstItem="o4N-kZ-Uph" firstAttribute="centerY" secondItem="zb6-lc-TeY" secondAttribute="centerY" id="93A-PJ-hWP"/>
|
||||
<constraint firstAttribute="height" constant="49" id="BAv-vl-YlP"/>
|
||||
<constraint firstItem="XnI-Fw-hHd" firstAttribute="leading" secondItem="zb6-lc-TeY" secondAttribute="leading" constant="8" id="BzP-cf-5zR"/>
|
||||
<constraint firstItem="H5z-ZV-VGm" firstAttribute="leading" secondItem="XnI-Fw-hHd" secondAttribute="trailing" constant="8" id="Ha3-Nu-4Iv"/>
|
||||
<constraint firstItem="H5z-ZV-VGm" firstAttribute="centerY" secondItem="XnI-Fw-hHd" secondAttribute="centerY" id="YjA-Yp-g3u"/>
|
||||
<constraint firstAttribute="trailing" secondItem="o4N-kZ-Uph" secondAttribute="trailing" constant="29" id="cNF-cX-ish"/>
|
||||
<constraint firstItem="XnI-Fw-hHd" firstAttribute="centerY" secondItem="zb6-lc-TeY" secondAttribute="centerY" id="yGh-8x-eCf"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="0.51372549019607838" green="0.039215686274509803" blue="0.039215686274509803" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="zb6-lc-TeY" secondAttribute="bottom" constant="4" id="FP5-M5-c7a"/>
|
||||
<constraint firstItem="OSF-Gb-h1M" firstAttribute="leading" secondItem="5MU-uW-fZ2" secondAttribute="leading" constant="6" id="FYg-48-nIY"/>
|
||||
<constraint firstItem="OSF-Gb-h1M" firstAttribute="top" secondItem="5MU-uW-fZ2" secondAttribute="top" constant="12" id="Fu1-T2-vXr"/>
|
||||
<constraint firstAttribute="trailing" secondItem="OSF-Gb-h1M" secondAttribute="trailing" constant="6" id="IcU-5t-pfe"/>
|
||||
<constraint firstAttribute="trailing" secondItem="zb6-lc-TeY" secondAttribute="trailing" constant="4" id="Nic-AR-2FY"/>
|
||||
<constraint firstItem="zb6-lc-TeY" firstAttribute="leading" secondItem="5MU-uW-fZ2" secondAttribute="leading" constant="4" id="dSM-NF-ts0"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="5MU-uW-fZ2" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="0IF-Ap-Efk"/>
|
||||
<constraint firstAttribute="trailing" secondItem="5MU-uW-fZ2" secondAttribute="trailing" constant="16" id="XAm-2L-3Vh"/>
|
||||
<constraint firstAttribute="bottom" secondItem="5MU-uW-fZ2" secondAttribute="bottom" constant="10.5" id="ZjP-Dh-A2T"/>
|
||||
<constraint firstItem="5MU-uW-fZ2" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="18" id="kLd-7g-18z"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<connections>
|
||||
<outlet property="barholdView" destination="zb6-lc-TeY" id="wpD-wR-dGj"/>
|
||||
<outlet property="holdImagView" destination="iJy-9p-48y" id="Yv1-po-ePK"/>
|
||||
<outlet property="holdbackView" destination="5MU-uW-fZ2" id="YD5-lS-uxH"/>
|
||||
<outlet property="minuteLab" destination="H5z-ZV-VGm" id="Nz3-Ms-3GO"/>
|
||||
<outlet property="timeLable" destination="o4N-kZ-Uph" id="3ZQ-7x-M8m"/>
|
||||
<outlet property="whiteBackView" destination="OSF-Gb-h1M" id="GKa-Wp-8Og"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="33.5" y="53.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="bg_logo" width="88" height="88"/>
|
||||
<image name="masktie_clock" width="20" height="19"/>
|
||||
</resources>
|
||||
</document>
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// MaskTimeEndActionViewCell.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MaskTimeEndActionViewCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIButton *changeBackBtn;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *shareBtn;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// MaskTimeEndActionViewCell.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MaskTimeEndActionViewCell.h"
|
||||
|
||||
@implementation MaskTimeEndActionViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.changeBackBtn.layer.masksToBounds = YES;
|
||||
self.changeBackBtn.layer.cornerRadius = 4;
|
||||
self.shareBtn.layer.masksToBounds = YES;
|
||||
self.shareBtn.layer.cornerRadius = 4;
|
||||
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MaskTimeEndActionViewCell" id="KGk-i7-Jjw" customClass="MaskTimeEndActionViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="89.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Gqo-NQ-qFy">
|
||||
<rect key="frame" x="24" y="24" width="120" height="40"/>
|
||||
<color key="backgroundColor" red="0.70980392156862748" green="0.054901960784313725" blue="0.054901960784313725" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="40" id="TPM-XU-L0w"/>
|
||||
<constraint firstAttribute="width" constant="120" id="ZPK-wp-9E9"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="18"/>
|
||||
<state key="normal" title="更换背景"/>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="scf-Jn-nCG">
|
||||
<rect key="frame" x="176" y="24" width="120" height="40"/>
|
||||
<color key="backgroundColor" red="0.70980392160000005" green="0.054901960780000002" blue="0.054901960780000002" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="40" id="Yva-pt-o9N"/>
|
||||
<constraint firstAttribute="width" constant="120" id="mNM-uk-QUs"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="18"/>
|
||||
<state key="normal" title="分享"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="scf-Jn-nCG" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Gqo-NQ-qFy" secondAttribute="trailing" constant="32" id="MSN-NY-psb"/>
|
||||
<constraint firstItem="scf-Jn-nCG" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="fxv-dG-WQl"/>
|
||||
<constraint firstAttribute="trailing" secondItem="scf-Jn-nCG" secondAttribute="trailing" constant="24" id="iv9-Dq-7bp"/>
|
||||
<constraint firstItem="Gqo-NQ-qFy" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="sta-hl-p4d"/>
|
||||
<constraint firstItem="Gqo-NQ-qFy" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="24" id="y1w-d5-yav"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<connections>
|
||||
<outlet property="changeBackBtn" destination="Gqo-NQ-qFy" id="Ryz-GE-f6C"/>
|
||||
<outlet property="shareBtn" destination="scf-Jn-nCG" id="q0G-8a-zcU"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="-19" y="-6"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// MaskTimeTimeViewCell.h
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MaskTimeTimeViewCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIView *timeholdBack;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *timeLabe;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *percentLabe;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *totalTime;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// MaskTimeTimeViewCell.m
|
||||
// GIGA
|
||||
//
|
||||
// Created by lianxiang on 2018/9/21.
|
||||
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MaskTimeTimeViewCell.h"
|
||||
|
||||
@implementation MaskTimeTimeViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.timeholdBack.layer.masksToBounds= NO;
|
||||
self.timeholdBack.layer.cornerRadius =10;
|
||||
self.timeholdBack.layer.shadowOffset = CGSizeMake(0,0);
|
||||
self.timeholdBack.layer.shadowColor = GIGARGB(233, 226, 226, 1).CGColor;
|
||||
self.timeholdBack.layer.shadowOpacity = 1;
|
||||
//self.timeholdBack.layer.shadowRadius = 6;
|
||||
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,177 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MaskTimeTimeViewCell" id="KGk-i7-Jjw" customClass="MaskTimeTimeViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="205"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="204.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tEV-Hx-dgE">
|
||||
<rect key="frame" x="18" y="10" width="341" height="184"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="nav_circle_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="UA6-7v-cad">
|
||||
<rect key="frame" x="19" y="10" width="40" height="40"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="40" id="Moa-w9-dhr"/>
|
||||
<constraint firstAttribute="height" constant="40" id="gbw-CV-SNb"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="面膜时间 MaskTime" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oyd-JS-WRK">
|
||||
<rect key="frame" x="75" y="20" width="129.5" height="20"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="result_logo" translatesAutoresizingMaskIntoConstraints="NO" id="Yg7-YX-5c6">
|
||||
<rect key="frame" x="307" y="20" width="20" height="20"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="20" id="2NR-UX-hPa"/>
|
||||
<constraint firstAttribute="width" constant="20" id="Fk3-Ay-l6k"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="R09-WA-3qM">
|
||||
<rect key="frame" x="16" y="61" width="317" height="2"/>
|
||||
<color key="backgroundColor" red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="2" id="3Oa-hT-F5e"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="今日用时" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TkO-iO-bzM">
|
||||
<rect key="frame" x="19" y="89" width="48" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.21568627450980393" green="0.21568627450980393" blue="0.21568627450980393" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="17" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SKr-dU-xbP">
|
||||
<rect key="frame" x="18" y="110" width="35" height="50"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="50" id="b8u-xz-cpA"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="36"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="min" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5p1-hF-pIU">
|
||||
<rect key="frame" x="61" y="139" width="21" height="17"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="21" id="F4x-rY-t0V"/>
|
||||
<constraint firstAttribute="height" constant="17" id="vXI-ie-RyN"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="皮肤保养度超过" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tme-2V-NlI">
|
||||
<rect key="frame" x="128.5" y="89" width="84" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="86" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xEv-bM-Qny">
|
||||
<rect key="frame" x="128.5" y="110" width="44" height="51"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="51" id="fc4-gI-XKQ"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="36"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="总计用时" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j6s-4L-8FL">
|
||||
<rect key="frame" x="279" y="89" width="48" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="50" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yd8-h2-8ZW">
|
||||
<rect key="frame" x="266" y="109" width="44" height="51"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="51" id="xmg-KN-Eeh"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="36"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="%的用户" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Kf-o0-1q0">
|
||||
<rect key="frame" x="171.5" y="139" width="48" height="17"/>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.21568627450980393" green="0.21568627450980393" blue="0.21568627450980393" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="min" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dic-3G-CvO">
|
||||
<rect key="frame" x="307" y="139" width="21" height="17"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="17" id="7vV-ZK-S0b"/>
|
||||
<constraint firstAttribute="width" constant="21" id="8AJ-vw-Jnl"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name="PingFangSC-Medium" family="PingFang SC" pointSize="12"/>
|
||||
<color key="textColor" red="0.2156862745" green="0.2156862745" blue="0.2156862745" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="TkO-iO-bzM" firstAttribute="leading" secondItem="tEV-Hx-dgE" secondAttribute="leading" constant="19" id="07E-9C-lfd"/>
|
||||
<constraint firstItem="R09-WA-3qM" firstAttribute="leading" secondItem="tEV-Hx-dgE" secondAttribute="leading" constant="16" id="2TR-Da-wDl"/>
|
||||
<constraint firstAttribute="trailing" secondItem="j6s-4L-8FL" secondAttribute="trailing" constant="14" id="5TN-i1-CKr"/>
|
||||
<constraint firstItem="xEv-bM-Qny" firstAttribute="leading" secondItem="Tme-2V-NlI" secondAttribute="leading" id="5tA-IF-4Ot"/>
|
||||
<constraint firstAttribute="trailing" secondItem="R09-WA-3qM" secondAttribute="trailing" constant="8" id="7pI-A0-tTn"/>
|
||||
<constraint firstItem="oyd-JS-WRK" firstAttribute="leading" secondItem="UA6-7v-cad" secondAttribute="trailing" constant="16" id="8jb-u4-UHB"/>
|
||||
<constraint firstItem="TkO-iO-bzM" firstAttribute="top" secondItem="R09-WA-3qM" secondAttribute="bottom" constant="26" id="9Gj-ET-CwA"/>
|
||||
<constraint firstItem="5p1-hF-pIU" firstAttribute="top" secondItem="TkO-iO-bzM" secondAttribute="bottom" constant="33" id="9kc-i7-Xdr"/>
|
||||
<constraint firstItem="SKr-dU-xbP" firstAttribute="leading" secondItem="tEV-Hx-dgE" secondAttribute="leading" constant="18" id="D80-4C-dGC"/>
|
||||
<constraint firstItem="Tme-2V-NlI" firstAttribute="centerX" secondItem="tEV-Hx-dgE" secondAttribute="centerX" id="HSk-hX-DxP"/>
|
||||
<constraint firstItem="oyd-JS-WRK" firstAttribute="top" secondItem="tEV-Hx-dgE" secondAttribute="top" constant="20" id="Hff-vJ-bki"/>
|
||||
<constraint firstItem="dic-3G-CvO" firstAttribute="top" secondItem="j6s-4L-8FL" secondAttribute="bottom" constant="33" id="Ht3-2Y-5Mb"/>
|
||||
<constraint firstItem="Tme-2V-NlI" firstAttribute="top" secondItem="R09-WA-3qM" secondAttribute="bottom" constant="26" id="KUx-Nw-4kf"/>
|
||||
<constraint firstItem="R09-WA-3qM" firstAttribute="top" secondItem="tEV-Hx-dgE" secondAttribute="top" constant="61" id="LNc-ql-jSY"/>
|
||||
<constraint firstAttribute="trailing" secondItem="dic-3G-CvO" secondAttribute="trailing" constant="13" id="Lb3-Ut-P6Z"/>
|
||||
<constraint firstItem="8Kf-o0-1q0" firstAttribute="top" secondItem="Tme-2V-NlI" secondAttribute="bottom" constant="33" id="Lev-qu-Zmr"/>
|
||||
<constraint firstItem="xEv-bM-Qny" firstAttribute="top" secondItem="Tme-2V-NlI" secondAttribute="bottom" constant="4" id="P0c-5d-JJq"/>
|
||||
<constraint firstItem="UA6-7v-cad" firstAttribute="leading" secondItem="tEV-Hx-dgE" secondAttribute="leading" constant="19" id="Tzt-3x-Lfy"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Yg7-YX-5c6" secondAttribute="trailing" constant="14" id="Usm-zC-hhp"/>
|
||||
<constraint firstItem="8Kf-o0-1q0" firstAttribute="leading" secondItem="xEv-bM-Qny" secondAttribute="trailing" constant="-1" id="VD9-bi-F2d"/>
|
||||
<constraint firstItem="Yd8-h2-8ZW" firstAttribute="top" secondItem="j6s-4L-8FL" secondAttribute="bottom" constant="3" id="XWR-b8-Nl1"/>
|
||||
<constraint firstItem="SKr-dU-xbP" firstAttribute="top" secondItem="TkO-iO-bzM" secondAttribute="bottom" constant="4" id="lYD-5E-uY3"/>
|
||||
<constraint firstItem="UA6-7v-cad" firstAttribute="top" secondItem="tEV-Hx-dgE" secondAttribute="top" constant="10" id="mLH-mh-9mJ"/>
|
||||
<constraint firstItem="dic-3G-CvO" firstAttribute="leading" secondItem="Yd8-h2-8ZW" secondAttribute="trailing" constant="-3" id="rVx-wc-qRN"/>
|
||||
<constraint firstItem="5p1-hF-pIU" firstAttribute="leading" secondItem="SKr-dU-xbP" secondAttribute="trailing" constant="8" id="sm5-de-qgC"/>
|
||||
<constraint firstItem="Yg7-YX-5c6" firstAttribute="top" secondItem="tEV-Hx-dgE" secondAttribute="top" constant="20" id="vNY-Db-SYT"/>
|
||||
<constraint firstItem="j6s-4L-8FL" firstAttribute="top" secondItem="R09-WA-3qM" secondAttribute="bottom" constant="26" id="xu2-eN-sWL"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="tEV-Hx-dgE" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="4sF-eE-m1i"/>
|
||||
<constraint firstItem="tEV-Hx-dgE" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="18" id="W9a-0l-rd2"/>
|
||||
<constraint firstAttribute="bottom" secondItem="tEV-Hx-dgE" secondAttribute="bottom" constant="10.5" id="aAW-NN-hcU"/>
|
||||
<constraint firstAttribute="trailing" secondItem="tEV-Hx-dgE" secondAttribute="trailing" constant="16" id="wGQ-AY-hUv"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<connections>
|
||||
<outlet property="percentLabe" destination="xEv-bM-Qny" id="xpH-i2-nJN"/>
|
||||
<outlet property="timeLabe" destination="SKr-dU-xbP" id="LAX-mi-LrF"/>
|
||||
<outlet property="timeholdBack" destination="tEV-Hx-dgE" id="oFa-dy-K2h"/>
|
||||
<outlet property="totalTime" destination="Yd8-h2-8ZW" id="3pB-KH-2ui"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="33.5" y="53.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="nav_circle_avatar" width="33" height="33"/>
|
||||
<image name="result_logo" width="36" height="36"/>
|
||||
</resources>
|
||||
</document>
|
||||
Reference in New Issue
Block a user