两折买改口袋样式

LZMHeader.h 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. //
  2. // LZMHeader.h
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/1/16.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #ifndef YHHeader_h
  9. #define YHHeader_h
  10. /**App ID*/
  11. #define APP_ID @"1420011853"
  12. /***/
  13. //阿里百川
  14. #define ALBC_APP_KEY @"24997830"
  15. //淘客pid
  16. #define ALTK_PID @"mm_99506173_0_0"
  17. //友盟key
  18. #define UMAPP_KEY @"5b603bdff43e4807a80001a1"
  19. //bugly id
  20. #define BUGLY_ID @"29719911ea"
  21. // 微信appid
  22. #define WX_APPID @"wxed4b16f5ff978ffd"
  23. // 微信app密钥
  24. #define WX_APP_SECRET @"156138298586fb94a4378185a2bb07f6"
  25. /* 微信的的设置在 " WeiXinDefaults.h " 中 **/
  26. //channel_id
  27. #define Channel_id @"5105"
  28. //验证码签名
  29. #define SignCode @"cNHWj7pqBSXTi2DS4uvxqMTzuXOk5xvL"
  30. //UserDafault Key
  31. #define UserSexKey @"userSex"
  32. #define UserPhone @"UserPhone"
  33. #define BrowserHistoryKey @"browserHistory"
  34. #define SchemeKey @"YHProject5105"
  35. //定义分享页面是否点击知道了
  36. #define YHSharePageGetFriend @"YHSharePageGetFriend"
  37. //定义屏幕的宽度
  38. #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width<[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
  39. //定义屏幕的高度
  40. #define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.width>[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
  41. #define iPhone6 (SCREEN_WIDTH==375&&SCREEN_HEIGHT==667)?YES:NO
  42. #define iPhone5 (SCREEN_WIDTH==320)?YES:NO
  43. #define iPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)
  44. #define Fitsize(X) (SCREEN_WIDTH/375.0) * X
  45. #define KStatusBarHeight (iPhoneX ? 44.f : 20.f)
  46. #define TabbarHeight (iPhoneX ? (49.f+34.f) : 49.f)
  47. #define NavBarHeight (iPhoneX ? 88.f : 64.f)
  48. #define SafeBottomHeight (iPhoneX ? 34.f : 0)
  49. #define SafeTopHeight (iPhoneX ? 20.f : 0)
  50. #define TabbarHeight (iPhoneX ? (49.f+34.f) : 49.f)
  51. #define ChildTableViewHeight SCREEN_HEIGHT-TabbarHeight-NavBarHeight-40
  52. #define BottomMargin (iPhoneX ? 25.f : 0.f)
  53. //弱引用
  54. #define kWeak(self) @autoreleasepool{} __weak typeof(self) self##Weak = self;
  55. #define WeakSelf(weakSelf) __weak __typeof(self) weakSelf = self;
  56. //强引用
  57. #define kStrong(self) @autoreleasepool{} __strong typeof(self##Weak) self = self##Weak;
  58. #define SCREEN_MUTI (SCREEN_WIDTH/375.0)
  59. #define FITSIZE(X) (SCREEN_WIDTH/375.0)*X
  60. #define FITHeightSIZE(X) (SCREEN_HEIGHT/667.0)*X
  61. #define Placehold_Img [UIImage imageNamed:@"placeHolder"]
  62. #ifdef DEBUG
  63. #define NSLog(...) NSLog(__VA_ARGS__)
  64. #else
  65. #define NSLog(...)
  66. #endif
  67. #define JZHomeUPdateApp @"updateApp"
  68. #define APP_STORE_URL [NSString stringWithFormat:@"https://itunes.apple.com/cn/app/id%@?mt=8",APP_ID]
  69. #define ScrollDirectorNoti @"ScrollDirectorNoti"
  70. #define ShowPhoneLogin @"ShowPhoneLogin"
  71. //============友盟事件统计宏==============//
  72. #define home_banner @"home_banner"
  73. #define search_count @"search_count"
  74. #define nine_classify_goods @"nine_classify_goods"
  75. #define nine_classify @"nine_classify"
  76. #define nine_better @"nine_better"
  77. #define nine_top_pic @"nine_top_pic"
  78. #define category_goods @"category_goods"
  79. #define top_classify @"top_classify"
  80. #define home_hot @"home_hot"
  81. #define home_recommend @"home_recommend"
  82. #define pay_count @"pay"
  83. #define collection_count @"collection"
  84. #define Home_Items @"home_items"
  85. #define Find_channel @"find_channel"
  86. #define Find_youLike @"find_youLike"
  87. #define Classify @"classify"
  88. #define Other @"other"
  89. #define TodayClickTop @"TodayClickTop"
  90. #define TodayClickGoods @"TodayClickGoods"
  91. #define GoodsDetailVipInfo @"GoodsDetailVipInfo"
  92. #define MineVipClick @"MineVipClick"
  93. #define GoodsDetailRecommend @"GoodsDetailRecommend"
  94. #define CategoryRecommend @"CategoryRecommend"
  95. #define MineGetMoneyUrl @"MineGetMoneyUrl"
  96. #define OneKeyShareCheats @"oneKeyShareCheats"
  97. #define OneKeyShareRecommend @"oneKeyShareRecommend"
  98. //
  99. #define BuyLimitGoodClick @"BuyLimitGoodClick"
  100. #define CategoryClassify @"CategoryClassify"
  101. #define popCopySearch @"popCopySearch"
  102. #define AdvClick @"AdvClick"
  103. //
  104. #define Search_History_String @"点击搜索历史"
  105. #define Search_Hot_String @"点击热搜搜索"
  106. #define Search_Normal @"用户输入搜索"
  107. //===============后台行为路径统计宏===========//
  108. #define browsingHistoryAction @"browsingHistoryAction"
  109. #define sameCouponAction @"sameCouponAction"
  110. #define findTicketAction @"findTicketAction"
  111. #define merchantShopAction @"merchantShopAction"
  112. #define goodsDetailRecommendAction @"goodsDetailRecommendAction"
  113. #define ListAction @"ListAction"
  114. #define homeAction @"homeAction"
  115. #define searchAction @"searchAction"
  116. #define collectLikeAction @"collectLikeAction"
  117. #define collectAction @"collectAction"
  118. #define pushAction @"pushAction"
  119. #define ListClassifyAction @"ListClassifyAction"
  120. #define AdvertisingAction @"AdvertisingAction"
  121. #define InvateImageWeiXin @"invateImageWeiXin"
  122. #define InvateImageWeiXinCircle @"invateImageWeiXinCircle"
  123. //
  124. #define HotSaleAction @"HotSaleAction"
  125. #define QuickBuyAction @"QuickBuyAction"
  126. #define AdvFourListGoodsAction @"AdvFourListGoodsAction"
  127. #define HomeClassifyAction @"HomeClassifyAction"
  128. #define CategoryRecommendAction @"CategoryRecommendAction"
  129. #define goodsDetailTopRecommendAction @"goodsDetailTopRecommendAction"
  130. #endif /* YHHeader_h */