工单照片按钮放大一点,.gitignore修改
This commit is contained in:
61
.gitignore
vendored
Normal file
61
.gitignore
vendored
Normal file
@@ -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/
|
||||||
Binary file not shown.
@@ -138,8 +138,6 @@ extension AdditionalPhotoController : UICollectionViewDelegate, UICollectionView
|
|||||||
}
|
}
|
||||||
|
|
||||||
public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
|
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
|
let cell = self.collectionView(collectionView, cellForItemAt: indexPath) as? AdditionalPhotoCell
|
||||||
if let image = cell?.uploadImageView.image {
|
if let image = cell?.uploadImageView.image {
|
||||||
let vc = ZLImagePreviewController.init(datas: [image as Any],showSelectBtn: false,showBottomView: false)
|
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
|
takePhotoButton.snp.makeConstraints { make in
|
||||||
make.centerX.centerY.equalToSuperview()
|
make.centerX.centerY.equalToSuperview()
|
||||||
|
make.height.width.equalTo(auto(40))
|
||||||
}
|
}
|
||||||
|
|
||||||
uploadImageView.snp.makeConstraints { make in
|
uploadImageView.snp.makeConstraints { make in
|
||||||
|
|||||||
Reference in New Issue
Block a user