Robert
1 天以前 c547797c9267e2f3e3c24c7acb31502517f3b6e6
fixbug
4个文件已修改
78 ■■■■ 已修改文件
WanPai.xcodeproj/project.pbxproj 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WanPai/Common/View/WorldCupListRankView.swift 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WanPai/Common/View/WorldCupListRankView.xib 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WanPai/Network/Services.swift 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WanPai.xcodeproj/project.pbxproj
@@ -2567,15 +2567,17 @@
                    "\"XCGLogger\"",
                    "\"-ld64\"",
                );
                PRODUCT_BUNDLE_IDENTIFIER = com.sinata.WeParkLife1;
                PRODUCT_BUNDLE_IDENTIFIER = "com.I-GO.user";
                PRODUCT_NAME = "$(TARGET_NAME)";
                PROVISIONING_PROFILE_SPECIFIER = "";
                SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
                SUPPORTS_MACCATALYST = NO;
                SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
                SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
                SWIFT_COMPILATION_MODE = singlefile;
                SWIFT_EMIT_LOC_STRINGS = YES;
                SWIFT_OBJC_BRIDGING_HEADER = "/Users/luoshuang/PlayPai/WanPai-Bridging-Header.h";
                SWIFT_OPTIMIZATION_LEVEL = "-Onone";
                SWIFT_VERSION = 5.0;
                TARGETED_DEVICE_FAMILY = 1;
            };
@@ -2765,15 +2767,17 @@
                    "\"XCGLogger\"",
                    "\"-ld64\"",
                );
                PRODUCT_BUNDLE_IDENTIFIER = com.sinata.WeParkLife;
                PRODUCT_BUNDLE_IDENTIFIER = "com.I-GO.user";
                PRODUCT_NAME = "$(TARGET_NAME)";
                PROVISIONING_PROFILE_SPECIFIER = "";
                SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
                SUPPORTS_MACCATALYST = NO;
                SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
                SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
                SWIFT_COMPILATION_MODE = singlefile;
                SWIFT_EMIT_LOC_STRINGS = YES;
                SWIFT_OBJC_BRIDGING_HEADER = "/Users/luoshuang/PlayPai/WanPai-Bridging-Header.h";
                SWIFT_OPTIMIZATION_LEVEL = "-O";
                SWIFT_VERSION = 5.0;
                TARGETED_DEVICE_FAMILY = 1;
            };
WanPai/Common/View/WorldCupListRankView.swift
@@ -8,6 +8,7 @@
import UIKit
import JQTools
import RxSwift
import QMUIKit
class WorldCupListRankView: UIView,JQNibView, UITableViewDelegate, UITableViewDataSource {
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return dataSoure?.count ?? 0
@@ -33,7 +34,8 @@
        return cell
    }
    
    @IBOutlet weak var search_tf: QMUITextField!
    @IBOutlet weak var tabBackView: UIView!
    
    @IBOutlet weak var sureAction: UIButton!
@@ -49,6 +51,7 @@
    var selectIndex = 0
    
    
    override  func awakeFromNib() {
        super.awakeFromNib()
        alpha = 0
@@ -93,4 +96,6 @@
        self.clouse(Int(dataSoure?[self.selectIndex].id ?? "0") ?? 0)
    }
    
    @IBAction func searchAction(_ sender: Any) {
    }
}
WanPai/Common/View/WorldCupListRankView.xib
@@ -47,16 +47,65 @@
                            <rect key="frame" x="0.0" y="44" width="393" height="486"/>
                            <subviews>
                                <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="lQm-gr-7GQ">
                                    <rect key="frame" x="0.0" y="0.0" width="393" height="486"/>
                                    <rect key="frame" x="0.0" y="50" width="393" height="436"/>
                                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                                </tableView>
                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dme-Yv-KsD">
                                    <rect key="frame" x="12" y="0.0" width="311" height="38"/>
                                    <subviews>
                                        <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_search" translatesAutoresizingMaskIntoConstraints="NO" id="eaV-YU-9hJ">
                                            <rect key="frame" x="4" y="10.666666666666686" width="17" height="17"/>
                                        </imageView>
                                        <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="搜索" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="1vC-tu-ASM" customClass="QMUITextField">
                                            <rect key="frame" x="25" y="0.0" width="276" height="38"/>
                                            <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
                                            <textInputTraits key="textInputTraits" returnKeyType="search"/>
                                            <userDefinedRuntimeAttributes>
                                                <userDefinedRuntimeAttribute type="color" keyPath="placeholderColor">
                                                    <color key="value" red="0.7843137255" green="0.79215686269999996" blue="0.83921568629999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                                </userDefinedRuntimeAttribute>
                                            </userDefinedRuntimeAttributes>
                                        </textField>
                                    </subviews>
                                    <color key="backgroundColor" red="0.96470588239999999" green="0.96470588239999999" blue="0.96862745100000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                    <constraints>
                                        <constraint firstItem="eaV-YU-9hJ" firstAttribute="centerY" secondItem="dme-Yv-KsD" secondAttribute="centerY" id="0xe-RS-dr6"/>
                                        <constraint firstAttribute="trailing" secondItem="1vC-tu-ASM" secondAttribute="trailing" constant="10" id="LB2-Ml-0Ij"/>
                                        <constraint firstItem="1vC-tu-ASM" firstAttribute="leading" secondItem="eaV-YU-9hJ" secondAttribute="trailing" constant="4" id="Sge-sA-xmW"/>
                                        <constraint firstItem="eaV-YU-9hJ" firstAttribute="leading" secondItem="dme-Yv-KsD" secondAttribute="leading" constant="4" id="Vja-mV-a3Y"/>
                                        <constraint firstAttribute="height" constant="38" id="cpR-pQ-rIG"/>
                                        <constraint firstItem="1vC-tu-ASM" firstAttribute="top" secondItem="dme-Yv-KsD" secondAttribute="top" id="prl-Vf-bLO"/>
                                        <constraint firstAttribute="bottom" secondItem="1vC-tu-ASM" secondAttribute="bottom" id="tDq-Xi-eLM"/>
                                    </constraints>
                                    <userDefinedRuntimeAttributes>
                                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
                                            <real key="value" value="4.1600000000000001"/>
                                        </userDefinedRuntimeAttribute>
                                    </userDefinedRuntimeAttributes>
                                </view>
                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9Uf-eF-4ts">
                                    <rect key="frame" x="333" y="4.6666666666666856" width="30" height="29"/>
                                    <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                                    <state key="normal" title="搜索">
                                        <color key="titleColor" name="FE6E0D"/>
                                    </state>
                                    <connections>
                                        <action selector="searchAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="SzK-uN-EYy"/>
                                    </connections>
                                </button>
                            </subviews>
                            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                            <constraints>
                                <constraint firstAttribute="trailing" secondItem="lQm-gr-7GQ" secondAttribute="trailing" id="2fb-HG-jVG"/>
                                <constraint firstItem="dme-Yv-KsD" firstAttribute="top" secondItem="SQe-pF-bBN" secondAttribute="top" id="EMX-5z-pLQ"/>
                                <constraint firstItem="dme-Yv-KsD" firstAttribute="leading" secondItem="SQe-pF-bBN" secondAttribute="leading" constant="12" id="IsC-cy-4UB"/>
                                <constraint firstAttribute="bottom" secondItem="lQm-gr-7GQ" secondAttribute="bottom" id="Lfc-VG-Idc"/>
                                <constraint firstItem="9Uf-eF-4ts" firstAttribute="leading" secondItem="dme-Yv-KsD" secondAttribute="trailing" constant="10" id="N45-5f-abX"/>
                                <constraint firstItem="9Uf-eF-4ts" firstAttribute="centerY" secondItem="1vC-tu-ASM" secondAttribute="centerY" id="SWr-a1-zQS"/>
                                <constraint firstAttribute="trailing" secondItem="dme-Yv-KsD" secondAttribute="trailing" constant="70" id="ak1-5P-oJw"/>
                                <constraint firstItem="lQm-gr-7GQ" firstAttribute="leading" secondItem="SQe-pF-bBN" secondAttribute="leading" id="nZE-5p-fze"/>
                                <constraint firstItem="lQm-gr-7GQ" firstAttribute="top" secondItem="SQe-pF-bBN" secondAttribute="top" id="xrU-b5-Ofh"/>
                                <constraint firstItem="lQm-gr-7GQ" firstAttribute="top" secondItem="SQe-pF-bBN" secondAttribute="top" constant="50" id="xrU-b5-Ofh"/>
                            </constraints>
                        </view>
                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9kw-Hl-SfO">
@@ -95,6 +144,7 @@
                <constraint firstAttribute="bottom" secondItem="iMw-ow-gwQ" secondAttribute="bottom" id="ipi-6a-sfd"/>
            </constraints>
            <connections>
                <outlet property="search_tf" destination="1vC-tu-ASM" id="AFv-k3-1oS"/>
                <outlet property="sureAction" destination="rbv-aM-DoE" id="xtM-al-qBZ"/>
                <outlet property="tabBackView" destination="SQe-pF-bBN" id="WrS-TC-yHK"/>
                <outlet property="tabview" destination="lQm-gr-7GQ" id="CCL-nH-dKQ"/>
@@ -104,6 +154,7 @@
    </objects>
    <resources>
        <image name="btn_close_2" width="20" height="20"/>
        <image name="icon_search" width="17" height="17"/>
        <namedColor name="FE6E0D">
            <color red="0.99199998378753662" green="0.53299999237060547" blue="0.0080000003799796104" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
        </namedColor>
WanPai/Network/Services.swift
@@ -23,10 +23,10 @@
//let Socket_Url = "192.168.110.22"
#else
let All_Url = "http://8.137.22.229:56666" //正式地址
//let Game_Url = "https://port.daowepark.com"//正式地址
let Game_Url = "https://port.daowepark.com"
//let All_Url = "http://8.137.22.229:56666" //正式地址
//let Game_Url = "https://port.daowepark.com"
let All_Url = "http://221.182.45.100:1234" //正式地址
let Game_Url = "http://221.182.45.100:1234"
//let Socket_Url = "192.168.110.22"
#endif