Steven 2 anos atrás
pai
commit
a014839a9a

BIN
KulexiuForTeacher/KulexiuForTeacher.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate


+ 28 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineEmptyGroupCell.xib

@@ -37,9 +37,37 @@
                                 <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                                 <nil key="highlightedColor"/>
                             </label>
+                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hW3-sg-2p0">
+                                <rect key="frame" x="107.5" y="145" width="77" height="30"/>
+                                <constraints>
+                                    <constraint firstAttribute="width" constant="77" id="9Fw-qD-zd9"/>
+                                    <constraint firstAttribute="height" constant="30" id="qOc-3c-4lD"/>
+                                </constraints>
+                                <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                <state key="normal" title="去创建">
+                                    <color key="titleColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
+                                </state>
+                                <userDefinedRuntimeAttributes>
+                                    <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
+                                        <color key="value" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
+                                    </userDefinedRuntimeAttribute>
+                                    <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
+                                        <real key="value" value="1"/>
+                                    </userDefinedRuntimeAttribute>
+                                    <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                        <real key="value" value="15"/>
+                                    </userDefinedRuntimeAttribute>
+                                </userDefinedRuntimeAttributes>
+                                <connections>
+                                    <action selector="createGroup:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Rz3-Bo-pQH"/>
+                                </connections>
+                            </button>
                         </subviews>
                         <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                         <constraints>
+                            <constraint firstItem="hW3-sg-2p0" firstAttribute="top" secondItem="UYe-Lq-Uwc" secondAttribute="bottom" constant="10" id="9de-5W-fPK"/>
+                            <constraint firstItem="hW3-sg-2p0" firstAttribute="centerX" secondItem="1bZ-yk-gVU" secondAttribute="centerX" id="J9s-EL-a6d"/>
                             <constraint firstItem="UYe-Lq-Uwc" firstAttribute="centerX" secondItem="97a-Jr-ifI" secondAttribute="centerX" id="LnH-Ex-051"/>
                             <constraint firstItem="97a-Jr-ifI" firstAttribute="centerX" secondItem="1bZ-yk-gVU" secondAttribute="centerX" id="Mz0-ak-m9t"/>
                             <constraint firstItem="UYe-Lq-Uwc" firstAttribute="top" secondItem="97a-Jr-ifI" secondAttribute="bottom" constant="1" id="NVN-Nz-bvg"/>

+ 32 - 5
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineEmptyIntroduceCell.xib

@@ -14,11 +14,11 @@
         <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="259" id="KGk-i7-Jjw" customClass="MineEmptyIntroduceCell">
             <rect key="frame" x="0.0" y="0.0" width="407" height="259"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
+            <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="407" height="259"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
-                    <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="L1e-7I-RtY">
+                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L1e-7I-RtY">
                         <rect key="frame" x="14" y="0.0" width="379" height="247"/>
                         <subviews>
                             <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="个人介绍" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hc9-f8-TsP">
@@ -40,8 +40,8 @@
                                             <constraint firstAttribute="width" constant="160" id="4tQ-nv-mny"/>
                                         </constraints>
                                     </imageView>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="还没有内容,请「编辑」" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kgL-9X-h43">
-                                        <rect key="frame" x="116.5" y="117" width="146" height="18"/>
+                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="暂无介绍内容~" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kgL-9X-h43">
+                                        <rect key="frame" x="143" y="117" width="93" height="18"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="18" id="lds-X2-xGx"/>
                                         </constraints>
@@ -49,13 +49,41 @@
                                         <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                                         <nil key="highlightedColor"/>
                                     </label>
+                                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hfW-Ka-qM0">
+                                        <rect key="frame" x="151" y="145" width="77" height="30"/>
+                                        <constraints>
+                                            <constraint firstAttribute="height" constant="30" id="Z2z-oE-sna"/>
+                                            <constraint firstAttribute="width" constant="77" id="bmw-g7-poM"/>
+                                        </constraints>
+                                        <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                        <state key="normal" title="去填写">
+                                            <color key="titleColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
+                                        </state>
+                                        <userDefinedRuntimeAttributes>
+                                            <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
+                                                <color key="value" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
+                                            </userDefinedRuntimeAttribute>
+                                            <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
+                                                <real key="value" value="1"/>
+                                            </userDefinedRuntimeAttribute>
+                                            <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                                <real key="value" value="15"/>
+                                            </userDefinedRuntimeAttribute>
+                                        </userDefinedRuntimeAttributes>
+                                        <connections>
+                                            <action selector="createIntroduce:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="ZIq-1x-U3M"/>
+                                        </connections>
+                                    </button>
                                 </subviews>
                                 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                                 <constraints>
                                     <constraint firstItem="o7d-3q-pGP" firstAttribute="centerX" secondItem="vhk-Je-Vgt" secondAttribute="centerX" id="Eb0-a2-VRM"/>
                                     <constraint firstItem="kgL-9X-h43" firstAttribute="top" secondItem="o7d-3q-pGP" secondAttribute="bottom" constant="1" id="KEY-0A-v7X"/>
+                                    <constraint firstItem="hfW-Ka-qM0" firstAttribute="top" secondItem="kgL-9X-h43" secondAttribute="bottom" constant="10" id="NTl-yI-AHZ"/>
                                     <constraint firstItem="o7d-3q-pGP" firstAttribute="top" secondItem="vhk-Je-Vgt" secondAttribute="top" id="Pbk-gH-NMT"/>
                                     <constraint firstAttribute="height" constant="196" id="ZpP-MT-6ql"/>
+                                    <constraint firstItem="hfW-Ka-qM0" firstAttribute="centerX" secondItem="vhk-Je-Vgt" secondAttribute="centerX" id="aWt-Qt-Cmw"/>
                                     <constraint firstItem="kgL-9X-h43" firstAttribute="centerX" secondItem="o7d-3q-pGP" secondAttribute="centerX" id="l8U-F0-zsE"/>
                                 </constraints>
                             </view>
@@ -67,7 +95,6 @@
                             <constraint firstItem="Hc9-f8-TsP" firstAttribute="top" secondItem="L1e-7I-RtY" secondAttribute="top" constant="11" id="MOE-35-bmy"/>
                             <constraint firstAttribute="trailing" secondItem="vhk-Je-Vgt" secondAttribute="trailing" id="R5w-xc-env"/>
                             <constraint firstItem="Hc9-f8-TsP" firstAttribute="leading" secondItem="L1e-7I-RtY" secondAttribute="leading" constant="14" id="fPp-R6-6ik"/>
-                            <constraint firstAttribute="bottom" secondItem="vhk-Je-Vgt" secondAttribute="bottom" id="feF-LI-f4g"/>
                         </constraints>
                         <userDefinedRuntimeAttributes>
                             <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">

+ 30 - 2
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/MineEmptyVideoCell.xib

@@ -40,8 +40,8 @@
                                             <constraint firstAttribute="width" constant="160" id="bXk-eq-IA7"/>
                                         </constraints>
                                     </imageView>
-                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="还没有内容,请「编辑」" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uOg-DN-oGu">
-                                        <rect key="frame" x="107" y="117" width="146" height="18"/>
+                                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="暂无风采视频~" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uOg-DN-oGu">
+                                        <rect key="frame" x="133.5" y="117" width="93" height="18"/>
                                         <constraints>
                                             <constraint firstAttribute="height" constant="18" id="wRu-lv-I3K"/>
                                         </constraints>
@@ -49,13 +49,41 @@
                                         <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                                         <nil key="highlightedColor"/>
                                     </label>
+                                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fc1-Oe-in7">
+                                        <rect key="frame" x="141.5" y="145" width="77" height="30"/>
+                                        <constraints>
+                                            <constraint firstAttribute="width" constant="77" id="Dtg-Tm-ZfA"/>
+                                            <constraint firstAttribute="height" constant="30" id="Kqd-eU-sE1"/>
+                                        </constraints>
+                                        <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
+                                        <state key="normal" title="去上传">
+                                            <color key="titleColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
+                                        </state>
+                                        <userDefinedRuntimeAttributes>
+                                            <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
+                                                <color key="value" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
+                                            </userDefinedRuntimeAttribute>
+                                            <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
+                                                <real key="value" value="1"/>
+                                            </userDefinedRuntimeAttribute>
+                                            <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
+                                                <real key="value" value="15"/>
+                                            </userDefinedRuntimeAttribute>
+                                        </userDefinedRuntimeAttributes>
+                                        <connections>
+                                            <action selector="createVideo:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="5ks-qR-BE4"/>
+                                        </connections>
+                                    </button>
                                 </subviews>
                                 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="196" id="T3m-bo-5Ez"/>
                                     <constraint firstItem="Cpl-4H-Dz0" firstAttribute="centerX" secondItem="qhn-d3-Yl0" secondAttribute="centerX" id="Tic-8M-llM"/>
                                     <constraint firstItem="Cpl-4H-Dz0" firstAttribute="top" secondItem="qhn-d3-Yl0" secondAttribute="top" id="hNc-ko-hdh"/>
+                                    <constraint firstItem="fc1-Oe-in7" firstAttribute="top" secondItem="uOg-DN-oGu" secondAttribute="bottom" constant="10" id="nJF-rZ-A70"/>
                                     <constraint firstItem="uOg-DN-oGu" firstAttribute="centerX" secondItem="Cpl-4H-Dz0" secondAttribute="centerX" id="nl0-Ge-Gz2"/>
+                                    <constraint firstItem="fc1-Oe-in7" firstAttribute="centerX" secondItem="qhn-d3-Yl0" secondAttribute="centerX" id="srS-15-27v"/>
                                     <constraint firstItem="uOg-DN-oGu" firstAttribute="top" secondItem="Cpl-4H-Dz0" secondAttribute="bottom" constant="1" id="tVd-SR-cCx"/>
                                 </constraints>
                             </view>