jikaipeng 5 lat temu
rodzic
commit
bfe3fa62cc

+ 11 - 0
KuDianProject.xcodeproj/project.pbxproj

@@ -205,6 +205,7 @@
205 205
 		7662960D22D8233600B2C0DB /* KDPMainNavViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KDPMainNavViewController.m; sourceTree = "<group>"; };
206 206
 		7662960F22D8267800B2C0DB /* KDPBaseLabel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = KDPBaseLabel.h; path = KuDianProject/MainTab/KDPBaseLabel.h; sourceTree = SOURCE_ROOT; };
207 207
 		7662961022D8267800B2C0DB /* KDPBaseLabel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = KDPBaseLabel.m; path = KuDianProject/MainTab/KDPBaseLabel.m; sourceTree = SOURCE_ROOT; };
208
+		7662961B22D87B3600B2C0DB /* KuDianProject.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = KuDianProject.entitlements; sourceTree = "<group>"; };
208 209
 		76D6EE6F22D4A7A100E7AC1C /* KDPTabBarVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KDPTabBarVC.m; sourceTree = "<group>"; };
209 210
 		76D6EE7022D4A7A100E7AC1C /* KDPTabBarVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KDPTabBarVC.h; sourceTree = "<group>"; };
210 211
 		76D6EE7222D4A7D600E7AC1C /* KDPSupplyContentViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KDPSupplyContentViewController.h; sourceTree = "<group>"; };
@@ -797,6 +798,7 @@
797 798
 		C5D561F922CD97840035A714 /* KuDianProject */ = {
798 799
 			isa = PBXGroup;
799 800
 			children = (
801
+				7662961B22D87B3600B2C0DB /* KuDianProject.entitlements */,
800 802
 				C5D5624022CD9E710035A714 /* MainTab */,
801 803
 				C5D5623F22CD9D350035A714 /* Public */,
802 804
 				76D7943222CDDBE200C2ECFA /* Vendors */,
@@ -1097,6 +1099,11 @@
1097 1099
 				TargetAttributes = {
1098 1100
 					C5D561F622CD97840035A714 = {
1099 1101
 						CreatedOnToolsVersion = 10.1;
1102
+						SystemCapabilities = {
1103
+							com.apple.Push = {
1104
+								enabled = 1;
1105
+							};
1106
+						};
1100 1107
 					};
1101 1108
 					C5D5620E22CD97860035A714 = {
1102 1109
 						CreatedOnToolsVersion = 10.1;
@@ -1492,8 +1499,10 @@
1492 1499
 			buildSettings = {
1493 1500
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1494 1501
 				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1502
+				CODE_SIGN_ENTITLEMENTS = KuDianProject/KuDianProject.entitlements;
1495 1503
 				CODE_SIGN_STYLE = Automatic;
1496 1504
 				DEVELOPMENT_TEAM = WV23VEMQV8;
1505
+				ENABLE_BITCODE = NO;
1497 1506
 				GCC_PREFIX_HEADER = KuDianProject/PrefixHeader.pch;
1498 1507
 				INFOPLIST_FILE = KuDianProject/Info.plist;
1499 1508
 				IPHONEOS_DEPLOYMENT_TARGET = 9.1;
@@ -1514,8 +1523,10 @@
1514 1523
 			buildSettings = {
1515 1524
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1516 1525
 				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1526
+				CODE_SIGN_ENTITLEMENTS = KuDianProject/KuDianProject.entitlements;
1517 1527
 				CODE_SIGN_STYLE = Automatic;
1518 1528
 				DEVELOPMENT_TEAM = WV23VEMQV8;
1529
+				ENABLE_BITCODE = NO;
1519 1530
 				GCC_PREFIX_HEADER = KuDianProject/PrefixHeader.pch;
1520 1531
 				INFOPLIST_FILE = KuDianProject/Info.plist;
1521 1532
 				IPHONEOS_DEPLOYMENT_TARGET = 9.1;

BIN
KuDianProject.xcworkspace/xcuserdata/kaipeng.xcuserdatad/UserInterfaceState.xcuserstate


+ 0 - 12
KuDianProject.xcworkspace/xcuserdata/kaipeng.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -2,16 +2,4 @@
2 2
 <Bucket
3 3
    type = "0"
4 4
    version = "2.0">
5
-   <Breakpoints>
6
-      <BreakpointProxy
7
-         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
8
-         <BreakpointContent
9
-            shouldBeEnabled = "Yes"
10
-            ignoreCount = "0"
11
-            continueAfterRunningActions = "No"
12
-            scope = "0"
13
-            stopOnStyle = "0">
14
-         </BreakpointContent>
15
-      </BreakpointProxy>
16
-   </Breakpoints>
17 5
 </Bucket>

+ 8 - 0
KuDianProject/KuDianProject.entitlements

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+<plist version="1.0">
4
+<dict>
5
+	<key>aps-environment</key>
6
+	<string>development</string>
7
+</dict>
8
+</plist>

+ 1 - 1
KuDianProject/LiveData/Controller/KDPLiveDataViewController.m

@@ -63,7 +63,7 @@
63 63
         config.shadowLineAnimationType = XLPageShadowLineAnimationTypePan;
64 64
         config.separatorLineBottomMargin = 5;
65 65
         _pageVC = [[XLPageViewController alloc] initWithConfig:config];
66
-        _pageVC.view.bounds = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT-KDTabBarHeight);
66
+        _pageVC.view.bounds = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT-KDTabBarHeight+1);
67 67
         _pageVC.delegate = self;
68 68
         _pageVC.dataSource = self;
69 69
     }

+ 1 - 1
KuDianProject/LiveData/Controller/KDPLiveLeftViewController.m

@@ -91,7 +91,7 @@
91 91
             self.page = 1;
92 92
             [self requestData];
93 93
         }];
94
-        _tableView.mj_footer = [MJRefreshBackFooter footerWithRefreshingBlock:^{
94
+        _tableView.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingBlock:^{
95 95
             self.page ++;
96 96
             [self requestData];
97 97
         }];

+ 7 - 1
KuDianProject/LiveData/Controller/KDPLiveRightViewController.m

@@ -31,6 +31,7 @@
31 31
     // Do any additional setup after loading the view.
32 32
     self.navBar.hidden = YES;
33 33
     self.type = @"today";
34
+    [self.navBar setLineViewWithHidden:YES];
34 35
     UIView *backView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 115)];
