home_css.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. import React from 'react';
  2. import {Dimensions, PixelRatio, StyleSheet} from 'react-native';
  3. const home_css = StyleSheet.create({
  4. wrapper: {},
  5. slide1: {
  6. flex: 1,
  7. justifyContent: 'center',
  8. alignItems: 'center',
  9. backgroundColor: '#9DD6EB',
  10. },
  11. slide2: {
  12. flex: 1,
  13. justifyContent: 'center',
  14. alignItems: 'center',
  15. backgroundColor: '#97CAE5',
  16. },
  17. slide3: {
  18. flex: 1,
  19. justifyContent: 'center',
  20. alignItems: 'center',
  21. backgroundColor: '#92BBD9',
  22. },
  23. text: {
  24. color: '#fff',
  25. fontSize: 30,
  26. fontWeight: 'bold',
  27. },
  28. homePageBak: {
  29. flexDirection: 'column',
  30. },
  31. topImgBak: {
  32. height: 184,
  33. // backgroundColor: 'blue',
  34. },
  35. topImgTxt: {
  36. flex: 3,
  37. justifyContent: 'center',
  38. marginLeft: 40,
  39. },
  40. ydkpTxt: {
  41. fontSize: 32,
  42. color: '#fff',
  43. },
  44. ydkpTips: {
  45. marginTop: 10,
  46. fontSize: 12,
  47. color: '#fff',
  48. },
  49. topImg: {
  50. flex: 1,
  51. width: '100%',
  52. height: '100%',
  53. flexDirection: 'column',
  54. justifyContent: 'flex-end',
  55. },
  56. whiteSpaces: {
  57. height: 30,
  58. flexDirection: 'row',
  59. borderTopLeftRadius: Dimensions.get('window').width * 0.8,
  60. borderTopRightRadius: Dimensions.get('window').width * 0.8,
  61. backgroundColor: '#fff',
  62. // alignSelf: 'flex-end',
  63. },
  64. taxItemBak: {
  65. // height: 145,
  66. backgroundColor: '#fff',
  67. // flexDirection: 'column',
  68. // marginTop: 20,
  69. // justifyContent: 'center',
  70. },
  71. tapBtnBak: {
  72. // flex: 5,
  73. flexDirection: 'row',
  74. // justifyContent: 'flex-start',
  75. alignItems: 'center',
  76. flexWrap: 'wrap',
  77. },
  78. tapBtnBakCol: {
  79. flexDirection: 'column',
  80. alignItems: 'center',
  81. margin: 10,
  82. },
  83. tapBtnImg: {
  84. width: 53,
  85. height: 53,
  86. },
  87. userOnlineBak: {
  88. flex: 2,
  89. flexDirection: 'row',
  90. borderTopWidth: 1,
  91. borderTopColor: '#E0EEEE',
  92. alignItems: 'center',
  93. marginLeft: 10,
  94. marginRight: 10,
  95. },
  96. tapBtnTips: {
  97. marginTop: 10,
  98. color: '#000',
  99. },
  100. userOnlineLeft: {
  101. flex: 1,
  102. flexDirection: 'row',
  103. marginLeft: 10,
  104. },
  105. userOnlineRight: {
  106. flex: 1,
  107. marginRight: 10,
  108. flexDirection: 'row',
  109. justifyContent: 'flex-end',
  110. },
  111. yxTopicBak: {
  112. marginTop: 20,
  113. backgroundColor: '#fff',
  114. flexDirection: 'row',
  115. justifyContent: 'space-around',
  116. },
  117. yxTopicTop: {
  118. height: 45,
  119. flexDirection: 'row',
  120. borderBottomWidth: 1,
  121. borderBottomColor: '#E0EEEE',
  122. // alignItems: 'center',
  123. margin: 10,
  124. },
  125. statisticsView: {
  126. alignItems: 'center',
  127. borderLeftWidth: 1,
  128. borderLeftColor: '#C0C0C0',
  129. },
  130. yxTopicBottom: {
  131. // height: 260,
  132. flexDirection: 'row',
  133. flexWrap: 'wrap',
  134. // justifyContent: 'space-around',
  135. // alignItems: 'center',
  136. // marginLeft: 10,
  137. // marginRight: 10,
  138. // marginBottom: 10,
  139. },
  140. yxTopicItem: {
  141. width: 140,
  142. height: 120,
  143. margin: 10,
  144. justifyContent: 'center',
  145. alignItems: 'center',
  146. },
  147. yxTopicItem_1: {backgroundColor: 'rgba(116, 211, 255, 0.1)'},
  148. yxTopicItem_2: {backgroundColor: 'rgba(255, 82, 71, 0.1)'},
  149. yxTopicItem_3: {backgroundColor: 'rgba(200, 121, 255, 0.1)'},
  150. yxTopicItemTextA: {
  151. color: 'rgba(51, 51, 51, 1)',
  152. fontWeight: '600',
  153. fontFamily: 'MicrosoftYaHei',
  154. fontSize: 17,
  155. },
  156. yxTopicItemTextB: {
  157. color: 'rgba(102, 102, 102, 1)',
  158. fontFamily: 'MicrosoftYaHei',
  159. fontSize: 12,
  160. marginTop: 5,
  161. },
  162. yxTopicItemTextC: {
  163. color: 'rgba(255, 75, 67, 1)',
  164. fontWeight: '600',
  165. fontFamily: 'MicrosoftYaHei',
  166. fontSize: 24,
  167. marginTop: 11,
  168. },
  169. xpPushBak: {
  170. height: 292,
  171. marginTop: 20,
  172. backgroundColor: '#fff',
  173. flexDirection: 'column',
  174. },
  175. xpPushTop: {
  176. height: 45,
  177. flexDirection: 'row',
  178. borderBottomWidth: 1,
  179. borderBottomColor: '#E0EEEE',
  180. alignItems: 'center',
  181. marginLeft: 10,
  182. marginRight: 10,
  183. },
  184. xpPushBottom: {},
  185. xpPushItem: {
  186. height: 148,
  187. marginTop: 20,
  188. marginRight: 24,
  189. marginLeft: 24,
  190. borderRadius: 10,
  191. backgroundColor: 'red',
  192. },
  193. });
  194. export default home_css;