From 3e4be5ed4d2c0395dd60e392baf86c59762059b1 Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期五, 30 六月 2023 10:14:50 +0800 Subject: [PATCH] feature 猫眼全屏布局调整 && UI细节适配 --- EZDemo/HDLEZDemo/HDLEZDemo/EZMain.storyboard | 40 +++++++++++++++++++++++++++------------- 1 files changed, 27 insertions(+), 13 deletions(-) diff --git a/EZDemo/HDLEZDemo/HDLEZDemo/EZMain.storyboard b/EZDemo/HDLEZDemo/HDLEZDemo/EZMain.storyboard index 3d04739..d813fa0 100644 --- a/EZDemo/HDLEZDemo/HDLEZDemo/EZMain.storyboard +++ b/EZDemo/HDLEZDemo/HDLEZDemo/EZMain.storyboard @@ -941,6 +941,12 @@ <constraint firstAttribute="height" constant="37" id="dpN-py-vBv"/> </constraints> <fontDescription key="fontDescription" type="system" pointSize="14"/> + <state key="normal"> + <color key="titleColor" red="0.61960784310000006" green="0.62352941179999999" blue="0.62352941179999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + </state> + <state key="highlighted"> + <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> + </state> </button> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="lTh-qe-8pV"> <rect key="frame" x="300" y="0.0" width="75" height="37"/> @@ -960,7 +966,10 @@ </constraints> <fontDescription key="fontDescription" type="system" pointSize="14"/> <state key="normal" title="楂樻竻"> - <color key="titleColor" red="0.70588235294117641" green="0.70588235294117641" blue="0.70588235294117641" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <color key="titleColor" red="0.61960784310000006" green="0.62352941179999999" blue="0.62352941179999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + </state> + <state key="highlighted"> + <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </state> <connections> <action selector="qualityButtonClicked:" destination="uBF-Yq-Qo0" eventType="touchUpInside" id="Hze-u0-cgn"/> @@ -1249,7 +1258,7 @@ </constraints> </view> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nkn-oC-NfP"> - <rect key="frame" x="0.0" y="64" width="40" height="40"/> + <rect key="frame" x="17.5" y="64" width="40" height="40"/> <constraints> <constraint firstAttribute="height" constant="40" id="WQV-Fb-Hpn"/> <constraint firstAttribute="width" constant="40" id="rqc-sI-jaX"/> @@ -1361,10 +1370,10 @@ <constraint firstItem="Yrc-c9-rvb" firstAttribute="top" secondItem="heE-pR-PSR" secondAttribute="bottom" constant="10" id="0Cf-Q8-Mwq"/> <constraint firstAttribute="trailing" secondItem="YwB-6z-DKL" secondAttribute="trailing" id="0oZ-sb-kgM"/> <constraint firstItem="YwB-6z-DKL" firstAttribute="leading" secondItem="PYB-vu-Xcw" secondAttribute="leading" id="135-mO-STg"/> + <constraint firstItem="dTs-1h-o4p" firstAttribute="centerX" secondItem="JEB-Q6-XNh" secondAttribute="centerX" id="16Z-Vr-x9e"/> <constraint firstItem="7Gq-77-ypg" firstAttribute="top" secondItem="NRj-hs-uOI" secondAttribute="bottom" priority="751" constant="37" id="4Dh-L5-Wxp"/> <constraint firstItem="YwB-6z-DKL" firstAttribute="centerX" secondItem="PYB-vu-Xcw" secondAttribute="centerX" id="58C-Bi-adb"/> <constraint firstItem="3qm-Zv-a7S" firstAttribute="top" secondItem="sMv-Yh-W5N" secondAttribute="bottom" id="5fc-VK-Tfj"/> - <constraint firstItem="dTs-1h-o4p" firstAttribute="centerX" secondItem="PYB-vu-Xcw" secondAttribute="centerX" id="7Nq-GR-ypc"/> <constraint firstItem="NRj-hs-uOI" firstAttribute="trailing" secondItem="1FE-Su-4U4" secondAttribute="trailing" id="9po-jh-PJt"/> <constraint firstAttribute="trailing" secondItem="NRj-hs-uOI" secondAttribute="trailing" id="G3Q-MC-BpN"/> <constraint firstItem="2bL-GF-xWw" firstAttribute="top" secondItem="heE-pR-PSR" secondAttribute="bottom" id="JNG-uc-9XA"/> @@ -1374,7 +1383,6 @@ <constraint firstItem="NRj-hs-uOI" firstAttribute="centerY" secondItem="yYv-tJ-QCV" secondAttribute="centerY" id="TGA-a5-AUm"/> <constraint firstItem="nkn-oC-NfP" firstAttribute="top" secondItem="heE-pR-PSR" secondAttribute="bottom" id="Tn0-Se-wHE"/> <constraint firstItem="sMv-Yh-W5N" firstAttribute="top" secondItem="7Gq-77-ypg" secondAttribute="top" id="TvP-3j-NV3"/> - <constraint firstItem="nkn-oC-NfP" firstAttribute="leading" secondItem="PYB-vu-Xcw" secondAttribute="leading" id="YSp-TA-bZd"/> <constraint firstItem="yYv-tJ-QCV" firstAttribute="centerX" secondItem="YwB-6z-DKL" secondAttribute="centerX" id="Yt6-5R-nAw"/> <constraint firstItem="1FE-Su-4U4" firstAttribute="top" secondItem="NRj-hs-uOI" secondAttribute="bottom" id="aO9-KQ-MPh"/> <constraint firstItem="2bL-GF-xWw" firstAttribute="leading" secondItem="PYB-vu-Xcw" secondAttribute="leading" id="adY-eM-6Nb"/> @@ -1387,6 +1395,7 @@ <constraint firstItem="7Gq-77-ypg" firstAttribute="leading" secondItem="PYB-vu-Xcw" secondAttribute="leading" id="nIY-1B-8KJ"/> <constraint firstItem="NRj-hs-uOI" firstAttribute="leading" secondItem="PYB-vu-Xcw" secondAttribute="leading" id="opo-g8-z05"/> <constraint firstAttribute="trailing" secondItem="7Gq-77-ypg" secondAttribute="trailing" id="pjs-uX-99u"/> + <constraint firstItem="nkn-oC-NfP" firstAttribute="centerX" secondItem="xSp-4i-Jwh" secondAttribute="centerX" id="qFB-6I-bhK"/> <constraint firstAttribute="trailing" secondItem="2bL-GF-xWw" secondAttribute="trailing" id="sJ1-Mt-Ys4"/> <constraint firstItem="gFl-PI-CLn" firstAttribute="top" secondItem="heE-pR-PSR" secondAttribute="bottom" id="sJh-Px-GtM"/> <constraint firstAttribute="trailing" secondItem="gFl-PI-CLn" secondAttribute="trailing" id="vZX-0k-C1e"/> @@ -1405,11 +1414,13 @@ <outlet property="cloudTip" destination="wXb-RI-dLd" id="bCu-fP-8IF"/> <outlet property="controlButton" destination="fUI-tR-jyG" id="uqI-1T-h8V"/> <outlet property="currentHDStatus" destination="oNR-gT-NPm" id="STe-rh-VhG"/> + <outlet property="emptyBtnLeftMargin" destination="ea4-ei-JXX" id="aQh-Jb-qGX"/> <outlet property="emptyButton" destination="MqM-GF-jSr" id="jD7-hz-yfd"/> <outlet property="hangUpButton" destination="jPI-nC-uAq" id="WAF-xK-pJI"/> <outlet property="highButton" destination="skK-Ar-y6h" id="jbk-j5-fCX"/> <outlet property="ignoreButton" destination="aq5-rn-Dgo" id="0J6-cC-KP5"/> <outlet property="largeBackButton" destination="nkn-oC-NfP" id="kwo-DU-hgk"/> + <outlet property="largeBtnRightMargin" destination="aid-gD-fi2" id="2eQ-2e-83s"/> <outlet property="largeButton" destination="lTh-qe-8pV" id="feK-gX-fjt"/> <outlet property="largeTitleLabel" destination="2bL-GF-xWw" id="mev-Ko-lDT"/> <outlet property="localRecordButton" destination="xQS-rQ-Xez" id="Z0M-JE-cTx"/> @@ -1418,6 +1429,7 @@ <outlet property="lowButton" destination="UlQ-aK-1VP" id="ISE-DJ-W5I"/> <outlet property="messageLabel" destination="YwB-6z-DKL" id="196-Ds-Vl6"/> <outlet property="middleButton" destination="WSh-Ao-McO" id="vty-N8-cDz"/> + <outlet property="playBtnLeftMargin" destination="qZZ-Fc-8jt" id="Fyj-20-v8W"/> <outlet property="playButton" destination="xSp-4i-Jwh" id="DUU-ap-reQ"/> <outlet property="playerPlayButton" destination="yYv-tJ-QCV" id="EIB-lc-14l"/> <outlet property="playerView" destination="1Xz-5f-ZJx" id="tYS-5X-mCe"/> @@ -1571,6 +1583,7 @@ <constraint firstAttribute="width" constant="60" id="mZh-Ks-yHR"/> </constraints> <state key="normal" image="preview_play_btn"/> + <state key="highlighted" image="preview_play_btn_sel"/> <connections> <action selector="playButtonClicked:" destination="I6z-uV-dEU" eventType="touchUpInside" id="nzq-1I-c5F"/> </connections> @@ -1582,6 +1595,7 @@ <constraint firstAttribute="height" constant="37" id="nC8-FN-WAT"/> </constraints> <state key="normal" image="preview_voice_btn"/> + <state key="highlighted" image="preview_voice_btn_sel"/> <connections> <action selector="voiceButtonClicked:" destination="I6z-uV-dEU" eventType="touchUpInside" id="aAV-1Z-FGI"/> </connections> @@ -2581,9 +2595,9 @@ <image name="hdl_ez_cat_eyes_answer" width="68" height="68"/> <image name="hdl_ez_cat_eyes_hang_up" width="68" height="68"/> <image name="hdl_ez_cat_eyes_ignore" width="68" height="68"/> - <image name="hdl_ez_list_next" width="8" height="8"/> + <image name="hdl_ez_list_next" width="16" height="16"/> <image name="icon_download_fill" width="20" height="20"/> - <image name="large_back_btn" width="10" height="19"/> + <image name="large_back_btn" width="12" height="20"/> <image name="logo" width="210" height="94"/> <image name="message" width="39" height="39"/> <image name="no_message" width="94" height="94"/> @@ -2601,10 +2615,10 @@ <image name="preview_barrel" width="65" height="65"/> <image name="preview_barrel_dis" width="65" height="65"/> <image name="preview_barrel_sel" width="65" height="65"/> - <image name="preview_enlarge" width="37" height="37"/> - <image name="preview_enlarge_btn_sel" width="37" height="37"/> - <image name="preview_play_btn" width="37" height="37"/> - <image name="preview_play_btn_sel" width="37" height="37"/> + <image name="preview_enlarge" width="20" height="20"/> + <image name="preview_enlarge_btn_sel" width="20" height="20"/> + <image name="preview_play_btn" width="20" height="20"/> + <image name="preview_play_btn_sel" width="20" height="20"/> <image name="preview_recording" width="65" height="65"/> <image name="preview_recording_dis" width="65" height="65"/> <image name="preview_recording_sel" width="65" height="65"/> @@ -2614,9 +2628,9 @@ <image name="preview_talkback" width="65" height="65"/> <image name="preview_talkback_dis" width="65" height="65"/> <image name="preview_talkback_sel" width="65" height="65"/> - <image name="preview_unvoice_btn" width="37" height="37"/> - <image name="preview_voice_btn" width="37" height="37"/> - <image name="preview_voice_btn_sel" width="37" height="37"/> + <image name="preview_unvoice_btn" width="20" height="20"/> + <image name="preview_voice_btn" width="20" height="20"/> + <image name="preview_voice_btn_sel" width="20" height="20"/> <image name="ptz_bg" width="154" height="154"/> <image name="setup" width="39" height="39"/> <image name="spkImg" width="155" height="155"/> -- Gitblit v1.8.0