1.0发布修改
@ -93,17 +93,18 @@ class SPHomeViewController: SPHomeChildController {
|
|||||||
extension SPHomeViewController {
|
extension SPHomeViewController {
|
||||||
|
|
||||||
private func _setupUI() {
|
private func _setupUI() {
|
||||||
view.addSubview(logoImageView)
|
// view.addSubview(logoImageView)
|
||||||
view.addSubview(searchButton)
|
view.addSubview(searchButton)
|
||||||
view.addSubview(self.collectionView)
|
view.addSubview(self.collectionView)
|
||||||
|
|
||||||
logoImageView.snp.makeConstraints { make in
|
// logoImageView.snp.makeConstraints { make in
|
||||||
make.left.equalToSuperview().offset(16)
|
// make.left.equalToSuperview().offset(16)
|
||||||
make.centerY.equalTo(searchButton)
|
// make.centerY.equalTo(searchButton)
|
||||||
}
|
// }
|
||||||
|
|
||||||
searchButton.snp.makeConstraints { make in
|
searchButton.snp.makeConstraints { make in
|
||||||
make.left.equalTo(logoImageView.snp.right).offset(6)
|
// make.left.equalTo(logoImageView.snp.right).offset(6)
|
||||||
|
make.left.equalToSuperview().offset(16)
|
||||||
make.right.equalToSuperview().offset(-16)
|
make.right.equalToSuperview().offset(-16)
|
||||||
make.top.equalToSuperview().offset(kSPStatusbarHeight + 10)
|
make.top.equalToSuperview().offset(kSPStatusbarHeight + 10)
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 270 KiB |
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"images" : [
|
"images" : [
|
||||||
{
|
{
|
||||||
"filename" : "APP图标 (1).jpg",
|
"filename" : "LOGO(MoviaBox).jpg",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"platform" : "ios",
|
"platform" : "ios",
|
||||||
"size" : "1024x1024"
|
"size" : "1024x1024"
|
||||||
|
After Width: | Height: | Size: 140 KiB |
@ -5,12 +5,12 @@
|
|||||||
"scale" : "1x"
|
"scale" : "1x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "Frame 1@2x.png",
|
"filename" : "启动页(MoviaBox 1.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "Frame 1@3x.png",
|
"filename" : "启动页(MoviaBox.png",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 582 KiB |
Before Width: | Height: | Size: 1.1 MiB |
BIN
MoviaBox/Source/Assets.xcassets/LaunchScreen/launch_screen_bg_image.imageset/启动页(MoviaBox 1.png
vendored
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
MoviaBox/Source/Assets.xcassets/LaunchScreen/launch_screen_bg_image.imageset/启动页(MoviaBox.png
vendored
Normal file
After Width: | Height: | Size: 2.3 MiB |
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 3@2x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 3@3x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "3x"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"author" : "xcode",
|
|
||||||
"version" : 1
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 46 KiB |
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 2@2x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 2@3x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "3x"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"author" : "xcode",
|
|
||||||
"version" : 1
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 112 KiB |
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 4@2x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 4@3x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "3x"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"author" : "xcode",
|
|
||||||
"version" : 1
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 9.3 KiB |
@ -5,7 +5,7 @@
|
|||||||
"scale" : "1x"
|
"scale" : "1x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "APP图标 (1).jpg",
|
"filename" : "LOGO(MoviaBox).jpg",
|
||||||
"idiom" : "universal",
|
"idiom" : "universal",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
|
BIN
MoviaBox/Source/Assets.xcassets/icon/about_us_logo_icon.imageset/LOGO(MoviaBox).jpg
vendored
Normal file
After Width: | Height: | Size: 6.8 KiB |
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"images" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "1x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 155@2x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename" : "Frame 155@3x.png",
|
|
||||||
"idiom" : "universal",
|
|
||||||
"scale" : "3x"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"info" : {
|
|
||||||
"author" : "xcode",
|
|
||||||
"version" : 1
|
|
||||||
}
|
|
||||||
}
|
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB |
@ -20,29 +20,14 @@
|
|||||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch_screen_bg_image" translatesAutoresizingMaskIntoConstraints="NO" id="uTG-8k-wrO">
|
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch_screen_bg_image" translatesAutoresizingMaskIntoConstraints="NO" id="uTG-8k-wrO">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="401" height="852"/>
|
<rect key="frame" x="0.0" y="0.0" width="401" height="852"/>
|
||||||
</imageView>
|
</imageView>
|
||||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch_screen_logo_01" translatesAutoresizingMaskIntoConstraints="NO" id="gda-Oq-H2U">
|
|
||||||
<rect key="frame" x="148" y="297.66666666666669" width="97" height="97"/>
|
|
||||||
</imageView>
|
|
||||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch_screen_logo_02" translatesAutoresizingMaskIntoConstraints="NO" id="JKU-rM-4Wr">
|
|
||||||
<rect key="frame" x="128" y="412.66666666666669" width="137" height="115.00000000000006"/>
|
|
||||||
</imageView>
|
|
||||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="launch_screen_logo_03" translatesAutoresizingMaskIntoConstraints="NO" id="kdp-DS-CSB">
|
|
||||||
<rect key="frame" x="160" y="742" width="73" height="16"/>
|
|
||||||
</imageView>
|
|
||||||
</subviews>
|
</subviews>
|
||||||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
||||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstItem="uTG-8k-wrO" firstAttribute="left" secondItem="6Tk-OE-BBY" secondAttribute="left" id="4ng-mZ-sZs"/>
|
<constraint firstItem="uTG-8k-wrO" firstAttribute="left" secondItem="6Tk-OE-BBY" secondAttribute="left" id="4ng-mZ-sZs"/>
|
||||||
<constraint firstItem="gda-Oq-H2U" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" constant="-80" id="9Es-tU-mgS"/>
|
|
||||||
<constraint firstAttribute="right" secondItem="uTG-8k-wrO" secondAttribute="rightMargin" id="CfK-Qy-Jfk"/>
|
<constraint firstAttribute="right" secondItem="uTG-8k-wrO" secondAttribute="rightMargin" id="CfK-Qy-Jfk"/>
|
||||||
<constraint firstItem="kdp-DS-CSB" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="HFP-0p-Z4l"/>
|
|
||||||
<constraint firstItem="uTG-8k-wrO" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="P8y-9M-bIf"/>
|
<constraint firstItem="uTG-8k-wrO" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="P8y-9M-bIf"/>
|
||||||
<constraint firstItem="gda-Oq-H2U" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="QnF-bf-aeZ"/>
|
|
||||||
<constraint firstItem="JKU-rM-4Wr" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="TEI-ky-Z9B"/>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="uTG-8k-wrO" secondAttribute="bottom" id="Yhw-eG-r2Q"/>
|
<constraint firstAttribute="bottom" secondItem="uTG-8k-wrO" secondAttribute="bottom" id="Yhw-eG-r2Q"/>
|
||||||
<constraint firstItem="6Tk-OE-BBY" firstAttribute="bottom" secondItem="kdp-DS-CSB" secondAttribute="bottom" constant="60" id="hvq-9f-FQX"/>
|
|
||||||
<constraint firstItem="JKU-rM-4Wr" firstAttribute="top" secondItem="gda-Oq-H2U" secondAttribute="bottom" constant="18" id="jTB-Dj-RBg"/>
|
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
</viewController>
|
</viewController>
|
||||||
@ -53,9 +38,6 @@
|
|||||||
</scenes>
|
</scenes>
|
||||||
<resources>
|
<resources>
|
||||||
<image name="launch_screen_bg_image" width="375" height="812"/>
|
<image name="launch_screen_bg_image" width="375" height="812"/>
|
||||||
<image name="launch_screen_logo_01" width="97" height="97"/>
|
|
||||||
<image name="launch_screen_logo_02" width="137" height="115"/>
|
|
||||||
<image name="launch_screen_logo_03" width="73" height="16"/>
|
|
||||||
<systemColor name="systemBackgroundColor">
|
<systemColor name="systemBackgroundColor">
|
||||||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||||
</systemColor>
|
</systemColor>
|
||||||
|