Commit 44542111 authored by lujunye's avatar lujunye

修复bug2

parent 5fb8aa79
...@@ -584,7 +584,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc ...@@ -584,7 +584,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
} }
break break
case 3: case 3:
orderRefund(["user_token":UserToken as Any,"order_id" : sender.tag as Any , "is_pay_own":1 as Any], success: { (data) in orderRefund(["user_token":UserToken as Any,"order_id" : sender.tag as Any , "is_pay_own":0 as Any], success: { (data) in
HUD.flash(.labeledSubSuccess(subtitle: "提交成功"),delay: 1.2) HUD.flash(.labeledSubSuccess(subtitle: "提交成功"),delay: 1.2)
NotificationCenter.default.post(name: NSNotification.Name(rawValue: "orderChange"), object: nil) NotificationCenter.default.post(name: NSNotification.Name(rawValue: "orderChange"), object: nil)
......
...@@ -1663,7 +1663,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa ...@@ -1663,7 +1663,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
} }
}else if sender.tag == 1004 { }else if sender.tag == 1004 {
HUD.flash(.progress) HUD.flash(.progress)
orderRefund(["user_token":UserToken as Any,"order_id" : self.dataMdoel?.order_res?.order_id as Any,"is_pay_own":1 as Any], success: { (data) in orderRefund(["user_token":UserToken as Any,"order_id" : self.dataMdoel?.order_res?.order_id as Any,"is_pay_own":0 as Any], success: { (data) in
HUD.flash(.labeledSubSuccess(subtitle: "提交成功"),delay: 1.2) HUD.flash(.labeledSubSuccess(subtitle: "提交成功"),delay: 1.2)
NotificationCenter.default.post(name: NSNotification.Name(rawValue: "orderChange"), object: nil) NotificationCenter.default.post(name: NSNotification.Name(rawValue: "orderChange"), object: nil)
self.delegate?.refishingOrderDchange() self.delegate?.refishingOrderDchange()
......
<?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" 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="System colors in document resources" minToolsVersion="11.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"/>
</dependencies> </dependencies>
<objects> <objects>
...@@ -25,7 +26,7 @@ ...@@ -25,7 +26,7 @@
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XSf-8D-3tt"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XSf-8D-3tt">
<rect key="frame" x="0.0" y="813" width="414" height="83"/> <rect key="frame" x="0.0" y="813" width="414" height="83"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" name="app底色"/>
</view> </view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AfC-cy-CDK"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AfC-cy-CDK">
<rect key="frame" x="0.0" y="813" width="414" height="49"/> <rect key="frame" x="0.0" y="813" width="414" height="49"/>
...@@ -38,7 +39,7 @@ ...@@ -38,7 +39,7 @@
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstItem="Dwq-B6-yP1" firstAttribute="top" secondItem="AfC-cy-CDK" secondAttribute="top" id="Uwq-mr-1EE"/> <constraint firstItem="Dwq-B6-yP1" firstAttribute="top" secondItem="AfC-cy-CDK" secondAttribute="top" id="Uwq-mr-1EE"/>
<constraint firstAttribute="trailing" secondItem="Dwq-B6-yP1" secondAttribute="trailing" id="jWB-aj-AFy"/> <constraint firstAttribute="trailing" secondItem="Dwq-B6-yP1" secondAttribute="trailing" id="jWB-aj-AFy"/>
...@@ -55,7 +56,8 @@ ...@@ -55,7 +56,8 @@
</connections> </connections>
</tableView> </tableView>
</subviews> </subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints> <constraints>
<constraint firstItem="AfC-cy-CDK" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="94h-1F-uZH"/> <constraint firstItem="AfC-cy-CDK" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="94h-1F-uZH"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="AfC-cy-CDK" secondAttribute="bottom" id="EHY-yk-VSm"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="AfC-cy-CDK" secondAttribute="bottom" id="EHY-yk-VSm"/>
...@@ -69,7 +71,6 @@ ...@@ -69,7 +71,6 @@
<constraint firstItem="XSf-8D-3tt" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="y6Y-uT-HXY"/> <constraint firstItem="XSf-8D-3tt" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="y6Y-uT-HXY"/>
<constraint firstItem="xUS-ih-bIA" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="yAf-Sd-CdE"/> <constraint firstItem="xUS-ih-bIA" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="yAf-Sd-CdE"/>
</constraints> </constraints>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<point key="canvasLocation" x="131.8840579710145" y="96.428571428571431"/> <point key="canvasLocation" x="131.8840579710145" y="96.428571428571431"/>
</view> </view>
</objects> </objects>
...@@ -80,5 +81,8 @@ ...@@ -80,5 +81,8 @@
<namedColor name="灰色分界线"> <namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources> </resources>
</document> </document>
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