index.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. @import "../../public/pages/public-view.wxss";
  2. Page {
  3. background-color: #FFF;
  4. }
  5. .bg-scroll-view {
  6. width: 100%;
  7. height: 100%;
  8. background-color:#F5F5F5;
  9. }
  10. /* banner */
  11. .banner, .banner+view {
  12. width: 750rpx;
  13. height: 192rpx;
  14. display: block;
  15. }
  16. .banner {
  17. margin-top: -900rpx;
  18. }
  19. .banner+view {
  20. display: flex;
  21. /* margin-top: -192rpx; */
  22. margin-top: -226rpx;
  23. }
  24. .banner+view>view:first-child {
  25. width: 120rpx;
  26. height: 120rpx;
  27. border-radius: 60rpx;
  28. margin: auto 0 auto 56rpx;
  29. background-color: white;
  30. display: flex;
  31. }
  32. .banner+view>view:first-child>open-data {
  33. width: 100rpx;
  34. height: 100rpx;
  35. border-radius: 50rpx;
  36. margin: auto auto;
  37. background-color: white;
  38. overflow: hidden;
  39. }
  40. .banner+view>open-data {
  41. font-size: 32rpx;
  42. color: white;
  43. margin: auto 30rpx;
  44. white-space: nowrap;
  45. text-overflow: ellipsis;
  46. overflow:hidden;
  47. }
  48. .banner+view>view:nth-child(3) {
  49. display: flex;
  50. margin: auto 48rpx auto auto;
  51. }
  52. .banner+view>view:nth-child(3)>image {
  53. width: 28rpx;
  54. height: 28rpx;
  55. margin: auto 6rpx;
  56. }
  57. .banner+view>view:nth-child(3)>text {
  58. font-family: PingFangSC-Regular;
  59. font-size: 24rpx;
  60. color: #FFFFFF;
  61. line-height: 36rpx;
  62. }
  63. /* tab-view */
  64. .tab-view, .red-dot {
  65. width: 710rpx;
  66. height: 180rpx;
  67. display: flex;
  68. margin: -10rpx 20rpx 0 20rpx;
  69. border-radius: 4px;
  70. }
  71. .tab-view {
  72. background-color: #FFF;
  73. /* box-shadow: 0 0 32px 0 rgba(50,150,251,0.08); */
  74. box-shadow:0 3px 12px 0 rgba(50,150,251,0.08);
  75. }
  76. .tab-view>view, .red-dot>view {
  77. width: 142rpx;
  78. height: 180rpx;
  79. margin-right: 10rpx;
  80. display: flex;
  81. flex-direction: column;
  82. }
  83. .tab-view>view:last-child, .red-dot>view:last-child {
  84. margin-right: 0;
  85. }
  86. .tab-view>view>image {
  87. width: 48rpx;
  88. height: 48rpx;
  89. margin: auto auto 18rpx;
  90. }
  91. .tab-view>view>text {
  92. font-size: 26rpx;
  93. color: #333333;
  94. text-align: center;
  95. margin: 0 auto auto;
  96. }
  97. /* red-dot */
  98. .red-dot {
  99. margin-top: -180rpx;
  100. }
  101. .red-dot>view {
  102. flex-direction: row;
  103. }
  104. .red-dot>view>view {
  105. min-width: 32rpx;
  106. height: 32rpx;
  107. border: 4rpx solid white;
  108. border-radius: 20rpx;
  109. background-color: #FF5E5E;
  110. margin: 26rpx auto 0 80rpx;
  111. display: flex;
  112. }
  113. .red-dot>view>view>text {
  114. text-align: center;
  115. font-size: 22rpx;
  116. color: white;
  117. line-height: 32rpx;
  118. margin: 0 10rpx;
  119. }
  120. /* row */
  121. .row:first-child{
  122. margin-top: -40rpx;
  123. }
  124. .row-top {
  125. margin-top: 25rpx;
  126. }
  127. .row>view:first-child {
  128. width: 100%;
  129. height: 100rpx;
  130. background-color: white;
  131. display: flex;
  132. }
  133. .row>view:first-child>image:first-child {
  134. width: 48rpx;
  135. height: 48rpx;
  136. margin: auto 0 auto 30rpx;
  137. }
  138. .row>view:first-child>image:last-child {
  139. width: 14rpx;
  140. height: 24rpx;
  141. margin: auto 30rpx auto 0;
  142. }
  143. .row>view:first-child text {
  144. font-size: 30rpx;
  145. line-height: 100rpx;
  146. }
  147. .row>view:first-child>text:nth-child(2) {
  148. color: #333333;
  149. margin: 0 0 0 40rpx;
  150. }
  151. .row>view:first-child>text:nth-child(3) {
  152. color: #999999;
  153. margin: 0 22rpx 0 auto;
  154. }
  155. .row-line {
  156. width: 100%;
  157. height: 0.7px;
  158. background-color: white;
  159. }
  160. .row-line>view {
  161. margin: 0 0 0 110rpx;
  162. height: 0.7px;
  163. background-color: #eeeeee;
  164. }
  165. /* broadcast */
  166. .broadcast {
  167. width: 100%;
  168. height: 90rpx;
  169. background-color: #FDF8EC;
  170. display: flex;
  171. margin-top: 40rpx;
  172. margin-bottom: -25rpx;
  173. }
  174. .broadcast>view {
  175. margin-left: 30rpx;
  176. width: 640rpx;
  177. overflow: hidden;
  178. }
  179. .broadcast>view>view {
  180. display: flex;
  181. }
  182. .broadcast view {
  183. height: 90rpx;
  184. }
  185. .broadcast text {
  186. margin-right: 200rpx;
  187. line-height: 90rpx;
  188. font-size: 26rpx;
  189. white-space: nowrap;
  190. overflow: hidden;
  191. /* background-color: #FDF8EC; */
  192. }
  193. .broadcast-text-n {
  194. color: #FF801A;
  195. }
  196. .broadcast-text-h {
  197. color: rgba(0, 0, 0, 0);
  198. }
  199. .broadcast>image {
  200. width: 60rpx;
  201. height: 60rpx;
  202. margin: auto 0;
  203. }