35 36
     [backView setGradientBackgroundWithColors:@[[UIColor colorWithHex:0xFF235F],[UIColor colorWithHex:0xFF7676]] locations:@[@0,@1] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
36 37
     [self.view addSubview:backView];
@@ -84,12 +85,17 @@
84 85
         _tableView.rowHeight = 105;
85 86
         _tableView.delegate = self;
86 87
         _tableView.dataSource = self;
88
+        if (@available(iOS 11.0, *)) {
89
+            _tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
90
+        } else {
91
+            // Fallback on earlier versions
92
+        }
87 93
         _tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH-20, 0.1f)];
88 94
         _tableView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{
89 95
             self.page = 1;
90 96
             [self requestTotalData];
91 97
         }];
92
-        _tableView.mj_footer = [MJRefreshBackFooter footerWithRefreshingBlock:^{
98
+        _tableView.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingBlock:^{
93 99
             self.page ++;
94 100
             [self requestTotalData];
95 101
         }];

+ 1 - 1
KuDianProject/LiveData/Controller/KDPOrderDetailViewController.m

@@ -76,7 +76,7 @@
76 76
             self.page = 1;
77 77
             [self requestDetailDataWithPage:self.page];
78 78
         }];
79
-        _tableview.mj_footer = [MJRefreshBackFooter footerWithRefreshingBlock:^{
79
+        _tableview.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingBlock:^{
80 80
             self.page ++;
81 81
             [self requestDetailDataWithPage:self.page];
82 82
         }];

+ 11 - 0
KuDianProject/Login/controller/KDPPhoneLoginViewController.m

@@ -212,6 +212,17 @@ static int count = 0;
212 212
     [self.sendCodeBtn setTitle:title forState:UIControlStateNormal];
213 213
 }
214 214
 
215
+-(void)viewWillAppear:(BOOL)animated
216
+{
217
+    [super viewWillAppear:animated];
218
+    [UIApplication sharedApplication].statusBarStyle=UIStatusBarStyleDefault;
219
+}
220
+-(void)viewWillDisappear:(BOOL)animated
221
+{
222
+    [super viewWillDisappear:animated];
223
+    [UIApplication sharedApplication].statusBarStyle=UIStatusBarStyleLightContent;
224
+}
225
+
215 226
 - (void)updateTime {
216 227
     count --;
217 228
     [self changeCode];

+ 1 - 17
KuDianProject/Login/controller/KDPWebViewViewController.m

@@ -28,16 +28,12 @@
28 28
 }
29 29
 
