diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index c6f24c5..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee2132c --- /dev/null +++ b/.gitignore @@ -0,0 +1,61 @@ +# Xcode +build/ +DerivedData/ +.DS_Store +*.xcworkspace +!default.xcworkspace + +# iOS 编译产物 +*.xcuserstate +*.xcuserdata/ +*.xcuserdatad/ +*.moved-aside +*.ipa +*.dSYM.zip +*.dSYM + +# Cocoapods +Pods/ +Podfile.lock~ + +# Carthage +Carthage/ + +# Swift Package Manager +.swiftpm/ +Package.resolved +.build/ + +# fastlane +fastlane/report.xml +fastlane/screenshots +fastlane/test_output + +# Firebase crashlytics +*.symbols.zip + +# 用户设置 +*.xcuserdatad +*.orig + +# Archives +*.xcarchive + +# 敏感配置(请自行决定) +*.env + +# OS & IDE 文件 +.DS_Store +.idea/ +*.swp +*.lock +*.tmp +*.bak +*.log + +# Git LFS pointer files if used improperly +*.lfs + +# 单元测试快照(可选) +# ReferenceImages/ +# FailedTestImages/ \ No newline at end of file diff --git a/OrderScheduling.xcworkspace/xcuserdata/zd.xcuserdatad/UserInterfaceState.xcuserstate b/OrderScheduling.xcworkspace/xcuserdata/zd.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index c9d810b..0000000 Binary files a/OrderScheduling.xcworkspace/xcuserdata/zd.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift b/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift index f2820e5..3409ec3 100644 --- a/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift +++ b/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift @@ -138,8 +138,6 @@ extension AdditionalPhotoController : UICollectionViewDelegate, UICollectionView } public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { - let sectionModel = resultArr[indexPath.section] - let itemModel = sectionModel.photoList[indexPath.item] let cell = self.collectionView(collectionView, cellForItemAt: indexPath) as? AdditionalPhotoCell if let image = cell?.uploadImageView.image { let vc = ZLImagePreviewController.init(datas: [image as Any],showSelectBtn: false,showBottomView: false) @@ -293,6 +291,7 @@ open class AdditionalPhotoCell : DDCollectionViewCell { takePhotoButton.snp.makeConstraints { make in make.centerX.centerY.equalToSuperview() + make.height.width.equalTo(auto(40)) } uploadImageView.snp.makeConstraints { make in