提交 4dadbd36 authored 作者: 逄仁秀's avatar 逄仁秀

no message

上级 9d4ad50d
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
88B5B9182B34381000871A63 /* KJAddBankModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88B5B9172B34381000871A63 /* KJAddBankModel.swift */; }; 88B5B9182B34381000871A63 /* KJAddBankModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88B5B9172B34381000871A63 /* KJAddBankModel.swift */; };
88B5B91B2B35804500871A63 /* KJChooseBankTVCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88B5B9192B35804500871A63 /* KJChooseBankTVCell.swift */; }; 88B5B91B2B35804500871A63 /* KJChooseBankTVCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88B5B9192B35804500871A63 /* KJChooseBankTVCell.swift */; };
88B5B91C2B35804500871A63 /* KJChooseBankTVCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 88B5B91A2B35804500871A63 /* KJChooseBankTVCell.xib */; }; 88B5B91C2B35804500871A63 /* KJChooseBankTVCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 88B5B91A2B35804500871A63 /* KJChooseBankTVCell.xib */; };
88B5B91E2B43BCEB00871A63 /* KJBannerCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88B5B91D2B43BCEB00871A63 /* KJBannerCollectionViewCell.swift */; };
88BE37D82AFCC15400D04877 /* KJHomeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88BE37D62AFCC15400D04877 /* KJHomeViewController.swift */; }; 88BE37D82AFCC15400D04877 /* KJHomeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88BE37D62AFCC15400D04877 /* KJHomeViewController.swift */; };
88BE37D92AFCC15400D04877 /* KJHomeViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 88BE37D72AFCC15400D04877 /* KJHomeViewController.xib */; }; 88BE37D92AFCC15400D04877 /* KJHomeViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 88BE37D72AFCC15400D04877 /* KJHomeViewController.xib */; };
88BE37DE2AFCC19F00D04877 /* KJChargeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88BE37DC2AFCC19F00D04877 /* KJChargeViewController.swift */; }; 88BE37DE2AFCC19F00D04877 /* KJChargeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88BE37DC2AFCC19F00D04877 /* KJChargeViewController.swift */; };
...@@ -117,6 +118,7 @@ ...@@ -117,6 +118,7 @@
88B5B9172B34381000871A63 /* KJAddBankModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJAddBankModel.swift; sourceTree = "<group>"; }; 88B5B9172B34381000871A63 /* KJAddBankModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJAddBankModel.swift; sourceTree = "<group>"; };
88B5B9192B35804500871A63 /* KJChooseBankTVCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJChooseBankTVCell.swift; sourceTree = "<group>"; }; 88B5B9192B35804500871A63 /* KJChooseBankTVCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJChooseBankTVCell.swift; sourceTree = "<group>"; };
88B5B91A2B35804500871A63 /* KJChooseBankTVCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KJChooseBankTVCell.xib; sourceTree = "<group>"; }; 88B5B91A2B35804500871A63 /* KJChooseBankTVCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KJChooseBankTVCell.xib; sourceTree = "<group>"; };
88B5B91D2B43BCEB00871A63 /* KJBannerCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJBannerCollectionViewCell.swift; sourceTree = "<group>"; };
88BE37D62AFCC15400D04877 /* KJHomeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJHomeViewController.swift; sourceTree = "<group>"; }; 88BE37D62AFCC15400D04877 /* KJHomeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJHomeViewController.swift; sourceTree = "<group>"; };
88BE37D72AFCC15400D04877 /* KJHomeViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KJHomeViewController.xib; sourceTree = "<group>"; }; 88BE37D72AFCC15400D04877 /* KJHomeViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KJHomeViewController.xib; sourceTree = "<group>"; };
88BE37DC2AFCC19F00D04877 /* KJChargeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJChargeViewController.swift; sourceTree = "<group>"; }; 88BE37DC2AFCC19F00D04877 /* KJChargeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KJChargeViewController.swift; sourceTree = "<group>"; };
...@@ -356,6 +358,7 @@ ...@@ -356,6 +358,7 @@
88B5B90F2B317CCF00871A63 /* KJAddBankCodeAlert.swift */, 88B5B90F2B317CCF00871A63 /* KJAddBankCodeAlert.swift */,
88B5B9192B35804500871A63 /* KJChooseBankTVCell.swift */, 88B5B9192B35804500871A63 /* KJChooseBankTVCell.swift */,
88B5B91A2B35804500871A63 /* KJChooseBankTVCell.xib */, 88B5B91A2B35804500871A63 /* KJChooseBankTVCell.xib */,
88B5B91D2B43BCEB00871A63 /* KJBannerCollectionViewCell.swift */,
); );
path = view; path = view;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -620,6 +623,7 @@ ...@@ -620,6 +623,7 @@
88BE38062B074D1900D04877 /* KJLoginPhoneViewController.swift in Sources */, 88BE38062B074D1900D04877 /* KJLoginPhoneViewController.swift in Sources */,
88BE38132B0C84CE00D04877 /* KJNoPayCodeViewController.swift in Sources */, 88BE38132B0C84CE00D04877 /* KJNoPayCodeViewController.swift in Sources */,
88BE37F62AFCC27200D04877 /* KJEmoneyViewController.swift in Sources */, 88BE37F62AFCC27200D04877 /* KJEmoneyViewController.swift in Sources */,
88B5B91E2B43BCEB00871A63 /* KJBannerCollectionViewCell.swift in Sources */,
88BE37DE2AFCC19F00D04877 /* KJChargeViewController.swift in Sources */, 88BE37DE2AFCC19F00D04877 /* KJChargeViewController.swift in Sources */,
88276FAD2B284AB0009BAE13 /* KJConfigParamModel.swift in Sources */, 88276FAD2B284AB0009BAE13 /* KJConfigParamModel.swift in Sources */,
883B01E82AC16CFC00C3ABBF /* ViewController.swift in Sources */, 883B01E82AC16CFC00C3ABBF /* ViewController.swift in Sources */,
......
...@@ -20,5 +20,53 @@ ...@@ -20,5 +20,53 @@
landmarkType = "7"> landmarkType = "7">
</BreakpointContent> </BreakpointContent>
</BreakpointProxy> </BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "ADDC206C-E887-4FE3-97DD-9338A0232CA6"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "iOS-2kj/home/subC/KJWithdrawViewController.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "172"
endingLineNumber = "172"
landmarkName = "withdraw(param:)"
landmarkType = "7">
<Locations>
<Location
uuid = "ADDC206C-E887-4FE3-97DD-9338A0232CA6 - b19baffa3554b0ca"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "iOS_2kj.KJWithdrawViewController.tableView(_: __C.UITableView, heightForRowAt: Foundation.IndexPath) -&gt; CoreGraphics.CGFloat"
moduleName = "iOS-2kj"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/renxiupang/Documents/rire-tool/iOS-2kj/home/subC/KJWithdrawViewController.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "173"
endingLineNumber = "173"
offsetFromSymbolStart = "36">
</Location>
<Location
uuid = "ADDC206C-E887-4FE3-97DD-9338A0232CA6 - b781bef5ceda2f0a"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "closure #1 @Sendable (Swift.Optional&lt;Foundation.Data&gt;, Swift.Optional&lt;__C.NSURLResponse&gt;, Swift.Optional&lt;Swift.Error&gt;) -&gt; () in iOS_2kj.KJWithdrawViewController.withdraw(param: Swift.Dictionary&lt;Swift.String, Swift.String&gt;) -&gt; ()"
moduleName = "iOS-2kj"
usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/renxiupang/Documents/rire-tool/iOS-2kj/home/subC/KJWithdrawViewController.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "172"
endingLineNumber = "172"
offsetFromSymbolStart = "1200">
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints> </Breakpoints>
</Bucket> </Bucket>
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "编组 2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "编组 2@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "椭圆形 2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "椭圆形 2@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
...@@ -33,6 +33,7 @@ class KJConfigDataParamModel: HandyJSON { ...@@ -33,6 +33,7 @@ class KJConfigDataParamModel: HandyJSON {
var amount: String? var amount: String?
var basic_fee: String? var basic_fee: String?
var per_fee: String? var per_fee: String?
var prod_code: String?
required init() {} required init() {}
} }
...@@ -44,6 +44,7 @@ class KJAccountViewController: KJBaseViewController { ...@@ -44,6 +44,7 @@ class KJAccountViewController: KJBaseViewController {
if let model = KJAccountModel.deserialize(from: dict["ret"] as? NSDictionary) { if let model = KJAccountModel.deserialize(from: dict["ret"] as? NSDictionary) {
self.accountModel = model self.accountModel = model
DispatchQueue.main.async { DispatchQueue.main.async {
self.tableView.reloadData()
self.balanceL.text = self.accountModel?.balance_data?.balance self.balanceL.text = self.accountModel?.balance_data?.balance
self.unbalanceL.text = "冻结金额:" + (self.accountModel?.balance_data?.unbalance ?? "") self.unbalanceL.text = "冻结金额:" + (self.accountModel?.balance_data?.unbalance ?? "")
} }
......
...@@ -18,6 +18,8 @@ class KJToRechargeViewController: KJBaseViewController { ...@@ -18,6 +18,8 @@ class KJToRechargeViewController: KJBaseViewController {
super.viewDidLoad() super.viewDidLoad()
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
view.backgroundColor = UIColor(hex: "6747CD")
let fee = (rechargeModel.basic_data?.fee as! NSString).floatValue let fee = (rechargeModel.basic_data?.fee as! NSString).floatValue
let amount = (rechargeModel.basic_data?.amount as! NSString).floatValue let amount = (rechargeModel.basic_data?.amount as! NSString).floatValue
let str = String(format: "%.2f", amount + fee) let str = String(format: "%.2f", amount + fee)
......
...@@ -12,9 +12,15 @@ class KJWithdrawViewController: KJBaseViewController { ...@@ -12,9 +12,15 @@ class KJWithdrawViewController: KJBaseViewController {
var balance: String = "" var balance: String = ""
var cardList: [KJCardListModel?] = [] var cardList: [KJCardListModel?] = []
var selectedModel: KJCardListModel = KJCardListModel()
@IBOutlet weak var textfield: UITextField!
@IBOutlet weak var tableView: UITableView! @IBOutlet weak var tableView: UITableView!
@IBOutlet weak var tableHeight: NSLayoutConstraint! @IBOutlet weak var tableHeight: NSLayoutConstraint!
@IBOutlet weak var btn: UIButton!
func obtainList() { func obtainList() {
// 构建URL // 构建URL
...@@ -47,6 +53,13 @@ class KJWithdrawViewController: KJBaseViewController { ...@@ -47,6 +53,13 @@ class KJWithdrawViewController: KJBaseViewController {
print(dict) print(dict)
if let arr = [KJCardListModel].deserialize(from: dict["ret"] as! NSArray) { if let arr = [KJCardListModel].deserialize(from: dict["ret"] as! NSArray) {
self.cardList = arr self.cardList = arr
if self.cardList.count > 0 {
self.selectedModel = self.cardList[0] ?? KJCardListModel()
}
DispatchQueue.main.async {
self.tableView.reloadData()
self.tableHeight.constant = CGFloat(86 * self.cardList.count)
}
} }
} }
task.resume() task.resume()
...@@ -59,6 +72,11 @@ class KJWithdrawViewController: KJBaseViewController { ...@@ -59,6 +72,11 @@ class KJWithdrawViewController: KJBaseViewController {
obtainList() obtainList()
self.titleL.text = "提现" self.titleL.text = "提现"
balanceL.text = balance balanceL.text = balance
tableView.delegate = self
tableView.dataSource = self
tableView.register(UINib(nibName: "KJChooseBankTVCell", bundle: nil), forCellReuseIdentifier: "KJChooseBankTVCell")
textfield.delegate = self
} }
...@@ -82,6 +100,84 @@ class KJWithdrawViewController: KJBaseViewController { ...@@ -82,6 +100,84 @@ class KJWithdrawViewController: KJBaseViewController {
} }
alert.show() alert.show()
} }
@IBAction func withdrawAction(_ sender: Any) {
// 构建URL
let url:URL = URL(string: "https://www.danamudah.fun/kopisusu_server/convenience/get_conv_param")!
// 发送HTTP请求的的session对象
let session = URLSession.shared
// 构建请求request
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue(UserDefaults.standard.string(forKey: "token") ?? "", forHTTPHeaderField: "Token")
print(UserDefaults.standard.string(forKey: "token") ?? "")
var param = ["method": "withdraw"]
var jsonData = NSData()
do {
jsonData = try JSONSerialization.data(withJSONObject: param, options: .prettyPrinted) as NSData
} catch {
print(error.localizedDescription)
}
request.httpBody = jsonData as! Data
// 发一个post请求
let task = session.dataTask(with: request as URLRequest) {(
data, response, error) in
guard let data = data, let _:URLResponse = response, error == nil else {
print("Request Erroor")
return
}
let dataString = String(data: data, encoding: String.Encoding.utf8)
let dict = self.getDictionaryFromJSONString(jsonString: dataString!)
print(dict)
if let model = KJGetConvModel.deserialize(from: dict["ret"] as? NSDictionary) {
self.withdraw(param: ["prod_code": model.param_config?.first?.data?.first?.prod_code ?? "", "bank_code": self.selectedModel.bank_code ?? "", "card_no": self.selectedModel.card_no ?? "", "amount": self.textfield.text ?? ""])
}
// DispatchQueue.main.async {
//
// }
}
task.resume()
}
func withdraw(param: [String: String]) {
// 构建URL
let url:URL = URL(string: "https://www.danamudah.fun/kopisusu_server/convenience/inq_conv")!
// 发送HTTP请求的的session对象
let session = URLSession.shared
// 构建请求request
var request = URLRequest(url: url)
request.httpMethod = "POST"
request.setValue(UserDefaults.standard.string(forKey: "token") ?? "", forHTTPHeaderField: "Token")
print(param)
var jsonData = NSData()
do {
jsonData = try JSONSerialization.data(withJSONObject: param, options: .prettyPrinted) as NSData
} catch {
print(error.localizedDescription)
}
request.httpBody = jsonData as! Data
// 发一个post请求
let task = session.dataTask(with: request as URLRequest) {(
data, response, error) in
guard let data = data, let _:URLResponse = response, error == nil else {
print("Request Erroor")
return
}
let dataString = String(data: data, encoding: String.Encoding.utf8)
let dict = self.getDictionaryFromJSONString(jsonString: dataString!)
print(dict)
DispatchQueue.main.async {
}
}
task.resume()
}
/* /*
// MARK: - Navigation // MARK: - Navigation
...@@ -94,15 +190,36 @@ class KJWithdrawViewController: KJBaseViewController { ...@@ -94,15 +190,36 @@ class KJWithdrawViewController: KJBaseViewController {
} }
extension KJWithdrawViewController: UITableViewDelegate, UITableViewDataSource { extension KJWithdrawViewController: UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return cardList.count return cardList.count
} }
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "KJChooseBankTVCell") as! KJChooseBankTVCell let cell = tableView.dequeueReusableCell(withIdentifier: "KJChooseBankTVCell") as! KJChooseBankTVCell
let model = cardList[indexPath.item]
cell.numL.text = model?.card_no
cell.titleL.text = model?.bank_name
if selectedModel.id == model?.id {
cell.chooseImgV.image = UIImage(named: "bank_sel")
} else {
cell.chooseImgV.image = UIImage(named: "bank_unsel")
}
return cell return cell
} }
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 86
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
self.selectedModel = cardList[indexPath.row] ?? KJCardListModel()
self.tableView.reloadData()
}
func textFieldDidEndEditing(_ textField: UITextField) {
if (textField.text as! NSString).floatValue <= (balance as! NSString).floatValue {
btn.backgroundColor = UIColor(hex: "#6747CD")
}
}
} }
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KJWithdrawViewController" customModule="iOS_2kj" customModuleProvider="target"> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="KJWithdrawViewController" customModule="iOS_2kj" customModuleProvider="target">
<connections> <connections>
<outlet property="balanceL" destination="a6Q-aQ-Vna" id="GJq-tW-dge"/> <outlet property="balanceL" destination="a6Q-aQ-Vna" id="GJq-tW-dge"/>
<outlet property="btn" destination="vuv-J1-XqF" id="WeX-qX-RpN"/>
<outlet property="tableHeight" destination="Q1Z-sD-XdS" id="5K1-QG-q9c"/> <outlet property="tableHeight" destination="Q1Z-sD-XdS" id="5K1-QG-q9c"/>
<outlet property="tableView" destination="eVs-gj-gSe" id="WtT-UR-GyR"/> <outlet property="tableView" destination="eVs-gj-gSe" id="WtT-UR-GyR"/>
<outlet property="textfield" destination="Eeo-aF-ZV0" id="OG2-1o-oNB"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/> <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections> </connections>
</placeholder> </placeholder>
...@@ -83,7 +85,7 @@ ...@@ -83,7 +85,7 @@
<constraint firstAttribute="height" constant="50" id="reh-qX-XML"/> <constraint firstAttribute="height" constant="50" id="reh-qX-XML"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="30"/> <fontDescription key="fontDescription" type="system" pointSize="30"/>
<textInputTraits key="textInputTraits"/> <textInputTraits key="textInputTraits" keyboardType="numberPad"/>
</textField> </textField>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="充值金额" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u2t-oN-i8m"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="充值金额" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u2t-oN-i8m">
<rect key="frame" x="29.000000000000004" y="255.66666666666663" width="61.333333333333343" height="19"/> <rect key="frame" x="29.000000000000004" y="255.66666666666663" width="61.333333333333343" height="19"/>
...@@ -109,6 +111,10 @@ ...@@ -109,6 +111,10 @@
<constraints> <constraints>
<constraint firstAttribute="height" constant="88" id="Q1Z-sD-XdS"/> <constraint firstAttribute="height" constant="88" id="Q1Z-sD-XdS"/>
</constraints> </constraints>
<connections>
<outlet property="dataSource" destination="-1" id="uny-U3-Ry5"/>
<outlet property="delegate" destination="-1" id="ChK-mY-fjm"/>
</connections>
</tableView> </tableView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cmT-6V-aTx"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cmT-6V-aTx">
<rect key="frame" x="137.33333333333334" y="516" width="118.66666666666666" height="35"/> <rect key="frame" x="137.33333333333334" y="516" width="118.66666666666666" height="35"/>
...@@ -132,6 +138,9 @@ ...@@ -132,6 +138,9 @@
<state key="normal" title="立即提现"> <state key="normal" title="立即提现">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</state> </state>
<connections>
<action selector="withdrawAction:" destination="-1" eventType="touchUpInside" id="loN-z3-5ww"/>
</connections>
</button> </button>
</subviews> </subviews>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
......
//
// KJBannerCollectionViewCell.swift
// iOS-2kj
//
// Created by 仁秀逄 on 2024/1/2.
//
import UIKit
class KJBannerCollectionViewCell: UICollectionViewCell {
}
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="vVY-MZ-BG8"> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bank_sel" translatesAutoresizingMaskIntoConstraints="NO" id="vVY-MZ-BG8">
<rect key="frame" x="286" y="32.666666666666664" width="18.666666666666686" height="18.666666666666664"/> <rect key="frame" x="286" y="32.666666666666664" width="18.666666666666686" height="18.666666666666664"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="18.5" id="Iai-SP-lRr"/> <constraint firstAttribute="height" constant="18.5" id="Iai-SP-lRr"/>
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
</constraints> </constraints>
</imageView> </imageView>
</subviews> </subviews>
<color key="backgroundColor" red="0.91764705882352937" green="0.8901960784313725" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstItem="udK-lT-nHl" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="20" id="Ara-TI-Bi6"/> <constraint firstItem="udK-lT-nHl" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="20" id="Ara-TI-Bi6"/>
<constraint firstItem="vVY-MZ-BG8" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="HB5-7B-6TA"/> <constraint firstItem="vVY-MZ-BG8" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="HB5-7B-6TA"/>
...@@ -61,4 +62,7 @@ ...@@ -61,4 +62,7 @@
<point key="canvasLocation" x="126.71755725190839" y="2.8169014084507045"/> <point key="canvasLocation" x="126.71755725190839" y="2.8169014084507045"/>
</tableViewCell> </tableViewCell>
</objects> </objects>
<resources>
<image name="bank_sel" width="18.5" height="18.5"/>
</resources>
</document> </document>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论