30 30
 - (void)setContentView{
31
-    self.navBar.backgroundColor = [UIColor whiteColor];
32
-    self.navBar.navTitleLabel.textColor = [UIColor colorWithHex:0x333333];
33
-//    self.backButton = [UIButton buttonWithType:UIButtonTypeSystem];
31
+    self.backButton = [UIButton buttonWithType:UIButtonTypeSystem];
34 32
 //    [self.backButton setImage:[UIImage imageNamed:@"return_black"] forState:UIControlStateNormal];
35 33
 //    self.backButton.frame = CGRectMake(0, 0, 40, 40);
36 34
 //    [self.backButton addTarget:self action:@selector(backAction:) forControlEvents:UIControlEventTouchUpInside];
37 35
 //    [self.navBar addSubview:self.backButton];
38
-    
39 36
     [self.navBar addleftReturnButton:self selector:@selector(backAction:)];
40
-    
41 37
     WKWebViewConfiguration *config = [[WKWebViewConfiguration alloc] init];
42 38
     config.allowsInlineMediaPlayback = NO;
43 39
     self.webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, KDNavBarHeight, SCREEN_WIDTH, SCREEN_HEIGHT-KDNavBarHeight) configuration:config];
@@ -121,18 +117,6 @@
121 117
     self.navBar.navTitleLabel.text = webView.title;
122 118
 }
123 119
 
