瀏覽代碼

朋友圈权限UI

桂欢 2 年之前
父節點
當前提交
c2c8883c72
共有 25 個文件被更改,包括 175 次插入7 次删除
  1. 13 3
      SLAiELTS/SLAiELTS.xcodeproj/project.pbxproj
  2. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLFriendsModel.h
  3. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLFriendsModel.m
  4. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLRecomFriendModel.h
  5. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLRecomFriendModel.m
  6. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.h
  7. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.m
  8. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.xib
  9. 16 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLFriendPowerVc.h
  10. 22 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLFriendPowerVc.m
  11. 93 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLFriendPowerVc.xib
  12. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLRecomFriendsVc.h
  13. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLRecomFriendsVc.m
  14. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLRecomFriendsVc.xib
  15. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.h
  16. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.m
  17. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.xib
  18. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.h
  19. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.m
  20. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.xib
  21. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRemidLookView.h
  22. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRemidLookView.m
  23. 0 0
      SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRemidLookView.xib
  24. 16 0
      SLAiELTS/SLAiELTS/ViewControllers/Moments/MomentsVc/SLFriensInfoVc.m
  25. 15 4
      SLAiELTS/SLAiELTS/ViewControllers/Moments/MomentsVc/SLFriensInfoVc.xib

+ 13 - 3
SLAiELTS/SLAiELTS.xcodeproj/project.pbxproj

@@ -161,6 +161,8 @@
 		3DA5AF7829B96B33009E4925 /* SLBaseMainView.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DA5AF7729B96B33009E4925 /* SLBaseMainView.m */; };
 		3DA5AF7C29B96B55009E4925 /* SLPageViewModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DA5AF7A29B96B55009E4925 /* SLPageViewModel.m */; };
 		3DA5AF7F29B96E11009E4925 /* SLPageModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DA5AF7E29B96E11009E4925 /* SLPageModel.m */; };
+		3DB069F829F7A71F005730D7 /* SLFriendPowerVc.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB069F629F7A71F005730D7 /* SLFriendPowerVc.m */; };
+		3DB069F929F7A71F005730D7 /* SLFriendPowerVc.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3DB069F729F7A71F005730D7 /* SLFriendPowerVc.xib */; };
 		3DB0AE1629D6B64200671744 /* NullSafe.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB0AE1529D6B64200671744 /* NullSafe.m */; };
 		3DB97D3E29D6A86E00B12754 /* SDTimeLineCellModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB97D2629D6A86D00B12754 /* SDTimeLineCellModel.m */; };
 		3DB97D3F29D6A86E00B12754 /* SDTimeLineCellOperationMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB97D2A29D6A86D00B12754 /* SDTimeLineCellOperationMenu.m */; };
