Commit 4fd3da65 by lee

r

parent 338cdd9e
......@@ -39,7 +39,7 @@
}];
[alertView addButtonWithTitle:@"确定" block:^{
NSString *phoneNum = @"+33(0)983043057";
NSString *phoneNum = @"4006878706";
NSString *phone = [[NSString alloc]initWithFormat:@"tel:%@",phoneNum];
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:phone]];
}];
......@@ -53,7 +53,17 @@
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:Email]];
}
- (IBAction)wechatAction:(id)sender {
[self showToast:@"复制成功"];
UIPasteboard *pb = [UIPasteboard generalPasteboard];
pb.string = @"cemarose1";
}
- (IBAction)weiboAction:(id)sender {
[self showToast:@"复制成功"];
UIPasteboard *pb = [UIPasteboard generalPasteboard];
pb.string = @"cemarose";
}
@end
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12118" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16F73" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12086"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
......@@ -254,8 +254,8 @@
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yTD-YB-Z61" userLabel="v电话">
<rect key="frame" x="0.0" y="119" width="375" height="38"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="+33 (0)9 83 04 30 57" textAlignment="natural" lineBreakMode="characterWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Jx-tr-L4h">
<rect key="frame" x="30" y="10.5" width="121" height="17"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4006878706" textAlignment="natural" lineBreakMode="characterWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Jx-tr-L4h">
<rect key="frame" x="30" y="10.5" width="71" height="17"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
<color key="textColor" red="0.22352941179999999" green="0.22352941179999999" blue="0.22352941179999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
......@@ -317,11 +317,114 @@
<outletCollection property="gestureRecognizers" destination="VK7-Jr-Be1" appends="YES" id="6Kz-HI-X9k"/>
</connections>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kdV-5g-SYw">
<rect key="frame" x="0.0" y="250" width="375" height="110"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="微信" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u9b-HA-Id8">
<rect key="frame" x="30" y="22" width="30" height="21"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<color key="textColor" red="0.21960784310000001" green="0.21960784310000001" blue="0.21960784310000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nFz-xe-Hyc" userLabel="v电话">
<rect key="frame" x="0.0" y="72" width="375" height="38"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="cemarose1" textAlignment="natural" lineBreakMode="characterWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="elR-WQ-QQC">
<rect key="frame" x="30" y="10.5" width="59.5" height="17"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
<color key="textColor" red="0.22352941179999999" green="0.22352941179999999" blue="0.22352941179999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="button_mine_more" translatesAutoresizingMaskIntoConstraints="NO" id="PhH-lp-TTv">
<rect key="frame" x="338" y="12" width="7" height="14"/>
<constraints>
<constraint firstAttribute="width" constant="7" id="57i-nK-AXL"/>
<constraint firstAttribute="height" constant="14" id="nXG-aF-PWX"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="0.95686274510000002" green="0.96078431369999995" blue="0.96862745100000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<gestureRecognizers/>
<constraints>
<constraint firstAttribute="trailing" secondItem="PhH-lp-TTv" secondAttribute="trailing" constant="30" id="4Wx-ro-E3i"/>
<constraint firstItem="elR-WQ-QQC" firstAttribute="leading" secondItem="nFz-xe-Hyc" secondAttribute="leading" constant="30" id="Jeg-BA-NAY"/>
<constraint firstAttribute="height" constant="38" id="dA5-5j-be2"/>
<constraint firstItem="elR-WQ-QQC" firstAttribute="centerY" secondItem="nFz-xe-Hyc" secondAttribute="centerY" id="meq-zp-Vtr"/>
<constraint firstItem="PhH-lp-TTv" firstAttribute="centerY" secondItem="nFz-xe-Hyc" secondAttribute="centerY" id="tFE-TE-t9h"/>
</constraints>
<connections>
<outletCollection property="gestureRecognizers" destination="HNq-Ib-w4m" appends="YES" id="DLe-JN-J2T"/>
</connections>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="nFz-xe-Hyc" firstAttribute="top" secondItem="u9b-HA-Id8" secondAttribute="bottom" constant="29" id="9jK-I5-IR7"/>
<constraint firstAttribute="bottom" secondItem="nFz-xe-Hyc" secondAttribute="bottom" id="H2h-FT-rIM"/>
<constraint firstItem="nFz-xe-Hyc" firstAttribute="leading" secondItem="kdV-5g-SYw" secondAttribute="leading" id="MvX-vN-cfL"/>
<constraint firstItem="u9b-HA-Id8" firstAttribute="top" secondItem="kdV-5g-SYw" secondAttribute="top" constant="22" id="PlW-qd-7Ff"/>
<constraint firstItem="u9b-HA-Id8" firstAttribute="leading" secondItem="kdV-5g-SYw" secondAttribute="leading" constant="30" id="oPJ-Yv-6Kt"/>
<constraint firstAttribute="trailing" secondItem="nFz-xe-Hyc" secondAttribute="trailing" id="pHC-Ut-wip"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xxo-HQ-VZ2">
<rect key="frame" x="0.0" y="360" width="375" height="110"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="微博" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dMs-kd-4BH">
<rect key="frame" x="30" y="22" width="30" height="21"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
<color key="textColor" red="0.21960784310000001" green="0.21960784310000001" blue="0.21960784310000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1fR-Cq-h6M" userLabel="v电话">
<rect key="frame" x="0.0" y="72" width="375" height="38"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="cemarose" textAlignment="natural" lineBreakMode="characterWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1mk-g1-gWi">
<rect key="frame" x="30" y="10.5" width="54.5" height="17"/>
<fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
<color key="textColor" red="0.22352941179999999" green="0.22352941179999999" blue="0.22352941179999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="button_mine_more" translatesAutoresizingMaskIntoConstraints="NO" id="xxq-uF-urM">
<rect key="frame" x="338" y="12" width="7" height="14"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="4hR-8M-YF4"/>
<constraint firstAttribute="width" constant="7" id="OwU-7e-wNQ"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="0.95686274510000002" green="0.96078431369999995" blue="0.96862745100000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<gestureRecognizers/>
<constraints>
<constraint firstItem="1mk-g1-gWi" firstAttribute="leading" secondItem="1fR-Cq-h6M" secondAttribute="leading" constant="30" id="fdc-kd-SAr"/>
<constraint firstAttribute="trailing" secondItem="xxq-uF-urM" secondAttribute="trailing" constant="30" id="iyJ-q1-MaP"/>
<constraint firstItem="1mk-g1-gWi" firstAttribute="centerY" secondItem="1fR-Cq-h6M" secondAttribute="centerY" id="jCl-vq-UQW"/>
<constraint firstItem="xxq-uF-urM" firstAttribute="centerY" secondItem="1fR-Cq-h6M" secondAttribute="centerY" id="lK6-Zo-jb8"/>
<constraint firstAttribute="height" constant="38" id="lWd-va-zVL"/>
</constraints>
<connections>
<outletCollection property="gestureRecognizers" destination="fQm-qZ-VGB" appends="YES" id="lUT-im-R2f"/>
</connections>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="1fR-Cq-h6M" firstAttribute="leading" secondItem="xxo-HQ-VZ2" secondAttribute="leading" id="D7b-W5-iZC"/>
<constraint firstItem="dMs-kd-4BH" firstAttribute="top" secondItem="xxo-HQ-VZ2" secondAttribute="top" constant="22" id="O0e-N4-Icv"/>
<constraint firstItem="dMs-kd-4BH" firstAttribute="leading" secondItem="xxo-HQ-VZ2" secondAttribute="leading" constant="30" id="ZwN-31-RDb"/>
<constraint firstAttribute="bottom" secondItem="1fR-Cq-h6M" secondAttribute="bottom" id="aNv-Rn-AgP"/>
<constraint firstAttribute="trailing" secondItem="1fR-Cq-h6M" secondAttribute="trailing" id="bEQ-1M-p8a"/>
<constraint firstItem="1fR-Cq-h6M" firstAttribute="top" secondItem="dMs-kd-4BH" secondAttribute="bottom" constant="29" id="eV5-ba-R0y"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<gestureRecognizers/>
<constraints>
<constraint firstItem="xxo-HQ-VZ2" firstAttribute="top" secondItem="kdV-5g-SYw" secondAttribute="bottom" id="5hn-v8-dt9"/>
<constraint firstItem="A8e-yf-jYz" firstAttribute="leading" secondItem="Cnj-Ae-7Dd" secondAttribute="leading" constant="30" id="6Nj-H3-cuo"/>
<constraint firstAttribute="trailing" secondItem="xxo-HQ-VZ2" secondAttribute="trailing" id="7NE-MY-pB2"/>
<constraint firstItem="kdV-5g-SYw" firstAttribute="top" secondItem="bqN-uP-ima" secondAttribute="bottom" id="7iI-s1-Jt4"/>
<constraint firstItem="Ohb-xj-nOZ" firstAttribute="top" secondItem="yTD-YB-Z61" secondAttribute="bottom" constant="22" id="Ks2-87-Lbx"/>
<constraint firstItem="yTD-YB-Z61" firstAttribute="leading" secondItem="Cnj-Ae-7Dd" secondAttribute="leading" id="Lo4-Kh-lta"/>
<constraint firstItem="yTD-YB-Z61" firstAttribute="top" secondItem="A8e-yf-jYz" secondAttribute="bottom" constant="12" id="Qjf-cN-oys"/>
......@@ -330,10 +433,13 @@
<constraint firstItem="bqN-uP-ima" firstAttribute="leading" secondItem="Cnj-Ae-7Dd" secondAttribute="leading" id="Rom-Hh-XYA"/>
<constraint firstAttribute="trailing" secondItem="no9-M5-aD4" secondAttribute="trailing" id="UzC-JW-8ox"/>
<constraint firstAttribute="trailing" secondItem="yTD-YB-Z61" secondAttribute="trailing" id="Zs5-pe-sQN"/>
<constraint firstItem="xxo-HQ-VZ2" firstAttribute="leading" secondItem="Cnj-Ae-7Dd" secondAttribute="leading" id="bny-mc-hRe"/>
<constraint firstItem="Ohb-xj-nOZ" firstAttribute="leading" secondItem="Cnj-Ae-7Dd" secondAttribute="leading" constant="30" id="fcQ-KZ-KcX"/>
<constraint firstAttribute="trailing" secondItem="kdV-5g-SYw" secondAttribute="trailing" id="g37-JQ-i9x"/>
<constraint firstItem="no9-M5-aD4" firstAttribute="leading" secondItem="Cnj-Ae-7Dd" secondAttribute="leading" id="h6s-SE-aKx"/>
<constraint firstItem="A8e-yf-jYz" firstAttribute="top" secondItem="Cnj-Ae-7Dd" secondAttribute="top" constant="86" id="qDw-ab-rC6"/>
<constraint firstItem="no9-M5-aD4" firstAttribute="top" secondItem="Cnj-Ae-7Dd" secondAttribute="top" constant="64" id="t0t-08-JRI"/>
<constraint firstItem="kdV-5g-SYw" firstAttribute="leading" secondItem="Cnj-Ae-7Dd" secondAttribute="leading" id="vGf-fc-2mm"/>
</constraints>
</view>
</viewController>
......@@ -348,6 +454,16 @@
<action selector="onClickEmail:" destination="E4p-4k-3wA" id="UGe-TU-e2y"/>
</connections>
</tapGestureRecognizer>
<tapGestureRecognizer id="HNq-Ib-w4m" userLabel="wechat">
<connections>
<action selector="wechatAction:" destination="E4p-4k-3wA" id="kFg-G3-kkm"/>
</connections>
</tapGestureRecognizer>
<tapGestureRecognizer id="fQm-qZ-VGB" userLabel="weibo">
<connections>
<action selector="weiboAction:" destination="E4p-4k-3wA" id="L9w-Pe-0tI"/>
</connections>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="1400" y="221"/>
</scene>
......
......@@ -57,7 +57,7 @@ typedef enum{
@property(nonatomic) NSMutableDictionary *dataMapping;
@property(nonatomic) NSString *clotingSetsHandle;
//@property(nonatomic) NSString *clotingSetsHandle;
@end
......@@ -184,7 +184,8 @@ typedef enum{
}
-(void)kwm_gotoClothingSetsPage{
[self openURLWithString:[NSString stringWithFormat:@"https://cemarose.myshopify.com/collections/%@",self.clotingSetsHandle]];
// [self openURLWithString:[NSString stringWithFormat:@"https://cemarose.myshopify.com/collections/%@",self.clotingSetsHandle]];
[self openURLWithString:self.homeData.clothing_sets.url];
}
#pragma mark - KWMRecommendDelegate KWMClothingSetsDelegate KWMHotSalesDelegate
......@@ -388,7 +389,7 @@ typedef enum{
NSString *handle = clothingParam.count > 1 ? clothingParam[1] : nil;
NSArray *tags = clothingParam.count > 2 ? [clothingParam[2] componentsSeparatedByString:@"+"] : nil;
if (handle) {
self.clotingSetsHandle = handle;
// self.clotingSetsHandle = handle;
[self requestProductWithHandle:handle tags:tags valueKeyPath:@"clothingSetsHeader.productArray"];
}
}
......
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