ComponentsStyles.js 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. import React from 'react'
  2. import {Dimensions, StyleSheet} from 'react-native'
  3. const {width} = Dimensions.get('window');
  4. export const ComponentsStyles = StyleSheet.create({
  5. top_margin: Platform.OS === 'ios' ? 40 : 0,
  6. button: {
  7. borderRadius: 5,
  8. margin: 10,
  9. marginTop: 5,
  10. borderWidth: 0,
  11. backgroundColor: "#2b90ea"
  12. },
  13. buttonView: {
  14. flexDirection: 'row',
  15. justifyContent: 'center',
  16. },
  17. container: {
  18. flex: 1,
  19. backgroundColor: '#f8f8f8'
  20. },
  21. telItemView: {
  22. flex: 1,
  23. flexDirection: 'row',
  24. marginLeft: 15,
  25. paddingRight: 18,
  26. paddingVertical: 8,
  27. borderBottomWidth: 0.5,
  28. borderBottomColor: '#eaeaea',
  29. },
  30. telName: {
  31. color: '#333',
  32. fontSize: 15
  33. },
  34. telView: {
  35. flex: 1,
  36. flexDirection: 'row',
  37. justifyContent: 'flex-end',
  38. alignItems: 'center'
  39. },
  40. telText: {
  41. color: '#2b90ea',
  42. },
  43. itemMainView: {
  44. flex: 1,
  45. flexDirection: 'row',
  46. paddingTop: 5
  47. },
  48. itemView: {
  49. flex: 1,
  50. justifyContent: 'flex-start',
  51. flexDirection: 'row',
  52. },
  53. itemViewEnd: {
  54. justifyContent: 'flex-end',
  55. flexDirection: 'row',
  56. },
  57. icon: {
  58. fontFamily: 'iconfont',
  59. fontSize: 14,
  60. color: '#2b90ea',
  61. padding: 3,
  62. },
  63. titleView: {
  64. marginHorizontal: 15,
  65. borderBottomWidth: 0.5,
  66. borderBottomColor: '#eee'
  67. },
  68. titleText1: {
  69. color: '#333',
  70. fontSize: 17,
  71. },
  72. titleText2: {
  73. fontSize: 15,
  74. paddingVertical: 5,
  75. textAlign: 'right'
  76. },
  77. IDText: {
  78. width: '60%',
  79. color: '#333',
  80. fontSize: 15,
  81. textAlign: 'right'
  82. },
  83. font14: {
  84. fontSize: 14,
  85. color: '#333333',
  86. },
  87. font15: {
  88. fontSize: 15,
  89. color: '#333333',
  90. },
  91. font16: {
  92. fontSize: 16,
  93. color: '#333333',
  94. },
  95. fontBold: {
  96. fontWeight: 'bold',
  97. fontSize: 15,
  98. color: '#333333',
  99. },
  100. requiredText: {
  101. color: 'red',
  102. fontSize: 15,
  103. },
  104. iconFont16: {
  105. fontFamily: 'iconfont',
  106. fontSize: 16,
  107. color: '#2b90ea',
  108. padding: 3,
  109. textAlign: 'center',
  110. },
  111. searchIcon: {
  112. fontFamily: 'iconfont',
  113. color: '#333',
  114. fontSize: 18,
  115. paddingRight: 15
  116. },
  117. mainTouch: {
  118. marginHorizontal: 10,
  119. padding: 5,
  120. backgroundColor: '#fff',
  121. borderRadius: 5,
  122. },
  123. genderStyle: {
  124. flexDirection: 'row',
  125. paddingVertical: 5,
  126. marginLeft: 15,
  127. marginRight: 0,
  128. borderBottomWidth: 0.5,
  129. borderBottomColor: '#eee',
  130. justifyContent: 'center',
  131. },
  132. radioStyle: {
  133. flex: 1,
  134. flexDirection: 'row',
  135. justifyContent: 'flex-end',
  136. backgroundColor: '#ffffff',
  137. marginVertical: 5
  138. },
  139. bottomTotal: {
  140. paddingHorizontal: 15,
  141. paddingVertical: 2,
  142. },
  143. totalText: {
  144. color: "red",
  145. fontSize: 15
  146. },
  147. toolTipText: {
  148. color: "#fff",
  149. fontSize: 12,
  150. },
  151. });
  152. // Valid style props: [
  153. // "alignContent",
  154. // "alignItems",
  155. // "alignSelf",
  156. // "aspectRatio",
  157. // "backfaceVisibility",
  158. // "backgroundColor",
  159. // "borderBottomColor",
  160. // "borderBottomEndRadius",
  161. // "borderBottomLeftRadius",
  162. // "borderBottomRightRadius",
  163. // "borderBottomStartRadius",
  164. // "borderBottomWidth",
  165. // "borderColor",
  166. // "borderEndColor",
  167. // "borderEndWidth",
  168. // "borderLeftColor",
  169. // "borderLeftWidth",
  170. // "borderRadius",
  171. // "borderRightColor",
  172. // "borderRightWidth",
  173. // "borderStartColor",
  174. // "borderStartWidth",
  175. // "borderStyle",
  176. // "borderTopColor",
  177. // "borderTopEndRadius",
  178. // "borderTopLeftRadius",
  179. // "borderTopRightRadius",
  180. // "borderTopStartRadius",
  181. // "borderTopWidth",
  182. // "borderWidth",
  183. // "bottom",
  184. // "color",
  185. // "decomposedMatrix",
  186. // "direction",
  187. // "display",
  188. // "elevation",
  189. // "end",
  190. // "flex",
  191. // "flexBasis",
  192. // "flexDirection",
  193. // "flexGrow",
  194. // "flexShrink",
  195. // "flexWrap",
  196. // "fontFamily",
  197. // "fontSize",
  198. // "fontStyle",
  199. // "fontVariant",
  200. // "fontWeight",
  201. // "height",
  202. // "includeFontPadding",
  203. // "justifyContent",
  204. // "left",
  205. // "letterSpacing",
  206. // "lineHeight",
  207. // "margin",
  208. // "marginBottom",
  209. // "marginEnd",
  210. // "marginHorizontal",
  211. // "marginLeft",
  212. // "marginRight",
  213. // "marginStart",
  214. // "marginTop",
  215. // "marginVertical",
  216. // "maxHeight",
  217. // "maxWidth",
  218. // "minHeight",
  219. // "minWidth",
  220. // "opacity",
  221. // "overflow",
  222. // "overlayColor",
  223. // "padding",
  224. // "paddingBottom",
  225. // "paddingEnd",
  226. // "paddingHorizontal",
  227. // "paddingLeft",
  228. // "paddingRight",
  229. // "paddingStart",
  230. // "paddingTop",
  231. // "paddingVertical",
  232. // "position",
  233. // "resizeMode",
  234. // "right",
  235. // "rotation",
  236. // "scaleX",
  237. // "scaleY",
  238. // "shadowColor",
  239. // "shadowOffset",
  240. // "shadowOpacity",
  241. // "shadowRadius",
  242. // "start",
  243. // "textAlign",
  244. // "textAlignVertical",
  245. // "textDecorationColor",
  246. // "textDecorationLine",
  247. // "textDecorationStyle",
  248. // "textShadowColor",
  249. // "textShadowOffset",
  250. // "textShadowRadius",
  251. // "textTransform",
  252. // "tintColor",
  253. // "top",
  254. // "transform",
  255. // "transformMatrix",
  256. // "translateX",
  257. // "translateY",
  258. // "width",
  259. // "writingDirection",
  260. // "zIndex"
  261. // ]
  262. export default ComponentsStyles