@@ -538,6 +540,9 @@
 		3DA5AF7B29B96B55009E4925 /* SLPageViewModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SLPageViewModel.h; sourceTree = "<group>"; };
 		3DA5AF7D29B96E11009E4925 /* SLPageModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLPageModel.h; sourceTree = "<group>"; };
 		3DA5AF7E29B96E11009E4925 /* SLPageModel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLPageModel.m; sourceTree = "<group>"; };
+		3DB069F529F7A71F005730D7 /* SLFriendPowerVc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLFriendPowerVc.h; sourceTree = "<group>"; };
+		3DB069F629F7A71F005730D7 /* SLFriendPowerVc.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLFriendPowerVc.m; sourceTree = "<group>"; };
+		3DB069F729F7A71F005730D7 /* SLFriendPowerVc.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SLFriendPowerVc.xib; sourceTree = "<group>"; };
 		3DB0AE1529D6B64200671744 /* NullSafe.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NullSafe.m; sourceTree = "<group>"; };
 		3DB97D2529D6A86D00B12754 /* SDTimeLineCellModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDTimeLineCellModel.h; sourceTree = "<group>"; };
 		3DB97D2629D6A86D00B12754 /* SDTimeLineCellModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDTimeLineCellModel.m; sourceTree = "<group>"; };
@@ -777,7 +782,7 @@
 		3D24985F29AC6A7D003C3AFA /* ViewControllers */ = {
 			isa = PBXGroup;
 			children = (
-				3D24D3FE29DE964600014D1C /* AddressBookVC */,
+				3D24D3FE29DE964600014D1C /* FriendsVC */,
 				3DB97D2029D6A86D00B12754 /* Moments */,
 				3DA5AF6B29B88884009E4925 /* MyVC */,
 				3DA5AF6529B8885D009E4925 /* LxVC */,
@@ -846,7 +851,7 @@
 			path = Extensions;
 			sourceTree = "<group>";
 		};
-		3D24D3FE29DE964600014D1C /* AddressBookVC */ = {
+		3D24D3FE29DE964600014D1C /* FriendsVC */ = {
 			isa = PBXGroup;
 			children = (
 				3D19CBEB29E648150041A6B8 /* Model */,
@@ -857,8 +862,11 @@
 				3D6EE45029F2568000B02EBB /* SLRecomFriendsVc.h */,
 				3D6EE45129F2568000B02EBB /* SLRecomFriendsVc.m */,
 				3D6EE45229F2568000B02EBB /* SLRecomFriendsVc.xib */,
+				3DB069F529F7A71F005730D7 /* SLFriendPowerVc.h */,
+				3DB069F629F7A71F005730D7 /* SLFriendPowerVc.m */,
+				3DB069F729F7A71F005730D7 /* SLFriendPowerVc.xib */,
 			);
-			path = AddressBookVC;
+			path = FriendsVC;
 			sourceTree = "<group>";
 		};
 		3D24D40929DEB23C00014D1C /* ZLPhotoBrowserTool */ = {
@@ -1886,6 +1894,7 @@
 				3D1B988029BEEA670008D01A /* SLVocabularyView.xib in Resources */,
 				3D6EE45429F2568000B02EBB /* SLRecomFriendsVc.xib in Resources */,
 				3D2DC3F629B1E6510041A729 /* SLMikeInputView.xib in Resources */,
+				3DB069F929F7A71F005730D7 /* SLFriendPowerVc.xib in Resources */,
 				3D2D8BFF29DE6389009392DA /* SLHomeMsgCollectionViewCell.xib in Resources */,
 				3D25105C29AC9475000AE530 /* SLForgetPWViewController.xib in Resources */,
 				3DB97DA529D6ABF000B12754 /* README.md in Resources */,
@@ -2083,6 +2092,7 @@
 				3D8C9F8D29AC57F300678283 /* main.m in Sources */,
 				3D6EE45C29F27BCB00B02EBB /* SLRecomFriendModel.m in Sources */,
 				3D25107A29AD8DB0000AE530 /* SLPageControlSlideRound.m in Sources */,
+				3DB069F829F7A71F005730D7 /* SLFriendPowerVc.m in Sources */,
 				3DB97D6B29D6ABC100B12754 /* SDRefreshHeaderView.m in Sources */,
 				3D2510CE29AF375B000AE530 /* SLGlobalInfo.m in Sources */,
 				3DF3DB0129BB22CB00CAD3AB /* UIImage+Extension.m in Sources */,

+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Model/SLFriendsModel.h → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLFriendsModel.h


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Model/SLFriendsModel.m → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLFriendsModel.m


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Model/SLRecomFriendModel.h → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLRecomFriendModel.h


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Model/SLRecomFriendModel.m → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Model/SLRecomFriendModel.m


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/SLAddressBookVc.h → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.h


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/SLAddressBookVc.m → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.m


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/SLAddressBookVc.xib → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLAddressBookVc.xib


+ 16 - 0
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLFriendPowerVc.h

@@ -0,0 +1,16 @@
+//
+//  SLFriendPowerVc.h
+//  SLAiELTS
+//
+//  Created by Gusont on 2023/4/25.
+//
+
+#import "SLBaseViewController.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface SLFriendPowerVc : SLBaseViewController
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 22 - 0
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLFriendPowerVc.m

@@ -0,0 +1,22 @@
+//
+//  SLFriendPowerVc.m
+//  SLAiELTS
+//
+//  Created by Gusont on 2023/4/25.
+//
+
+#import "SLFriendPowerVc.h"
+
+@interface SLFriendPowerVc ()
+
+@end
+
+@implementation SLFriendPowerVc
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    // Do any additional setup after loading the view from its nib.
+    self.title = @"朋友权限";
+}
+
+@end

+ 93 - 0
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLFriendPowerVc.xib

@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+    <device id="retina6_0" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
+        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SLFriendPowerVc">
+            <connections>
+                <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
+            </connections>
+        </placeholder>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
+            <rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
+            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+            <subviews>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="04G-yj-1zc">
+                    <rect key="frame" x="0.0" y="91" width="390" height="50"/>
+                    <subviews>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="不让他看我" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZIE-oe-mQI">
+                            <rect key="frame" x="16" y="16" width="76.666666666666671" height="18"/>
+                            <fontDescription key="fontDescription" type="system" pointSize="15"/>
+                            <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
+                            <nil key="highlightedColor"/>
+                        </label>
+                        <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="euq-ud-HFa">
+                            <rect key="frame" x="329" y="9.6666666666666714" width="51" height="31"/>
+                            <color key="tintColor" red="1" green="0.23137254900000001" blue="0.18823529410000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <color key="onTintColor" red="0.086274509799999996" green="0.46666666670000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        </switch>
+                    </subviews>
+                    <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                    <constraints>
+                        <constraint firstItem="ZIE-oe-mQI" firstAttribute="centerY" secondItem="04G-yj-1zc" secondAttribute="centerY" id="01x-ot-Ojn"/>
+                        <constraint firstAttribute="height" constant="50" id="b8d-sP-uzO"/>
+                        <constraint firstItem="ZIE-oe-mQI" firstAttribute="leading" secondItem="04G-yj-1zc" secondAttribute="leading" constant="16" id="rqn-tC-eJm"/>
+                        <constraint firstAttribute="trailing" secondItem="euq-ud-HFa" secondAttribute="trailing" constant="12" id="tpD-Ab-zHC"/>
+                        <constraint firstItem="euq-ud-HFa" firstAttribute="centerY" secondItem="04G-yj-1zc" secondAttribute="centerY" id="y8m-8C-vhi"/>
+                    </constraints>
+                </view>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="10a-4x-HMD">
+                    <rect key="frame" x="0.0" y="142" width="390" height="50"/>
+                    <subviews>
+                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="不看他" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Laq-QC-DXQ">
+                            <rect key="frame" x="16" y="16" width="46" height="18"/>
+                            <fontDescription key="fontDescription" type="system" pointSize="15"/>
+                            <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
+                            <nil key="highlightedColor"/>
+                        </label>
+                        <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fP7-RY-erz">
+                            <rect key="frame" x="329" y="9.6666666666666572" width="51" height="31"/>
+                            <color key="tintColor" red="1" green="0.23137254900000001" blue="0.18823529410000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <color key="onTintColor" red="0.086274509799999996" green="0.46666666670000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        </switch>
+                    </subviews>
+                    <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                    <constraints>
+                        <constraint firstItem="Laq-QC-DXQ" firstAttribute="leading" secondItem="10a-4x-HMD" secondAttribute="leading" constant="16" id="LFt-f0-z9n"/>
+                        <constraint firstItem="fP7-RY-erz" firstAttribute="centerY" secondItem="10a-4x-HMD" secondAttribute="centerY" id="Nto-hs-GzV"/>
+                        <constraint firstItem="Laq-QC-DXQ" firstAttribute="centerY" secondItem="10a-4x-HMD" secondAttribute="centerY" id="S1M-ik-9mr"/>
+                        <constraint firstAttribute="trailing" secondItem="fP7-RY-erz" secondAttribute="trailing" constant="12" id="mYk-AC-jtw"/>
+                        <constraint firstAttribute="height" constant="50" id="niz-N9-Nzx"/>
+                    </constraints>
+                </view>
+            </subviews>
+            <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
+            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+            <constraints>
+                <constraint firstItem="04G-yj-1zc" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="2Q4-Va-0tE"/>
+                <constraint firstItem="04G-yj-1zc" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="44" id="6L9-QM-kYn">
+                    <userDefinedRuntimeAttributes>
+                        <userDefinedRuntimeAttribute type="boolean" keyPath="safeAreaTop" value="YES"/>
+                    </userDefinedRuntimeAttributes>
+                </constraint>
+                <constraint firstItem="10a-4x-HMD" firstAttribute="trailing" secondItem="Q5M-cg-NOt" secondAttribute="trailing" id="ItY-Zk-oia"/>
+                <constraint firstItem="10a-4x-HMD" firstAttribute="top" secondItem="04G-yj-1zc" secondAttribute="bottom" constant="1" id="Lwk-Pf-vOZ"/>
+                <constraint firstItem="10a-4x-HMD" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="Ro6-Zw-XPF"/>
+                <constraint firstItem="04G-yj-1zc" firstAttribute="trailing" secondItem="Q5M-cg-NOt" secondAttribute="trailing" id="vhX-ql-gs7"/>
+            </constraints>
+            <point key="canvasLocation" x="138" y="-1"/>
+        </view>
+    </objects>
+    <resources>
+        <systemColor name="systemBackgroundColor">
+            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+        </systemColor>
+    </resources>
+</document>

+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/SLRecomFriendsVc.h → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLRecomFriendsVc.h


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/SLRecomFriendsVc.m → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLRecomFriendsVc.m


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/SLRecomFriendsVc.xib → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/SLRecomFriendsVc.xib


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/AddressBookCell.h → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.h


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/AddressBookCell.m → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.m


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/AddressBookCell.xib → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/AddressBookCell.xib


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/SLRecomFriendsCell.h → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.h


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/SLRecomFriendsCell.m → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.m


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/SLRecomFriendsCell.xib → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRecomFriendsCell.xib


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/SLRemidLookView.h → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRemidLookView.h


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/SLRemidLookView.m → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRemidLookView.m


+ 0 - 0
SLAiELTS/SLAiELTS/ViewControllers/AddressBookVC/Views/SLRemidLookView.xib → SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLRemidLookView.xib


+ 16 - 0
SLAiELTS/SLAiELTS/ViewControllers/Moments/MomentsVc/SLFriensInfoVc.m

@@ -9,6 +9,8 @@
 #import "SDTimeLineTableHeaderView.h"
 #import "SLMessageViewController.h"
 #import "SLMomentsVc.h"
+#import "SLBaseCellView.h"
+#import "SLFriendPowerVc.h"
 
 @interface SLFriensInfoVc ()
 @property (weak, nonatomic) IBOutlet UIImageView *fHeardImageView;
@@ -16,6 +18,8 @@
 @property (weak, nonatomic) IBOutlet UILabel *locLabel;
 @property (weak, nonatomic) IBOutlet UIView *fpyqBgView;
 
+@property (weak, nonatomic) IBOutlet SLBaseCellView *pyqxView;
+
 @end
 
 @implementation SLFriensInfoVc
@@ -44,6 +48,18 @@
         vc.isFriendList = YES;
         [weakSelf navPushViewController:vc animated:YES];
     }];
