parent
bc264e2d1f
commit
e1103b04af
|
|
@ -2708,6 +2708,12 @@
|
||||||
E5F1B03B21183E9700A879A1 /* setting-restart.png in Resources */ = {isa = PBXBuildFile; fileRef = E5F1B03821183E9600A879A1 /* setting-restart.png */; };
|
E5F1B03B21183E9700A879A1 /* setting-restart.png in Resources */ = {isa = PBXBuildFile; fileRef = E5F1B03821183E9600A879A1 /* setting-restart.png */; };
|
||||||
E5F1B03C21183E9700A879A1 /* setting-restart@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E5F1B03921183E9700A879A1 /* setting-restart@2x.png */; };
|
E5F1B03C21183E9700A879A1 /* setting-restart@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E5F1B03921183E9700A879A1 /* setting-restart@2x.png */; };
|
||||||
E5F1B03F21184F9400A879A1 /* IFishHotpotUDPHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = E5F1B03D21184F9300A879A1 /* IFishHotpotUDPHelper.m */; };
|
E5F1B03F21184F9400A879A1 /* IFishHotpotUDPHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = E5F1B03D21184F9300A879A1 /* IFishHotpotUDPHelper.m */; };
|
||||||
|
FA0892E9226B22C90084A609 /* Xuanduo2Model.h in Headers */ = {isa = PBXBuildFile; fileRef = FA0892E7226B22C90084A609 /* Xuanduo2Model.h */; };
|
||||||
|
FA0892EA226B22C90084A609 /* Xuanduo2Model.m in Sources */ = {isa = PBXBuildFile; fileRef = FA0892E8226B22C90084A609 /* Xuanduo2Model.m */; };
|
||||||
|
FA0892ED226C15000084A609 /* Xuanduo2DataUtility.h in Headers */ = {isa = PBXBuildFile; fileRef = FA0892EB226C15000084A609 /* Xuanduo2DataUtility.h */; };
|
||||||
|
FA0892EE226C15000084A609 /* Xuanduo2DataUtility.m in Sources */ = {isa = PBXBuildFile; fileRef = FA0892EC226C15000084A609 /* Xuanduo2DataUtility.m */; };
|
||||||
|
FA0892F1226CA3920084A609 /* NSString+Add.h in Headers */ = {isa = PBXBuildFile; fileRef = FA0892EF226CA3920084A609 /* NSString+Add.h */; };
|
||||||
|
FA0892F2226CA3920084A609 /* NSString+Add.m in Sources */ = {isa = PBXBuildFile; fileRef = FA0892F0226CA3920084A609 /* NSString+Add.m */; };
|
||||||
FAB3721122619DB70051E107 /* Xuanduo2fController.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB3720E22619DB70051E107 /* Xuanduo2fController.h */; };
|
FAB3721122619DB70051E107 /* Xuanduo2fController.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB3720E22619DB70051E107 /* Xuanduo2fController.h */; };
|
||||||
FAB3721222619DB70051E107 /* Xuanduo2fController.m in Sources */ = {isa = PBXBuildFile; fileRef = FAB3720F22619DB70051E107 /* Xuanduo2fController.m */; };
|
FAB3721222619DB70051E107 /* Xuanduo2fController.m in Sources */ = {isa = PBXBuildFile; fileRef = FAB3720F22619DB70051E107 /* Xuanduo2fController.m */; };
|
||||||
FAB3721322619DB70051E107 /* Xuanduo2fController.xib in Resources */ = {isa = PBXBuildFile; fileRef = FAB3721022619DB70051E107 /* Xuanduo2fController.xib */; };
|
FAB3721322619DB70051E107 /* Xuanduo2fController.xib in Resources */ = {isa = PBXBuildFile; fileRef = FAB3721022619DB70051E107 /* Xuanduo2fController.xib */; };
|
||||||
|
|
@ -6640,6 +6646,12 @@
|
||||||
E5F1B03921183E9700A879A1 /* setting-restart@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "setting-restart@2x.png"; sourceTree = "<group>"; };
|
E5F1B03921183E9700A879A1 /* setting-restart@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "setting-restart@2x.png"; sourceTree = "<group>"; };
|
||||||
E5F1B03D21184F9300A879A1 /* IFishHotpotUDPHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IFishHotpotUDPHelper.m; sourceTree = "<group>"; };
|
E5F1B03D21184F9300A879A1 /* IFishHotpotUDPHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IFishHotpotUDPHelper.m; sourceTree = "<group>"; };
|
||||||
E5F1B03E21184F9400A879A1 /* IFishHotpotUDPHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IFishHotpotUDPHelper.h; sourceTree = "<group>"; };
|
E5F1B03E21184F9400A879A1 /* IFishHotpotUDPHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IFishHotpotUDPHelper.h; sourceTree = "<group>"; };
|
||||||
|
FA0892E7226B22C90084A609 /* Xuanduo2Model.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Xuanduo2Model.h; sourceTree = "<group>"; };
|
||||||
|
FA0892E8226B22C90084A609 /* Xuanduo2Model.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Xuanduo2Model.m; sourceTree = "<group>"; };
|
||||||
|
FA0892EB226C15000084A609 /* Xuanduo2DataUtility.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Xuanduo2DataUtility.h; sourceTree = "<group>"; };
|
||||||
|
FA0892EC226C15000084A609 /* Xuanduo2DataUtility.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Xuanduo2DataUtility.m; sourceTree = "<group>"; };
|
||||||
|
FA0892EF226CA3920084A609 /* NSString+Add.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+Add.h"; sourceTree = "<group>"; };
|
||||||
|
FA0892F0226CA3920084A609 /* NSString+Add.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+Add.m"; sourceTree = "<group>"; };
|
||||||
FAB3720E22619DB70051E107 /* Xuanduo2fController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Xuanduo2fController.h; sourceTree = "<group>"; };
|
FAB3720E22619DB70051E107 /* Xuanduo2fController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Xuanduo2fController.h; sourceTree = "<group>"; };
|
||||||
FAB3720F22619DB70051E107 /* Xuanduo2fController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Xuanduo2fController.m; sourceTree = "<group>"; };
|
FAB3720F22619DB70051E107 /* Xuanduo2fController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Xuanduo2fController.m; sourceTree = "<group>"; };
|
||||||
FAB3721022619DB70051E107 /* Xuanduo2fController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = Xuanduo2fController.xib; sourceTree = "<group>"; };
|
FAB3721022619DB70051E107 /* Xuanduo2fController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = Xuanduo2fController.xib; sourceTree = "<group>"; };
|
||||||
|
|
@ -10305,6 +10317,13 @@
|
||||||
883E76A11D48A5E50030E075 /* JiaReWenDuModel.m */,
|
883E76A11D48A5E50030E075 /* JiaReWenDuModel.m */,
|
||||||
883E76A21D48A5E50030E075 /* XutoBackMsgModel.h */,
|
883E76A21D48A5E50030E075 /* XutoBackMsgModel.h */,
|
||||||
883E76A31D48A5E50030E075 /* XutoBackMsgModel.m */,
|
883E76A31D48A5E50030E075 /* XutoBackMsgModel.m */,
|
||||||
|
FA0892E7226B22C90084A609 /* Xuanduo2Model.h */,
|
||||||
|
FA0892E8226B22C90084A609 /* Xuanduo2Model.m */,
|
||||||
|
FA0892EB226C15000084A609 /* Xuanduo2DataUtility.h */,
|
||||||
|
FA0892EC226C15000084A609 /* Xuanduo2DataUtility.m */,
|
||||||
|
FAB3720E22619DB70051E107 /* Xuanduo2fController.h */,
|
||||||
|
FAB3720F22619DB70051E107 /* Xuanduo2fController.m */,
|
||||||
|
FAB3721022619DB70051E107 /* Xuanduo2fController.xib */,
|
||||||
883E76A41D48A5E50030E075 /* XuToCenterViewController.h */,
|
883E76A41D48A5E50030E075 /* XuToCenterViewController.h */,
|
||||||
883E76A51D48A5E50030E075 /* XuToCenterViewController.m */,
|
883E76A51D48A5E50030E075 /* XuToCenterViewController.m */,
|
||||||
883E76A61D48A5E50030E075 /* XuToLightModel.h */,
|
883E76A61D48A5E50030E075 /* XuToLightModel.h */,
|
||||||
|
|
@ -10319,9 +10338,6 @@
|
||||||
886185CC1EF255F900459AD1 /* XuToControlNameViewController.m */,
|
886185CC1EF255F900459AD1 /* XuToControlNameViewController.m */,
|
||||||
886185CE1EF2561700459AD1 /* XuToControlName.h */,
|
886185CE1EF2561700459AD1 /* XuToControlName.h */,
|
||||||
886185CF1EF2561700459AD1 /* XuToControlName.m */,
|
886185CF1EF2561700459AD1 /* XuToControlName.m */,
|
||||||
FAB3720E22619DB70051E107 /* Xuanduo2fController.h */,
|
|
||||||
FAB3720F22619DB70051E107 /* Xuanduo2fController.m */,
|
|
||||||
FAB3721022619DB70051E107 /* Xuanduo2fController.xib */,
|
|
||||||
);
|
);
|
||||||
path = XuTo;
|
path = XuTo;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
@ -14420,6 +14436,8 @@
|
||||||
E5C644BF206BBD5F00C558D5 /* Common */ = {
|
E5C644BF206BBD5F00C558D5 /* Common */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
FA0892EF226CA3920084A609 /* NSString+Add.h */,
|
||||||
|
FA0892F0226CA3920084A609 /* NSString+Add.m */,
|
||||||
E5C644C0206BBD7100C558D5 /* CommonMacros.h */,
|
E5C644C0206BBD7100C558D5 /* CommonMacros.h */,
|
||||||
404D7CE92238CF77005655F5 /* UIViewController+Swizzling.h */,
|
404D7CE92238CF77005655F5 /* UIViewController+Swizzling.h */,
|
||||||
404D7CE82238CF77005655F5 /* UIViewController+Swizzling.m */,
|
404D7CE82238CF77005655F5 /* UIViewController+Swizzling.m */,
|
||||||
|
|
@ -14470,6 +14488,7 @@
|
||||||
3D1C50E2221A9EE00096AE43 /* UDPManager.h in Headers */,
|
3D1C50E2221A9EE00096AE43 /* UDPManager.h in Headers */,
|
||||||
3D1C509A221A9EDF0096AE43 /* ConnectFailurePromptView.h in Headers */,
|
3D1C509A221A9EDF0096AE43 /* ConnectFailurePromptView.h in Headers */,
|
||||||
3D1C505F221A9EDF0096AE43 /* imgutils.h in Headers */,
|
3D1C505F221A9EDF0096AE43 /* imgutils.h in Headers */,
|
||||||
|
FA0892ED226C15000084A609 /* Xuanduo2DataUtility.h in Headers */,
|
||||||
3D1C50B7221A9EDF0096AE43 /* YTargetAndAction.h in Headers */,
|
3D1C50B7221A9EDF0096AE43 /* YTargetAndAction.h in Headers */,
|
||||||
3D1C505E221A9EDF0096AE43 /* channel_layout.h in Headers */,
|
3D1C505E221A9EDF0096AE43 /* channel_layout.h in Headers */,
|
||||||
3D1C5047221A9EDE0096AE43 /* lfg.h in Headers */,
|
3D1C5047221A9EDE0096AE43 /* lfg.h in Headers */,
|
||||||
|
|
@ -14497,6 +14516,7 @@
|
||||||
3D1C503D221A9EDE0096AE43 /* error.h in Headers */,
|
3D1C503D221A9EDE0096AE43 /* error.h in Headers */,
|
||||||
3D1C506D221A9EDF0096AE43 /* swscale.h in Headers */,
|
3D1C506D221A9EDF0096AE43 /* swscale.h in Headers */,
|
||||||
3D1C50C0221A9EE00096AE43 /* Contact.h in Headers */,
|
3D1C50C0221A9EE00096AE43 /* Contact.h in Headers */,
|
||||||
|
FA0892F1226CA3920084A609 /* NSString+Add.h in Headers */,
|
||||||
3D1C5100221A9EE00096AE43 /* IfishCameraModel.h in Headers */,
|
3D1C5100221A9EE00096AE43 /* IfishCameraModel.h in Headers */,
|
||||||
3D1C505D221A9EDF0096AE43 /* audioconvert.h in Headers */,
|
3D1C505D221A9EDF0096AE43 /* audioconvert.h in Headers */,
|
||||||
3D1C508D221A9EDF0096AE43 /* CustomBorderButton.h in Headers */,
|
3D1C508D221A9EDF0096AE43 /* CustomBorderButton.h in Headers */,
|
||||||
|
|
@ -14504,6 +14524,7 @@
|
||||||
3D1C50B4221A9EDF0096AE43 /* YTheNaviBar.h in Headers */,
|
3D1C50B4221A9EDF0096AE43 /* YTheNaviBar.h in Headers */,
|
||||||
3D1C5121221A9EE00096AE43 /* CameraBottomCollectionViewCell.h in Headers */,
|
3D1C5121221A9EE00096AE43 /* CameraBottomCollectionViewCell.h in Headers */,
|
||||||
3D1C50BC221A9EE00096AE43 /* P2PClient.h in Headers */,
|
3D1C50BC221A9EE00096AE43 /* P2PClient.h in Headers */,
|
||||||
|
FA0892E9226B22C90084A609 /* Xuanduo2Model.h in Headers */,
|
||||||
3D1C5115221A9EE00096AE43 /* ShotScreenImgViewController.h in Headers */,
|
3D1C5115221A9EE00096AE43 /* ShotScreenImgViewController.h in Headers */,
|
||||||
3D1C506F221A9EDF0096AE43 /* version.h in Headers */,
|
3D1C506F221A9EDF0096AE43 /* version.h in Headers */,
|
||||||
3D1C5083221A9EDF0096AE43 /* KTThumbsViewController.h in Headers */,
|
3D1C5083221A9EDF0096AE43 /* KTThumbsViewController.h in Headers */,
|
||||||
|
|
@ -16235,6 +16256,7 @@
|
||||||
885EC4C91DB4C73D008134DA /* LXADViewTool.m in Sources */,
|
885EC4C91DB4C73D008134DA /* LXADViewTool.m in Sources */,
|
||||||
88602F611E12002600F3DB5D /* NTESCustomAttachmentDecoder.m in Sources */,
|
88602F611E12002600F3DB5D /* NTESCustomAttachmentDecoder.m in Sources */,
|
||||||
88602F801E12002600F3DB5D /* NTESDevice.m in Sources */,
|
88602F801E12002600F3DB5D /* NTESDevice.m in Sources */,
|
||||||
|
FA0892EA226B22C90084A609 /* Xuanduo2Model.m in Sources */,
|
||||||
881672371EA5DE2B00BEBF23 /* UMComSimpleHomeViewController.m in Sources */,
|
881672371EA5DE2B00BEBF23 /* UMComSimpleHomeViewController.m in Sources */,
|
||||||
881671DD1EA5DE2B00BEBF23 /* UMComUserNearbyViewController.m in Sources */,
|
881671DD1EA5DE2B00BEBF23 /* UMComUserNearbyViewController.m in Sources */,
|
||||||
88F740C01ECC28E800876AED /* ShopAddGoodsViewController.m in Sources */,
|
88F740C01ECC28E800876AED /* ShopAddGoodsViewController.m in Sources */,
|
||||||
|
|
@ -16402,6 +16424,7 @@
|
||||||
3DD7AB5321E2F2FB0064856A /* rscode.c in Sources */,
|
3DD7AB5321E2F2FB0064856A /* rscode.c in Sources */,
|
||||||
885A376E1E6EBB67007AD930 /* QianDaoGiftView.m in Sources */,
|
885A376E1E6EBB67007AD930 /* QianDaoGiftView.m in Sources */,
|
||||||
88F5EE4E1D48CA2800CC7CAF /* ESP_NetUtil.m in Sources */,
|
88F5EE4E1D48CA2800CC7CAF /* ESP_NetUtil.m in Sources */,
|
||||||
|
FA0892F2226CA3920084A609 /* NSString+Add.m in Sources */,
|
||||||
883E763E1D4897570030E075 /* ServerBackDeviceLogInModel.m in Sources */,
|
883E763E1D4897570030E075 /* ServerBackDeviceLogInModel.m in Sources */,
|
||||||
88F5EE511D48CA2800CC7CAF /* ESPTouchTask.m in Sources */,
|
88F5EE511D48CA2800CC7CAF /* ESPTouchTask.m in Sources */,
|
||||||
88602A141E10BC3400F3DB5D /* NIMBadgeView.m in Sources */,
|
88602A141E10BC3400F3DB5D /* NIMBadgeView.m in Sources */,
|
||||||
|
|
@ -17069,6 +17092,7 @@
|
||||||
3D8F64EE215797E700F04BD3 /* IQTextView.m in Sources */,
|
3D8F64EE215797E700F04BD3 /* IQTextView.m in Sources */,
|
||||||
8871FAB91EBC539C0038E99A /* ShopCerSelectImgViewCell.m in Sources */,
|
8871FAB91EBC539C0038E99A /* ShopCerSelectImgViewCell.m in Sources */,
|
||||||
8860D7941D6D7C00001E544C /* KanHuWorkViewSecondCell.m in Sources */,
|
8860D7941D6D7C00001E544C /* KanHuWorkViewSecondCell.m in Sources */,
|
||||||
|
FA0892EE226C15000084A609 /* Xuanduo2DataUtility.m in Sources */,
|
||||||
881672321EA5DE2B00BEBF23 /* UMComLargeImageTableViewCell.m in Sources */,
|
881672321EA5DE2B00BEBF23 /* UMComLargeImageTableViewCell.m in Sources */,
|
||||||
888EEB311DC2F37C003C5C5B /* YYWeakProxy.m in Sources */,
|
888EEB311DC2F37C003C5C5B /* YYWeakProxy.m in Sources */,
|
||||||
3D1C50FC221A9EE00096AE43 /* TouchButton.m in Sources */,
|
3D1C50FC221A9EE00096AE43 /* TouchButton.m in Sources */,
|
||||||
|
|
@ -17559,7 +17583,7 @@
|
||||||
CLANG_CXX_LIBRARY = "compiler-default";
|
CLANG_CXX_LIBRARY = "compiler-default";
|
||||||
CODE_SIGN_ENTITLEMENTS = Ifish/Ifish.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Ifish/Ifish.entitlements;
|
||||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Shanghai Yu Ying Technology Co., Ltd. (WFX8GD5HFX)";
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
DEVELOPMENT_TEAM = "";
|
DEVELOPMENT_TEAM = "";
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"filename" : "xuanduo_bg@3x.png",
|
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 826 KiB |
|
|
@ -0,0 +1,55 @@
|
||||||
|
//
|
||||||
|
// NSString+Add.h
|
||||||
|
// LettuceFinancial
|
||||||
|
//
|
||||||
|
// Created by roadroor on 2017/12/8.
|
||||||
|
// Copyright © 2017年 Roadoor. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
@interface NSString (Add)
|
||||||
|
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString lineSpace:(CGFloat)spacing textAlignment:(NSTextAlignment)alignment SubStringArray:(NSArray *)subArray;
|
||||||
|
|
||||||
|
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString lineSpace:(CGFloat)spacing SubStringArray:(NSArray *)subArray;
|
||||||
|
/**
|
||||||
|
* 改变某些文字的颜色 并单独设置其字体
|
||||||
|
*
|
||||||
|
* @param font 设置的字体
|
||||||
|
* @param color 颜色
|
||||||
|
* @param totalString 总的字符串
|
||||||
|
* @param subArray 想要变色的字符数组
|
||||||
|
*
|
||||||
|
* @return 生成的富文本
|
||||||
|
*/
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString SubStringArray:(NSArray *)subArray;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 改变某些文字的颜色 并单独设置其字体
|
||||||
|
*
|
||||||
|
* @param font 设置的字体
|
||||||
|
* @param color 设置的颜色
|
||||||
|
* @param totalString 总的字符串
|
||||||
|
* @param subArray 想要变色的Range数组
|
||||||
|
*
|
||||||
|
* @return 生成的富文本
|
||||||
|
*/
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString SubRangeArray:(NSArray<NSNumber*> *)subArray;
|
||||||
|
|
||||||
|
/**
|
||||||
|
设置文字最后一个字母
|
||||||
|
|
||||||
|
@param font <#font description#>
|
||||||
|
@param color <#color description#>
|
||||||
|
@param totalString <#totalString description#>
|
||||||
|
@return <#return value description#>
|
||||||
|
*/
|
||||||
|
+ (NSMutableAttributedString *)ls_changeLastLettersLFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString;
|
||||||
|
|
||||||
|
/**
|
||||||
|
改变某些文字的颜色 设置不同的字体
|
||||||
|
*/
|
||||||
|
+ (NSMutableAttributedString *)ls_changePrefixString:(NSString *)prefixString PrefixFont:(UIFont *)prefixFont PrefixColor:(UIColor *)prefixColor SuffixesString:(NSString*)suffixesString SuffixesFont:(UIFont *)suffixesFont SuffixesColor:(UIColor *)suffixesColor;
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,87 @@
|
||||||
|
//
|
||||||
|
// NSString+Add.m
|
||||||
|
// LettuceFinancial
|
||||||
|
//
|
||||||
|
// Created by roadroor on 2017/12/8.
|
||||||
|
// Copyright © 2017年 Roadoor. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "NSString+Add.h"
|
||||||
|
|
||||||
|
@implementation NSString (Add)
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString lineSpace:(CGFloat)spacing textAlignment:(NSTextAlignment)alignment SubStringArray:(NSArray *)subArray{
|
||||||
|
NSMutableAttributedString *attributedStr = [self ls_changeFontAndColor:font Color:color TotalString:totalString SubStringArray:subArray];
|
||||||
|
|
||||||
|
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
||||||
|
[paragraphStyle setLineSpacing:spacing];
|
||||||
|
[paragraphStyle setAlignment:alignment];
|
||||||
|
[attributedStr addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [totalString length])];
|
||||||
|
return attributedStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString lineSpace:(CGFloat)spacing SubStringArray:(NSArray *)subArray {
|
||||||
|
NSMutableAttributedString *attributedStr = [self ls_changeFontAndColor:font Color:color TotalString:totalString SubStringArray:subArray];
|
||||||
|
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
|
||||||
|
[paragraphStyle setLineSpacing:spacing];
|
||||||
|
[attributedStr addAttribute:NSParagraphStyleAttributeName value:paragraphStyle range:NSMakeRange(0, [totalString length])];
|
||||||
|
return attributedStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 改变某些文字的颜色 并单独设置其字体
|
||||||
|
*
|
||||||
|
* @param font 设置的字体
|
||||||
|
* @param color 颜色
|
||||||
|
* @param totalString 总的字符串
|
||||||
|
* @param subArray 想要变色的字符数组
|
||||||
|
*
|
||||||
|
* @return 生成的富文本
|
||||||
|
*/
|
||||||
|
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString SubStringArray:(NSArray *)subArray {
|
||||||
|
if (!totalString.length) {return [NSMutableAttributedString new];}
|
||||||
|
NSMutableAttributedString *attributedStr = [[NSMutableAttributedString alloc] initWithString:totalString];
|
||||||
|
if (!subArray.count) {return attributedStr;}
|
||||||
|
for (NSString *rangeStr in subArray) {
|
||||||
|
NSRange range = [totalString rangeOfString:rangeStr options:NSBackwardsSearch];
|
||||||
|
if (color) {
|
||||||
|
[attributedStr addAttribute:NSForegroundColorAttributeName value:color range:range];
|
||||||
|
}
|
||||||
|
if (font) {
|
||||||
|
[attributedStr addAttribute:NSFontAttributeName value:font range:range];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return attributedStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSMutableAttributedString *)ls_changeFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString SubRangeArray:(NSArray<NSValue*> *)subArray{
|
||||||
|
NSMutableAttributedString *attributedStr = [[NSMutableAttributedString alloc] initWithString:totalString];
|
||||||
|
for (NSNumber *obj in subArray) {
|
||||||
|
if (color) {
|
||||||
|
[attributedStr addAttribute:NSForegroundColorAttributeName value:color range:obj.rangeValue];
|
||||||
|
}
|
||||||
|
if (font) {
|
||||||
|
[attributedStr addAttribute:NSFontAttributeName value:font range:obj.rangeValue];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return attributedStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
+(NSMutableAttributedString *)ls_changeLastLettersLFontAndColor:(UIFont *)font Color:(UIColor *)color TotalString:(NSString *)totalString{
|
||||||
|
if (!totalString.length) {return [NSMutableAttributedString new];}
|
||||||
|
NSArray *range = [NSArray arrayWithObject:[NSValue valueWithRange:NSMakeRange(totalString.length-1, 1)]];
|
||||||
|
return [self ls_changeFontAndColor:font Color:color TotalString:totalString SubRangeArray:range];
|
||||||
|
}
|
||||||
|
|
||||||
|
+ (NSMutableAttributedString *)ls_changePrefixString:(NSString *)prefixString PrefixFont:(UIFont *)prefixFont PrefixColor:(UIColor *)prefixColor SuffixesString:(NSString*)suffixesString SuffixesFont:(UIFont *)suffixesFont SuffixesColor:(UIColor *)suffixesColor{
|
||||||
|
if (!prefixString.length) {return [NSMutableAttributedString new];}
|
||||||
|
NSMutableAttributedString *attributedStr = [[NSMutableAttributedString alloc] initWithString:prefixString attributes:@{NSForegroundColorAttributeName: prefixColor,NSFontAttributeName : prefixFont}];
|
||||||
|
if (suffixesString.length) {
|
||||||
|
NSMutableAttributedString *attributedStr2 = [[NSMutableAttributedString alloc] initWithString:suffixesString attributes:@{NSForegroundColorAttributeName: suffixesColor,NSFontAttributeName : suffixesFont}];
|
||||||
|
[attributedStr appendAttributedString:attributedStr2];
|
||||||
|
}
|
||||||
|
return attributedStr;
|
||||||
|
}
|
||||||
|
@end
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>4.9.2</string>
|
<string>4.9.3</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,16 @@
|
||||||
|
|
||||||
@implementation SongBaoViewController
|
@implementation SongBaoViewController
|
||||||
|
|
||||||
|
- (void)viewWillAppear:(BOOL)animated {
|
||||||
|
[super viewWillAppear:animated];
|
||||||
|
self.navigationController.navigationBar.translucent = YES;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)viewWillDisappear:(BOOL)animated {
|
||||||
|
[super viewWillDisappear:animated];
|
||||||
|
self.navigationController.navigationBar.translucent = NO;
|
||||||
|
}
|
||||||
|
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
[self creatWebView];
|
[self creatWebView];
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
//
|
||||||
|
// Xuanduo2DataUtility.h
|
||||||
|
// Ifish
|
||||||
|
//
|
||||||
|
// Created by Alex on 2019/4/21.
|
||||||
|
// Copyright © 2019 lianlian. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import "Xuanduo2Model.h"
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface Xuanduo2DataUtility : NSObject
|
||||||
|
|
||||||
|
+(void)readSocketDataWithBackMsgModel:(Xuanduo2Model*)xuanduoModel addWithBackData:(NSData*)data;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
//
|
||||||
|
// Xuanduo2DataUtility.m
|
||||||
|
// Ifish
|
||||||
|
//
|
||||||
|
// Created by Alex on 2019/4/21.
|
||||||
|
// Copyright © 2019 lianlian. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "Xuanduo2DataUtility.h"
|
||||||
|
|
||||||
|
@implementation Xuanduo2DataUtility
|
||||||
|
|
||||||
|
+(void)readSocketDataWithBackMsgModel:(Xuanduo2Model*)xuanduoModel addWithBackData:(NSData*)data{
|
||||||
|
NSString *dataString = [dataContorl dataToHexString:data];// 转十六进制
|
||||||
|
xuanduoModel.gasPump = [dataString substringWithRange:NSMakeRange(30, 4)];
|
||||||
|
xuanduoModel.light1 = [dataString substringWithRange:NSMakeRange(34, 4)];
|
||||||
|
xuanduoModel.light2 = [dataString substringWithRange:NSMakeRange(38, 4)];
|
||||||
|
xuanduoModel.waterPump = [dataString substringWithRange:NSMakeRange(42, 4)];
|
||||||
|
xuanduoModel.uvLamp = [dataString substringWithRange:NSMakeRange(46, 4)];
|
||||||
|
xuanduoModel.waveMakingPump = [dataString substringWithRange:NSMakeRange(50, 4)];
|
||||||
|
xuanduoModel.status = [dataString substringWithRange:NSMakeRange(54, 4)];
|
||||||
|
xuanduoModel.heatStatus = [dataString substringWithRange:NSMakeRange(58, 2)];
|
||||||
|
xuanduoModel.waterTemperature = [dataString substringWithRange:NSMakeRange(60, 4)];
|
||||||
|
xuanduoModel.heatingTemperature = [dataString substringWithRange:NSMakeRange(64, 4)];
|
||||||
|
xuanduoModel.huliLight = [dataString substringWithRange:NSMakeRange(68, 2)];
|
||||||
|
xuanduoModel.electricity = [dataString substringWithRange:NSMakeRange(70, 4)];
|
||||||
|
xuanduoModel.alarmSwitch = [dataString substringWithRange:NSMakeRange(74, 2)];
|
||||||
|
xuanduoModel.miniTemp = [dataString substringWithRange:NSMakeRange(76, 4)];
|
||||||
|
xuanduoModel.maxTemp = [dataString substringWithRange:NSMakeRange(80, 4)];
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -0,0 +1,73 @@
|
||||||
|
//
|
||||||
|
// Xuanduo2Model.h
|
||||||
|
// Ifish
|
||||||
|
//
|
||||||
|
// Created by Alex on 2019/4/20.
|
||||||
|
// Copyright © 2019 lianlian. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
01
|
||||||
|
08
|
||||||
|
807d3a42a200
|
||||||
|
807d3a42a200
|
||||||
|
2c — 44字节
|
||||||
|
0101 增氧
|
||||||
|
0201 灯1
|
||||||
|
0301 灯2
|
||||||
|
0401 循环泵
|
||||||
|
0501 杀菌
|
||||||
|
0601 造浪
|
||||||
|
0701 加热制冷
|
||||||
|
01 加热控制状态
|
||||||
|
00e1 水温
|
||||||
|
00fa 加热温度
|
||||||
|
00 护理灯开关
|
||||||
|
007d 电量
|
||||||
|
00 报警开关
|
||||||
|
00c8 最低报警温度
|
||||||
|
012c 最高报警温度
|
||||||
|
bfec crc16校验码
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@interface Xuanduo2Model : NSObject
|
||||||
|
|
||||||
|
/// 增氧泵 -- 气泵
|
||||||
|
@property (nonatomic, strong) NSString *gasPump;
|
||||||
|
/// 灯1
|
||||||
|
@property (nonatomic, strong) NSString *light1;
|
||||||
|
/// 灯2
|
||||||
|
@property (nonatomic, strong) NSString *light2;
|
||||||
|
/// 循环泵 -- 水泵
|
||||||
|
@property (nonatomic, strong) NSString *waterPump;
|
||||||
|
/// 杀菌灯
|
||||||
|
@property (nonatomic, strong) NSString *uvLamp;
|
||||||
|
/// 造浪泵
|
||||||
|
@property (nonatomic, strong) NSString *waveMakingPump;
|
||||||
|
/// 加热制冷状态
|
||||||
|
@property (nonatomic, strong) NSString *status;
|
||||||
|
/// 加热状态
|
||||||
|
@property (nonatomic, strong) NSString *heatStatus;
|
||||||
|
/// 水温
|
||||||
|
@property (nonatomic, strong) NSString *waterTemperature;
|
||||||
|
/// 加热温度
|
||||||
|
@property (nonatomic, strong) NSString *heatingTemperature;
|
||||||
|
/// 护理灯开关
|
||||||
|
@property (nonatomic, strong) NSString *huliLight;
|
||||||
|
/// 电量
|
||||||
|
@property (nonatomic, strong) NSString *electricity;
|
||||||
|
/// 报警开关
|
||||||
|
@property (nonatomic, strong) NSString *alarmSwitch;
|
||||||
|
/// 最低温
|
||||||
|
@property (nonatomic, strong) NSString *miniTemp;
|
||||||
|
/// 最高温
|
||||||
|
@property (nonatomic, strong) NSString *maxTemp;
|
||||||
|
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
//
|
||||||
|
// Xuanduo2Model.m
|
||||||
|
// Ifish
|
||||||
|
//
|
||||||
|
// Created by Alex on 2019/4/20.
|
||||||
|
// Copyright © 2019 lianlian. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "Xuanduo2Model.h"
|
||||||
|
|
||||||
|
@implementation Xuanduo2Model
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
@ -14,10 +14,16 @@
|
||||||
#import "IfishDataUnity.h"
|
#import "IfishDataUnity.h"
|
||||||
#import "XuToSetViewController.h"
|
#import "XuToSetViewController.h"
|
||||||
#import "CreatErWeiMaController.h"
|
#import "CreatErWeiMaController.h"
|
||||||
|
#import "SongBaoViewController.h"
|
||||||
#import "XuToControlName.h"
|
#import "XuToControlName.h"
|
||||||
#import "UserExtendataArchaver.h"
|
#import "UserExtendataArchaver.h"
|
||||||
|
#import "UIButton+WebCache.h"
|
||||||
|
#import "NSString+Add.h"
|
||||||
|
#import "Xuanduo2DataUtility.h"
|
||||||
|
|
||||||
@interface Xuanduo2fController ()<LxPopViewDelegate>
|
#define kBtnTag 100
|
||||||
|
|
||||||
|
@interface Xuanduo2fController ()<LxPopViewDelegate,IfishCommuniteDelegate>
|
||||||
@property(nonatomic,strong) DXPopover *popover;
|
@property(nonatomic,strong) DXPopover *popover;
|
||||||
@property (weak, nonatomic) IBOutlet UIView *positionView;
|
@property (weak, nonatomic) IBOutlet UIView *positionView;
|
||||||
@property (weak, nonatomic) IBOutlet UILabel *shajunLight;
|
@property (weak, nonatomic) IBOutlet UILabel *shajunLight;
|
||||||
|
|
@ -28,6 +34,12 @@
|
||||||
@property (weak, nonatomic) IBOutlet UILabel *huliLabel;
|
@property (weak, nonatomic) IBOutlet UILabel *huliLabel;
|
||||||
@property (weak, nonatomic) IBOutlet UILabel *xunhuanLabel;
|
@property (weak, nonatomic) IBOutlet UILabel *xunhuanLabel;
|
||||||
@property (weak, nonatomic) IBOutlet UILabel *jiareLabel;
|
@property (weak, nonatomic) IBOutlet UILabel *jiareLabel;
|
||||||
|
@property (weak, nonatomic) IBOutlet UIButton *brandBtn;
|
||||||
|
@property (weak, nonatomic) IBOutlet UILabel *brandName;
|
||||||
|
@property (nonatomic ,strong) Xuanduo2Model *dataModel;
|
||||||
|
@property (weak, nonatomic) IBOutlet UILabel *tempLabel;
|
||||||
|
@property (weak, nonatomic) IBOutlet UILabel *tipLabel;
|
||||||
|
@property (nonatomic, strong) NSTimer *switchTimer;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
@ -41,6 +53,7 @@
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
[self setup];
|
[self setup];
|
||||||
|
[self connect];
|
||||||
// Do any additional setup after loading the view from its nib.
|
// Do any additional setup after loading the view from its nib.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -52,53 +65,135 @@
|
||||||
[rightPopButton setImage:MyEquipmentImage forState:UIControlStateNormal];
|
[rightPopButton setImage:MyEquipmentImage forState:UIControlStateNormal];
|
||||||
rightPopButton.frame=CGRectMake(kScreenWidth-60,0,60,44);
|
rightPopButton.frame=CGRectMake(kScreenWidth-60,0,60,44);
|
||||||
[rightPopButton setImageEdgeInsets:UIEdgeInsetsMake(0, 30, 0, 0)];
|
[rightPopButton setImageEdgeInsets:UIEdgeInsetsMake(0, 30, 0, 0)];
|
||||||
|
|
||||||
[rightPopButton addTarget:self action:@selector(presentPopView) forControlEvents:UIControlEventTouchUpInside];
|
[rightPopButton addTarget:self action:@selector(presentPopView) forControlEvents:UIControlEventTouchUpInside];
|
||||||
UIBarButtonItem *rightItem = [[UIBarButtonItem alloc] initWithCustomView:rightPopButton];
|
UIBarButtonItem *rightItem = [[UIBarButtonItem alloc] initWithCustomView:rightPopButton];
|
||||||
self.navigationItem.rightBarButtonItem =rightItem;
|
self.navigationItem.rightBarButtonItem =rightItem;
|
||||||
|
//品牌展示
|
||||||
|
[_brandBtn sd_setBackgroundImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetLogUrl,self.currentDevice.logo]] forState:UIControlStateNormal placeholderImage:[UIImage imageNamed:@"brandLogo_hold"]];
|
||||||
|
_brandName.text = self.currentDevice.brandName;
|
||||||
[self initCHNames];
|
[self initCHNames];
|
||||||
|
[Socketsingleton sharedInstance].communiteDelegate = self;
|
||||||
|
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tempSwitch)];
|
||||||
|
[self.tempLabel addGestureRecognizer:tap];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)connect {
|
||||||
|
if ([self.currentDevice.isBlacklist isEqualToString:@"0"]) {
|
||||||
|
[self InitSocket];//允许请求数据
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark - 连接socket
|
||||||
|
-(void)InitSocket{
|
||||||
|
NSLog(@"******%d",[Socketsingleton sharedInstance].clientSocket.isConnected);
|
||||||
|
if (![Socketsingleton sharedInstance].clientSocket.isConnected) {
|
||||||
|
|
||||||
|
//[[Socketsingleton sharedInstance];
|
||||||
|
}
|
||||||
|
// 切换设备 先断开然后重连
|
||||||
|
[[Socketsingleton sharedInstance] socketConnectHost];
|
||||||
|
[Socketsingleton sharedInstance].macAddress = self.currentDevice.macAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark 通信监听communiteDelegate
|
||||||
|
|
||||||
|
//当已经和服务端断开连接后调用该代理方法
|
||||||
|
//断线重连功能需要在这里进行
|
||||||
|
|
||||||
|
-(void)ifishSocketDidDisconnect:(AsyncSocket *)sock{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void)ifishSocket:(AsyncSocket *)sock willDisconnectWithError:(NSError *)err{
|
||||||
|
// NSLog(@"soket错误断开");
|
||||||
|
// NSLog(@"存留数据%@",[sock unreadData]);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
-(BOOL)ifishSocketWillConnect:(AsyncSocket *)sock{
|
||||||
|
|
||||||
|
// NSLog(@"将要链接");
|
||||||
|
return YES;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark 当已经与服务端建立连接后调用的代理方法
|
||||||
|
|
||||||
|
|
||||||
|
-(void)ifishSocket:(AsyncSocket *)sock ifishSocketdidConnectToHost:(NSString *)host port:(UInt16)port{
|
||||||
|
//已建立连接 登陆指令同意在soket单例中
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//发送完成处理
|
||||||
|
|
||||||
|
-(void)ifishSocket:(AsyncSocket *)sock didWriteDataWithTag:(long)tag{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark 登陆成功后收到服务端的回执之后,调用的代理方法
|
||||||
|
|
||||||
|
//父类里面不执行此方法 接收服务器返回信息 在子类中做处理
|
||||||
|
|
||||||
|
//communiteDelegate
|
||||||
|
|
||||||
|
-(void)socketDidGetBackmsgData:(NSData *)data onsoket:(AsyncSocket *)sock{
|
||||||
|
[Xuanduo2DataUtility readSocketDataWithBackMsgModel:self.dataModel addWithBackData:data];
|
||||||
|
if ([self.tipLabel.text isEqualToString:@"当月电量"]) {
|
||||||
|
[self setTemperature];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-(void)ifishDeviceLogInFail{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void)ifishDeviceLogInSuccees{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void)ifishSocket:(AsyncSocket *)sock didAcceptNewSocket:(AsyncSocket *)newSocket{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark -- actions --
|
||||||
|
|
||||||
|
- (IBAction)btnActions:(UIButton *)sender {
|
||||||
|
sender.selected = !sender.selected;
|
||||||
|
switch (sender.tag) {
|
||||||
|
case kBtnTag: //杀菌灯
|
||||||
|
|
||||||
|
break;
|
||||||
|
case kBtnTag + 1:
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- (IBAction)brandClick:(id)sender {
|
||||||
|
SongBaoViewController *brand = [[SongBaoViewController alloc]init];
|
||||||
|
brand.brandIntroduce = self.currentDevice.brandIntroduce;
|
||||||
|
[self.navigationController pushViewController:brand animated:YES];
|
||||||
|
self.navigationController.navigationBarHidden=NO;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)tempSwitch {
|
||||||
|
if ([self.tipLabel.text isEqualToString:@"当月电量"]) {
|
||||||
|
|
||||||
|
}else {
|
||||||
|
self.tipLabel.text = @"当月电量";
|
||||||
|
UInt64 mac = [dataContorl hexToTen:self.dataModel.electricity];
|
||||||
|
NSString *stringTemp = [NSString stringWithFormat:@"%llukwh",mac];
|
||||||
|
[self.tempLabel setAttributedText:[NSString ls_changeFontAndColor:[UIFont systemFontOfSize:15] Color:nil TotalString:stringTemp SubStringArray:@[@"kwh"]]];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma -- actions --
|
|
||||||
- (void)goBackAction{
|
- (void)goBackAction{
|
||||||
[[Socketsingleton sharedInstance] cutOffSocket];
|
[[Socketsingleton sharedInstance] cutOffSocket];
|
||||||
[[IfishDataUnity shareDataInstance] setAppTabRoot];
|
[[IfishDataUnity shareDataInstance] setAppTabRoot];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)shajunAction:(UIButton*)sender {
|
- (void)presentPopView{
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (IBAction)zengyangAction:(UIButton*)sender {
|
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (IBAction)dengguang1Action:(UIButton*)sender {
|
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (IBAction)dengguang2Action:(UIButton*)sender {
|
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (IBAction)zaoyangAction:(UIButton*)sender {
|
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (IBAction)huliAction:(UIButton*)sender {
|
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (IBAction)xunhuanAction:(UIButton*)sender {
|
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (IBAction)jiareAction:(UIButton*)sender {
|
|
||||||
sender.selected = !sender.selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
-(void)presentPopView{
|
|
||||||
|
|
||||||
UIImage *image = [UIImage imageNamed:@"popover_background_image_notrangle"];
|
UIImage *image = [UIImage imageNamed:@"popover_background_image_notrangle"];
|
||||||
NSArray *titleImgs = nil;
|
NSArray *titleImgs = nil;
|
||||||
|
|
||||||
|
|
@ -156,6 +251,15 @@
|
||||||
|
|
||||||
#pragma mark - 修改设备名
|
#pragma mark - 修改设备名
|
||||||
|
|
||||||
|
- (void)setTemperature {
|
||||||
|
UInt64 mac = [dataContorl hexToTen:self.dataModel.waterTemperature];
|
||||||
|
NSLog(@"%llu",mac);
|
||||||
|
//float TPlabel=mac/10+(mac%10)*0.1;
|
||||||
|
float temp = mac/10;
|
||||||
|
NSString *stringTemp = [NSString stringWithFormat:@"%.1f℃",temp];
|
||||||
|
[self.tempLabel setAttributedText:[NSString ls_changeFontAndColor:[UIFont systemFontOfSize:15] Color:nil TotalString:stringTemp SubStringArray:@[@"℃"]]];
|
||||||
|
}
|
||||||
|
|
||||||
-(void)shezhiMingCheng{
|
-(void)shezhiMingCheng{
|
||||||
XuToControlNameViewController *_changeNameVC = [[XuToControlNameViewController alloc] init];
|
XuToControlNameViewController *_changeNameVC = [[XuToControlNameViewController alloc] init];
|
||||||
_changeNameVC.isNewdevice = YES;
|
_changeNameVC.isNewdevice = YES;
|
||||||
|
|
@ -169,6 +273,7 @@
|
||||||
[ wself.navigationController pushViewController: _changeNameVC animated:YES];
|
[ wself.navigationController pushViewController: _changeNameVC animated:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// 各种控制旋钮标题显示
|
||||||
-(void)initCHNames{
|
-(void)initCHNames{
|
||||||
|
|
||||||
XuToControlName *name = [UserExtendataArchaver currentNewXuToControlName:self.currentDevice.macAddress];
|
XuToControlName *name = [UserExtendataArchaver currentNewXuToControlName:self.currentDevice.macAddress];
|
||||||
|
|
@ -322,5 +427,16 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (Xuanduo2Model *)dataModel {
|
||||||
|
if (!_dataModel) {
|
||||||
|
_dataModel = [Xuanduo2Model new];
|
||||||
|
}
|
||||||
|
return _dataModel;
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)dealloc {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||||
<device id="retina5_9" orientation="portrait">
|
<device id="retina4_7" orientation="portrait">
|
||||||
<adaptation id="fullscreen"/>
|
<adaptation id="fullscreen"/>
|
||||||
</device>
|
</device>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
@ -12,12 +12,16 @@
|
||||||
<objects>
|
<objects>
|
||||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="Xuanduo2fController">
|
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="Xuanduo2fController">
|
||||||
<connections>
|
<connections>
|
||||||
|
<outlet property="brandBtn" destination="KcF-jg-Mz2" id="90Z-SG-zCz"/>
|
||||||
|
<outlet property="brandName" destination="pjU-4c-KIu" id="7o4-eb-hHX"/>
|
||||||
<outlet property="huliLabel" destination="OLb-WT-tQ0" id="zfj-0D-wQW"/>
|
<outlet property="huliLabel" destination="OLb-WT-tQ0" id="zfj-0D-wQW"/>
|
||||||
<outlet property="jiareLabel" destination="r24-bR-0zZ" id="1FX-Ye-0ju"/>
|
<outlet property="jiareLabel" destination="r24-bR-0zZ" id="1FX-Ye-0ju"/>
|
||||||
<outlet property="light1Label" destination="w1W-F8-kDG" id="9Tm-jx-s9C"/>
|
<outlet property="light1Label" destination="w1W-F8-kDG" id="9Tm-jx-s9C"/>
|
||||||
<outlet property="light2Label" destination="k4O-MJ-aZd" id="dsc-dG-n76"/>
|
<outlet property="light2Label" destination="k4O-MJ-aZd" id="dsc-dG-n76"/>
|
||||||
<outlet property="positionView" destination="G1c-II-WK8" id="4Cm-FT-QIK"/>
|
<outlet property="positionView" destination="G1c-II-WK8" id="4Cm-FT-QIK"/>
|
||||||
<outlet property="shajunLight" destination="zRG-Xz-MbP" id="LTQ-hk-FrW"/>
|
<outlet property="shajunLight" destination="zRG-Xz-MbP" id="LTQ-hk-FrW"/>
|
||||||
|
<outlet property="tempLabel" destination="brS-3x-RcE" id="eAw-p5-o08"/>
|
||||||
|
<outlet property="tipLabel" destination="vcu-MT-d6F" id="f4o-WG-803"/>
|
||||||
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
|
||||||
<outlet property="xunhuanLabel" destination="7KA-Hc-54C" id="QRq-jP-IC4"/>
|
<outlet property="xunhuanLabel" destination="7KA-Hc-54C" id="QRq-jP-IC4"/>
|
||||||
<outlet property="zaolangLabel" destination="BWx-iu-nY0" id="rxl-X0-mne"/>
|
<outlet property="zaolangLabel" destination="BWx-iu-nY0" id="rxl-X0-mne"/>
|
||||||
|
|
@ -26,14 +30,14 @@
|
||||||
</placeholder>
|
</placeholder>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||||
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
|
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
|
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="H1f-gs-HPh">
|
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="H1f-gs-HPh">
|
||||||
<rect key="frame" x="0.0" y="44" width="375" height="734"/>
|
<rect key="frame" x="0.0" y="20" width="375" height="647"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aik-7S-q8v" userLabel="Content View">
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aik-7S-q8v" userLabel="Content View">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="600.66666666666663"/>
|
<rect key="frame" x="0.0" y="0.0" width="375" height="600.5"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="xuanduo_bg" translatesAutoresizingMaskIntoConstraints="NO" id="EVp-Sm-Feq">
|
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="xuanduo_bg" translatesAutoresizingMaskIntoConstraints="NO" id="EVp-Sm-Feq">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="375" height="260"/>
|
<rect key="frame" x="0.0" y="0.0" width="375" height="260"/>
|
||||||
|
|
@ -42,143 +46,143 @@
|
||||||
</constraints>
|
</constraints>
|
||||||
</imageView>
|
</imageView>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="鱼缸温度" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vcu-MT-d6F">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="鱼缸温度" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vcu-MT-d6F">
|
||||||
<rect key="frame" x="156.66666666666666" y="320" width="62" height="18"/>
|
<rect key="frame" x="156.5" y="320" width="62" height="18"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||||
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="94R-4Q-SUx">
|
<button opaque="NO" tag="100" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="94R-4Q-SUx">
|
||||||
<rect key="frame" x="29.999999999999996" y="383" width="45.666666666666657" height="45.666666666666686"/>
|
<rect key="frame" x="30" y="383" width="46" height="46"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="94R-4Q-SUx" secondAttribute="height" multiplier="1:1" id="zkk-3F-Fut"/>
|
<constraint firstAttribute="width" secondItem="94R-4Q-SUx" secondAttribute="height" multiplier="1:1" id="zkk-3F-Fut"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="shajun_normal"/>
|
<state key="normal" backgroundImage="shajun_normal"/>
|
||||||
<state key="selected" backgroundImage="shajun_selected"/>
|
<state key="selected" backgroundImage="shajun_selected"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="shajunAction:" destination="-1" eventType="touchUpInside" id="tZ7-5v-2t8"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="Gyn-cy-b2q"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZVe-ED-kl7">
|
<button opaque="NO" tag="101" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZVe-ED-kl7">
|
||||||
<rect key="frame" x="119.66666666666669" y="383" width="46" height="45.666666666666686"/>
|
<rect key="frame" x="120" y="383" width="45.5" height="46"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="ZVe-ED-kl7" secondAttribute="height" multiplier="1:1" id="Nyb-kW-maB"/>
|
<constraint firstAttribute="width" secondItem="ZVe-ED-kl7" secondAttribute="height" multiplier="1:1" id="Nyb-kW-maB"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="zengyang_noraml"/>
|
<state key="normal" backgroundImage="zengyang_noraml"/>
|
||||||
<state key="selected" backgroundImage="zengyang_selected"/>
|
<state key="selected" backgroundImage="zengyang_selected"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="zengyangAction:" destination="-1" eventType="touchUpInside" id="pSk-Su-1AB"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="jcG-z7-mUY"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WFc-cF-80l">
|
<button opaque="NO" tag="103" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WFc-cF-80l">
|
||||||
<rect key="frame" x="209.66666666666666" y="383" width="45.666666666666657" height="45.666666666666686"/>
|
<rect key="frame" x="209.5" y="383" width="46" height="46"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="WFc-cF-80l" secondAttribute="height" multiplier="1:1" id="KNO-vi-GYn"/>
|
<constraint firstAttribute="width" secondItem="WFc-cF-80l" secondAttribute="height" multiplier="1:1" id="KNO-vi-GYn"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="dengguang_normal"/>
|
<state key="normal" backgroundImage="dengguang_normal"/>
|
||||||
<state key="selected" backgroundImage="dengguang_selected"/>
|
<state key="selected" backgroundImage="dengguang_selected"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="dengguang1Action:" destination="-1" eventType="touchUpInside" id="MbL-ka-P6C"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="QiP-2l-6Gh"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RHd-Xx-AyG">
|
<button opaque="NO" tag="104" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RHd-Xx-AyG">
|
||||||
<rect key="frame" x="299.33333333333331" y="383" width="45.666666666666686" height="45.666666666666686"/>
|
<rect key="frame" x="299.5" y="383" width="45.5" height="46"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="RHd-Xx-AyG" secondAttribute="height" multiplier="1:1" id="npW-2w-QHd"/>
|
<constraint firstAttribute="width" secondItem="RHd-Xx-AyG" secondAttribute="height" multiplier="1:1" id="npW-2w-QHd"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="dengguang_normal"/>
|
<state key="normal" backgroundImage="dengguang_normal"/>
|
||||||
<state key="selected" backgroundImage="dengguang_selected"/>
|
<state key="selected" backgroundImage="dengguang_selected"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="dengguang2Action:" destination="-1" eventType="touchUpInside" id="OSn-fc-Omj"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="kAA-hr-Wun"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="杀菌灯" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zRG-Xz-MbP">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="杀菌灯" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zRG-Xz-MbP">
|
||||||
<rect key="frame" x="34.333333333333336" y="432.66666666666669" width="37.000000000000007" height="15"/>
|
<rect key="frame" x="34.5" y="433" width="37" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="增氧泵" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dse-Ih-U5R">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="增氧泵" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dse-Ih-U5R">
|
||||||
<rect key="frame" x="124" y="432.66666666666669" width="37" height="15"/>
|
<rect key="frame" x="124" y="433" width="37" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="灯光1" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="w1W-F8-kDG">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="灯光1" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="w1W-F8-kDG">
|
||||||
<rect key="frame" x="217" y="432.66666666666669" width="31" height="15"/>
|
<rect key="frame" x="217" y="433" width="31" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="灯光2" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="k4O-MJ-aZd">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="灯光2" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="k4O-MJ-aZd">
|
||||||
<rect key="frame" x="306" y="432.66666666666669" width="32" height="15"/>
|
<rect key="frame" x="306" y="433" width="32" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="83l-yl-ndR">
|
<button opaque="NO" tag="105" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="83l-yl-ndR">
|
||||||
<rect key="frame" x="29.999999999999996" y="490.66666666666663" width="45.666666666666657" height="46"/>
|
<rect key="frame" x="30" y="491" width="46" height="45.5"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="83l-yl-ndR" secondAttribute="height" multiplier="1:1" id="w6a-qu-5EK"/>
|
<constraint firstAttribute="width" secondItem="83l-yl-ndR" secondAttribute="height" multiplier="1:1" id="w6a-qu-5EK"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="zaolang_normal"/>
|
<state key="normal" backgroundImage="zaolang_normal"/>
|
||||||
<state key="selected" backgroundImage="zaolang_selectd"/>
|
<state key="selected" backgroundImage="zaolang_selectd"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="zaoyangAction:" destination="-1" eventType="touchUpInside" id="APC-hG-sEM"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="JYg-AF-0fV"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ucP-6q-kgn">
|
<button opaque="NO" tag="106" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ucP-6q-kgn">
|
||||||
<rect key="frame" x="119.66666666666669" y="490.66666666666663" width="46" height="46"/>
|
<rect key="frame" x="120" y="491" width="45.5" height="45.5"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="ucP-6q-kgn" secondAttribute="height" multiplier="1:1" id="Vkv-7O-YZz"/>
|
<constraint firstAttribute="width" secondItem="ucP-6q-kgn" secondAttribute="height" multiplier="1:1" id="Vkv-7O-YZz"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="huli_noraml"/>
|
<state key="normal" backgroundImage="huli_noraml"/>
|
||||||
<state key="selected" backgroundImage="huli_selected"/>
|
<state key="selected" backgroundImage="huli_selected"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="huliAction:" destination="-1" eventType="touchUpInside" id="mgh-an-HSm"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="jNj-Lu-4Vh"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wZH-6A-6dN">
|
<button opaque="NO" tag="107" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wZH-6A-6dN">
|
||||||
<rect key="frame" x="209.66666666666666" y="490.66666666666663" width="45.666666666666657" height="46"/>
|
<rect key="frame" x="209.5" y="491" width="46" height="45.5"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="wZH-6A-6dN" secondAttribute="height" multiplier="1:1" id="526-Hn-VeS"/>
|
<constraint firstAttribute="width" secondItem="wZH-6A-6dN" secondAttribute="height" multiplier="1:1" id="526-Hn-VeS"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="xunhuan_noraml"/>
|
<state key="normal" backgroundImage="xunhuan_noraml"/>
|
||||||
<state key="selected" backgroundImage="xunhuan_selected"/>
|
<state key="selected" backgroundImage="xunhuan_selected"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="xunhuanAction:" destination="-1" eventType="touchUpInside" id="ok8-zP-Tig"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="zCg-7a-yCn"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fFJ-1w-2f5">
|
<button opaque="NO" tag="108" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fFJ-1w-2f5">
|
||||||
<rect key="frame" x="299.33333333333331" y="490.66666666666663" width="45.666666666666686" height="46"/>
|
<rect key="frame" x="299.5" y="491" width="45.5" height="45.5"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" secondItem="fFJ-1w-2f5" secondAttribute="height" multiplier="1:1" id="4jg-CV-sDI"/>
|
<constraint firstAttribute="width" secondItem="fFJ-1w-2f5" secondAttribute="height" multiplier="1:1" id="4jg-CV-sDI"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" backgroundImage="jiare_normal"/>
|
<state key="normal" backgroundImage="jiare_normal"/>
|
||||||
<state key="selected" backgroundImage="jiare_selected"/>
|
<state key="selected" backgroundImage="jiare_selected"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="jiareAction:" destination="-1" eventType="touchUpInside" id="Mt5-Oe-uhg"/>
|
<action selector="btnActions:" destination="-1" eventType="touchUpInside" id="Mb6-Vi-eFy"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="造浪泵" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BWx-iu-nY0">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="造浪泵" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BWx-iu-nY0">
|
||||||
<rect key="frame" x="34.333333333333336" y="540.66666666666663" width="37.000000000000007" height="15"/>
|
<rect key="frame" x="34.5" y="540.5" width="37" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="护理灯" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OLb-WT-tQ0">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="护理灯" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OLb-WT-tQ0">
|
||||||
<rect key="frame" x="124" y="540.66666666666663" width="37" height="15"/>
|
<rect key="frame" x="124" y="540.5" width="37" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="循环泵" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7KA-Hc-54C">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="循环泵" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7KA-Hc-54C">
|
||||||
<rect key="frame" x="214" y="540.66666666666663" width="37" height="15"/>
|
<rect key="frame" x="214" y="540.5" width="37" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="加热棒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r24-bR-0zZ">
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="加热棒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r24-bR-0zZ">
|
||||||
<rect key="frame" x="303.66666666666669" y="540.66666666666663" width="37" height="15"/>
|
<rect key="frame" x="303.5" y="540.5" width="37" height="15"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
|
|
@ -191,14 +195,14 @@
|
||||||
<constraint firstAttribute="height" constant="44" id="sb9-6y-9OZ"/>
|
<constraint firstAttribute="height" constant="44" id="sb9-6y-9OZ"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="20 " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="brS-3x-RcE">
|
<label opaque="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0 ℃" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="brS-3x-RcE">
|
||||||
<rect key="frame" x="137.66666666666666" y="210" width="100" height="100"/>
|
<rect key="frame" x="137.5" y="210" width="100" height="100"/>
|
||||||
<color key="backgroundColor" red="0.70196078431372544" green="0.70196078431372544" blue="0.70196078431372544" alpha="1" colorSpace="calibratedRGB"/>
|
<color key="backgroundColor" red="0.70196078431372544" green="0.70196078431372544" blue="0.70196078431372544" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="height" constant="100" id="GQu-NL-cde"/>
|
<constraint firstAttribute="height" constant="100" id="GQu-NL-cde"/>
|
||||||
<constraint firstAttribute="width" constant="100" id="PVA-da-FwT"/>
|
<constraint firstAttribute="width" constant="100" id="PVA-da-FwT"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="30"/>
|
<fontDescription key="fontDescription" type="system" pointSize="27"/>
|
||||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
|
|
@ -206,6 +210,23 @@
|
||||||
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
<userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
</label>
|
</label>
|
||||||
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KcF-jg-Mz2">
|
||||||
|
<rect key="frame" x="30" y="18" width="63" height="31"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="height" constant="31" id="LNl-zb-LQq"/>
|
||||||
|
<constraint firstAttribute="width" constant="63" id="dEA-Xi-jls"/>
|
||||||
|
</constraints>
|
||||||
|
<state key="normal" backgroundImage="brandLogo_hold.png"/>
|
||||||
|
<connections>
|
||||||
|
<action selector="brandClick:" destination="-1" eventType="touchUpInside" id="Nv0-XJ-uJg"/>
|
||||||
|
</connections>
|
||||||
|
</button>
|
||||||
|
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pjU-4c-KIu">
|
||||||
|
<rect key="frame" x="42.5" y="57" width="38" height="17"/>
|
||||||
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
|
||||||
|
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
</subviews>
|
</subviews>
|
||||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
|
@ -213,11 +234,13 @@
|
||||||
<constraint firstItem="ZVe-ED-kl7" firstAttribute="width" secondItem="94R-4Q-SUx" secondAttribute="width" id="3se-2R-nR8"/>
|
<constraint firstItem="ZVe-ED-kl7" firstAttribute="width" secondItem="94R-4Q-SUx" secondAttribute="width" id="3se-2R-nR8"/>
|
||||||
<constraint firstItem="vcu-MT-d6F" firstAttribute="top" secondItem="brS-3x-RcE" secondAttribute="bottom" constant="10" id="4B2-Mr-ob3"/>
|
<constraint firstItem="vcu-MT-d6F" firstAttribute="top" secondItem="brS-3x-RcE" secondAttribute="bottom" constant="10" id="4B2-Mr-ob3"/>
|
||||||
<constraint firstItem="OLb-WT-tQ0" firstAttribute="top" secondItem="ucP-6q-kgn" secondAttribute="bottom" constant="4" id="4Bf-gm-YTx"/>
|
<constraint firstItem="OLb-WT-tQ0" firstAttribute="top" secondItem="ucP-6q-kgn" secondAttribute="bottom" constant="4" id="4Bf-gm-YTx"/>
|
||||||
|
<constraint firstItem="pjU-4c-KIu" firstAttribute="top" secondItem="KcF-jg-Mz2" secondAttribute="bottom" constant="8" id="4U0-5n-ux5"/>
|
||||||
<constraint firstItem="k4O-MJ-aZd" firstAttribute="top" secondItem="RHd-Xx-AyG" secondAttribute="bottom" constant="4" id="6Bg-et-4ju"/>
|
<constraint firstItem="k4O-MJ-aZd" firstAttribute="top" secondItem="RHd-Xx-AyG" secondAttribute="bottom" constant="4" id="6Bg-et-4ju"/>
|
||||||
<constraint firstItem="G1c-II-WK8" firstAttribute="top" secondItem="aik-7S-q8v" secondAttribute="top" id="83E-pJ-8Fg"/>
|
<constraint firstItem="G1c-II-WK8" firstAttribute="top" secondItem="aik-7S-q8v" secondAttribute="top" id="83E-pJ-8Fg"/>
|
||||||
<constraint firstItem="ucP-6q-kgn" firstAttribute="top" secondItem="83l-yl-ndR" secondAttribute="top" id="9Cs-Lk-q7I"/>
|
<constraint firstItem="ucP-6q-kgn" firstAttribute="top" secondItem="83l-yl-ndR" secondAttribute="top" id="9Cs-Lk-q7I"/>
|
||||||
<constraint firstItem="RHd-Xx-AyG" firstAttribute="width" secondItem="94R-4Q-SUx" secondAttribute="width" id="A2B-qb-Kn1"/>
|
<constraint firstItem="RHd-Xx-AyG" firstAttribute="width" secondItem="94R-4Q-SUx" secondAttribute="width" id="A2B-qb-Kn1"/>
|
||||||
<constraint firstItem="83l-yl-ndR" firstAttribute="top" secondItem="zRG-Xz-MbP" secondAttribute="bottom" constant="43" id="AAh-cS-gv0"/>
|
<constraint firstItem="83l-yl-ndR" firstAttribute="top" secondItem="zRG-Xz-MbP" secondAttribute="bottom" constant="43" id="AAh-cS-gv0"/>
|
||||||
|
<constraint firstItem="pjU-4c-KIu" firstAttribute="centerX" secondItem="KcF-jg-Mz2" secondAttribute="centerX" id="AHE-tf-SLB"/>
|
||||||
<constraint firstItem="wZH-6A-6dN" firstAttribute="top" secondItem="ucP-6q-kgn" secondAttribute="top" id="B3z-EE-VMG"/>
|
<constraint firstItem="wZH-6A-6dN" firstAttribute="top" secondItem="ucP-6q-kgn" secondAttribute="top" id="B3z-EE-VMG"/>
|
||||||
<constraint firstAttribute="bottom" secondItem="BWx-iu-nY0" secondAttribute="bottom" constant="45" id="BOU-73-VsD"/>
|
<constraint firstAttribute="bottom" secondItem="BWx-iu-nY0" secondAttribute="bottom" constant="45" id="BOU-73-VsD"/>
|
||||||
<constraint firstItem="7KA-Hc-54C" firstAttribute="centerX" secondItem="wZH-6A-6dN" secondAttribute="centerX" id="CuI-89-MX4"/>
|
<constraint firstItem="7KA-Hc-54C" firstAttribute="centerX" secondItem="wZH-6A-6dN" secondAttribute="centerX" id="CuI-89-MX4"/>
|
||||||
|
|
@ -236,6 +259,7 @@
|
||||||
<constraint firstItem="k4O-MJ-aZd" firstAttribute="centerX" secondItem="RHd-Xx-AyG" secondAttribute="centerX" id="O1e-yh-1dd"/>
|
<constraint firstItem="k4O-MJ-aZd" firstAttribute="centerX" secondItem="RHd-Xx-AyG" secondAttribute="centerX" id="O1e-yh-1dd"/>
|
||||||
<constraint firstItem="wZH-6A-6dN" firstAttribute="leading" secondItem="ucP-6q-kgn" secondAttribute="trailing" constant="44" id="OWU-Aa-pW7"/>
|
<constraint firstItem="wZH-6A-6dN" firstAttribute="leading" secondItem="ucP-6q-kgn" secondAttribute="trailing" constant="44" id="OWU-Aa-pW7"/>
|
||||||
<constraint firstItem="ZVe-ED-kl7" firstAttribute="width" secondItem="ZVe-ED-kl7" secondAttribute="height" multiplier="1:1" id="Qyh-QP-HeZ"/>
|
<constraint firstItem="ZVe-ED-kl7" firstAttribute="width" secondItem="ZVe-ED-kl7" secondAttribute="height" multiplier="1:1" id="Qyh-QP-HeZ"/>
|
||||||
|
<constraint firstItem="KcF-jg-Mz2" firstAttribute="leading" secondItem="aik-7S-q8v" secondAttribute="leading" constant="30" id="Rke-2G-beZ"/>
|
||||||
<constraint firstItem="RHd-Xx-AyG" firstAttribute="width" secondItem="RHd-Xx-AyG" secondAttribute="height" multiplier="1:1" id="T9h-Jc-mSP"/>
|
<constraint firstItem="RHd-Xx-AyG" firstAttribute="width" secondItem="RHd-Xx-AyG" secondAttribute="height" multiplier="1:1" id="T9h-Jc-mSP"/>
|
||||||
<constraint firstItem="BWx-iu-nY0" firstAttribute="top" secondItem="83l-yl-ndR" secondAttribute="bottom" constant="4" id="TWl-21-aNy"/>
|
<constraint firstItem="BWx-iu-nY0" firstAttribute="top" secondItem="83l-yl-ndR" secondAttribute="bottom" constant="4" id="TWl-21-aNy"/>
|
||||||
<constraint firstItem="WFc-cF-80l" firstAttribute="leading" secondItem="ZVe-ED-kl7" secondAttribute="trailing" constant="44" id="TZx-fE-vtq"/>
|
<constraint firstItem="WFc-cF-80l" firstAttribute="leading" secondItem="ZVe-ED-kl7" secondAttribute="trailing" constant="44" id="TZx-fE-vtq"/>
|
||||||
|
|
@ -261,6 +285,7 @@
|
||||||
<constraint firstItem="fFJ-1w-2f5" firstAttribute="width" secondItem="fFJ-1w-2f5" secondAttribute="height" multiplier="1:1" id="ns1-lf-YQG"/>
|
<constraint firstItem="fFJ-1w-2f5" firstAttribute="width" secondItem="fFJ-1w-2f5" secondAttribute="height" multiplier="1:1" id="ns1-lf-YQG"/>
|
||||||
<constraint firstItem="ucP-6q-kgn" firstAttribute="width" secondItem="ucP-6q-kgn" secondAttribute="height" multiplier="1:1" id="q0b-Ok-bD1"/>
|
<constraint firstItem="ucP-6q-kgn" firstAttribute="width" secondItem="ucP-6q-kgn" secondAttribute="height" multiplier="1:1" id="q0b-Ok-bD1"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="fFJ-1w-2f5" secondAttribute="trailing" constant="30" id="s7v-x0-Wl5"/>
|
<constraint firstAttribute="trailing" secondItem="fFJ-1w-2f5" secondAttribute="trailing" constant="30" id="s7v-x0-Wl5"/>
|
||||||
|
<constraint firstItem="KcF-jg-Mz2" firstAttribute="top" secondItem="aik-7S-q8v" secondAttribute="top" constant="18" id="tdu-Q3-j07"/>
|
||||||
<constraint firstAttribute="trailing" secondItem="G1c-II-WK8" secondAttribute="trailing" id="teN-7B-Npa"/>
|
<constraint firstAttribute="trailing" secondItem="G1c-II-WK8" secondAttribute="trailing" id="teN-7B-Npa"/>
|
||||||
<constraint firstItem="RHd-Xx-AyG" firstAttribute="centerY" secondItem="WFc-cF-80l" secondAttribute="centerY" id="tpr-qz-KT0"/>
|
<constraint firstItem="RHd-Xx-AyG" firstAttribute="centerY" secondItem="WFc-cF-80l" secondAttribute="centerY" id="tpr-qz-KT0"/>
|
||||||
<constraint firstItem="vcu-MT-d6F" firstAttribute="centerX" secondItem="aik-7S-q8v" secondAttribute="centerX" id="uKM-H9-GFY"/>
|
<constraint firstItem="vcu-MT-d6F" firstAttribute="centerX" secondItem="aik-7S-q8v" secondAttribute="centerX" id="uKM-H9-GFY"/>
|
||||||
|
|
@ -294,6 +319,7 @@
|
||||||
</view>
|
</view>
|
||||||
</objects>
|
</objects>
|
||||||
<resources>
|
<resources>
|
||||||
|
<image name="brandLogo_hold.png" width="126" height="63"/>
|
||||||
<image name="dengguang_normal" width="52" height="52"/>
|
<image name="dengguang_normal" width="52" height="52"/>
|
||||||
<image name="dengguang_selected" width="52" height="52"/>
|
<image name="dengguang_selected" width="52" height="52"/>
|
||||||
<image name="huli_noraml" width="52" height="52"/>
|
<image name="huli_noraml" width="52" height="52"/>
|
||||||
|
|
@ -302,7 +328,7 @@
|
||||||
<image name="jiare_selected" width="52" height="52"/>
|
<image name="jiare_selected" width="52" height="52"/>
|
||||||
<image name="shajun_normal" width="52.5" height="52.5"/>
|
<image name="shajun_normal" width="52.5" height="52.5"/>
|
||||||
<image name="shajun_selected" width="52.5" height="52.5"/>
|
<image name="shajun_selected" width="52.5" height="52.5"/>
|
||||||
<image name="xuanduo_bg" width="843.75" height="586.5"/>
|
<image name="xuanduo_bg" width="562.5" height="390.75"/>
|
||||||
<image name="xunhuan_noraml" width="104" height="104"/>
|
<image name="xunhuan_noraml" width="104" height="104"/>
|
||||||
<image name="xunhuan_selected" width="52" height="52"/>
|
<image name="xunhuan_selected" width="52" height="52"/>
|
||||||
<image name="zaolang_normal" width="52" height="52"/>
|
<image name="zaolang_normal" width="52" height="52"/>
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
// Do any additional setup after loading the view.
|
// Do any additional setup after loading the view.
|
||||||
|
|
||||||
[self addTitleViewWithTitle:@"分享中"];
|
[self addTitleViewWithTitle:@"分享中"];
|
||||||
//自定义封装播放器 由于xib创建OPGLview 无法显示(暂未找到方法)暂时不用 纯代码建UI可以试试
|
//自定义封装播放器 由于xib创建OPGLview 无法显示(暂未找到方法)暂时不用 纯代码建UI可以试试
|
||||||
//[self setupVideoPlayView];
|
//[self setupVideoPlayView];
|
||||||
|
|
@ -32,9 +31,14 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)viewWillAppear:(BOOL)animated {
|
||||||
|
[super viewWillAppear:animated];
|
||||||
|
self.navigationController.navigationBar.translucent = YES;
|
||||||
|
}
|
||||||
|
|
||||||
-(void)viewWillDisappear:(BOOL)animated{
|
-(void)viewWillDisappear:(BOOL)animated{
|
||||||
[super viewWillDisappear:animated];
|
[super viewWillDisappear:animated];
|
||||||
|
self.navigationController.navigationBar.translucent = NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void)resetBootomView{
|
-(void)resetBootomView{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue