Преглед изворни кода

feat:默认图,修改了详情页间距

kailen пре 2 месеци
родитељ
комит
869bccaea1

+ 1 - 1
Podfile

@@ -32,7 +32,7 @@ target 'TSLiveWallpaper' do
 end
 
 
-post_install do |installer|
+post_install do |installer|q
   installer.pods_project.targets.each do |target|
     target.build_configurations.each do |config|
       config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'

+ 2 - 5
TSLiveWallpaper/Assets.xcassets/Music/ic_default.imageset/Contents.json

@@ -5,12 +5,12 @@
       "scale" : "1x"
     },
     {
-      "filename" : "ic_default@2x.png",
+      "filename" : "ic_default@1x@2x.png",
       "idiom" : "universal",
       "scale" : "2x"
     },
     {
-      "filename" : "ic_default@3x.png",
+      "filename" : "ic_default@1x@3x.png",
       "idiom" : "universal",
       "scale" : "3x"
     }
@@ -18,8 +18,5 @@
   "info" : {
     "author" : "xcode",
     "version" : 1
-  },
-  "properties" : {
-    "template-rendering-intent" : "original"
   }
 }

BIN
TSLiveWallpaper/Assets.xcassets/Music/ic_default.imageset/ic_default@1x@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/Music/ic_default.imageset/ic_default@1x@3x.png


BIN
TSLiveWallpaper/Assets.xcassets/Music/ic_default.imageset/ic_default@2x.png


BIN
TSLiveWallpaper/Assets.xcassets/Music/ic_default.imageset/ic_default@3x.png


+ 1 - 1
TSLiveWallpaper/Business/TSMusic/Detail/Controller/PlayDetailViewController.swift

@@ -385,7 +385,7 @@ class PlayDetailViewController: LWBGViewController {
 
         controlView.snp.makeConstraints { make in
             make.leading.trailing.bottom.equalToSuperview()
-            make.bottom.equalTo(view.safeAreaLayoutGuide.snp.bottom)
+            make.bottom.equalTo(view.safeAreaLayoutGuide.snp.bottom).offset(-40)
         }
     }
 }