ComponentsStyles.js 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. leftMobile: {
  6. color: '#999',
  7. width: 120,
  8. justifyContent: 'flex-end',
  9. textAlign: 'left'
  10. },
  11. rightMobile: {
  12. color: '#999',
  13. width: 120,
  14. justifyContent: 'flex-end',
  15. textAlign: 'right'
  16. },
  17. iconAmount: {
  18. padding: 3,
  19. paddingTop: 0,
  20. borderRadius: 2,
  21. backgroundColor: 'red',
  22. color: '#fff',
  23. height: 12,
  24. fontSize: 8,
  25. marginTop: 4,
  26. marginLeft: 2,
  27. overflow: 'hidden'
  28. },
  29. nameFontSize16: {
  30. fontSize: 16,
  31. color: '#333',
  32. paddingLeft: 2
  33. },
  34. nameFontSize14: {
  35. fontSize: 14,
  36. color: '#333',
  37. paddingLeft: 2
  38. },
  39. requiredText: {
  40. color: 'red',
  41. fontSize: 14,
  42. },
  43. container: {
  44. flex: 1
  45. },
  46. containerBackGroundColor: {
  47. flex: 1,
  48. backgroundColor: '#f8f8f8'
  49. },
  50. cellContainer: {
  51. flex: 1,
  52. paddingLeft: 5,
  53. paddingRight: 5,
  54. borderWidth: 1,
  55. borderColor: '#eee',
  56. borderRadius: 3,
  57. backgroundColor: '#fff',
  58. marginLeft: 5,
  59. marginRight: 5,
  60. overflow: 'hidden'
  61. //marginTop:1,
  62. //marginBottom:1,
  63. },
  64. rowPadding3: {
  65. flexDirection: 'row',
  66. flex: 1,
  67. padding: 3,
  68. },
  69. rowPadding5: {
  70. flexDirection: 'row',
  71. flex: 1,
  72. padding: 5,
  73. },
  74. rowWidth: {
  75. padding: 10,
  76. height: 50,
  77. width,
  78. backgroundColor: '#fff',
  79. marginBottom: -1,
  80. borderBottomColor: '#eee',
  81. borderBottomWidth: 1,
  82. },
  83. left: {
  84. flex: 3,
  85. flexDirection: 'row',
  86. },
  87. leftAmount: {
  88. width: 120,
  89. flexDirection: 'row',
  90. },
  91. iconFont16: {
  92. fontFamily: 'iconfont',
  93. fontSize: 16,
  94. color: '#5eafe4',
  95. marginTop: 1,
  96. },
  97. statusDefault: {
  98. padding: 2,
  99. borderRadius: 2,
  100. backgroundColor: '#aaa',
  101. color: '#fff',
  102. height: 16,
  103. fontSize: 8,
  104. marginTop: 4,
  105. marginLeft: 4,
  106. overflow: 'hidden'
  107. },
  108. statusPass: {
  109. padding: 2,
  110. borderRadius: 2,
  111. backgroundColor: '#00b300',
  112. color: '#fff',
  113. height: 16,
  114. fontSize: 8,
  115. marginTop: 4,
  116. marginLeft: 4,
  117. overflow: 'hidden'
  118. },
  119. rightText: {
  120. flexDirection: 'row',
  121. flex: 1,
  122. justifyContent: 'flex-end',
  123. textAlign: 'right'
  124. },
  125. iconBlue: {
  126. padding: 2,
  127. borderRadius: 2,
  128. backgroundColor: '#5eafe4',
  129. color: '#fff',
  130. height: 16,
  131. fontSize: 8,
  132. marginTop: 4,
  133. marginLeft: 4,
  134. overflow: 'hidden'
  135. },
  136. button: {
  137. borderRadius: 5,
  138. margin: 10,
  139. marginTop: 5,
  140. borderWidth: 0,
  141. // color: '#fff',
  142. backgroundColor: "#2b90ea"
  143. },
  144. radioStyle: {
  145. flex: 1,
  146. flexDirection: 'row',
  147. justifyContent: 'flex-end',
  148. backgroundColor: '#ffffff',
  149. marginVertical: 5
  150. },
  151. iconYellow: {
  152. padding: 2,
  153. borderRadius: 2,
  154. backgroundColor: '#f0c11c',
  155. color: '#fff',
  156. height: 16,
  157. fontSize: 8,
  158. marginTop: 2,
  159. marginRight: 2,
  160. overflow: 'hidden'
  161. },
  162. checkShow: {
  163. flexDirection: 'row',
  164. height: 40,
  165. },
  166. checkHide: {
  167. flexDirection: 'row',
  168. height: 40,
  169. display: 'none'
  170. },
  171. });
  172. export default ComponentsStyles