124
--(void)viewWillAppear:(BOOL)animated
125
-{
126
-    [super viewWillAppear:animated];
127
-    [UIApplication sharedApplication].statusBarStyle=UIStatusBarStyleDefault;
128
-    self.navBar.navTitleLabel.textColor = [UIColor whiteColor];
129
-}
130
--(void)viewWillDisappear:(BOOL)animated
131
-{
132
-    [super viewWillDisappear:animated];
133
-    [UIApplication sharedApplication].statusBarStyle=UIStatusBarStyleLightContent;
134
-}
135
-
136 120
 - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSKeyValueChangeKey,id> *)change context:(void *)context{
137 121
     if ([keyPath isEqualToString:NSStringFromSelector(@selector(estimatedProgress))] && object == self.webView ) {
138 122
         [self.processView setAlpha:1.0];

+ 1 - 1
KuDianProject/Search/Controller/KDPSearchResultViewController.m

@@ -169,7 +169,6 @@
169 169
             reusAbleView.changeBlock = ^(BOOL isPrice) {
170 170
                 KDPScreenViewController *screenVC = [[KDPScreenViewController alloc] initWithPrice:isPrice];
171 171
                 screenVC.params = weakSelf.params;
172
-                screenVC.view.frame = CGRectMake(91, 0, SCREEN_WIDTH-91, SCREEN_HEIGHT);
173 172
                 screenVC.resetBlock = ^(BOOL isPrice) {
174 173
                     if (isPrice == YES) {
175 174
                         [weakReusAbleView changeScreeWithStyle:KDPSupplyContentButtonStylePrice Color:[UIColor colorWithHex:0x333333] text:@"价格筛选"];
@@ -211,6 +210,7 @@
211 210
                     [weakSelf.collectionView.mj_header beginRefreshing];
212 211
                 };
213 212
                 CWLateralSlideConfiguration *conf = [CWLateralSlideConfiguration configurationWithDistance:0 maskAlpha:0.7 scaleY:1 direction:CWDrawerTransitionFromRight backImage:nil];
213
+                conf.distance=SCREEN_WIDTH/3*2;
214 214
                 [weakSelf cw_showDrawerViewController:screenVC animationType:0 configuration:conf];
215 215
             };
216 216
             return reusAbleView;

+ 2 - 2
KuDianProject/Search/Controller/KDPSearchViewController.m

@@ -120,18 +120,18 @@
120 120
 
121 121
 - (void)requestSearchData:(NSString *)keyWord{
122 122
     NSString *searchUrl = [NSString stringWithFormat:@"%@api/goods/searchAdvice",KDURL];
123
-    [self.searchArray removeAllObjects];
124 123
     [KDPNetworkRequestHTTP postURL:searchUrl params:@{@"keyword":keyWord} success:^(id  _Nonnull json) {
125 124
         NSArray *data = json[@"data"];
125
+        [self.searchArray removeAllObjects];
126 126
         [self.searchArray addObjectsFromArray:data];
127 127
         if (self.searchArray.count) {
128 128
             self.historyView.hidden = YES;
129 129
             self.tableview.hidden = NO;
130
-            [self.tableview reloadData];
131 130
         } else{
132 131
             self.historyView.hidden = NO;
133 132
             self.tableview.hidden = YES;
134 133
         }
134
+        [self.tableview reloadData];
135 135
     } failure:^(NSError * _Nonnull error) {
136 136
         
137 137
     }];

+ 5 - 5
KuDianProject/SupplyGood/Controller/KDPScreenViewController.m

@@ -42,7 +42,7 @@
42 42
 }
43 43
 
44 44
 - (void)setContentView{
45
-    self.tipLabel = [[UILabel alloc] initWithFrame:CGRectMake(13 + 91, KDStatusHeight + 16, SCREEN_WIDTH-91-13, 20)];
45
+    self.tipLabel = [[UILabel alloc] initWithFrame:CGRectMake(13 + SCREEN_WIDTH/3, KDStatusHeight + 16, SCREEN_WIDTH-91-13, 20)];
46 46
     self.tipLabel.textColor = [UIColor colorWithHexString:@"0x333333"];
47 47
     self.tipLabel.font = [UIFont fontWithName:@"PingFang-SC-Medium" size: 14];
48 48
     NSString *tipText = _isPrice ? @"价格区间(元)":@"利润区间";
@@ -50,13 +50,13 @@
50 50
     [self.view addSubview:self.tipLabel];
51 51
     
52 52
     // 初始化tagView
53
-    CGFloat btnWidth = (self.view.width - 91 - kBtnMargin * 2 - 20)/2;
53
+    CGFloat btnWidth = (self.view.width - SCREEN_WIDTH/3 - kBtnMargin * 2 - 20)/2;
54 54
     CGFloat height = 45;
55 55
     NSArray *btnDataArray = _isPrice ? @[@"最低价",@"最高价",@"10元以下",@"10-50元",@"50-100元",@"100元以上"] : @[@"最低利润",@"",@"20%以上",@"30%以上",@"40%以上",@"50%以上"];
56 56
     for (NSInteger i = 0; i < 6; i++) {
57 57
         NSInteger row = i / 2;
58 58
         NSInteger line = i % 2;
59
-        KDPScreenBtnView *btnView = [[KDPScreenBtnView alloc] initWithFrame:CGRectMake(kBtnMargin +91 + (btnWidth+20)*line,self.tipLabel.bottom + 25 + row *(17+height) , btnWidth, height)];
59
+        KDPScreenBtnView *btnView = [[KDPScreenBtnView alloc] initWithFrame:CGRectMake(kBtnMargin +SCREEN_WIDTH/3 + (btnWidth+20)*line,self.tipLabel.bottom + 25 + row *(17+height) , btnWidth, height)];
60 60
         btnView.delegate = self;
61 61
         btnView.tag = kBaseBtnViewTag + i;
62 62
         btnView.textColor = [UIColor colorWithHexString:@"#333333"];
@@ -80,7 +80,7 @@
80 80
     // 重置按钮和确定按钮
81 81
     
82 82
     UIButton *resetBtn = [UIButton buttonWithType:UIButtonTypeCustom];
83
-    resetBtn.frame = CGRectMake(91 + 14, self.tipLabel.bottom + 235, (SCREEN_WIDTH-91-28)/2, 41);
83
+    resetBtn.frame = CGRectMake(SCREEN_WIDTH/3 + 14, self.tipLabel.bottom + 235, (SCREEN_WIDTH-SCREEN_WIDTH/3-28)/2, 41);
84 84
 //    [resetBtn setGradientBackgroundWithColors:@[[UIColor colorWithRGB:0xFFC300],[UIColor colorWithRGB:0xFF9A01]] locations:@[@0,@1] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
85 85
     resetBtn.backgroundColor = [UIColor colorWithHex:0xFF7693];
86 86
     [resetBtn addCornerRadiusByRoundingCorners:UIRectCornerTopLeft | UIRectCornerBottomLeft cornerRadii:CGSizeMake(20, 20)];
@@ -92,7 +92,7 @@
92 92
     [self.view addSubview:resetBtn];
93 93
     
94 94
     UIButton *confirmBtn = [UIButton buttonWithType:UIButtonTypeCustom];
95
-    confirmBtn.frame = CGRectMake(resetBtn.right, self.tipLabel.bottom + 235, (SCREEN_WIDTH-91-28)/2, 41);
95
+    confirmBtn.frame = CGRectMake(resetBtn.right, self.tipLabel.bottom + 235, (SCREEN_WIDTH-SCREEN_WIDTH/3-28)/2, 41);
96 96
 //    [confirmBtn setGradientBackgroundWithColors:@[[UIColor colorWithRGB:0xFF8300],[UIColor colorWithRGB:0xFF5200]] locations:@[@0,@1] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(0, 1)];
97 97
     confirmBtn.backgroundColor = [UIColor colorWithHex:0xFF6B8A];
98 98
     [confirmBtn addCornerRadiusByRoundingCorners:UIRectCornerTopRight | UIRectCornerBottomRight cornerRadii:CGSizeMake(20, 20)];

+ 2 - 2
KuDianProject/SupplyGood/Controller/KDPSupplyContentViewController.m

@@ -111,7 +111,7 @@
111 111
             self.page = 1;
112 112
             [self requestGoodlistData];
113 113
         }];
114
-        _collectionView.mj_footer = [MJRefreshBackFooter footerWithRefreshingBlock:^{
114
+        _collectionView.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingBlock:^{
115 115
             self.page ++;
116 116
             [self requestGoodlistData];
117 117
         }];
@@ -248,7 +248,6 @@
248 248
                 weakSelf.shouldHiddenScreen = NO;
249 249
                 KDPScreenViewController *screenVC = [[KDPScreenViewController alloc] initWithPrice:isPrice];
250 250
                 screenVC.params = weakSelf.mutabParams;
251
-                screenVC.view.frame = CGRectMake(91, 0, SCREEN_WIDTH-91, SCREEN_HEIGHT);
252 251
                 screenVC.resetBlock = ^(BOOL isPrice) {
253 252
                     if (isPrice == YES) {
254 253
                         [weakReusAbleView changeScreeWithStyle:KDPSupplyContentButtonStylePrice Color:[UIColor colorWithHex:0x333333] text:@"价格筛选"];
@@ -290,6 +289,7 @@
290 289
                     [weakSelf.collectionView.mj_header beginRefreshing];
291 290
                 };
292 291
                 CWLateralSlideConfiguration *conf = [CWLateralSlideConfiguration configurationWithDistance:0 maskAlpha:0.7 scaleY:1 direction:CWDrawerTransitionFromRight backImage:nil];
292
+                conf.distance=SCREEN_WIDTH/3*2;
293 293
                 [weakSelf cw_showDrawerViewController:screenVC animationType:0 configuration:conf];
294 294
             };
295 295
             return reusAbleView;

+ 2 - 1
KuDianProject/SupplyGood/Controller/KDPSupplyGoodViewController.m

@@ -91,7 +91,8 @@
91 91
 
92 92
 - (void)setUpTopView{
93 93
     self.navBar.hidden = YES;
94
-    UIView *topBackView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, 163)];
94
+    NSInteger height = KDNavBarHeight == 64 ? 130 : 163;
95
+    UIView *topBackView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, height)];
95 96
     [topBackView setGradientBackgroundWithColors:@[[UIColor colorWithRGB:0xFF235F],[UIColor colorWithRGB:0xFF7676]] locations:@[@0,@1] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
96 97
     [self.view addSubview:topBackView];
97 98
     

+ 1 - 1
KuDianProject/SupplyGood/Controller/KDPSupplyListViewController.m

@@ -140,7 +140,6 @@
140 140
         reusAbleView.changeBlock = ^(BOOL isPrice) {
141 141
             KDPScreenViewController *screenVC = [[KDPScreenViewController alloc] initWithPrice:isPrice];
142 142
             screenVC.params = weakSelf.params;
143
-            screenVC.view.frame = CGRectMake(91, 0, SCREEN_WIDTH-91, SCREEN_HEIGHT);
144 143
             screenVC.resetBlock = ^(BOOL isPrice) {
145 144
                 if (isPrice == YES) {
146 145
                     [weakReusAbleView changeScreeWithStyle:KDPSupplyContentButtonStylePrice Color:[UIColor colorWithHex:0x333333] text:@"价格筛选"];
@@ -182,6 +181,7 @@
182 181
                 [weakSelf.collectionView.mj_header beginRefreshing];
183 182
             };
184 183
             CWLateralSlideConfiguration *conf = [CWLateralSlideConfiguration configurationWithDistance:0 maskAlpha:0.7 scaleY:1 direction:CWDrawerTransitionFromRight backImage:nil];
184
+            conf.distance=SCREEN_WIDTH/3*2;
185 185
             [weakSelf cw_showDrawerViewController:screenVC animationType:0 configuration:conf];
186 186
         };
187 187
         return reusAbleView;

+ 1 - 1
KuDianProject/SupplyGood/View/KDPSupplyCommentViewCell.m

@@ -105,7 +105,7 @@
105 105
 - (void)setSubViewsConstraints{
106 106
     [_commentImageView mas_makeConstraints:^(MASConstraintMaker *make) {
107 107
         make.top.equalTo(self.contentView.mas_top).offset(30);
108
-        make.size.equalTo(CGSizeMake(20, 35));
108
+        make.size.equalTo(CGSizeMake(40, 40));
109 109
         make.centerX.equalTo(self.contentView);
110 110
     }];
111 111
     [_commentLabel mas_makeConstraints:^(MASConstraintMaker *make) {