+    [self confignPyqxView];
+}
+
+- (void)confignPyqxView {
+    [self.pyqxView updateConstraintsWith:SLBaseCellView1];
+    self.pyqxView.titleLabel.text = @"朋友权限";
+    self.pyqxView.subTitleLabel.text = @"";
+    WS(weakSelf);
+    [self.pyqxView addTapWithBlock:^{
+        SLFriendPowerVc *vc = [SLFriendPowerVc loadViewControllewWithNib];
+        [weakSelf navPushViewController:vc animated:YES];
+    }];
 }
 
 - (IBAction)toMsgBtnClick:(id)sender {

+ 15 - 4
SLAiELTS/SLAiELTS/ViewControllers/Moments/MomentsVc/SLFriensInfoVc.xib

@@ -14,6 +14,7 @@
                 <outlet property="fHeardImageView" destination="KTp-mS-JjL" id="Jym-hq-w4D"/>
                 <outlet property="fpyqBgView" destination="NzD-oC-pVR" id="ClP-qM-zgg"/>
                 <outlet property="locLabel" destination="Ua0-ci-XmP" id="paI-jG-2e5"/>
+                <outlet property="pyqxView" destination="4nu-s5-kQp" id="lBJ-Ik-w1A"/>
                 <outlet property="userNameLabel" destination="7Es-Se-YjK" id="2DC-fE-Z73"/>
                 <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
             </connections>
@@ -64,11 +65,11 @@
                     </constraints>
                 </view>
                 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NzD-oC-pVR">
-                    <rect key="frame" x="0.0" y="310" width="390" height="80"/>
+                    <rect key="frame" x="0.0" y="367" width="390" height="80"/>
                     <subviews>
                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="朋友圈" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RcK-jj-Z4a">
                             <rect key="frame" x="16" y="30.333333333333314" width="49" height="19.333333333333329"/>
-                            <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
+                            <fontDescription key="fontDescription" type="system" pointSize="16"/>
                             <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                             <nil key="highlightedColor"/>
                         </label>
@@ -90,7 +91,7 @@
                     </constraints>
                 </view>
                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Dib-TE-03f">
-                    <rect key="frame" x="0.0" y="400" width="390" height="56"/>
+                    <rect key="frame" x="0.0" y="457" width="390" height="56"/>
                     <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                     <constraints>
                         <constraint firstAttribute="height" constant="56" id="OcC-pf-Adr"/>
@@ -102,6 +103,13 @@
                         <action selector="toMsgBtnClick:" destination="-1" eventType="touchUpInside" id="Vw3-uZ-1Gc"/>
                     </connections>
                 </button>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4nu-s5-kQp" customClass="SLBaseCellView">
+                    <rect key="frame" x="0.0" y="301" width="390" height="56"/>
+                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="56" id="1YP-es-XFv"/>
+                    </constraints>
+                </view>
             </subviews>
             <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
             <color key="backgroundColor" systemColor="systemBackgroundColor"/>
@@ -113,9 +121,12 @@
                 <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="NzD-oC-pVR" secondAttribute="trailing" id="AoJ-mf-CAz"/>
                 <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="Dib-TE-03f" secondAttribute="trailing" id="Cbv-Va-Eew"/>
                 <constraint firstItem="KTp-mS-JjL" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="44" id="RsQ-JH-qw8"/>
+                <constraint firstItem="4nu-s5-kQp" firstAttribute="top" secondItem="nVv-kt-5Om" secondAttribute="bottom" constant="1" id="TuH-zt-Qby"/>
+                <constraint firstItem="4nu-s5-kQp" firstAttribute="leading" secondItem="NzD-oC-pVR" secondAttribute="leading" id="UlV-0x-sp5"/>
+                <constraint firstItem="4nu-s5-kQp" firstAttribute="trailing" secondItem="NzD-oC-pVR" secondAttribute="trailing" id="Wtr-lQ-Pga"/>
                 <constraint firstItem="nVv-kt-5Om" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="Zmt-6t-TU0"/>
                 <constraint firstItem="nVv-kt-5Om" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="g0U-Pm-tiW"/>
-                <constraint firstItem="NzD-oC-pVR" firstAttribute="top" secondItem="nVv-kt-5Om" secondAttribute="bottom" constant="10" id="m3F-P1-AkY"/>
+                <constraint firstItem="NzD-oC-pVR" firstAttribute="top" secondItem="4nu-s5-kQp" secondAttribute="bottom" constant="10" id="y9k-3T-La5"/>
             </constraints>
             <point key="canvasLocation" x="113.84615384615384" y="0.0"/>
         </view>