index.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. page{
  2. /* background: linear-gradient(#f94b0e,#fff); */
  3. background: #f2f2f2;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: flex-start;
  7. }
  8. .img {
  9. width: 100%;
  10. }
  11. .container{
  12. background: #fff;
  13. border-top-left-radius: 45rpx;
  14. }
  15. /* 导航 */
  16. .nav-bar {
  17. position: fixed;
  18. width: 100%;
  19. top: 0;
  20. color: rgb(255, 255, 255);
  21. /* background: rgb(255, 255, 255); */
  22. z-index: 10000;
  23. height: 160rpx;
  24. text-align: center;
  25. }
  26. .nav-barback{
  27. background: -webkit-linear-gradient(top, rgb(255, 123, 0), rgb(249, 75, 14));
  28. width: 100%;
  29. position: relative;
  30. top: 0;
  31. z-index: 10001;
  32. height: 160rpx;
  33. line-height: 230rpx;
  34. color: #fff;
  35. font-size: 38rpx;
  36. }
  37. .nav-bar .search {
  38. width: 60%;
  39. color: #333;
  40. font-size: 14px;
  41. background: #fff;
  42. position: absolute;
  43. border-radius: 50px;
  44. background: rgb(255, 255, 255);
  45. padding-left: 14px;
  46. z-index: 10002;
  47. }
  48. .bg{
  49. height: 500rpx;
  50. position: absolute;
  51. top:0rpx;
  52. width: 100%;
  53. z-index: -1;
  54. background:#f94b0e;
  55. }
  56. .bg .img{
  57. height: auto;
  58. margin-top: 180rpx;
  59. }
  60. .head_banner .img{
  61. height: auto;
  62. border: 0px;
  63. border-radius: 10rpx;
  64. }
  65. .nav {
  66. display: flex;
  67. flex-direction: row;
  68. padding: 60rpx 30rpx 20rpx 30rpx;
  69. justify-content:space-around;
  70. }
  71. .nav .item{
  72. display: flex;
  73. flex-direction: column;
  74. text-align: center;
  75. }
  76. .nav .item text{
  77. margin-top: 10rpx;
  78. font-size: 34rpx;
  79. color: rgba(0, 0, 0, 0.9);
  80. }
  81. .nav .item .img{
  82. width: 100rpx;
  83. height: 100rpx;
  84. }
  85. /* 新手指南 使用攻略 */
  86. .top_banner{
  87. background: #fff;
  88. width: auto;
  89. text-align: center;
  90. display: grid;
  91. padding: 20rpx 0;
  92. position: relative;
  93. }
  94. .top_banner p{
  95. font-size: 30rpx;
  96. height: 60rpx;
  97. line-height: 60rpx;
  98. color: rgba(0, 0, 0, 0.5);
  99. padding-top: 20rpx;
  100. }
  101. .top_banner h1{
  102. font-size: 44rpx;
  103. height: 60rpx;
  104. line-height: 60rpx;
  105. color: rgba(0, 0, 0, 0.9);
  106. font-weight: 500;
  107. }
  108. .top_banner span{
  109. font-size: 24rpx;
  110. height: 40rpx;
  111. line-height: 40rpx;
  112. color: #d2d2d2;
  113. }
  114. .top_banner_btn{
  115. position: absolute;
  116. top:3%;
  117. padding: 0;
  118. margin: 0;
  119. display: grid;
  120. justify-content:space-around;
  121. background: none;
  122. }
  123. .top_banner .xszn{
  124. left:5% ;
  125. top:38%;
  126. }
  127. .top_banner .sygl{
  128. right:5% ;
  129. top:39%;
  130. }
  131. .top_banner .xszn span{
  132. background-image:-webkit-linear-gradient(right,#ff2e56,#d260a8);
  133. color: #fff;
  134. padding: 5rpx 20rpx;
  135. border-radius: 50rpx;
  136. font-size: 26rpx;
  137. }
  138. .top_banner .xszn i{
  139. color: rgb(14, 211, 211);
  140. font-size: 24rpx;
  141. padding: 8rpx 0;
  142. }
  143. .top_banner .sygl span{
  144. border-radius: 50rpx;
  145. border: 4rpx solid #3076f7;
  146. color: #3076f7;
  147. padding: 5rpx 20rpx;
  148. font-size: 24rpx;
  149. }
  150. .tzgg{
  151. display: flex;
  152. flex-direction: row;
  153. align-items: center;
  154. height: 120rpx;
  155. line-height: 120rpx;
  156. padding: 0rpx 30rpx;
  157. border-bottom: 2px solid #eee;
  158. }
  159. .tzgg .img{
  160. width: 60rpx;
  161. height: 60rpx;
  162. margin-right: 20rpx;
  163. }
  164. .tzgg b{
  165. font-size: 32rpx;
  166. color: #181818;
  167. padding-right: 5rpx;
  168. }
  169. .tzgg text{
  170. font-size: 32rpx;
  171. color: #181818;
  172. }
  173. .tzgg .more{
  174. margin-left:auto;
  175. font-size: 28rpx;
  176. color: #7b7b7b;
  177. }
  178. .con_banner .img{
  179. height: auto;
  180. }
  181. .yjtd_vi{
  182. display: flex;
  183. flex-direction: column;
  184. }
  185. .yjtd_vi .tittle{
  186. display: flex;
  187. flex-direction: row;
  188. align-items: center;
  189. height: 100rpx;
  190. line-height: 100rpx;
  191. border-bottom: 2rpx solid #f5f5f5;
  192. }
  193. .yjtd_vi .tittle .img{
  194. width: 60rpx;
  195. height: 60rpx;
  196. padding: 5rpx 14rpx;
  197. }
  198. .yjtd_vi .tittle span{
  199. font-size: 38rpx;
  200. color: #181818;
  201. margin-right: 30rpx;
  202. font-weight: 500;
  203. }
  204. .yjtd_vi .tittle u{
  205. font-size: 26rpx;
  206. color: #7b7b7b;
  207. }
  208. .yjtd_icon{
  209. display: flex;
  210. flex-direction: row;
  211. flex-wrap: wrap;
  212. padding: 20rpx 20rpx;
  213. }
  214. .yjtd_icon .icon_vi{
  215. display: flex;
  216. flex-direction: column;
  217. align-items: center;
  218. margin:20rpx 29.9rpx;
  219. }
  220. .yjtd_icon .icon_vi .icon_bg{
  221. width: 120rpx;
  222. height: 120rpx;
  223. border-radius: 50%;
  224. }
  225. .yjtd_icon .icon_vi .icon_bg i{
  226. color: #fff;
  227. align-items: center;
  228. font-size: 70rpx;
  229. justify-content:center;
  230. align-items: stretch;
  231. display: flex;
  232. line-height: 120rpx;
  233. }
  234. .yjtd_icon .icon_vi .icon_xg{
  235. background: #ffb05b;
  236. }
  237. .yjtd_icon .icon_vi .icon_xj{
  238. background: #6467f0;
  239. }
  240. .yjtd_icon .icon_vi .icon_yj{
  241. background: #07c160;
  242. }
  243. .yjtd_icon .icon_vi .icon_hy{
  244. background: #fa5151;
  245. }
  246. .yjtd_icon .icon_vi .icon_wz{
  247. background: #95ec69;
  248. }
  249. .yjtd_icon .icon_vi .icon_ck{
  250. background: #1485ee;
  251. }
  252. .yjtd_icon .icon_vi .icon_dw{
  253. background: #ffc300;
  254. }
  255. .yjtd_icon .icon_vi text{
  256. font-size: 34rpx;
  257. height: 80rpx;
  258. line-height: 80rpx;
  259. color: #181818;
  260. }
  261. /* 轮播图 */
  262. swiper {
  263. height: 200rpx;
  264. width: 100%;
  265. }
  266. swiper-item {
  267. height: 100%;
  268. width: 100%;
  269. }
  270. .slide-image{
  271. height: 100%;
  272. width: 100%;
  273. }
  274. .fg_line{
  275. width: 100%;
  276. height: 20rpx;
  277. }
  278. .fg_line image{
  279. width: 100%;
  280. height: 100%;
  281. }