Commit aec33c11 authored by lujunye's avatar lujunye

afadfad342232rsafd

parent d059f966
...@@ -373,6 +373,8 @@ ...@@ -373,6 +373,8 @@
E0C4F4B6244EE9EE00CC7E2F /* YuShouCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0C4F4B4244EE9EE00CC7E2F /* YuShouCell.xib */; }; E0C4F4B6244EE9EE00CC7E2F /* YuShouCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0C4F4B4244EE9EE00CC7E2F /* YuShouCell.xib */; };
E0C4F4BD244EF53D00CC7E2F /* BindStepTwoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0C4F4BB244EF53D00CC7E2F /* BindStepTwoViewController.swift */; }; E0C4F4BD244EF53D00CC7E2F /* BindStepTwoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0C4F4BB244EF53D00CC7E2F /* BindStepTwoViewController.swift */; };
E0C4F4BE244EF53D00CC7E2F /* BindStepTwoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0C4F4BC244EF53D00CC7E2F /* BindStepTwoViewController.xib */; }; E0C4F4BE244EF53D00CC7E2F /* BindStepTwoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0C4F4BC244EF53D00CC7E2F /* BindStepTwoViewController.xib */; };
E0CACE8325FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CACE8125FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.swift */; };
E0CACE8425FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0CACE8225FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.xib */; };
E0CC8476248227F5009B1FE9 /* InputInitInfoModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC8475248227F5009B1FE9 /* InputInitInfoModel.swift */; }; E0CC8476248227F5009B1FE9 /* InputInitInfoModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC8475248227F5009B1FE9 /* InputInitInfoModel.swift */; };
E0CC847C24823087009B1FE9 /* GetGoodBatchModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC847B24823087009B1FE9 /* GetGoodBatchModel.swift */; }; E0CC847C24823087009B1FE9 /* GetGoodBatchModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC847B24823087009B1FE9 /* GetGoodBatchModel.swift */; };
E0CC847E24823602009B1FE9 /* WarehouseIoListModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC847D24823602009B1FE9 /* WarehouseIoListModel.swift */; }; E0CC847E24823602009B1FE9 /* WarehouseIoListModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0CC847D24823602009B1FE9 /* WarehouseIoListModel.swift */; };
...@@ -472,6 +474,8 @@ ...@@ -472,6 +474,8 @@
E0F97B102451728D001BD600 /* AddGuiGeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0F97B0E2451728D001BD600 /* AddGuiGeCell.swift */; }; E0F97B102451728D001BD600 /* AddGuiGeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0F97B0E2451728D001BD600 /* AddGuiGeCell.swift */; };
E0F97B1A2451951D001BD600 /* ShangPinGguiGeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0F97B182451951D001BD600 /* ShangPinGguiGeCell.swift */; }; E0F97B1A2451951D001BD600 /* ShangPinGguiGeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0F97B182451951D001BD600 /* ShangPinGguiGeCell.swift */; };
E0F97B1B2451951D001BD600 /* ShangPinGguiGeCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0F97B192451951D001BD600 /* ShangPinGguiGeCell.xib */; }; E0F97B1B2451951D001BD600 /* ShangPinGguiGeCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0F97B192451951D001BD600 /* ShangPinGguiGeCell.xib */; };
E0FCA97E25FEF49700B1B4D2 /* DZSH_Detail_ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0FCA97C25FEF49700B1B4D2 /* DZSH_Detail_ViewController.swift */; };
E0FCA97F25FEF49700B1B4D2 /* DZSH_Detail_ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0FCA97D25FEF49700B1B4D2 /* DZSH_Detail_ViewController.xib */; };
F9011C0E24CE6A4C00AAF4F5 /* LogisticalSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9011C0D24CE6A4C00AAF4F5 /* LogisticalSelectView.xib */; }; F9011C0E24CE6A4C00AAF4F5 /* LogisticalSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9011C0D24CE6A4C00AAF4F5 /* LogisticalSelectView.xib */; };
F9011C1024CE6FB200AAF4F5 /* LogisticalSelectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9011C0F24CE6FB200AAF4F5 /* LogisticalSelectView.swift */; }; F9011C1024CE6FB200AAF4F5 /* LogisticalSelectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9011C0F24CE6FB200AAF4F5 /* LogisticalSelectView.swift */; };
F9023F62244999F500DD5A63 /* WarehoseMangementCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9023F60244999F500DD5A63 /* WarehoseMangementCell.swift */; }; F9023F62244999F500DD5A63 /* WarehoseMangementCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9023F60244999F500DD5A63 /* WarehoseMangementCell.swift */; };
...@@ -1124,6 +1128,8 @@ ...@@ -1124,6 +1128,8 @@
E0C4F4B4244EE9EE00CC7E2F /* YuShouCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = YuShouCell.xib; sourceTree = "<group>"; }; E0C4F4B4244EE9EE00CC7E2F /* YuShouCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = YuShouCell.xib; sourceTree = "<group>"; };
E0C4F4BB244EF53D00CC7E2F /* BindStepTwoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BindStepTwoViewController.swift; sourceTree = "<group>"; }; E0C4F4BB244EF53D00CC7E2F /* BindStepTwoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BindStepTwoViewController.swift; sourceTree = "<group>"; };
E0C4F4BC244EF53D00CC7E2F /* BindStepTwoViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = BindStepTwoViewController.xib; sourceTree = "<group>"; }; E0C4F4BC244EF53D00CC7E2F /* BindStepTwoViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = BindStepTwoViewController.xib; sourceTree = "<group>"; };
E0CACE8125FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DZSH_UPLOAD_IMG_CELL.swift; sourceTree = "<group>"; };
E0CACE8225FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = DZSH_UPLOAD_IMG_CELL.xib; sourceTree = "<group>"; };
E0CC8475248227F5009B1FE9 /* InputInitInfoModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputInitInfoModel.swift; sourceTree = "<group>"; }; E0CC8475248227F5009B1FE9 /* InputInitInfoModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputInitInfoModel.swift; sourceTree = "<group>"; };
E0CC847B24823087009B1FE9 /* GetGoodBatchModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetGoodBatchModel.swift; sourceTree = "<group>"; }; E0CC847B24823087009B1FE9 /* GetGoodBatchModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetGoodBatchModel.swift; sourceTree = "<group>"; };
E0CC847D24823602009B1FE9 /* WarehouseIoListModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WarehouseIoListModel.swift; sourceTree = "<group>"; }; E0CC847D24823602009B1FE9 /* WarehouseIoListModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WarehouseIoListModel.swift; sourceTree = "<group>"; };
...@@ -1243,6 +1249,8 @@ ...@@ -1243,6 +1249,8 @@
E0F97B0E2451728D001BD600 /* AddGuiGeCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddGuiGeCell.swift; sourceTree = "<group>"; }; E0F97B0E2451728D001BD600 /* AddGuiGeCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddGuiGeCell.swift; sourceTree = "<group>"; };
E0F97B182451951D001BD600 /* ShangPinGguiGeCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShangPinGguiGeCell.swift; sourceTree = "<group>"; }; E0F97B182451951D001BD600 /* ShangPinGguiGeCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShangPinGguiGeCell.swift; sourceTree = "<group>"; };
E0F97B192451951D001BD600 /* ShangPinGguiGeCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ShangPinGguiGeCell.xib; sourceTree = "<group>"; }; E0F97B192451951D001BD600 /* ShangPinGguiGeCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ShangPinGguiGeCell.xib; sourceTree = "<group>"; };
E0FCA97C25FEF49700B1B4D2 /* DZSH_Detail_ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DZSH_Detail_ViewController.swift; sourceTree = "<group>"; };
E0FCA97D25FEF49700B1B4D2 /* DZSH_Detail_ViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = DZSH_Detail_ViewController.xib; sourceTree = "<group>"; };
F9011C0D24CE6A4C00AAF4F5 /* LogisticalSelectView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = LogisticalSelectView.xib; sourceTree = "<group>"; }; F9011C0D24CE6A4C00AAF4F5 /* LogisticalSelectView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = LogisticalSelectView.xib; sourceTree = "<group>"; };
F9011C0F24CE6FB200AAF4F5 /* LogisticalSelectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LogisticalSelectView.swift; sourceTree = "<group>"; }; F9011C0F24CE6FB200AAF4F5 /* LogisticalSelectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LogisticalSelectView.swift; sourceTree = "<group>"; };
F9023F60244999F500DD5A63 /* WarehoseMangementCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WarehoseMangementCell.swift; sourceTree = "<group>"; }; F9023F60244999F500DD5A63 /* WarehoseMangementCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WarehoseMangementCell.swift; sourceTree = "<group>"; };
...@@ -2851,6 +2859,10 @@ ...@@ -2851,6 +2859,10 @@
E0E6A5A125FC6B0A00C9BCD6 /* DZSHViewController.xib */, E0E6A5A125FC6B0A00C9BCD6 /* DZSHViewController.xib */,
E0E6A5A725FC6EE700C9BCD6 /* DZSH_Mg_ViewController.swift */, E0E6A5A725FC6EE700C9BCD6 /* DZSH_Mg_ViewController.swift */,
E0E6A5A825FC6EE700C9BCD6 /* DZSH_Mg_ViewController.xib */, E0E6A5A825FC6EE700C9BCD6 /* DZSH_Mg_ViewController.xib */,
E0FCA97C25FEF49700B1B4D2 /* DZSH_Detail_ViewController.swift */,
E0FCA97D25FEF49700B1B4D2 /* DZSH_Detail_ViewController.xib */,
E0CACE8125FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.swift */,
E0CACE8225FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.xib */,
); );
path = "店长审核"; path = "店长审核";
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -3972,6 +3984,7 @@ ...@@ -3972,6 +3984,7 @@
F961153424E22BA700EB3458 /* OtherInfoTextViewTableViewCell.xib in Resources */, F961153424E22BA700EB3458 /* OtherInfoTextViewTableViewCell.xib in Resources */,
E0A2E82C24555D8600D6DB34 /* KuCunXiangQingCell.xib in Resources */, E0A2E82C24555D8600D6DB34 /* KuCunXiangQingCell.xib in Resources */,
E020632D246CDD3F007A40C4 /* OrderDViewFooterView.xib in Resources */, E020632D246CDD3F007A40C4 /* OrderDViewFooterView.xib in Resources */,
E0CACE8425FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.xib in Resources */,
E02392072490819600C4C632 /* CGDListCell.xib in Resources */, E02392072490819600C4C632 /* CGDListCell.xib in Resources */,
F970B3682550F5AA0026F9D5 /* RetailManageViewController.xib in Resources */, F970B3682550F5AA0026F9D5 /* RetailManageViewController.xib in Resources */,
E0F3C2CC24590C86006F0D1F /* XinZengAndBianJiKeHuViewController.xib in Resources */, E0F3C2CC24590C86006F0D1F /* XinZengAndBianJiKeHuViewController.xib in Resources */,
...@@ -3992,6 +4005,7 @@ ...@@ -3992,6 +4005,7 @@
E07B1E70245929060055BA3C /* GYSGLViewController.xib in Resources */, E07B1E70245929060055BA3C /* GYSGLViewController.xib in Resources */,
E0336DD6244EC40000380BE9 /* CreatNewSpecsViewController.xib in Resources */, E0336DD6244EC40000380BE9 /* CreatNewSpecsViewController.xib in Resources */,
E0E7CB6224C17B9F00A26D3F /* GLKHCell.xib in Resources */, E0E7CB6224C17B9F00A26D3F /* GLKHCell.xib in Resources */,
E0FCA97F25FEF49700B1B4D2 /* DZSH_Detail_ViewController.xib in Resources */,
E0C4F4B6244EE9EE00CC7E2F /* YuShouCell.xib in Resources */, E0C4F4B6244EE9EE00CC7E2F /* YuShouCell.xib in Resources */,
F95A9EDE24557CD500867849 /* GuanLianKehuVC.xib in Resources */, F95A9EDE24557CD500867849 /* GuanLianKehuVC.xib in Resources */,
E07B1E6C245926330055BA3C /* GYSGLCell.xib in Resources */, E07B1E6C245926330055BA3C /* GYSGLCell.xib in Resources */,
...@@ -4091,6 +4105,7 @@ ...@@ -4091,6 +4105,7 @@
F9531F422465108800724BEE /* JXPhotoBrowserDefaultPageIndicator.swift in Sources */, F9531F422465108800724BEE /* JXPhotoBrowserDefaultPageIndicator.swift in Sources */,
F96E9D59246656A700B5B94A /* HGImageCompleteButton.swift in Sources */, F96E9D59246656A700B5B94A /* HGImageCompleteButton.swift in Sources */,
F956D5B3246A2D9C003FF510 /* NSTextAttachment+LMNStore.m in Sources */, F956D5B3246A2D9C003FF510 /* NSTextAttachment+LMNStore.m in Sources */,
E0FCA97E25FEF49700B1B4D2 /* DZSH_Detail_ViewController.swift in Sources */,
E0B6036E244D376900A56B38 /* KuWeiCell.swift in Sources */, E0B6036E244D376900A56B38 /* KuWeiCell.swift in Sources */,
E0D197BA2448431C002B080C /* BabyDefine.m in Sources */, E0D197BA2448431C002B080C /* BabyDefine.m in Sources */,
E0AD92E92550E50500D82C17 /* GYS_FX_Product_VC.swift in Sources */, E0AD92E92550E50500D82C17 /* GYS_FX_Product_VC.swift in Sources */,
...@@ -4332,6 +4347,7 @@ ...@@ -4332,6 +4347,7 @@
F933F6CB2452C68B00189561 /* Window.swift in Sources */, F933F6CB2452C68B00189561 /* Window.swift in Sources */,
E013D7882484B1B90092DE46 /* CRKXiangQVC.swift in Sources */, E013D7882484B1B90092DE46 /* CRKXiangQVC.swift in Sources */,
E0DDCB0F244AD8C500DF54C7 /* DaiQueRenCell.swift in Sources */, E0DDCB0F244AD8C500DF54C7 /* DaiQueRenCell.swift in Sources */,
E0CACE8325FF0A3D00ED7998 /* DZSH_UPLOAD_IMG_CELL.swift in Sources */,
E0F038FC2599C5F500721011 /* GLTimeSelectView.swift in Sources */, E0F038FC2599C5F500721011 /* GLTimeSelectView.swift in Sources */,
E042F74024528CD500CDFA12 /* TitleAndOnlyBtnCell.swift in Sources */, E042F74024528CD500CDFA12 /* TitleAndOnlyBtnCell.swift in Sources */,
E0571C6E248DD4DE00E85711 /* AdressInterface.swift in Sources */, E0571C6E248DD4DE00E85711 /* AdressInterface.swift in Sources */,
......
...@@ -284,7 +284,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate,loginDelegate,UITabBarCont ...@@ -284,7 +284,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate,loginDelegate,UITabBarCont
// let v2 = GoodsManageListVC() // let v2 = GoodsManageListVC()
let v2 = DZSH_Mg_ViewController() let v2 = DZSH_Detail_ViewController()
let v3 = WorkCViewController() let v3 = WorkCViewController()
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
import UIKit import UIKit
protocol GeliAlertTextViewDelegate { protocol GeliAlertTextViewDelegate {
func sureGeliAlertTextViewAction(sender:String) func sureGeliAlertTextViewAction(sender:String,view:GeliAlertTextView)
} }
class GeliAlertTextView: UIView, UITextViewDelegate { class GeliAlertTextView: UIView, UITextViewDelegate {
...@@ -17,17 +17,28 @@ class GeliAlertTextView: UIView, UITextViewDelegate { ...@@ -17,17 +17,28 @@ class GeliAlertTextView: UIView, UITextViewDelegate {
@IBOutlet weak var titleLbl: UILabel! @IBOutlet weak var titleLbl: UILabel!
@IBOutlet weak var placerLbl: UILabel! @IBOutlet weak var placerLbl: UILabel!
@IBOutlet weak var textview: UITextView! @IBOutlet weak var textview: UITextView!
var content:String = "" {
didSet{
if content.count > 0 {
placerLbl.isHidden = true
}else{
placerLbl.isHidden = false
}
textview.text = content
}
}
@IBAction func leftAction(_ sender: UIButton) { @IBAction func leftAction(_ sender: UIButton) {
self.removeFromSuperview() self.removeFromSuperview()
} }
@IBAction func rightAction(_ sender: UIButton) { @IBAction func rightAction(_ sender: UIButton) {
self.delegate?.sureGeliAlertTextViewAction(sender: textview.text) self.delegate?.sureGeliAlertTextViewAction(sender: textview.text,view:self)
self.removeFromSuperview() self.removeFromSuperview()
} }
func textViewDidBeginEditing(_ textView: UITextView) { func textViewDidBeginEditing(_ textView: UITextView) {
placerLbl.isHidden = true placerLbl.isHidden = true
} }
func textViewDidEndEditing(_ textView: UITextView) { func textViewDidEndEditing(_ textView: UITextView) {
if textView.text.count == 0 { if textView.text.count == 0 {
placerLbl.isHidden = false placerLbl.isHidden = false
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" appearance="light"/> <device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1oL-Fz-Jsb"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1oL-Fz-Jsb">
<rect key="frame" x="15" y="11" width="345" height="18.5"/> <rect key="frame" x="16" y="11" width="343" height="18.5"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="18.5" id="7YW-SJ-U09"/> <constraint firstAttribute="height" constant="18.5" id="7YW-SJ-U09"/>
</constraints> </constraints>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</constraints> </constraints>
</imageView> </imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zee-Po-sID"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zee-Po-sID">
<rect key="frame" x="157.5" y="52" width="145.5" height="53"/> <rect key="frame" x="157.5" y="10" width="145.5" height="136"/>
<attributedString key="attributedText"> <attributedString key="attributedText">
<fragment content="View.tishiLbl.text = &quot;&quot;View.tishiLbl.text = &quot;&quot;View.tishiLbl.text = &quot;&quot;"> <fragment content="View.tishiLbl.text = &quot;&quot;View.tishiLbl.text = &quot;&quot;View.tishiLbl.text = &quot;&quot;">
<attributes> <attributes>
...@@ -63,9 +63,10 @@ ...@@ -63,9 +63,10 @@
<constraint firstAttribute="trailing" secondItem="pmc-vU-Uf4" secondAttribute="trailing" constant="15" id="Qok-R2-hO0"/> <constraint firstAttribute="trailing" secondItem="pmc-vU-Uf4" secondAttribute="trailing" constant="15" id="Qok-R2-hO0"/>
<constraint firstItem="pmc-vU-Uf4" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="VxE-7o-zqj"/> <constraint firstItem="pmc-vU-Uf4" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="VxE-7o-zqj"/>
<constraint firstItem="yit-1Y-dYH" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="YOe-m8-0fd"/> <constraint firstItem="yit-1Y-dYH" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="YOe-m8-0fd"/>
<constraint firstItem="zee-Po-sID" firstAttribute="centerY" secondItem="yit-1Y-dYH" secondAttribute="centerY" id="f9d-5w-jXw"/> <constraint firstItem="FhC-zl-Pqx" firstAttribute="top" secondItem="zee-Po-sID" secondAttribute="bottom" constant="10" id="awr-er-hX2"/>
<constraint firstItem="FhC-zl-Pqx" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="jug-3M-ccD"/> <constraint firstItem="FhC-zl-Pqx" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="jug-3M-ccD"/>
<constraint firstItem="zee-Po-sID" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="yit-1Y-dYH" secondAttribute="trailing" constant="15" id="pbP-fH-zAa"/> <constraint firstItem="zee-Po-sID" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="yit-1Y-dYH" secondAttribute="trailing" constant="15" id="pbP-fH-zAa"/>
<constraint firstItem="zee-Po-sID" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="ucw-Ug-kfn"/>
</constraints> </constraints>
</tableViewCellContentView> </tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/> <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/> <device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<constraint firstAttribute="height" constant="1" id="kua-X1-bjq"/> <constraint firstAttribute="height" constant="1" id="kua-X1-bjq"/>
</constraints> </constraints>
</view> </view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="csp-CC-Bh9"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="csp-CC-Bh9">
<rect key="frame" x="270" y="0.0" width="50" height="44"/> <rect key="frame" x="270" y="0.0" width="50" height="44"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="50" id="fl0-7h-Dzg"/> <constraint firstAttribute="width" constant="50" id="fl0-7h-Dzg"/>
......
...@@ -209,7 +209,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne ...@@ -209,7 +209,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
var remark = "" var remark = ""
var orderNumStr = "" var orderNumStr = ""
//MARK: - 提交申请 //MARK: - 提交申请
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
remark = sender remark = sender
holderArr.insert(remark, at: holderArr.count-1) holderArr.insert(remark, at: holderArr.count-1)
......
...@@ -176,7 +176,7 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo ...@@ -176,7 +176,7 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
var remark = "" var remark = ""
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
remark = sender remark = sender
holderArr.insert(remark, at: holderArr.count-1) holderArr.insert(remark, at: holderArr.count-1)
holderArr.remove(at: holderArr.count-1) holderArr.remove(at: holderArr.count-1)
......
...@@ -339,7 +339,7 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR ...@@ -339,7 +339,7 @@ class CRKListVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,CR
//MARK: - 提交申请 //MARK: - 提交申请
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
HUD.show(.progress) HUD.show(.progress)
if sender.count == 0 { if sender.count == 0 {
......
...@@ -285,7 +285,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource, ...@@ -285,7 +285,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
} }
//MARK: - 通过审核 //MARK: - 通过审核
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
if sender.count == 0 { if sender.count == 0 {
HUD.flash(.label("请填写备注"), delay: 1.2) HUD.flash(.label("请填写备注"), delay: 1.2)
return return
......
//
// DZSH_Detail_ViewController.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/3/15.
// Copyright © 2021 junye lu. All rights reserved.
//
import UIKit
class DZSH_Detail_ViewController: BaseViewController,UITableViewDelegate,UITableViewDataSource, GeliAlertTextViewDelegate {
var title_arr = ["公司信息","负责人信息","营业执照信息","入驻协议"]
var part1 = ["公司名称","公司详细地址","公司电话","公司规模","公司简介","店铺类型","公司logo"]
var name = ""//公司名
var adr_str = ""//地址
var phone_str = ""//电话
var size_str = ""//规模
var intro_str = ""//公司简介
var type_str = ""//类型
var logo_url_str = ""//logo连接
var part2 = ["联系人选择","联系人姓名","负责人身份证"]
var conect_num_str = ""//联系人选择
var conect_name = "" //联系人
var conect_id_url_str = ""//联系人身份证连接
var part3 = ["营业执照号","法定经营范围","营业执照电子版","流通许可证"]
var zhizhao_str = ""//执照号
var jing_ying_fan_wei_str = ""//经营范围
var zhizhao_url_str = ""//营业执照连接
var xuke_url_str = ""//流通许可连接
var ruzhu_url_str = ""//入驻连接
@IBOutlet weak var list_view: UITableView!
@IBAction func btm_action(_ sender: UIButton) {
switch sender.tag {
case 0://通过
break
case 1://补资料
break
default://不通过
let alterView = GeliAlertTextView(frame: self.view.window!.bounds)
alterView.tag = 2
alterView.delegate = self
alterView.titleLbl.text = "请填写不通过原因"
alterView.placerLbl.text = "请填写不通过原因..."
alterView.content = jing_ying_fan_wei_str
self.view.window?.addSubview(alterView)
break
}
}
override func viewDidLoad() {
super.viewDidLoad()
navbar.title = "信息审核"
self.view.addSubview(navbar)
SetTopFrameView(view: list_view, btmView: self.view)
list_view.separatorStyle = .none
list_view.register(UINib(nibName: "TitleAndTFCell", bundle: nil), forCellReuseIdentifier: "TitleAndTFCell")
list_view.register(UINib(nibName: "TitleAndLblCell", bundle: nil), forCellReuseIdentifier: "TitleAndLblCell")
list_view.register(UINib(nibName: "DZSH_UPLOAD_IMG_CELL", bundle: nil), forCellReuseIdentifier: "DZSH_UPLOAD_IMG_CELL")
}
//MARK: - tableviewdelegate
func numberOfSections(in tableView: UITableView) -> Int {
return 4
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
switch section {
case 0:
return 7
case 1:
return 3
case 2:
return 4
default:
return 1
}
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
switch indexPath.section {
case 0:
if indexPath.row == 4 {
print("abc == ",UITableView.automaticDimension)
return UITableView.automaticDimension
}
if indexPath.row == 6 {
return 193.5
}
case 1:
if indexPath.row == 2 {
return 183.5
}
case 2:
if indexPath.row == 1 {
return UITableView.automaticDimension
}
if indexPath.row > 1 {
return 183.5
}
default:
return 183.5
}
return UITableView.automaticDimension
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndTFCell") as! TitleAndTFCell
cell.textTF.placeholder = "等待填写"
switch indexPath.section {
case 0://公司信息
cell.nameLbl.text = part1[indexPath.row]
if indexPath.row == 4 {
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndLblCell") as! TitleAndLblCell
cell.imgRight.constant = 0
cell.nameLbl.text = part1[indexPath.row]
if intro_str.count == 0 {
cell.contentLbl.text = "等待填写"
cell.contentLbl.textColor = UIColor(named: "提示语字体颜色")
}else{
cell.contentLbl.text = intro_str
cell.contentLbl.textColor = UIColor(named: "标题字颜色")
}
return cell
}
if indexPath.row == 6 {
let cell = tableView.dequeueReusableCell(withIdentifier: "DZSH_UPLOAD_IMG_CELL") as! DZSH_UPLOAD_IMG_CELL
cell.nameLbl.text = part1[indexPath.row]
return cell
}
case 1:
cell.nameLbl.text = part2[indexPath.row]
if indexPath.row == 2 {
let cell = tableView.dequeueReusableCell(withIdentifier: "DZSH_UPLOAD_IMG_CELL") as! DZSH_UPLOAD_IMG_CELL
cell.nameLbl.text = part2[indexPath.row]
cell.bottom_lbl.isHidden = true
cell.img_height.constant = 125
cell.img_width.constant = 225
return cell
}
break
case 2:
cell.nameLbl.text = part3[indexPath.row]
if indexPath.row == 1 {
let cell = tableView.dequeueReusableCell(withIdentifier: "TitleAndLblCell") as! TitleAndLblCell
cell.imgRight.constant = 0
cell.nameLbl.text = part3[indexPath.row]
if jing_ying_fan_wei_str.count == 0 {
cell.contentLbl.text = "等待填写"
cell.contentLbl.textColor = UIColor(named: "提示语字体颜色")
}else{
cell.contentLbl.text = jing_ying_fan_wei_str
cell.contentLbl.textColor = UIColor(named: "标题字颜色")
}
return cell
}
if indexPath.row > 1 {
let cell = tableView.dequeueReusableCell(withIdentifier: "DZSH_UPLOAD_IMG_CELL") as! DZSH_UPLOAD_IMG_CELL
cell.nameLbl.text = part3[indexPath.row]
cell.bottom_lbl.isHidden = true
cell.img_height.constant = 125
cell.img_width.constant = 225
return cell
}
break
default:
let cell = tableView.dequeueReusableCell(withIdentifier: "DZSH_UPLOAD_IMG_CELL") as! DZSH_UPLOAD_IMG_CELL
cell.nameLbl.text = "商家入驻协议"
cell.bottom_lbl.isHidden = true
cell.img_height.constant = 125
cell.img_width.constant = 225
return cell
}
return cell
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
switch indexPath.section {
case 0:
if indexPath.row == 4 {
let alterView = GeliAlertTextView(frame: self.view.window!.bounds)
alterView.tag = 4
alterView.delegate = self
alterView.titleLbl.text = "请填写公司简介"
alterView.placerLbl.text = "请填写公司简介..."
alterView.content = intro_str
self.view.window?.addSubview(alterView)
}
break
case 2 :
if indexPath.row == 1 {
let alterView = GeliAlertTextView(frame: self.view.window!.bounds)
alterView.tag = 11
alterView.delegate = self
alterView.titleLbl.text = "请填写法定经营范围"
alterView.placerLbl.text = "请填写法定经营范围..."
alterView.content = jing_ying_fan_wei_str
self.view.window?.addSubview(alterView)
}
break
default:
break
}
}
//MARK: - HEADER_VIEW
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let view = UIView(frame: CGRect(x: 0, y: 0, width: ScreenWidth, height: 36))
view.backgroundColor = UIColor.white
let title_lbl = UILabel(frame: CGRect(x: 15, y: 15, width: 200, height: 15))
title_lbl.text = title_arr[section]
title_lbl.textColor = UIColor(named: "标题字颜色")
title_lbl.font = UIFont(name: "PingFangSC-Medium", size: 15)
view.addSubview(title_lbl)
return view
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return 36
}
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
return UIView()
}
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return 5
}
//MARK: - 不通过原因
func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
switch view.tag {
case 2://不通过原因
return
case 4://公司简介
intro_str = sender
break
case 11:
jing_ying_fan_wei_str = sender
break
default:
break
}
list_view.reloadData()
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" 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"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="DZSH_Detail_ViewController" customModule="TestClass" customModuleProvider="target">
<connections>
<outlet property="list_view" destination="kaX-Nj-dzM" id="YBY-Lo-0Y8"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EWb-bD-RPi">
<rect key="frame" x="0.0" y="813" width="414" height="49"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LXc-5p-PRC">
<rect key="frame" x="0.0" y="0.0" width="138" height="49"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<state key="normal" title="审核通过">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="btm_action:" destination="-1" eventType="touchUpInside" id="lOR-Rv-VBr"/>
</connections>
</button>
<button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zUS-61-NJQ">
<rect key="frame" x="138" y="0.0" width="138" height="49"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<state key="normal" title="通过,待补齐资料">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="btm_action:" destination="-1" eventType="touchUpInside" id="5Jr-wX-E9y"/>
</connections>
</button>
<button opaque="NO" tag="2" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wVU-ra-irg">
<rect key="frame" x="276" y="0.0" width="138" height="49"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<state key="normal" title="审核不通过">
<color key="titleColor" name="蓝色字体颜色"/>
</state>
<connections>
<action selector="btm_action:" destination="-1" eventType="touchUpInside" id="7bo-WL-48Y"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aBv-EB-JJD">
<rect key="frame" x="137" y="15.5" width="1" height="18"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="GKn-8e-ms9"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ltd-15-StI">
<rect key="frame" x="276" y="15.5" width="1" height="18"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="width" constant="1" id="7hA-Io-xdu"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="wVU-ra-irg" secondAttribute="trailing" id="2Ed-oK-0ld"/>
<constraint firstItem="zUS-61-NJQ" firstAttribute="height" secondItem="LXc-5p-PRC" secondAttribute="height" id="4Jy-zo-ddY"/>
<constraint firstItem="LXc-5p-PRC" firstAttribute="top" secondItem="EWb-bD-RPi" secondAttribute="top" id="8MW-Pj-7VU"/>
<constraint firstItem="wVU-ra-irg" firstAttribute="leading" secondItem="zUS-61-NJQ" secondAttribute="trailing" id="Ahk-wl-gxF"/>
<constraint firstItem="zUS-61-NJQ" firstAttribute="top" secondItem="EWb-bD-RPi" secondAttribute="top" id="HsX-FO-Aom"/>
<constraint firstItem="wVU-ra-irg" firstAttribute="width" secondItem="LXc-5p-PRC" secondAttribute="width" id="IYJ-D9-0s1"/>
<constraint firstAttribute="bottom" secondItem="zUS-61-NJQ" secondAttribute="bottom" id="LfI-pm-eWN"/>
<constraint firstItem="aBv-EB-JJD" firstAttribute="centerY" secondItem="LXc-5p-PRC" secondAttribute="centerY" id="Ovd-jE-dFq"/>
<constraint firstItem="zUS-61-NJQ" firstAttribute="leading" secondItem="LXc-5p-PRC" secondAttribute="trailing" id="PeG-Gk-3uZ"/>
<constraint firstItem="ltd-15-StI" firstAttribute="centerY" secondItem="LXc-5p-PRC" secondAttribute="centerY" id="SAs-xZ-sN3"/>
<constraint firstAttribute="bottom" secondItem="aBv-EB-JJD" secondAttribute="bottom" constant="15.5" id="YWN-h2-3Yu"/>
<constraint firstAttribute="bottom" secondItem="ltd-15-StI" secondAttribute="bottom" constant="15.5" id="Z8D-5X-7eF"/>
<constraint firstItem="ltd-15-StI" firstAttribute="top" secondItem="EWb-bD-RPi" secondAttribute="top" constant="15.5" id="eEK-rr-xhl"/>
<constraint firstItem="LXc-5p-PRC" firstAttribute="leading" secondItem="EWb-bD-RPi" secondAttribute="leading" id="ekO-7T-tsd"/>
<constraint firstItem="wVU-ra-irg" firstAttribute="top" secondItem="EWb-bD-RPi" secondAttribute="top" id="fcp-pX-UXJ"/>
<constraint firstAttribute="bottom" secondItem="wVU-ra-irg" secondAttribute="bottom" id="iOV-PW-pqe"/>
<constraint firstItem="zUS-61-NJQ" firstAttribute="width" secondItem="LXc-5p-PRC" secondAttribute="width" id="nAL-4O-TQs"/>
<constraint firstItem="aBv-EB-JJD" firstAttribute="trailing" secondItem="LXc-5p-PRC" secondAttribute="trailing" id="nAR-Qi-iEt"/>
<constraint firstItem="aBv-EB-JJD" firstAttribute="top" secondItem="EWb-bD-RPi" secondAttribute="top" constant="15.5" id="rH6-Bk-KEW"/>
<constraint firstAttribute="height" constant="49" id="uc9-bs-GAo"/>
<constraint firstItem="ltd-15-StI" firstAttribute="leading" secondItem="wVU-ra-irg" secondAttribute="leading" id="vT4-Sg-WcG"/>
<constraint firstAttribute="bottom" secondItem="LXc-5p-PRC" secondAttribute="bottom" id="zIr-3r-dIw"/>
<constraint firstItem="wVU-ra-irg" firstAttribute="height" secondItem="LXc-5p-PRC" secondAttribute="height" id="zVj-gF-hst"/>
</constraints>
</view>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="kaX-Nj-dzM">
<rect key="frame" x="0.0" y="44" width="414" height="769"/>
<color key="backgroundColor" name="app底色"/>
<connections>
<outlet property="dataSource" destination="-1" id="1Nh-6Y-cww"/>
<outlet property="delegate" destination="-1" id="we5-i2-mkZ"/>
</connections>
</tableView>
</subviews>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="kaX-Nj-dzM" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="374-Qi-QpB"/>
<constraint firstItem="kaX-Nj-dzM" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="EXs-4H-evQ"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="EWb-bD-RPi" secondAttribute="trailing" id="IFG-F7-D5k"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="EWb-bD-RPi" secondAttribute="bottom" id="Qyq-g4-a77"/>
<constraint firstItem="EWb-bD-RPi" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="S0o-ok-fug"/>
<constraint firstItem="EWb-bD-RPi" firstAttribute="top" secondItem="kaX-Nj-dzM" secondAttribute="bottom" id="a6b-YP-hJa"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="kaX-Nj-dzM" secondAttribute="trailing" id="htj-Si-BPu"/>
</constraints>
<point key="canvasLocation" x="14" y="95"/>
</view>
</objects>
<resources>
<namedColor name="app底色">
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="蓝色字体颜色">
<color red="0.27843137254901962" green="0.5607843137254902" blue="0.8901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
//
// DZSH_UPLOAD_IMG_CELL.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/3/15.
// Copyright © 2021 junye lu. All rights reserved.
//
import UIKit
class DZSH_UPLOAD_IMG_CELL: UITableViewCell {
@IBOutlet weak var nameLbl: UILabel!
@IBOutlet weak var bottom_lbl: UILabel!
@IBOutlet weak var img_height: NSLayoutConstraint!
@IBOutlet weak var img_width: NSLayoutConstraint!
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="DZSH_UPLOAD_IMG_CELL" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="193.5"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
<rect key="frame" x="0.0" y="0.0" width="375" height="193.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zbd-li-RCQ">
<rect key="frame" x="15" y="15" width="26" height="18.5"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="shangchuantupian" translatesAutoresizingMaskIntoConstraints="NO" id="8TI-5w-kaC">
<rect key="frame" x="132.5" y="43.5" width="110" height="110"/>
<constraints>
<constraint firstAttribute="height" constant="110" id="FQn-Tj-OvW"/>
<constraint firstAttribute="width" constant="110" id="OS5-6D-LA5"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="建议上传800*800比例的logo图" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gSK-kC-eaq">
<rect key="frame" x="110" y="163.5" width="155.5" height="15.5"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="11"/>
<color key="textColor" name="#999999"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tfp-BX-KH9">
<rect key="frame" x="15" y="192.5" width="360" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="jRz-OL-Jzm"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstItem="gSK-kC-eaq" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="2a7-Dd-IbN"/>
<constraint firstItem="8TI-5w-kaC" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="Vse-cO-mFc"/>
<constraint firstItem="zbd-li-RCQ" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="Wkh-0E-iBH"/>
<constraint firstItem="8TI-5w-kaC" firstAttribute="top" secondItem="zbd-li-RCQ" secondAttribute="bottom" constant="10" id="WrD-39-ou1"/>
<constraint firstItem="gSK-kC-eaq" firstAttribute="top" secondItem="8TI-5w-kaC" secondAttribute="bottom" constant="10" id="XLo-0b-5t8"/>
<constraint firstItem="zbd-li-RCQ" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="ZGQ-FZ-Kte"/>
<constraint firstAttribute="trailing" secondItem="tfp-BX-KH9" secondAttribute="trailing" id="qEg-CG-zEj"/>
<constraint firstAttribute="bottom" secondItem="tfp-BX-KH9" secondAttribute="bottom" id="rWX-pv-gp3"/>
<constraint firstItem="tfp-BX-KH9" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="uCH-JE-msD"/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="bottom_lbl" destination="gSK-kC-eaq" id="yHZ-XC-5Yb"/>
<outlet property="img_height" destination="FQn-Tj-OvW" id="ykE-1f-Oxn"/>
<outlet property="img_width" destination="OS5-6D-LA5" id="Nv0-tK-sSc"/>
<outlet property="nameLbl" destination="zbd-li-RCQ" id="K4j-av-sos"/>
</connections>
<point key="canvasLocation" x="141" y="99"/>
</tableViewCell>
</objects>
<resources>
<image name="shangchuantupian" width="90" height="90"/>
<namedColor name="#999999">
<color red="0.60000002384185791" green="0.60000002384185791" blue="0.60000002384185791" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
...@@ -15,7 +15,7 @@ class XinCaiGouViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -15,7 +15,7 @@ class XinCaiGouViewController: BaseViewController,UITableViewDelegate,UITableVie
let UserToken = UserDefaults.standard.value(forKey: "user_token") let UserToken = UserDefaults.standard.value(forKey: "user_token")
var isSQ = false //isSq == true 必须审核 var isSQ = false //isSq == true 必须审核
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
contentStr = sender contentStr = sender
listView.reloadData() listView.reloadData()
} }
...@@ -495,9 +495,6 @@ class XinCaiGouViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -495,9 +495,6 @@ class XinCaiGouViewController: BaseViewController,UITableViewDelegate,UITableVie
} }
if indexPath.row == 5 { if indexPath.row == 5 {
return UITableView.automaticDimension return UITableView.automaticDimension
// if getStrHeight(str: contentStr)+30 > 49 {
// return getStrHeight(str: contentStr)+30
// }
} }
} }
return 49 return 49
......
...@@ -322,7 +322,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa ...@@ -322,7 +322,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
} }
//MARK:--编辑订单备注回调数据 //MARK:--编辑订单备注回调数据
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
editField(["user_token":UserToken as Any,"function_id":"45","prval":orderId as Any,"value":sender as Any,], success: { (data) in editField(["user_token":UserToken as Any,"function_id":"45","prval":orderId as Any,"value":sender as Any,], success: { (data) in
let dataM = data as! UpDataModel let dataM = data as! UpDataModel
......
...@@ -11,7 +11,7 @@ import ViewAnimator //cell动效 ...@@ -11,7 +11,7 @@ import ViewAnimator //cell动效
class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource, GeliAlertViewDelegate,CGDListCell2Delegate,CGDXQVcDelegate,XinCaiGouViewControllerDelegate,NewRKVcDelegate,GeliAlertTextViewDelegate, CGDListCellDelegate{ class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource, GeliAlertViewDelegate,CGDListCell2Delegate,CGDXQVcDelegate,XinCaiGouViewControllerDelegate,NewRKVcDelegate,GeliAlertTextViewDelegate, CGDListCellDelegate{
var po_id:Int? var po_id:Int?
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
if isPass == false { if isPass == false {
if sender.count == 0 { if sender.count == 0 {
HUD.flash(.label("请填写不通过原因"), delay: 1.2) HUD.flash(.label("请填写不通过原因"), delay: 1.2)
......
...@@ -48,7 +48,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl ...@@ -48,7 +48,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
} }
var delegate:CGDXQVcDelegate? var delegate:CGDXQVcDelegate?
func sureGeliAlertTextViewAction(sender: String) { func sureGeliAlertTextViewAction(sender: String, view: GeliAlertTextView) {
if isPass == false { if isPass == false {
if sender.count == 0 { if sender.count == 0 {
HUD.flash(.label("请填写不通过原因"), delay: 1.2) HUD.flash(.label("请填写不通过原因"), delay: 1.2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment