From 38f768d39ba27d303147c59a222655b7c6cdfb25 Mon Sep 17 00:00:00 2001 From: younger_times <841720330@qq.com> Date: 星期二, 04 七月 2023 14:45:02 +0800 Subject: [PATCH] 修改BUG --- OKProject/Class/LeftMenu/View/AuthRecordView.xib | 46 ++++++++++++++++++++++++---------------------- 1 files changed, 24 insertions(+), 22 deletions(-) diff --git a/OKProject/Class/LeftMenu/View/AuthRecordView.xib b/OKProject/Class/LeftMenu/View/AuthRecordView.xib index c6de030..c5680f0 100644 --- a/OKProject/Class/LeftMenu/View/AuthRecordView.xib +++ b/OKProject/Class/LeftMenu/View/AuthRecordView.xib @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <device id="retina6_12" orientation="portrait" appearance="light"/> <dependencies> <deployment identifier="iOS"/> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/> <capability name="Named colors" 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"/> @@ -16,28 +16,19 @@ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kTB-dH-ACo"> - <rect key="frame" x="37" y="250.99999999999997" width="319" height="350.33333333333326"/> + <rect key="frame" x="37" y="187" width="319" height="478"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="“宽窄优行”需要使用车内录音权限" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hj6-P8-bgK"> <rect key="frame" x="52.666666666666671" y="36" width="213.66666666666663" height="17"/> + <constraints> + <constraint firstAttribute="height" constant="17" id="nhU-UU-4Dp"/> + </constraints> <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/> <nil key="textColor"/> <nil key="highlightedColor"/> </label> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YNJ-p2-Epb"> - <rect key="frame" x="16" y="76.000000000000014" width="287" height="179.33333333333337"/> - <string key="text">若您选择开启车内录音: -.开启后下一订单即生效 -.为保障您的出行安全,建议您全程开启车内录音 -若您选择关闭车内录音: -.关闭后立即生效 -.关闭车内录音提示:由于录制设备不同,录音、录像功能需单独设置。若您想关闭车内录像功能,请前往“我的-设置-车内录音设置”进行关闭</string> - <fontDescription key="fontDescription" type="system" pointSize="15"/> - <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <nil key="highlightedColor"/> - </label> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="i1L-Gm-C6V"> - <rect key="frame" x="16" y="285.33333333333337" width="139.66666666666666" height="40"/> + <rect key="frame" x="16" y="413" width="139.66666666666666" height="40"/> <color key="backgroundColor" red="0.94117647059999998" green="0.94117647059999998" blue="0.96470588239999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="40" id="dw7-cj-Dbw"/> @@ -58,7 +49,7 @@ </connections> </button> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qy1-em-2b7"> - <rect key="frame" x="163.66666666666663" y="286.33333333333337" width="139.33333333333337" height="40"/> + <rect key="frame" x="163.66666666666663" y="414" width="139.33333333333337" height="40"/> <color key="backgroundColor" name="Color"/> <constraints> <constraint firstAttribute="height" constant="40" id="Hkw-40-3vb"/> @@ -76,21 +67,32 @@ <action selector="settingAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="bFf-n2-tQd"/> </connections> </button> + <wkWebView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bfF-B3-wNj"> + <rect key="frame" x="5" y="58" width="309" height="350"/> + <color key="backgroundColor" red="0.36078431370000003" green="0.38823529410000002" blue="0.4039215686" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <constraints> + <constraint firstAttribute="height" constant="350" id="rFm-ki-NZd"/> + </constraints> + <wkWebViewConfiguration key="configuration"> + <audiovisualMediaTypes key="mediaTypesRequiringUserActionForPlayback" none="YES"/> + <wkPreferences key="preferences"/> + </wkWebViewConfiguration> + </wkWebView> </subviews> <color key="backgroundColor" systemColor="systemBackgroundColor"/> <constraints> + <constraint firstItem="bfF-B3-wNj" firstAttribute="leading" secondItem="kTB-dH-ACo" secondAttribute="leading" constant="5" id="2EB-d3-Cm3"/> <constraint firstAttribute="trailing" secondItem="qy1-em-2b7" secondAttribute="trailing" constant="16" id="6xt-qN-sAb"/> <constraint firstItem="hj6-P8-bgK" firstAttribute="centerX" secondItem="kTB-dH-ACo" secondAttribute="centerX" id="6zT-LX-U7D"/> <constraint firstItem="i1L-Gm-C6V" firstAttribute="leading" secondItem="kTB-dH-ACo" secondAttribute="leading" constant="16" id="7Fn-bh-DFW"/> <constraint firstItem="qy1-em-2b7" firstAttribute="width" secondItem="i1L-Gm-C6V" secondAttribute="width" id="GGM-kQ-OJl"/> + <constraint firstAttribute="trailing" secondItem="bfF-B3-wNj" secondAttribute="trailing" constant="5" id="Nst-Bg-H1O"/> <constraint firstAttribute="bottom" secondItem="i1L-Gm-C6V" secondAttribute="bottom" constant="25" id="agz-y1-jm6"/> - <constraint firstAttribute="trailing" secondItem="YNJ-p2-Epb" secondAttribute="trailing" constant="16" id="ebd-M5-bGX"/> + <constraint firstItem="i1L-Gm-C6V" firstAttribute="top" secondItem="bfF-B3-wNj" secondAttribute="bottom" constant="5" id="l7t-qN-MFB"/> <constraint firstItem="hj6-P8-bgK" firstAttribute="top" secondItem="kTB-dH-ACo" secondAttribute="top" constant="36" id="mHl-M3-UQx"/> <constraint firstAttribute="bottom" secondItem="qy1-em-2b7" secondAttribute="bottom" constant="24" id="nSu-BV-cOE"/> <constraint firstItem="qy1-em-2b7" firstAttribute="leading" secondItem="i1L-Gm-C6V" secondAttribute="trailing" constant="8" id="owF-dV-yCQ"/> - <constraint firstItem="i1L-Gm-C6V" firstAttribute="top" secondItem="YNJ-p2-Epb" secondAttribute="bottom" constant="30" id="vxR-k4-Oym"/> - <constraint firstItem="YNJ-p2-Epb" firstAttribute="leading" secondItem="kTB-dH-ACo" secondAttribute="leading" constant="16" id="wY1-IO-EXV"/> - <constraint firstItem="YNJ-p2-Epb" firstAttribute="top" secondItem="hj6-P8-bgK" secondAttribute="bottom" constant="23" id="zR9-X1-3GC"/> + <constraint firstItem="bfF-B3-wNj" firstAttribute="top" secondItem="hj6-P8-bgK" secondAttribute="bottom" constant="5" id="x0l-0E-t5a"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="boolean" keyPath="maskToBounds" value="YES"/> @@ -108,8 +110,8 @@ <constraint firstItem="kTB-dH-ACo" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="jiE-Qx-lvO"/> </constraints> <connections> - <outlet property="label_content" destination="YNJ-p2-Epb" id="b6I-i3-TT8"/> <outlet property="view_container" destination="kTB-dH-ACo" id="Oqq-2l-N0Q"/> + <outlet property="webView" destination="bfF-B3-wNj" id="ka8-bZ-Hxc"/> </connections> <point key="canvasLocation" x="37" y="21"/> </view> -- Gitblit v1.7.1