fixed: 1.我的金币页面导航显示修复
2.金币详情页兑换按钮不显示 3.实时动态页面调整 4.金币兑换页面调整
This commit is contained in:
parent
eb8a41ace9
commit
6f23d287c0
|
|
@ -17543,9 +17543,9 @@
|
|||
CLANG_CXX_LIBRARY = "compiler-default";
|
||||
CODE_SIGN_ENTITLEMENTS = Ifish/Ifish.entitlements;
|
||||
CODE_SIGN_IDENTITY = "iPhone Developer: guowu ouyang (Q5YLXZSN4A)";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Shanghai Yu Ying Technology Co., Ltd. (WFX8GD5HFX)";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
DEVELOPMENT_TEAM = WFX8GD5HFX;
|
||||
ENABLE_BITCODE = NO;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
|
|
@ -17640,8 +17640,8 @@
|
|||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.shyuying.Ifish8;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE = "eeefa590-8286-4301-b6e5-f1eeee0de64f";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
PROVISIONING_PROFILE = "";
|
||||
PROVISIONING_PROFILE_SPECIFIER = isfishAppstoreDistribution;
|
||||
TARGETED_DEVICE_FAMILY = 1;
|
||||
USER_HEADER_SEARCH_PATHS = "";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>爱鱼奇</string>
|
||||
<string>爱鱼奇TEST</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>4.9.0</string>
|
||||
<string>4.9.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
|
|
|
|||
|
|
@ -35,6 +35,15 @@
|
|||
[self loadRightData];
|
||||
}
|
||||
|
||||
- (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)creatSubViews
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
-(void)creatTab{
|
||||
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height) style:UITableViewStyleGrouped];
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStylePlain];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.scrollEnabled = YES;
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
[self.view addSubview:self.tableView];
|
||||
|
||||
UIButton *duiHuanBtn=[UIButton buttonWithType:UIButtonTypeCustom];
|
||||
duiHuanBtn.frame = CGRectMake(0, self.view.frame.size.height -49, self.view.frame.size.width, 49);
|
||||
duiHuanBtn.frame = CGRectMake(0, 0, self.view.frame.size.width, 49);
|
||||
|
||||
[duiHuanBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
|
||||
NSMutableAttributedString *title = [[NSMutableAttributedString alloc] initWithString:@"立即兑换"];
|
||||
|
|
@ -47,9 +47,7 @@
|
|||
[duiHuanBtn setAttributedTitle:title forState:UIControlStateNormal];
|
||||
[duiHuanBtn setBackgroundColor:RGB(67, 186, 255)];
|
||||
[duiHuanBtn addTarget:self action:@selector(duihuanBtnClick) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
[self.view addSubview:duiHuanBtn];
|
||||
|
||||
self.tableView.tableFooterView = duiHuanBtn;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -87,17 +85,6 @@
|
|||
return 470;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
|
||||
return 0.1;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
|
||||
|
||||
return 10;
|
||||
|
||||
}
|
||||
|
||||
#pragma mark -金币兑换
|
||||
-(void)duihuanBtnClick{
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
@property(nonatomic,strong)UITableView *tableView;
|
||||
@property(nonatomic,strong)NSMutableArray *dataArr;
|
||||
@property (nonatomic) NSIndexPath *selectIndexPath;
|
||||
@property(nonatomic,strong) UIView *sectionHeaderView;
|
||||
@property (nonatomic) BOOL isChage;
|
||||
@end
|
||||
|
||||
|
|
@ -57,7 +58,7 @@
|
|||
|
||||
-(void)creatTab{
|
||||
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStyleGrouped];
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStylePlain];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.scrollEnabled = YES;
|
||||
|
|
@ -99,13 +100,26 @@
|
|||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
|
||||
return 0.1;
|
||||
return CGFLOAT_MIN;
|
||||
}
|
||||
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
|
||||
return nil;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
|
||||
|
||||
return 0.1;
|
||||
|
||||
return 10;
|
||||
}
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
|
||||
return self.sectionHeaderView;
|
||||
}
|
||||
|
||||
-(UIView *)sectionHeaderView {
|
||||
if (!_sectionHeaderView) {
|
||||
_sectionHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 10)];
|
||||
}
|
||||
return _sectionHeaderView;
|
||||
}
|
||||
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ const float ActivityPageSize = 20;
|
|||
@property (nonatomic,strong) UITableView *tableView;
|
||||
@property (nonatomic,strong) NSMutableArray *dataArr;
|
||||
@property (nonatomic,strong) NSMutableArray *activTypes;
|
||||
@property (nonatomic,strong) UIView *sectionHeaderView;
|
||||
@property (nonatomic) NSInteger firstResult;
|
||||
@property(nonatomic,copy) NSString* total;
|
||||
@property(nonatomic)BOOL isLoadMore;
|
||||
|
|
@ -87,7 +88,7 @@ const float ActivityPageSize = 20;
|
|||
|
||||
-(void)creatTab{
|
||||
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStyleGrouped];
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStylePlain];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.scrollEnabled = YES;
|
||||
|
|
@ -127,18 +128,27 @@ const float ActivityPageSize = 20;
|
|||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
|
||||
|
||||
if (section==0) {
|
||||
return 0.01;
|
||||
}else{
|
||||
|
||||
return 10;
|
||||
}
|
||||
return 10;
|
||||
}
|
||||
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
|
||||
return self.sectionHeaderView;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
|
||||
return 0.01;
|
||||
return CGFLOAT_MIN;
|
||||
}
|
||||
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
|
||||
return nil;
|
||||
}
|
||||
|
||||
-(UIView *)sectionHeaderView{
|
||||
if (!_sectionHeaderView) {
|
||||
_sectionHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 10)];
|
||||
}
|
||||
return _sectionHeaderView;
|
||||
}
|
||||
|
||||
-(void)creatReatRefreshView{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
|
|
@ -16,18 +15,18 @@
|
|||
<rect key="frame" x="0.0" y="0.0" width="320" height="124"/>
|
||||
<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="123"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="123.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="yCp-Pc-niT">
|
||||
<rect key="frame" x="15" y="19" width="43" height="43"/>
|
||||
<rect key="frame" x="23" y="22" width="43" height="43"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="43" id="K1h-6R-dgq"/>
|
||||
<constraint firstAttribute="width" constant="43" id="utS-Lc-5nb"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MC2-dj-tQV">
|
||||
<rect key="frame" x="15" y="70" width="43" height="21"/>
|
||||
<rect key="frame" x="23" y="73" width="43" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="43" id="O0H-Fu-MQP"/>
|
||||
<constraint firstAttribute="height" constant="21" id="spG-aM-uyY"/>
|
||||
|
|
@ -44,7 +43,7 @@
|
|||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j4H-3i-r5P">
|
||||
<rect key="frame" x="66" y="19" width="44" height="21"/>
|
||||
<rect key="frame" x="74" y="22" width="44" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="E4g-ow-Bbo"/>
|
||||
</constraints>
|
||||
|
|
@ -53,7 +52,7 @@
|
|||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o4z-Rh-bJE">
|
||||
<rect key="frame" x="66" y="44" width="31" height="15"/>
|
||||
<rect key="frame" x="74" y="47" width="31" height="15"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="15" id="ehn-eA-OyR"/>
|
||||
</constraints>
|
||||
|
|
@ -62,14 +61,14 @@
|
|||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rvn-dY-yD4" customClass="IFishActivityCateView">
|
||||
<rect key="frame" x="207" y="13" width="113" height="18"/>
|
||||
<rect key="frame" x="199" y="15.5" width="113" height="18"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="113" id="prU-qW-zDS"/>
|
||||
<constraint firstAttribute="height" constant="18" id="zt9-Kb-dri"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ncX-Ol-5UJ">
|
||||
<rect key="frame" x="66" y="75" width="230" height="16"/>
|
||||
<rect key="frame" x="74" y="78" width="214" height="16"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue